Compare commits

..

2 Commits

Author SHA1 Message Date
Slaviša Arežina
704fca8cca Update zabbix.sh 2025-10-11 22:38:26 +02:00
CanbiZ
1243c3df7f Zabbix: various bugfixes agent1/agent2 2025-10-11 21:44:29 +02:00
9 changed files with 130 additions and 175 deletions

View File

@@ -10,26 +10,12 @@
> [!CAUTION]
Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes.
## 2025-10-13
## 2025-10-12
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Immich: add Debian Testing repo [@vhsdream](https://github.com/vhsdream) ([#8310](https://github.com/community-scripts/ProxmoxVE/pull/8310))
- Tinyauth: Fix install issues for v4 [@tremor021](https://github.com/tremor021) ([#8309](https://github.com/community-scripts/ProxmoxVE/pull/8309))
## 2025-10-11
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Zabbix: various bugfixes agent1/agent2 [@MickLesk](https://github.com/MickLesk) ([#8294](https://github.com/community-scripts/ProxmoxVE/pull/8294))
- wger: fix python and pip install [@MickLesk](https://github.com/MickLesk) ([#8295](https://github.com/community-scripts/ProxmoxVE/pull/8295))
- searxng: add msgspec as dependency [@MickLesk](https://github.com/MickLesk) ([#8293](https://github.com/community-scripts/ProxmoxVE/pull/8293))
- keycloak: fix update check [@MickLesk](https://github.com/MickLesk) ([#8275](https://github.com/community-scripts/ProxmoxVE/pull/8275))
- komga: fix update check [@MickLesk](https://github.com/MickLesk) ([#8285](https://github.com/community-scripts/ProxmoxVE/pull/8285))

View File

@@ -29,19 +29,15 @@ function update_script() {
$STD apk -U upgrade
msg_ok "Updated packages"
msg_info "Updating Tinyauth"
RELEASE=$(curl -s https://api.github.com/repos/steveiliop56/tinyauth/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
if [ "${RELEASE}" != "$(cat ~/.tinyauth 2>/dev/null)" ] || [ ! -f ~/.tinyauth ]; then
msg_info "Stopping Service"
$STD service tinyauth stop
msg_ok "Service Stopped"
msg_info "Updating Tinyauth"
if [ "${RELEASE}" != "$(cat /opt/tinyauth_version.txt)" ] || [ ! -f /opt/tinyauth_version.txt ]; then
$STD service tinyauth stop
rm -f /opt/tinyauth/tinyauth
curl -fsSL "https://github.com/steveiliop56/tinyauth/releases/download/v${RELEASE}/tinyauth-amd64" -o /opt/tinyauth/tinyauth
chmod +x /opt/tinyauth/tinyauth
echo "${RELEASE}" >~/.tinyauth
msg_ok "Updated Tinyauth"
echo "${RELEASE}" >/opt/tinyauth_version.txt
msg_info "Restarting Tinyauth"
$STD service tinyauth start
msg_ok "Restarted Tinyauth"

View File

@@ -39,26 +39,8 @@ function update_script() {
PNPM_VERSION="$(curl -fsSL "https://raw.githubusercontent.com/immich-app/immich/refs/heads/main/package.json" | jq -r '.packageManager | split("@")[1]')"
NODE_VERSION="22" NODE_MODULE="pnpm@${PNPM_VERSION}" setup_nodejs
if [[ ! -f /etc/apt/preferences.d/preferences ]]; then
msg_info "Adding Debian Testing repo"
sed -i 's/ trixie-updates/ trixie-updates testing/g' /etc/apt/sources.list.d/debian.sources
cat <<EOF >/etc/apt/preferences.d/preferences
Package: *
Pin: release a=unstable
Pin-Priority: 450
Package: *
Pin:release a=testing
Pin-Priority: 450
EOF
if [[ -f /etc/apt/preferences.d/immich ]]; then
rm /etc/apt/preferences.d/immich
fi
$STD apt-get update
msg_ok "Added Debian Testing repo"
msg_info "Installing libmimalloc3"
$STD apt-get install -t testing --no-install-recommends libmimalloc3
msg_ok "Installed libmimalloc3"
if dpkg -l | grep -q "libmimalloc2.0"; then
$STD apt-get update && $STD apt-get install -y libmimalloc3
fi
STAGING_DIR=/opt/staging

View File

@@ -39,18 +39,16 @@ function update_script() {
tar xzf "$temp_file"
cp -rf wger-"$RELEASE"/* /home/wger/src
cd /home/wger/src || exit
$STD pip install -r requirements_prod.txt --ignore-installed
$STD pip install -e .
$STD python3 manage.py migrate
$STD python3 manage.py collectstatic --no-input
$STD yarn install
$STD yarn build:css:sass
$STD python3 manage.py collectstatic --noinput
echo "${RELEASE}" >/opt/${APP}_version.txt
msg_ok "Updated $APP to v${RELEASE}"
msg_info "Starting Service"
msg_info "Starting $APP"
systemctl start wger
msg_ok "Started Service"
msg_ok "Started $APP"
msg_info "Cleaning Up"
rm -rf "$temp_file"

View File

@@ -1,108 +1,8 @@
[
{
"name": "esphome/esphome",
"version": "2025.9.3",
"date": "2025-10-01T11:30:07Z"
},
{
"name": "Luligu/matterbridge",
"version": "3.3.2",
"date": "2025-10-12T21:30:43Z"
},
{
"name": "dgtlmoon/changedetection.io",
"version": "0.50.22",
"date": "2025-10-12T20:49:21Z"
},
{
"name": "runtipi/runtipi",
"version": "nightly",
"date": "2025-10-11T19:50:32Z"
},
{
"name": "globaleaks/globaleaks-whistleblowing-software",
"version": "v5.0.85",
"date": "2025-10-12T19:55:18Z"
},
{
"name": "rcourtman/Pulse",
"version": "v4.23.0",
"date": "2025-10-12T18:41:33Z"
},
{
"name": "booklore-app/booklore",
"version": "v1.6.0",
"date": "2025-10-12T16:09:29Z"
},
{
"name": "ellite/Wallos",
"version": "v4.4.1",
"date": "2025-10-12T15:38:24Z"
},
{
"name": "YunoHost/yunohost",
"version": "debian/12.1.28",
"date": "2025-10-12T14:55:27Z"
},
{
"name": "firefly-iii/firefly-iii",
"version": "v6.4.2",
"date": "2025-10-07T08:11:58Z"
},
{
"name": "PrivateBin/PrivateBin",
"version": "2.0.1",
"date": "2025-10-12T10:00:52Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v4.0.0",
"date": "2025-10-08T16:12:11Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.24.115",
"date": "2025-10-12T05:54:52Z"
},
{
"name": "authelia/authelia",
"version": "v4.39.13",
"date": "2025-10-12T05:45:48Z"
},
{
"name": "jeedom/core",
"version": "4.4.20",
"date": "2025-10-12T00:27:08Z"
},
{
"name": "BerriAI/litellm",
"version": "v1.78.0.rc.1",
"date": "2025-10-11T22:11:56Z"
},
{
"name": "gelbphoenix/autocaliweb",
"version": "v0.10.4",
"date": "2025-10-11T19:53:39Z"
},
{
"name": "jhuckaby/Cronicle",
"version": "v0.9.96",
"date": "2025-10-11T18:33:27Z"
},
{
"name": "Stirling-Tools/Stirling-PDF",
"version": "v1.4.0",
"date": "2025-10-11T18:16:32Z"
},
{
"name": "MediaBrowser/Emby.Releases",
"version": "4.9.1.80",
"date": "2025-09-30T20:25:16Z"
},
{
"name": "SigNoz/signoz",
"version": "v0.97.0-515a1bda0",
"date": "2025-10-11T15:06:55Z"
"version": "v4.5.0-beta.4",
"date": "2025-10-11T10:48:55Z"
},
{
"name": "TandoorRecipes/recipes",
@@ -111,7 +11,7 @@
},
{
"name": "meilisearch/meilisearch",
"version": "prototype-docker-alpine-3-22-v5",
"version": "prototype-docker-alpine-3-22-v3",
"date": "2025-10-11T09:04:29Z"
},
{
@@ -124,6 +24,31 @@
"version": "v1.5.3",
"date": "2025-09-20T12:12:33Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.24.111",
"date": "2025-10-11T05:50:36Z"
},
{
"name": "firefly-iii/firefly-iii",
"version": "v6.4.2",
"date": "2025-10-07T08:11:58Z"
},
{
"name": "BerriAI/litellm",
"version": "v1.77.7.dev16",
"date": "2025-10-11T00:54:34Z"
},
{
"name": "jeedom/core",
"version": "4.4.20",
"date": "2025-10-11T00:27:06Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v4.0.0",
"date": "2025-10-08T16:12:11Z"
},
{
"name": "home-assistant/core",
"version": "2025.10.2",
@@ -144,6 +69,11 @@
"version": "26.0.16",
"date": "2025-10-08T04:44:28Z"
},
{
"name": "rcourtman/Pulse",
"version": "v4.22.0",
"date": "2025-10-09T08:23:58Z"
},
{
"name": "homarr-labs/homarr",
"version": "v1.41.0",
@@ -164,6 +94,11 @@
"version": "v0.12.5",
"date": "2025-10-10T16:30:53Z"
},
{
"name": "dgtlmoon/changedetection.io",
"version": "0.50.21",
"date": "2025-10-10T16:18:56Z"
},
{
"name": "Brandawg93/PeaNUT",
"version": "v5.16.0",
@@ -224,6 +159,11 @@
"version": "e6.0.1-alpha.1",
"date": "2025-10-10T06:57:48Z"
},
{
"name": "SigNoz/signoz",
"version": "v0.97.0",
"date": "2025-10-10T06:52:42Z"
},
{
"name": "nzbgetcom/nzbget",
"version": "v25.4",
@@ -244,6 +184,11 @@
"version": "v0.29.0-rc.0",
"date": "2025-10-10T01:13:27Z"
},
{
"name": "gelbphoenix/autocaliweb",
"version": "v0.10.3",
"date": "2025-10-09T21:55:26Z"
},
{
"name": "FlareSolverr/FlareSolverr",
"version": "v3.4.2",
@@ -254,6 +199,16 @@
"version": "v0.13.2",
"date": "2025-10-09T18:33:46Z"
},
{
"name": "esphome/esphome",
"version": "2025.9.3",
"date": "2025-10-01T11:30:07Z"
},
{
"name": "MediaBrowser/Emby.Releases",
"version": "4.9.1.80",
"date": "2025-09-30T20:25:16Z"
},
{
"name": "mattermost/mattermost",
"version": "server/public/v0.1.20",
@@ -359,11 +314,21 @@
"version": "v0.307.0-rc.0",
"date": "2025-10-08T11:25:44Z"
},
{
"name": "authelia/authelia",
"version": "v4.39.12",
"date": "2025-10-08T08:03:01Z"
},
{
"name": "gotson/komga",
"version": "1.23.5",
"date": "2025-10-08T07:31:37Z"
},
{
"name": "booklore-app/booklore",
"version": "v1.5.1",
"date": "2025-10-07T21:57:21Z"
},
{
"name": "open-webui/open-webui",
"version": "v0.6.33",
@@ -524,6 +489,11 @@
"version": "v0.62.11",
"date": "2025-10-05T07:31:57Z"
},
{
"name": "YunoHost/yunohost",
"version": "debian/12.1.27",
"date": "2025-10-05T02:16:42Z"
},
{
"name": "webmin/webmin",
"version": "2.520",
@@ -534,6 +504,16 @@
"version": "v0.8.8-beta",
"date": "2025-10-04T15:56:29Z"
},
{
"name": "globaleaks/globaleaks-whistleblowing-software",
"version": "v5.0.84",
"date": "2025-10-04T08:06:12Z"
},
{
"name": "Luligu/matterbridge",
"version": "3.3.0",
"date": "2025-10-03T21:22:14Z"
},
{
"name": "immich-app/immich",
"version": "v2.0.1",
@@ -549,6 +529,11 @@
"version": "8.2.2",
"date": "2025-10-03T06:22:38Z"
},
{
"name": "jhuckaby/Cronicle",
"version": "v0.9.95",
"date": "2025-10-02T16:07:18Z"
},
{
"name": "cockpit-project/cockpit",
"version": "348",
@@ -889,6 +874,11 @@
"version": "3.2.0",
"date": "2025-09-15T18:03:08Z"
},
{
"name": "ellite/Wallos",
"version": "v4.3.0",
"date": "2025-09-15T17:34:48Z"
},
{
"name": "linuxserver/Heimdall",
"version": "v2.7.6",
@@ -964,6 +954,11 @@
"version": "RELEASE.2025-09-07T16-13-09Z",
"date": "2025-09-07T18:53:04Z"
},
{
"name": "Stirling-Tools/Stirling-PDF",
"version": "v1.3.2",
"date": "2025-09-05T18:44:15Z"
},
{
"name": "CrazyWolf13/streamlink-webui",
"version": "0.6",
@@ -1164,6 +1159,11 @@
"version": "v0.58.0",
"date": "2025-07-28T18:59:50Z"
},
{
"name": "PrivateBin/PrivateBin",
"version": "2.0.0",
"date": "2025-07-28T07:48:40Z"
},
{
"name": "umami-software/umami",
"version": "v2.19.0",

View File

@@ -14,14 +14,16 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apk add --no-cache openssl apache2-utils
$STD apk add --no-cache curl openssl apache2-utils
msg_ok "Installed Dependencies"
msg_info "Installing Tinyauth"
mkdir -p /opt/tinyauth
RELEASE=$(curl -s https://api.github.com/repos/steveiliop56/tinyauth/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
curl -fsSL "https://github.com/steveiliop56/tinyauth/releases/download/v${RELEASE}/tinyauth-amd64" -o /opt/tinyauth/tinyauth
chmod +x /opt/tinyauth/tinyauth
PASS=$(openssl rand -base64 8 | tr -dc 'a-zA-Z0-9' | head -c 8)
USER=$(htpasswd -Bbn "tinyauth" "${PASS}")
@@ -30,18 +32,24 @@ Tinyauth Credentials
Username: tinyauth
Password: ${PASS}
EOF
echo "${RELEASE}" >~/.tinyauth
echo "${RELEASE}" >/opt/tinyauth_version.txt
msg_ok "Installed Tinyauth"
read -r -p "${TAB3}Enter your Tinyauth subdomain (e.g. https://tinyauth.example.com): " app_url
read -p "${TAB3}Enter your Tinyauth subdomain (e.g. https://tinyauth.example.com): " app_url
msg_info "Creating Tinyauth Service"
SECRET=$(openssl rand -base64 32 | tr -dc 'a-zA-Z0-9' | head -c 32)
cat <<EOF >/opt/tinyauth/.env
DATABASE_PATH=/opt/tinyauth/database.db
USERS='${USER}'
SECRET=${SECRET}
USERS=${USER}
APP_URL=${app_url}
EOF
msg_info "Creating Service"
sed -i -e 's/\$/\$\$/g' /opt/tinyauth/.env
cat <<'EOF' >/etc/init.d/tinyauth
#!/sbin/openrc-run
description="Tinyauth Service"
@@ -61,6 +69,7 @@ depend() {
use net
}
EOF
chmod +x /etc/init.d/tinyauth
$STD rc-update add tinyauth default
msg_ok "Enabled Tinyauth Service"

View File

@@ -46,6 +46,7 @@ $STD apt-get install --no-install-recommends -y \
libgomp1 \
liblqr-1-0 \
libltdl7 \
libmimalloc3 \
libopenjp2-7 \
meson \
ninja-build \
@@ -108,23 +109,6 @@ if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
msg_ok "Installed OpenVINO dependencies"
fi
msg_info "Configuring Debian Testing Repo"
sed -i 's/ trixie-updates/ trixie-updates testing/g' /etc/apt/sources.list.d/debian.sources
cat <<EOF >/etc/apt/preferences.d/preferences
Package: *
Pin: release a=unstable
Pin-Priority: 450
Package: *
Pin:release a=testing
Pin-Priority: 450
EOF
$STD apt-get update
msg_ok "Configured Debian Testing repo"
msg_info "Installing libmimalloc3"
$STD apt-get install -t testing --no-install-recommends -yqq libmimalloc3
msg_ok "Installed libmimalloc3"
PNPM_VERSION="$(curl -fsSL "https://raw.githubusercontent.com/immich-app/immich/refs/heads/main/package.json" | jq -r '.packageManager | split("@")[1]')"
NODE_VERSION="22" NODE_MODULE="pnpm@${PNPM_VERSION}" setup_nodejs
PG_VERSION="16" PG_MODULES="pgvector" setup_postgresql

View File

@@ -14,7 +14,7 @@ network_check
update_os
msg_info "Installing SearXNG dependencies"
echo "deb http://deb.debian.org/debian bookworm-backports main" >/etc/apt/sources.list.d/backports.list
echo "deb http://deb.debian.org/debian bookworm-backports main" > /etc/apt/sources.list.d/backports.list
$STD apt-get update
$STD apt-get install -y \
python3-dev python3-babel python3-venv python-is-python3 \
@@ -36,7 +36,7 @@ msg_info "Creating Python virtual environment"
sudo -H -u searxng bash -c '
python3 -m venv /usr/local/searxng/searx-pyenv &&
. /usr/local/searxng/searx-pyenv/bin/activate &&
pip install -U pip setuptools wheel pyyaml lxml msgspec &&
pip install -U pip setuptools wheel pyyaml lxml &&
pip install --use-pep517 --no-build-isolation -e /usr/local/searxng/searxng-src
'
msg_ok "Python environment ready"

View File

@@ -42,7 +42,7 @@ curl -fsSL "https://github.com/wger-project/wger/archive/refs/tags/$RELEASE.tar.
tar xzf "$RELEASE".tar.gz
mv wger-"$RELEASE" /home/wger/src
cd /home/wger/src || exit
$STD pip install -r requirements_prod.txt --ignore-installed
$STD pip install -r requirements_prod.txt
$STD pip install -e .
$STD wger create-settings --database-path /home/wger/db/database.sqlite
sed -i "s#home/wger/src/media#home/wger/media#g" /home/wger/src/settings.py