Commit Graph

328 Commits

Author SHA1 Message Date
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
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)
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)
74a3be318f Update update-lxcs-cron.sh 2026-03-26 13:49:22 +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
github-actions[bot]
2d93dacef6 Delete homebrew (addon) after migration to ProxmoxVE (#1609)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-24 10:52:04 +00:00
CanbiZ (MickLesk)
d2c2a6e150 some fixes 2026-03-24 09:40:44 +01:00
CanbiZ (MickLesk)
4e9c1b22dd add brew user 2026-03-23 14:36:44 +01:00
CanbiZ (MickLesk)
aacbe238ba Update cron-update-lxcs.sh 2026-03-12 14:06:07 +01:00
CanbiZ (MickLesk)
1cbc30e578 Switch repo URLs to raw.githubusercontent.com
Update script and license links to use GitHub raw URLs. Replace git.community-scripts.org references with https://raw.githubusercontent.com/... for script fetching and https://github.com/... for the LICENSE link in tools/pve/cron-update-lxcs.sh and tools/pve/update-lxcs-cron.sh so the curl examples and REPO_URL point to GitHub-hosted raw content.
2026-03-12 11:35:21 +01:00
CanbiZ (MickLesk)
73b8a02a8c Update update-lxcs-cron.sh 2026-03-12 11:31:59 +01:00
CanbiZ (MickLesk)
a6e0de632f cron 2026-03-12 11:27:07 +01:00
Morgan Prior
2fc164e4d1 Use apt instead of apt-get in install function
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 08:51:25 +00:00
Morgan Prior
57ba5cd169 Rewrite homebrew addon to use core.func/tools.func pattern
Sources core.func, tools.func, error_handler.func, and api.func
instead of inline color vars and msg functions. Adds structured
sections (CONFIGURATION, OS DETECTION, UNINSTALL, INSTALL, MAIN)
matching the qbittorrent-exporter/pihole-exporter pattern.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 20:49:33 +00:00
Morgan Prior
05b99489fe Clarify error message: Homebrew cannot run as root
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 15:50:37 +00:00
Morgan Prior
da4e45695f Update tools/addon/homebrew.sh
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-02-26 13:59:56 +00:00
Morgan Prior
ce3127f2b3 Update tools/addon/homebrew.sh
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-02-26 13:59:42 +00:00
Morgan Prior
83df31c5da Update tools/addon/homebrew.sh
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-02-26 13:58:56 +00:00
Morgan Prior
0b68f923b6 Update tools/addon/homebrew.sh
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-02-26 13:58:41 +00:00
Morgan Prior
566b6c331b Add Homebrew (Linuxbrew) addon script
Addon script that installs Homebrew into an existing LXC container.
Dynamically detects the first non-root user, sets up multi-user access
via linuxbrew group with setgid directories, and configures shell
integration for both login and non-login shells.

Tested on Debian 13 (trixie) — brew doctor reports "ready to brew".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 13:46:40 +00:00
CanbiZ (MickLesk)
94b51fd295 Add script to install Tailscale in LXC containers
This script installs Tailscale in an existing LXC container on Proxmox VE, handling both Alpine and Debian/Ubuntu distributions, and updates the container configuration accordingly.
2026-02-26 09:31:26 +01:00
github-actions[bot]
f76410e074 Delete arcane (addon) after migration to ProxmoxVE (#1507)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-24 10:34:59 +00:00
summoningpixels
ddb8d4890d Update arcane.sh 2026-02-18 16:47:35 +02:00
summoningpixels
829f6bf038 Update tools/addon/arcane.sh
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-02-18 16:43:24 +02:00
summoningpixels
786093a288 Create arcane.sh 2026-02-18 16:24:46 +02:00
CanbiZ (MickLesk)
6c43b624c1 Enhance Proxmox dependency-check scripts
Update frontend docs and significantly refactor dependency-check tooling.

- frontend: set supported version to "PVE 8.x / 9.x" and add info about --install/--status/--uninstall flags.
- Add new tools/pve/dependency-check copy.sh (installer wrapper).
- Rework tools/pve/dependency-check.sh: add CLI (install/status/uninstall), PVE version detection/validation, improved logging/colors, safer config parsing, more robust storage checks, validated tag handling (dep_ping/dep_tcp), portable TCP/ping checks, and wait/timeout helper.
- Improve applicator script handling (ignore list, avoid overwriting other hookscripts), update systemd units (PathExistsGlob, unit binding), and implement uninstall to remove assignments and installed files.

These changes harden lifecycle management and make installation/cleanup and runtime checks more robust and observable.
2026-02-17 10:23:26 +01:00
CanbiZ (MickLesk)
b65090b315 Add CronMaster addon; remove legacy installers
Replace legacy container/install scripts with a single tools/addon/cronmaster.sh addon. The new script consolidates install, update and uninstall flows, uses community-scripts core functions, fetches prebuilt GitHub releases, sets up Node.js (defaults to v22), creates a systemd service and an update helper (/usr/local/bin/update_cronmaster). Removed ct/cronmaster.sh and install/cronmaster-install.sh to avoid duplication and centralize maintenance.
2026-02-17 09:41:43 +01:00
CanbiZ (MickLesk)
a7a5b54680 example 2026-02-17 09:33:12 +01:00
github-actions[bot]
0bfa6c3e54 Delete paperless-exporter (addon) after migration to ProxmoxVE (#1438)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-10 07:24:02 +00:00
CanbiZ (MickLesk)
35833c402a Update microcode.sh 2026-02-09 19:17:54 +01:00
CanbiZ (MickLesk)
5054d34a4a Create microcode.sh 2026-02-09 19:15:24 +01:00
CrazyWolf13
48179d26b6 paperless-exporter 2026-02-09 07:35:35 +01:00
CanbiZ (MickLesk)
66312f05d2 features 2026-01-26 14:56:55 +01:00
CanbiZ (MickLesk)
6aacad8e30 fixes 2026-01-26 14:54:24 +01:00
CanbiZ
f8e8050634 fix headers 2026-01-13 11:30:27 +01:00
CanbiZ
4f5e9d893f add missing headers and add windows version of app headers 2026-01-13 11:22:29 +01:00
github-actions[bot]
06f4a95b7f Delete jellystat (addon) after migration to ProxmoxVE (#1269)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-12 13:05:30 +00:00
Tobias
5d7084c0bb chore: refactor update messages 2026-01-06 17:05:47 +01:00
Tobias
7c27cceec6 some more copyright 2026-01-06 12:43:41 +01:00
Tobias
c5786b9210 happ new year - well a bit late :D 2026-01-06 12:36:02 +01:00
CanbiZ (MickLesk)
3f490abff1 Refactor OCI image handling in oci-deploy.sh 2025-12-29 17:35:10 +01:00
CanbiZ (MickLesk)
dae69a6690 Update oci-deploy.sh 2025-12-29 17:33:12 +01:00
CanbiZ (MickLesk)
ce1e3d76bf Refactor OCI deployment script for clarity and functionality
Refactor message functions and improve version checks.
2025-12-29 17:26:33 +01:00
CanbiZ (MickLesk)
513b096e6e Add OCI container deployment script for Proxmox VE
This script provides a deployment helper for OCI containers on Proxmox VE 9.1, including functions for checking Proxmox version, parsing image references, and deploying containers with customizable options.
2025-12-29 17:22:57 +01:00
github-actions[bot]
a162586f6c Delete nextcloud-exporter (addon) after migration to ProxmoxVE (#1235)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-27 21:02:07 +00:00
Tobias
9ee22f9af9 os check 2025-12-25 01:11:32 +01:00
Tobias
a7d97b15e7 remove alpine 2025-12-25 01:09:39 +01:00
Tobias
39b0aa1612 fix 2025-12-25 00:19:01 +01:00
Tobias
039481f650 fix 2025-12-25 00:16:19 +01:00