Compare commits

..
Author SHA1 Message Date
community-scripts-pr-app[bot]andgithub-actions[bot] e7eaf9508e Update CHANGELOG.md (#19261)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-12-02 10:11:44 +00:00
deb17387c8 [tools.update-lxcs] feat: optional CLEAN_CACHE to remove downloaded packages after each update (#19192)
Co-authored-by: Matt Stein <matt@ninestone.ca>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 11:11:03 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 073eb20c52 Update CHANGELOG.md (#19260)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-12-02 09:58:27 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] b4b9a809e8 Update CHANGELOG.md (#19259)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-12-02 09:58:07 +00:00
CanbiZ (MickLesk) 4e338af9e9 Sure: set SECRET_KEY_BASE whatever the example holds (#19258)
Sure 2026.11.30 ships .env.example with an empty SECRET_KEY_BASE instead of
secret-value, so the substitution matched nothing, Rails had no key and
db:prepare stopped the service from starting. Every install since the
release failed (6 of 6).
2026-12-02 10:57:53 +01:00
CanbiZ (MickLesk) bdaeb11818 Pterodactyl Panel: switch PHP with setup_php (#19255)
The update moved older installs to PHP 8.4 by hand and failed in apt for
every one of them (4 runs on two hosts in five days). setup_php does the
same switch and carries the modules, the Apache module and FPM over;
tested from PHP 8.3 with Apache and FPM on Debian 12.
2026-12-02 10:57:42 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 199447191e Update CHANGELOG.md (#19257)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-12-02 10:57:40 +01:00
CanbiZ (MickLesk) a5e47e93e3 Frigate: fetch the Intel key for install_deps with retries (#19253)
install_deps.sh downloads Intel's key once with wget; when Intel's CDN
answered with no key, gpg found no OpenPGP data and the install stopped at
the HailoRT step (13 runs in five days). It now gets the key from
download_gpg_key, as the media driver build already does.
2026-12-02 10:57:32 +01:00
CanbiZ (MickLesk) e426f031ba ERPNext: raise the default RAM to 6 GB (#19252)
Frappe 16.60 builds its new Studio and Flow frontends with Vite inside
bench build. The parent esbuild process keeps its memory while they run,
so the build peaks at 3.9 GB on a 4 GB container and fails when the
kernel kills it.
2026-12-02 10:57:13 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 78f41464b6 Update CHANGELOG.md (#19256)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-12-02 09:57:02 +00:00
CanbiZ (MickLesk) 9052bfe253 Aurral: build without the exact Node minor check (#19251)
Aurral 3.2.0 wants node 26.13.x with engineStrict in pnpm-workspace.yaml.
The install already skipped that check, but pnpm run checks again, so every
install on NodeSource's 26.14.0 failed at the frontend build.
2026-12-02 10:56:51 +01:00
CanbiZ (MickLesk) 74c261575b Dreeve: follow FrankenPHP releases for PHP 8.6 (#19250)
Dreeve 5.9.3 requires PHP 8.6, but FrankenPHP was pinned to 1.12.7, which
ships PHP 8.5, so composer install failed. The pin worked around the argv
bug in 1.13.0, fixed in 1.13.1; 1.14.0 ships PHP 8.6. The update never
touched FrankenPHP, so existing installs would have failed the same way on
their next Dreeve update; it now updates FrankenPHP first.
2026-12-02 10:56:35 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 07b493e196 Update CHANGELOG.md (#19254)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-12-02 09:56:23 +00:00
CanbiZ (MickLesk) 41113474b4 cross-seed: reinstall when a Node.js upgrade broke better-sqlite3 (#19249)
The update moved Node from 24 to 26 and then ran cross-seed --version to
read the installed version, which failed on better-sqlite3 built for the
old ABI. The version now comes from package.json, and a cross-seed that no
longer starts is reinstalled at the same version.
2026-12-02 10:56:18 +01:00
CanbiZ (MickLesk) 19e5a7d99f Dispatcharr: consume the plugins and dvr queues like upstream (#19248)
Since 0.34 plugin actions go to a plugins queue, which no worker read, so
every plugin action timed out after 55 s. Recordings go to dvr, which older
installs never consumed. The main worker now reads celery,plugins and a
second thread-pool worker reads dvr, as upstream's images do. The update
migrates existing installs without waiting for a new release, since it
restored the old start script on every update.
2026-12-02 10:55:48 +01:00
13 changed files with 157 additions and 13 deletions

No files matched your search

+22
View File
@@ -597,6 +597,28 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
- Docling-Serve [@MickLesk](https://github.com/MickLesk) ([#19237](https://github.com/community-scripts/ProxmoxVE/pull/19237))
- Kopia [@MickLesk](https://github.com/MickLesk) ([#19238](https://github.com/community-scripts/ProxmoxVE/pull/19238))
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Pterodactyl Panel: switch PHP with setup_php [@MickLesk](https://github.com/MickLesk) ([#19255](https://github.com/community-scripts/ProxmoxVE/pull/19255))
- Frigate: fetch the Intel key for install_deps with retries [@MickLesk](https://github.com/MickLesk) ([#19253](https://github.com/community-scripts/ProxmoxVE/pull/19253))
- ERPNext: raise the default RAM to 6 GB [@MickLesk](https://github.com/MickLesk) ([#19252](https://github.com/community-scripts/ProxmoxVE/pull/19252))
- Aurral: build without the exact Node minor check [@MickLesk](https://github.com/MickLesk) ([#19251](https://github.com/community-scripts/ProxmoxVE/pull/19251))
- Dreeve: follow FrankenPHP releases for PHP 8.6 [@MickLesk](https://github.com/MickLesk) ([#19250](https://github.com/community-scripts/ProxmoxVE/pull/19250))
- cross-seed: reinstall when a Node.js upgrade broke better-sqlite3 [@MickLesk](https://github.com/MickLesk) ([#19249](https://github.com/community-scripts/ProxmoxVE/pull/19249))
- Dispatcharr: consume the plugins and dvr queues like upstream [@MickLesk](https://github.com/MickLesk) ([#19248](https://github.com/community-scripts/ProxmoxVE/pull/19248))
- #### 🔧 Refactor
- Sure: set SECRET_KEY_BASE whatever the example holds [@MickLesk](https://github.com/MickLesk) ([#19258](https://github.com/community-scripts/ProxmoxVE/pull/19258))
### 🧰 Tools
- #### ✨ New Features
- [tools.update-lxcs] feat: optional CLEAN_CACHE to remove downloaded packages after each update [@mattstein111](https://github.com/mattstein111) ([#19192](https://github.com/community-scripts/ProxmoxVE/pull/19192))
## 2026-12-01
### 🆕 New Scripts
+1 -1
View File
@@ -46,7 +46,7 @@ function update_script() {
export VITE_GITHUB_REPO="lklynet/aurral"
export VITE_RELEASE_CHANNEL="stable"
$STD pnpm install --frozen-lockfile --config.engine-strict=false --filter aurral-frontend --filter aurral-backend
$STD pnpm --filter aurral-frontend run build
$STD pnpm --config.engine-strict=false --filter aurral-frontend run build
mkdir -p /opt/aurral_data
cat <<EOF >/opt/aurral/aurral.env
NODE_ENV=production
+6 -1
View File
@@ -30,13 +30,18 @@ function update_script() {
ensure_dependencies build-essential
if command -v cross-seed &>/dev/null; then
current_version=$(cross-seed --version)
current_version=$(node -p "require('$(npm root -g)/cross-seed/package.json').version")
latest_version=$(npm show cross-seed version)
if [ "$current_version" != "$latest_version" ]; then
msg_info "Updating cross-seed from version v${current_version} to v${latest_version}"
$STD npm install -g cross-seed@latest
systemctl restart cross-seed
msg_ok "Updated successfully!"
elif ! cross-seed --version &>/dev/null; then
msg_info "Reinstalling cross-seed v${current_version} for Node.js $(node -v)"
$STD npm install -g "cross-seed@${current_version}"
systemctl restart cross-seed
msg_ok "Reinstalled cross-seed"
else
msg_ok "cross-seed is already at v${current_version}"
fi
+45 -1
View File
@@ -117,9 +117,52 @@ EOF
msg_ok "Compiled and Installed Comskip"
fi
if ! grep -qs -- "-Q celery,plugins" /opt/dispatcharr/start-celery.sh; then
msg_info "Migrating Celery Workers"
cat <<'EOF' >/opt/dispatcharr/start-celery.sh
#!/usr/bin/env bash
cd /opt/dispatcharr
set -a
source .env
set +a
exec uv run celery -A dispatcharr worker -l info -Q celery,plugins -n default@%h --autoscale="${CELERY_MAX_WORKERS:-6},${CELERY_MIN_WORKERS:-1}"
EOF
cat <<'EOF' >/opt/dispatcharr/start-celery-dvr.sh
#!/usr/bin/env bash
cd /opt/dispatcharr
set -a
source .env
set +a
exec uv run celery -A dispatcharr worker -l info -Q dvr -n dvr@%h --pool=threads --concurrency=20
EOF
chmod +x /opt/dispatcharr/start-celery.sh /opt/dispatcharr/start-celery-dvr.sh
cat <<EOF >/etc/systemd/system/dispatcharr-celery-dvr.service
[Unit]
Description=Dispatcharr Celery DVR Worker
After=network.target redis-server.service
Requires=dispatcharr.service
[Service]
Type=simple
WorkingDirectory=/opt/dispatcharr
ExecStart=/opt/dispatcharr/start-celery-dvr.sh
Restart=on-failure
RestartSec=10
User=root
[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload
systemctl enable -q --now dispatcharr-celery-dvr
systemctl restart dispatcharr-celery
msg_ok "Migrated Celery Workers"
fi
if check_for_gh_release "Dispatcharr" "Dispatcharr/Dispatcharr"; then
msg_info "Stopping Services"
systemctl stop dispatcharr-celery
systemctl stop dispatcharr-celery-dvr
systemctl stop dispatcharr-celerybeat
systemctl stop dispatcharr-daphne
systemctl stop dispatcharr
@@ -130,7 +173,7 @@ EOF
if [[ -f /opt/dispatcharr/start-gunicorn.sh ]]; then
rm -f /opt/dispatcharr/start-gunicorn.sh
fi
create_backup /opt/dispatcharr/.env /opt/dispatcharr/start-celery.sh /opt/dispatcharr/start-celerybeat.sh /opt/dispatcharr/start-daphne.sh
create_backup /opt/dispatcharr/.env /opt/dispatcharr/start-celery.sh /opt/dispatcharr/start-celery-dvr.sh /opt/dispatcharr/start-celerybeat.sh /opt/dispatcharr/start-daphne.sh
if [[ -f /opt/dispatcharr/.env ]]; then
set -o allexport
source /opt/dispatcharr/.env
@@ -213,6 +256,7 @@ EOF
msg_info "Starting Services"
systemctl start dispatcharr
systemctl start dispatcharr-celery
systemctl start dispatcharr-celery-dvr
systemctl start dispatcharr-celerybeat
systemctl start dispatcharr-daphne
msg_ok "Started Services"
+12
View File
@@ -31,6 +31,18 @@ function update_script() {
exit
fi
if check_for_gh_release "frankenphp" "php/frankenphp"; then
msg_info "Stopping Service"
systemctl stop dreeve
msg_ok "Stopped Service"
fetch_and_deploy_gh_release "frankenphp" "php/frankenphp" "singlefile" "latest" "/opt/frankenphp" "frankenphp-linux-$(arch_resolve x86_64 aarch64)-gnu"
msg_info "Starting Service"
systemctl start dreeve
msg_ok "Started Service"
fi
if check_for_gh_release "dreeve" "dreeveapp/dreeve"; then
msg_info "Stopping Service"
systemctl stop dreeve
+1 -1
View File
@@ -10,7 +10,7 @@ source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_
APP="ERPNext"
var_tags="${var_tags:-erp;business;accounting}"
var_cpu="${var_cpu:-4}"
var_ram="${var_ram:-4096}"
var_ram="${var_ram:-6144}"
var_disk="${var_disk:-20}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
+1 -1
View File
@@ -34,7 +34,7 @@ export VITE_APP_VERSION="$(cat ~/.aurral)"
export VITE_GITHUB_REPO="lklynet/aurral"
export VITE_RELEASE_CHANNEL="stable"
$STD pnpm install --frozen-lockfile --config.engine-strict=false --filter aurral-frontend --filter aurral-backend
$STD pnpm --filter aurral-frontend run build
$STD pnpm --config.engine-strict=false --filter aurral-frontend run build
msg_ok "Built Aurral"
msg_info "Creating Service"
+31 -3
View File
@@ -185,16 +185,26 @@ exec .venv/bin/uwsgi \\
EOF
chmod +x /opt/dispatcharr/start-uwsgi.sh
cat <<EOF >/opt/dispatcharr/start-celery.sh
cat <<'EOF' >/opt/dispatcharr/start-celery.sh
#!/usr/bin/env bash
cd /opt/dispatcharr
set -a
source .env
set +a
exec uv run celery -A dispatcharr worker -l info -c 4 -Q celery,recordings,dvr,default
exec uv run celery -A dispatcharr worker -l info -Q celery,plugins -n default@%h --autoscale="${CELERY_MAX_WORKERS:-6},${CELERY_MIN_WORKERS:-1}"
EOF
chmod +x /opt/dispatcharr/start-celery.sh
cat <<'EOF' >/opt/dispatcharr/start-celery-dvr.sh
#!/usr/bin/env bash
cd /opt/dispatcharr
set -a
source .env
set +a
exec uv run celery -A dispatcharr worker -l info -Q dvr -n dvr@%h --pool=threads --concurrency=20
EOF
chmod +x /opt/dispatcharr/start-celery-dvr.sh
cat <<EOF >/opt/dispatcharr/start-celerybeat.sh
#!/usr/bin/env bash
cd /opt/dispatcharr
@@ -250,6 +260,24 @@ User=root
WantedBy=multi-user.target
EOF
cat <<EOF >/etc/systemd/system/dispatcharr-celery-dvr.service
[Unit]
Description=Dispatcharr Celery DVR Worker
After=network.target redis-server.service
Requires=dispatcharr.service
[Service]
Type=simple
WorkingDirectory=/opt/dispatcharr
ExecStart=/opt/dispatcharr/start-celery-dvr.sh
Restart=on-failure
RestartSec=10
User=root
[Install]
WantedBy=multi-user.target
EOF
cat <<EOF >/etc/systemd/system/dispatcharr-celerybeat.service
[Unit]
Description=Dispatcharr Celery Beat Scheduler
@@ -285,7 +313,7 @@ User=root
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now dispatcharr dispatcharr-celery dispatcharr-celerybeat dispatcharr-daphne
systemctl enable -q --now dispatcharr dispatcharr-celery dispatcharr-celery-dvr dispatcharr-celerybeat dispatcharr-daphne
msg_ok "Created Services"
motd_ssh
+1 -2
View File
@@ -20,8 +20,7 @@ $STD apt install -y \
ca-certificates
msg_ok "Installed Dependencies"
# 1.13.0's php-cli shifts the script into argv[1], which breaks composer and bin/console (php/frankenphp#2690); unpin once 1.13.1 is out
fetch_and_deploy_gh_release "frankenphp" "php/frankenphp" "singlefile" "v1.12.7" "/opt/frankenphp" "frankenphp-linux-$(arch_resolve x86_64 aarch64)-gnu"
fetch_and_deploy_gh_release "frankenphp" "php/frankenphp" "singlefile" "latest" "/opt/frankenphp" "frankenphp-linux-$(arch_resolve x86_64 aarch64)-gnu"
fetch_and_deploy_gh_release "dreeve" "dreeveapp/dreeve" "tarball"
msg_info "Providing php CLI"
+3
View File
@@ -224,6 +224,9 @@ sed -i '/^.*unset DEBIAN_FRONTEND.*$/d' /opt/frigate/docker/main/install_deps.sh
echo "libedgetpu1-max libedgetpu/accepted-eula boolean true" | debconf-set-selections
echo "libedgetpu1-max libedgetpu/install-confirm-max boolean true" | debconf-set-selections
echo 'force-overwrite' >/etc/dpkg/dpkg.cfg.d/force-overwrite
if [[ "$(arch_resolve)" == "amd64" ]] && download_gpg_key "https://repositories.intel.com/gpu/intel-graphics.key" "/usr/share/keyrings/intel-graphics.gpg" "dearmor"; then
sed -i '/intel-graphics.key/d' /opt/frigate/docker/main/install_deps.sh
fi
$STD bash /opt/frigate/docker/main/install_deps.sh
rm -f /etc/dpkg/dpkg.cfg.d/force-overwrite
$STD pip3 install -U /wheels/*.whl
+1 -1
View File
@@ -44,7 +44,7 @@ msg_info "Configuring Sure"
KEY="$(openssl rand -hex 64)"
mkdir -p /etc/sure
mv /opt/sure/.env.example /etc/sure/.env
sed -i -e "/^SECRET_KEY_BASE=/s/secret-value/${KEY}/" \
sed -i -e "s/^SECRET_KEY_BASE=.*/SECRET_KEY_BASE=${KEY}/" \
-e 's/_KEY_BASE=.*$/&\n\nRAILS_FORCE_SSL=false \
\
# Change to true when using a reverse proxy \
+5
View File
@@ -119,6 +119,11 @@ EXCLUDE=
# Healthchecks.io Ping URL (optional)
# PING_URL=
# Remove downloaded packages after each successful update (optional).
# Without it, apt and the other package managers keep every package they
# download, and the cache grows on each run until the container's disk fills.
# CLEAN_CACHE=yes
CONF
ok "Created config ${CONF_FILE}"
fi
+28 -2
View File
@@ -13,6 +13,7 @@ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
CONF_FILE="/etc/update-lxcs.conf"
LOG_FILE="/var/log/update-lxcs-cron.log"
PING_URL=""
CLEAN_CACHE=""
# Collect excluded containers from arguments
excluded_containers=("$@")
@@ -20,6 +21,7 @@ excluded_containers=("$@")
# Merge exclusions and healthchecks URL from config file if it exists
if [[ -f "$CONF_FILE" ]]; then
PING_URL=$(grep -oP '^\s*PING_URL\s*=\s*\K.+' "$CONF_FILE" 2>/dev/null | tr -d '"' | tr -d "'" || true)
CLEAN_CACHE=$(grep -oP '^\s*CLEAN_CACHE\s*=\s*\K.+' "$CONF_FILE" 2>/dev/null | tr -d '"' | tr -d "'" || true)
conf_exclude=$(grep -oP '^\s*EXCLUDE\s*=\s*\K[0-9,]+' "$CONF_FILE" 2>/dev/null || true)
IFS=',' read -ra conf_ids <<<"$conf_exclude"
for id in "${conf_ids[@]}"; do
@@ -39,6 +41,22 @@ fi
echo -e "\n $(date)"
# Remove downloaded package files after a successful update (CLEAN_CACHE=yes).
# The upgrade commands keep every package they download, so without this the
# cache grows on every run until the container's disk is full.
function clean_container() {
local container=$1
local os=$2
echo -e " [Info] Cleaning package cache in $container"
case "$os" in
alpine) pct exec "$container" -- ash -c "apk cache clean 2>/dev/null || true" ;;
archlinux) pct exec "$container" -- bash -c "pacman -Sc --noconfirm" ;;
fedora | rocky | centos | alma) pct exec "$container" -- bash -c "dnf -y clean packages" ;;
ubuntu | debian | devuan) pct exec "$container" -- bash -c "apt-get clean" ;;
opensuse) pct exec "$container" -- bash -c "zypper --non-interactive clean" ;;
esac
}
function update_container() {
local container=$1
local name
@@ -46,14 +64,22 @@ function update_container() {
local os
os=$(pct config "$container" | awk '/^ostype/ {print $2}')
echo -e "\n [Info] Updating $container : $name (os: $os)"
local rc=0
case "$os" in
alpine) pct exec "$container" -- ash -c "apk -U upgrade" ;;
archlinux) pct exec "$container" -- bash -c "pacman -Syyu --noconfirm" ;;
fedora | rocky | centos | alma) pct exec "$container" -- bash -c "dnf -y update && dnf -y upgrade" ;;
ubuntu | debian | devuan) pct exec "$container" -- bash -c "apt-get update; DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::='--force-confold' dist-upgrade -y; status=\$?; rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED || true; exit \$status" ;;
opensuse) pct exec "$container" -- bash -c "zypper ref && zypper --non-interactive dup" ;;
*) echo " [Warn] Unknown OS type '$os' for container $container, skipping" ;;
esac
*)
echo " [Warn] Unknown OS type '$os' for container $container, skipping"
return 0
;;
esac || rc=$?
if [[ $rc -eq 0 && "${CLEAN_CACHE,,}" =~ ^(1|yes|true)$ ]]; then
clean_container "$container" "$os" || echo " [Warn] Cache cleanup failed for $container"
fi
return $rc
}
update_status=0