Compare commits

..
Author SHA1 Message Date
CanbiZ (MickLesk) cd6ab486c1 Revert "Refactor AdGuard Home update process (#19291)"
This reverts commit 681e168ff7.
2026-12-04 06:32:49 +01:00
7 changed files with 6 additions and 56 deletions

No files matched your search

-14
View File
@@ -590,20 +590,6 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
</details>
## 2026-12-04
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Wiki.js: rebuild SQLite in the application directory [@maniac79](https://github.com/maniac79) ([#19299](https://github.com/community-scripts/ProxmoxVE/pull/19299))
- Frigate: stop the service cleanly [@MickLesk](https://github.com/MickLesk) ([#19296](https://github.com/community-scripts/ProxmoxVE/pull/19296))
- Update authentik 2026.8.7 [@thieneret](https://github.com/thieneret) ([#19051](https://github.com/community-scripts/ProxmoxVE/pull/19051))
- #### 🔧 Refactor
- Kyoo: install the FFmpeg build its transcoder needs [@MickLesk](https://github.com/MickLesk) ([#19294](https://github.com/community-scripts/ProxmoxVE/pull/19294))
## 2026-12-03
### 🚀 Updated Scripts
+2 -29
View File
@@ -47,8 +47,8 @@ function update_script() {
RUST_PROFILE="minimal" RUST_TOOLCHAIN="stable" setup_rust
setup_yq
AUTHENTIK_VERSION="version/2026.8.7"
# Source: https://github.com/goauthentik/fips/blob/main/Makefile#L28
AUTHENTIK_VERSION="version/2026.8.6"
# Source: https://github.com/goauthentik/fips/blob/main/Makefile#L26
XMLSEC_VERSION="1.3.13"
if check_for_gh_release "geoipupdate" "maxmind/geoipupdate"; then
@@ -204,20 +204,6 @@ EOF
systemctl start authentik-radius
fi
msg_ok "Started Services"
msg_info "Waiting for authentik to become ready (up to 300s)"
CODE=000
for _ in {1..60}; do
CODE=$(curl -ksI -m 3 https://127.0.0.1:9443/ | sed -n 's,^HTTP/[0-9.]* \([0-9]\{3\}\).*,\1,p' || true)
[[ "$CODE" == "200" || "$CODE" == "302" ]] && break
sleep 5
done
if [[ "$CODE" == "200" || "$CODE" == "302" ]]; then
msg_ok "authentik is responding (HTTP ${CODE})"
else
msg_warn "authentik did not start responding (HTTP ${CODE}) within 300s. It may still be booting (migrations after an upgrade can take longer); check: journalctl -eu authentik-server"
fi
fi
msg_ok "Updated successfully!"
exit
@@ -240,19 +226,6 @@ msg_info "Starting Services"
ct_exec systemctl enable -q --now authentik-server authentik-worker
msg_ok "Started Services"
msg_info "Waiting for authentik to become ready (up to 300s)"
CODE=000
for _ in {1..60}; do
CODE=$(ct_exec curl -ksI -m 3 https://127.0.0.1:9443/ | sed -n 's,^HTTP/[0-9.]* \([0-9]\{3\}\).*,\1,p' || true)
[[ "$CODE" == "200" || "$CODE" == "302" ]] && break
sleep 5
done
if [[ "$CODE" == "200" || "$CODE" == "302" ]]; then
msg_ok "authentik is responding (HTTP ${CODE})"
else
msg_warn "authentik did not start responding (HTTP ${CODE}) within 300s. It may still be booting (first boot runs migrations); check inside the container with journalctl -eu authentik-server"
fi
description
msg_ok "Completed successfully!\n"
-6
View File
@@ -32,12 +32,6 @@ function update_script() {
exit
fi
if check_for_gh_release "kyoo-ffmpeg" "zoriya/ffmpeg"; then
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "kyoo-ffmpeg" "zoriya/ffmpeg" "prebuild" "latest" "/opt/kyoo-ffmpeg" "ffmpeg-*-linux-$(arch_resolve).tar.xz"
ln -sf /opt/kyoo-ffmpeg/ffmpeg /opt/kyoo-ffmpeg/ffprobe /usr/local/bin/
systemctl restart kyoo-transcoder
fi
if check_for_gh_release "kyoo" "zoriya/Kyoo"; then
msg_info "Stopping Kyoo"
systemctl stop kyoo-scanner kyoo-api kyoo-transcoder kyoo-auth
+1 -1
View File
@@ -86,7 +86,7 @@ function update_script() {
msg_info "Restoring Data"
cp -R /opt/wikijs-backup/* /opt/wikijs
if [[ "$SQLITE_INSTALL" == "true" ]]; then
$STD npm --prefix /opt/wikijs rebuild sqlite3
$STD npm rebuild sqlite3
fi
rm -rf /opt/wikijs-backup
msg_ok "Restored Data"
+2 -1
View File
@@ -57,7 +57,7 @@ PG_VERSION="17" setup_postgresql
PG_DB_NAME="authentik" PG_DB_USER="authentik" PG_DB_GRANT_SUPERUSER="true" setup_postgresql_db
XMLSEC_VERSION="1.3.13"
AUTHENTIK_VERSION="version/2026.8.7"
AUTHENTIK_VERSION="version/2026.8.6"
fetch_and_deploy_gh_release "xmlsec" "lsh123/xmlsec" "tarball" "${XMLSEC_VERSION}" "/opt/xmlsec"
fetch_and_deploy_gh_release "authentik" "goauthentik/authentik" "tarball" "${AUTHENTIK_VERSION}" "/opt/authentik"
GO_VERSION="$(grep -m1 '^go ' /opt/authentik/go.mod | awk '{print $2}')" setup_go
@@ -108,6 +108,7 @@ DatabaseDirectory /opt/authentik-data/geoip
RetryFor 5m
Parallelism 1
EOF
echo "#39 19 * * 6,4 /usr/bin/geoipupdate -f /usr/local/etc/GeoIP.conf" | crontab -
msg_info "Building binary. It may take more than 10 minutes, please be patient."
+1 -3
View File
@@ -368,9 +368,7 @@ User=root
EnvironmentFile=/etc/frigate.env
ExecStartPre=+/usr/bin/systemctl restart go2rtc.service
ExecStartPre=+rm -f /dev/shm/logs/frigate/current
ExecStart=/bin/bash -c 'exec > >(/usr/bin/ts "%%Y-%%m-%%d %%H:%%M:%%.S ") 2>&1; exec bash /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/frigate/run'
KillMode=mixed
TimeoutStopSec=60
ExecStart=/bin/bash -c "bash /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/frigate/run 2> >(/usr/bin/ts '%%Y-%%m-%%d %%H:%%M:%%.S ' >&2) | /usr/bin/ts '%%Y-%%m-%%d %%H:%%M:%%.S '"
StandardOutput=file:/dev/shm/logs/frigate/current
StandardError=file:/dev/shm/logs/frigate/current
-2
View File
@@ -25,8 +25,6 @@ $STD apt install -y \
msg_ok "Installed Dependencies"
setup_ffmpeg
fetch_and_deploy_gh_release "kyoo-ffmpeg" "zoriya/ffmpeg" "prebuild" "latest" "/opt/kyoo-ffmpeg" "ffmpeg-*-linux-$(arch_resolve).tar.xz"
ln -sf /opt/kyoo-ffmpeg/ffmpeg /opt/kyoo-ffmpeg/ffprobe /usr/local/bin/
setup_hwaccel
PG_VERSION="18" setup_postgresql
PG_DB_NAME="kyoo" PG_DB_USER="kyoo" setup_postgresql_db