Commit Graph

9441 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
b69329fe7f Update ironclaw.json 2026-03-27 12:05:29 +01:00
CanbiZ (MickLesk)
1e44478082 Add Alpine IronClaw CT template
Add a new Alpine-based container template for IronClaw. Introduces ct/alpine-ironclaw.sh (installer/launcher with update routine), ct/headers/alpine-ironclaw (ASCII header), install/alpine-ironclaw-install.sh (sets up PostgreSQL 17, pgvector, deploys MUSL prebuilt IronClaw binary, creates OpenRC service and env file), and json/alpine-ironclaw.json (metadata, docs link, ports, resource defaults). The template auto-generates a gateway auth token, uses the MUSL binary for a minimal footprint, and documents post-install steps (ironclaw onboard).
2026-03-27 12:05:25 +01:00
CanbiZ (MickLesk)
4f0ef8b001 Add update script and use CRONMASTER_ACTION
Create /usr/local/bin/update_cronmaster during install and inside update() (using a single-quoted heredoc to avoid variable expansion) and make it executable. The generated updater now exports CRONMASTER_ACTION=update when invoking the fetched cronmaster.sh, and the main script checks CRONMASTER_ACTION instead of type. Also adjust the repository fetch path and remove a duplicate ensure_usr_local_bin_persist call.
2026-03-27 11:35:47 +01:00
CanbiZ (MickLesk)
22d5cf6493 Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED 2026-03-27 11:32:28 +01:00
CanbiZ (MickLesk)
41df5516c9 Add IronClaw CT and refine CronMaster addon
Add IronClaw container templates and install scripts (ct/ironclaw.sh, install/ironclaw-install.sh, json/ironclaw.json) to provide automated setup, service unit, and default config for the IronClaw AI agent.

Refactor tools/addon/cronmaster.sh to use the ProxmoxVE misc endpoints, initialize optional telemetry, improve function loading, and strengthen OS detection (Debian/Ubuntu-only). Make service and install behaviors more robust: ensure /usr/local/bin persistence, create/update the update script from the new repo URL, change systemd WantedBy to multi-user.target, enable service quietly, save generated credentials to /root/cronmaster.creds, and use distinct exit codes for unsupported/invalid states. Misc license URL fix and other small reliability improvements.
2026-03-27 11:32:26 +01:00
tremor021
9d07e80ed5 fireshare: fixes 2026-03-26 23:47:23 +01:00
MickLesk
07f9bc23f8 fix crontab 2026-03-26 20:18:36 +01:00
github-actions[bot]
2e60f6582f Delete birdnet (ct) after migration to ProxmoxVE (#1629)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-26 18:36:04 +00:00
tremor021
5749433b34 fireshare: update 2026-03-26 18:38:06 +01:00
tremor021
1fda9b19bc fireshare: fix nginx startup 2026-03-26 17:57:04 +01:00
CanbiZ (MickLesk)
4872e97460 Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED 2026-03-26 16:32:37 +01:00
CanbiZ (MickLesk)
441158b195 Standardize mirror messaging; simplify apt update
Replace inconsistent msg_info calls with msg_warn for mirror-list warnings and msg_custom for "Attempting mirror" lines to unify output formatting in misc/build.func and misc/install.func. Simplify tools/pve/update-lxcs-cron.sh by removing the long mirror-probing block and using a straightforward apt-get update + noninteractive dist-upgrade (and cleanup of EXTERNALLY-MANAGED) in containers to reduce complexity and improve maintainability.
2026-03-26 16:32:25 +01:00
tremor021
9b4f8088d6 fireshare: fixes 2026-03-26 16:15:51 +01:00
CanbiZ (MickLesk)
6c35b9b978 Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED 2026-03-26 16:04:55 +01:00
CanbiZ (MickLesk)
dd911670e1 Enhance apt/apk mirror fallback logic
Improve package mirror resiliency in misc/build.func and misc/install.func by adding fallback and detection logic for Debian/Ubuntu and Alpine CDNs. Changes include:

- Detect distro (debian vs ubuntu) and use appropriate mirror lists and primary mirror (ftp.debian.org vs archive.ubuntu.com).
- Add retry loops that try a shuffled list of regional mirrors, test connectivity, update repo files, and attempt package installs/updates again.
- For Alpine (apk) installs and updates, try alternate mirrors on failure, write /etc/apk/repositories, and surface clearer warnings/errors if all mirrors fail.
- Update interactive prompts and informational messages to reference the correct mirror list (Ubuntu vs Debian) and generalize prompt wording.
- Improve exit handling so failures are reported and abort the process when necessary.

These changes make automated installs more robust against CDN sync issues and unreachable primary mirrors.
2026-03-26 16:04:48 +01:00
CrazyWolf13
afc21cae34 fix: geopulse: update check 2026-03-26 15:55:01 +01:00
tremor021
d7767a65a7 fireshare: missing uv 2026-03-26 15:54:39 +01:00
CanbiZ (MickLesk)
f5fa1306f4 Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED 2026-03-26 15:45:05 +01:00
CanbiZ (MickLesk)
937fd1cad4 Improve apt mirror logging and error messages
Standardize and clarify apt mirror diagnostics in misc/build.func and misc/install.func: update warning phrasing when apt-get update fails; change per-mirror failure messages from "Mirror X: <reason>" to "Mirror X failed (<reason>)"; change success messages to "CDN set to <mirror>: tests passed"; and add informational logs like "Attempting mirror: <mirror>" when trying alternate mirrors. These changes improve visibility into mirror selection and failure reasons during package update/installation.
2026-03-26 15:44:58 +01:00
CrazyWolf13
2507c012c3 fix: geopulse: add user creation script 2026-03-26 15:43:44 +01:00
CanbiZ (MickLesk)
5f25ce38b2 Report failing APT mirror on update failure
When apt-get update fails, capture and display the failing mirror host to aid debugging. Adds grep-based extraction of the upstream host (from /etc/apt/sources.list.d/debian.sources or /etc/apt/sources.list) with a fallback to "unknown", and includes the host in the warning/echo. Applied to misc/build.func (inside pct exec), misc/install.func (pkg_update), and tools/pve/update-lxcs-cron.sh.
2026-03-26 15:42:43 +01:00
tremor021
bbfc87ecd9 foldergram: update resources 2026-03-26 15:39:43 +01:00
tremor021
66d443fdc5 oops cmake 2026-03-26 15:38:23 +01:00
CrazyWolf13
9f88bd44de fix: geopulse nginx reload 2026-03-26 15:36:29 +01:00
tremor021
ef0b23c806 fireshare: initial script 2026-03-26 15:33:08 +01:00
tremor021
0d098c97b2 fireshare: initial script 2026-03-26 15:29:47 +01:00
CanbiZ (MickLesk)
1f2410e997 Add apt mirror fallback for Debian/Ubuntu
Enhance apt-get update handling for Debian/Ubuntu/Devuan containers by adding regional mirror lists and a fallback routine. The script now detects container timezone to prefer regional mirrors, builds a randomized candidate list, probes each mirror (timeout on TCP:80), rewrites /etc/apt/* sources to use a working mirror, and retries apt-get update until success. Keeps the existing non-interactive dist-upgrade and cleans up apt lists as before. This improves reliability of updates inside LXC containers when default mirrors are unreachable or misbehaving.
2026-03-26 15:23:50 +01:00
CanbiZ (MickLesk)
92648bca13 Simplify mirror logs and use http for custom mirror
Reduce noisy mirror-related output and clarify messages across misc/build.func and misc/install.func. Reword various apt/mirror status lines (hash mismatch, SSL/certificate, apt-get update failed, package install failed) and standardize success to "Using mirror"/msg_ok. Remove verbose scan/try/skip/count logs and suppression of detailed apt output to make output cleaner for automated runs. Also change the custom_mirror sed replacement to use http:// instead of https:// to support non-HTTPS local mirrors.
2026-03-26 15:20:55 +01:00
CanbiZ (MickLesk)
f8ca562da6 Detect apt SSL errors and use http mirrors
Add explicit detection of SSL/certificate errors when running apt-get update and treat those mirrors as failed (logs a short SSL error snippet and returns failure). Change mirror URL rewrites to use http:// instead of https:// when substituting mirror hosts, and remove ftp.in.debian.org from the AP mirror lists. Changes applied to misc/build.func (try_mirrors) and misc/install.func (pkg_update/_try_apt_mirror) to improve mirror fallback behavior and error reporting.
2026-03-26 15:12:43 +01:00
CanbiZ (MickLesk)
cd1c412822 Try global mirrors first; add apt fallback
Reorder mirror probing in misc/build.func and misc/install.func to scan global (OTHERS) mirrors first and fall back to regional mirrors—pick up to 3 random reachable mirrors and try them. Rename related variables accordingly and keep the fallback logic intact. Update tools/pve/update-lxcs-cron.sh to define region-specific Debian mirror lists, detect container timezone to pick regional vs other mirrors, and implement a fallback loop that checks mirror connectivity, rewrites APT URIs to use a working mirror, and retries apt-get update before proceeding with dist-upgrade. These changes improve resilience against local CDN/local-regional outages by preferring globally reachable mirrors first and providing an automated mirror-switch fallback.
2026-03-26 14:52:03 +01:00
CanbiZ (MickLesk)
9db2169ee0 Improve apt mirror scanning and retry logic
Make APT mirror selection more robust by scanning for reachable mirrors and retrying installs with clearer failure reasons. In misc/build.func added mirror_exit, try_mirrors and scan_reachable helpers; prefer regional mirrors (pick up to 3), fall back to ftp.debian.org, then try global mirrors. Improved detection/reporting of hash mismatches vs apt-get errors and return codes, and use a short reachability TCP check before attempting updates. In misc/install.func added a reachable-mirror scan phase, count/report reachable mirrors, and provide clearer log messages when apt-get update/install fails. These changes aim to reduce failures caused by unreachable mirrors or CDN synchronization issues.
2026-03-26 14:46:27 +01:00
CanbiZ (MickLesk)
947a536351 Improve apt mirror selection and fallback
Refactor mirror logic in misc/build.func and misc/install.func to prefer regional Debian mirrors (detected from /etc/timezone), shuffle mirror lists, and include additional AP region hosts. Add quick TCP reachability checks, limit consecutive mirror failures, and surface clearer status messages. On repeated failures, prompt interactively for a custom mirror (with validation) and handle pct exec exit codes to present more informative errors and retry behavior.
2026-03-26 14:29:20 +01:00
CanbiZ (MickLesk)
76c79872e0 Fallback to alternate Debian mirrors on apt failure
When apt-get update fails, switch from disabling hash verification/insecure repos to trying a list of alternate Debian mirrors. Updated misc/build.func to iterate a curated mirror list, rewrite /etc/apt/sources.list* to point to each mirror, and attempt apt-get update/install until one succeeds (exiting with failure if all mirrors fail). Updated misc/install.func to perform a similar mirror-rotation loop and return an error if no mirror succeeds. Also adjusted warning/error messages to reflect the new behavior. This improves resilience against repo desyncs without enabling insecure apt settings.
2026-03-26 14:10:49 +01:00
CanbiZ (MickLesk)
6d213d511f Simplify APT retry logic and add insecure fallback
Replace the previous multi-step APT retry sequence (mirror swaps, sleeps, multiple retries) with a simpler fallback: on apt-get update failure disable Acquire::By-Hash, enable Acquire::AllowInsecureRepositories and attempt updates/installs using --allow-insecure-repositories/--allow-unauthenticated where needed. Restore secure settings and refresh lists afterwards, and preserve/propagate the original command exit status. Apply the same simplification in misc/build.func, misc/install.func and the Proxmox LXC cron updater (tools/pve/update-lxcs-cron.sh) to handle Debian repo desyncs more reliably and reduce complex retry logic.
2026-03-26 14:02:09 +01:00
CanbiZ (MickLesk)
681c438e60 Show install summary and cron/config viewer
Display an installation summary (including downloaded script SHA256, source, install path, config, log file, and cron schedule) and make script review optional before install. Add an interactive View menu to inspect the installed worker script, cron configuration, or both; implement view_worker_script, view_cron_config (shows cron entry, human-readable schedule, config contents and excluded patterns, and log file size), and cron_to_human helper. Also update prompt wording and the View option description.
2026-03-26 13:59:12 +01:00
CanbiZ (MickLesk)
a87cdd8b9e Update build.func 2026-03-26 13:50:55 +01:00
CanbiZ (MickLesk)
74a3be318f Update update-lxcs-cron.sh 2026-03-26 13:49:22 +01:00
CanbiZ (MickLesk)
0f3a8c8406 Improve apt-get retry and mirror fallback
Add robust retry logic for APT operations in misc/build.func and misc/install.func. Introduces an apt_retry helper and multiple fallback steps: disable by-hash, switch to a country mirror (ftp.de.debian.org), wait and retry to allow mirror sync, and as a last resort temporarily relax APT verification to allow insecure repositories to complete updates. Ensures cleanup and restores secure settings where possible, with clearer failure handling and messages to increase resilience of package installation during container builds and installs.
2026-03-26 13:48:56 +01:00
CanbiZ (MickLesk)
d836402348 Add status/run/rotate options & improve updater
tools/pve/cron-update-lxcs.sh: add show_status, run_now and rotate_log functions; expose new menu options (Status, Run, Rotate) and enlarge menu. Consolidate license line formatting.

tools/pve/update-lxcs-cron.sh: tighten variable scoping, improve ostype detection and logging, add fallback for hostname, handle unknown OS types, harden apt workflow (retry with By-Hash workaround and refresh lists), skip template containers correctly, add error reporting on container updates, and use a timed shutdown. Update author/license header.

Overall: adds manual control and status/log rotation to the cron manager and makes the container updater more robust and safer for Debian/Ubuntu-based containers.
2026-03-26 13:45:02 +01:00
CanbiZ (MickLesk)
66cd1fb05a Add APT by-hash bypass and mirror fallback
Improve APT retry logic to handle failures caused by by-hash/CDN issues. Both misc/build.func and misc/install.func now write an apt config to disable Acquire::By-Hash, remove /var/lib/apt/lists/* and retry apt-get update/install; if that still fails they substitute deb.debian.org with ftp.debian.org as a fallback. This makes container builds and package updates more robust against CDN/hash-related apt failures.
2026-03-26 13:33:58 +01:00
CanbiZ (MickLesk)
6614b65bc1 magicdns 2026-03-26 13:19:14 +01:00
CanbiZ (MickLesk)
785a215a50 base packages dns 2026-03-26 13:18:52 +01:00
CanbiZ (MickLesk)
ee15572375 Update install.func 2026-03-26 13:11:13 +01:00
CanbiZ (MickLesk)
c704189184 bump baserow to 8gb ram 2026-03-26 12:57:40 +01:00
CanbiZ (MickLesk)
e8094ca548 Update lobehub-install.sh 2026-03-26 12:31:55 +01:00
CanbiZ (MickLesk)
a0b8548649 add parade db search 2026-03-26 12:21:10 +01:00
CanbiZ (MickLesk)
ccb71d63fd Update lobehub-install.sh 2026-03-26 11:05:56 +01:00
CanbiZ (MickLesk)
149ad8b720 add pgvector 2026-03-26 10:39:32 +01:00
tremor021
ca4483d6e4 foldergram: add json 2026-03-26 10:31:11 +01:00
CrazyWolf13
67833a99af better wording 2026-03-26 10:29:50 +01:00