Compare commits

...

10 Commits

Author SHA1 Message Date
community-scripts-pr-app[bot]
df5cc68ea1 Update CHANGELOG.md (#10474)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-02 00:14:43 +00:00
community-scripts-pr-app[bot]
cd2acd93cd Update versions.json (#10473)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-02 01:14:21 +01:00
community-scripts-pr-app[bot]
b208b2a20d Update CHANGELOG.md (#10471)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-01 22:54:14 +00:00
Copilot
ca5cd83c40 Fix MariaDB runtime directory persistence on container reboot (#10468)
Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-01-01 23:53:53 +01:00
community-scripts-pr-app[bot]
12767b4ffa Update CHANGELOG.md (#10470)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-01 22:43:43 +00:00
Gabriel David Pragin
ded7da536d fix(sabnzbd): update script now migrates old service files to use venv Python (#10466)
- Separates venv creation from service file migration logic
- Always checks and fixes service file if it uses system python3
- Fixes installations that have venv but wrong service file path
- Ensures all users running update script get automatic migration
- Idempotent: safe to run multiple times

This applies the same fix from PR #10459 (Bazarr) to SABnzbd, which has
the identical bug pattern where service file migration was locked behind
a venv existence check.

Related: #7332, #10459
2026-01-01 23:43:20 +01:00
community-scripts-pr-app[bot]
e351925119 Update CHANGELOG.md (#10463)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-01 18:10:02 +00:00
Karlito83
2ccbf11741 fix #10453 broken update (#10456)
Co-authored-by: Ronny Marx <r0mx@mailbox.org>
2026-01-01 19:09:43 +01:00
Gabriel David Pragin
53a2635240 fix(bazarr): update script now migrates old service files to use venv Python (#10459)
- Separates venv creation from service file migration logic
- Always checks and fixes service file if it uses /usr/bin/python3
- Fixes installations created before October 28, 2025 that upgraded to Debian 13
- Ensures all users running update script get automatic migration
- Idempotent: safe to run multiple times

Resolves issue where Bazarr fails to start on Debian 13 with 'externally-managed-environment' error for installations created before the October 28, 2025 fix (commit 909dbc20c).

Related: #7332
2026-01-01 19:09:19 +01:00
community-scripts-pr-app[bot]
1f5191c071 Update versions.json (#10460)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-01 13:06:13 +01:00
6 changed files with 117 additions and 69 deletions

View File

@@ -10,8 +10,24 @@
> [!CAUTION]
Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes.
## 2026-01-02
## 2026-01-01
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- fix(sabnzbd): update script now migrates old service files to use venv Python [@vidonnus](https://github.com/vidonnus) ([#10466](https://github.com/community-scripts/ProxmoxVE/pull/10466))
- fix(bazarr): update script now migrates old service files to use venv Python [@vidonnus](https://github.com/vidonnus) ([#10459](https://github.com/community-scripts/ProxmoxVE/pull/10459))
- fix #10453 broken sonarqube update [@Karlito83](https://github.com/Karlito83) ([#10456](https://github.com/community-scripts/ProxmoxVE/pull/10456))
### 💾 Core
- #### 🐞 Bug Fixes
- Fix MariaDB runtime directory persistence on container reboot [@Copilot](https://github.com/Copilot) ([#10468](https://github.com/community-scripts/ProxmoxVE/pull/10468))
## 2025-12-31
### 🚀 Updated Scripts

View File

@@ -38,8 +38,13 @@ function update_script() {
msg_info "Setup Bazarr"
mkdir -p /var/lib/bazarr/
chmod 775 /opt/bazarr /var/lib/bazarr/
# Always ensure venv exists
if [[ ! -d /opt/bazarr/venv/ ]]; then
$STD uv venv /opt/bazarr/venv --python 3.12
fi
# Always check and fix service file if needed
if [[ -f /etc/systemd/system/bazarr.service ]] && grep -q "ExecStart=/usr/bin/python3" /etc/systemd/system/bazarr.service; then
sed -i "s|ExecStart=/usr/bin/python3 /opt/bazarr/bazarr.py|ExecStart=/opt/bazarr/venv/bin/python3 /opt/bazarr/bazarr.py|g" /etc/systemd/system/bazarr.service
systemctl daemon-reload
fi

View File

@@ -38,16 +38,18 @@ function update_script() {
cp -r /opt/sabnzbd /opt/sabnzbd_backup_$(date +%s)
fetch_and_deploy_gh_release "sabnzbd-org" "sabnzbd/sabnzbd" "prebuild" "latest" "/opt/sabnzbd" "SABnzbd-*-src.tar.gz"
# Always ensure venv exists
if [[ ! -d /opt/sabnzbd/venv ]]; then
msg_info "Migrating SABnzbd to uv virtual environment"
$STD uv venv /opt/sabnzbd/venv
msg_ok "Created uv venv at /opt/sabnzbd/venv"
fi
if grep -q "ExecStart=python3 SABnzbd.py" /etc/systemd/system/sabnzbd.service; then
sed -i "s|ExecStart=python3 SABnzbd.py|ExecStart=/opt/sabnzbd/venv/bin/python SABnzbd.py|" /etc/systemd/system/sabnzbd.service
systemctl daemon-reload
msg_ok "Updated SABnzbd service to use uv venv"
fi
# Always check and fix service file if needed
if [[ -f /etc/systemd/system/sabnzbd.service ]] && grep -q "ExecStart=python3 SABnzbd.py" /etc/systemd/system/sabnzbd.service; then
sed -i "s|ExecStart=python3 SABnzbd.py|ExecStart=/opt/sabnzbd/venv/bin/python SABnzbd.py|" /etc/systemd/system/sabnzbd.service
systemctl daemon-reload
msg_ok "Updated SABnzbd service to use uv venv"
fi
$STD uv pip install --upgrade pip --python=/opt/sabnzbd/venv/bin/python
$STD uv pip install -r /opt/sabnzbd/requirements.txt --python=/opt/sabnzbd/venv/bin/python

View File

@@ -43,7 +43,7 @@ function update_script() {
RELEASE=$(get_latest_github_release "SonarSource/sonarqube")
curl -fsSL "https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-${RELEASE}.zip" -o $temp_file
unzip -q "$temp_file" -d /opt
mv /opt/sonarqube-* /opt/sonarqube
mv /opt/sonarqube-${RELEASE} /opt/sonarqube
msg_ok "Updated SonarQube"
msg_info "Restoring Backup"

View File

@@ -1,13 +1,73 @@
[
{
"name": "alexta69/metube",
"version": "2026.01.01",
"date": "2026-01-01T21:28:41Z"
},
{
"name": "ZoeyVid/NPMplus",
"version": "2025-05-07-r1",
"date": "2025-05-07T12:18:42Z"
},
{
"name": "MagicMirrorOrg/MagicMirror",
"version": "v2.34.0",
"date": "2026-01-01T14:48:28Z"
},
{
"name": "firefly-iii/firefly-iii",
"version": "develop-20251228",
"date": "2025-12-28T05:59:54Z"
},
{
"name": "karakeep-app/karakeep",
"version": "sdk/v0.30.0",
"date": "2026-01-01T14:18:24Z"
},
{
"name": "ghostfolio/ghostfolio",
"version": "2.226.0",
"date": "2026-01-01T14:17:53Z"
},
{
"name": "Koenkk/zigbee2mqtt",
"version": "2.7.2",
"date": "2026-01-01T13:43:47Z"
},
{
"name": "rcourtman/Pulse",
"version": "v5.0.8",
"date": "2026-01-01T10:59:55Z"
},
{
"name": "fuma-nama/fumadocs",
"version": "fumadocs-obsidian@0.0.8",
"date": "2026-01-01T08:04:20Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.24.652",
"date": "2026-01-01T05:55:36Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v4.1.0",
"date": "2025-11-23T12:13:34Z"
},
{
"name": "jeedom/core",
"version": "4.5.1",
"date": "2026-01-01T00:27:04Z"
},
{
"name": "esphome/esphome",
"version": "2025.12.4",
"date": "2025-12-31T22:42:42Z"
},
{
"name": "ZoeyVid/NPMplus",
"version": "2025-05-07-r1",
"date": "2025-05-07T12:18:42Z"
"name": "metabase/metabase",
"version": "v0.57.x",
"date": "2025-12-31T20:25:53Z"
},
{
"name": "scanopy/scanopy",
@@ -19,11 +79,6 @@
"version": "v1.1.5-beta",
"date": "2025-12-31T18:46:48Z"
},
{
"name": "metabase/metabase",
"version": "v0.57.x",
"date": "2025-12-31T17:35:26Z"
},
{
"name": "wavelog/wavelog",
"version": "2.2.2",
@@ -59,16 +114,6 @@
"version": "v0.63.4",
"date": "2025-12-31T12:40:07Z"
},
{
"name": "ghostfolio/ghostfolio",
"version": "2.225.0",
"date": "2025-12-31T12:16:38Z"
},
{
"name": "fuma-nama/fumadocs",
"version": "fumadocs-ui@16.4.2",
"date": "2025-12-31T11:34:26Z"
},
{
"name": "coollabsio/coolify",
"version": "v4.0.0-beta.460",
@@ -84,11 +129,6 @@
"version": "v0.7.0",
"date": "2025-12-31T07:50:53Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.24.645",
"date": "2025-12-31T05:52:26Z"
},
{
"name": "outline/outline",
"version": "v1.2.0-1",
@@ -104,36 +144,11 @@
"version": "v1.16.2",
"date": "2025-12-31T00:37:08Z"
},
{
"name": "rcourtman/Pulse",
"version": "v5.0.7",
"date": "2025-12-31T00:14:52Z"
},
{
"name": "jeedom/core",
"version": "4.5.1",
"date": "2025-12-31T00:27:04Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v4.1.0",
"date": "2025-11-23T12:13:34Z"
},
{
"name": "livebook-dev/livebook",
"version": "nightly",
"date": "2025-12-30T23:27:09Z"
},
{
"name": "alexta69/metube",
"version": "2025.12.30",
"date": "2025-12-30T20:45:58Z"
},
{
"name": "firefly-iii/firefly-iii",
"version": "develop-20251228",
"date": "2025-12-28T05:59:54Z"
},
{
"name": "meilisearch/meilisearch",
"version": "prototype-v1.31.0-support-protocol-negociation-http.0",
@@ -779,11 +794,6 @@
"version": "v1.71.0",
"date": "2025-12-13T14:38:09Z"
},
{
"name": "karakeep-app/karakeep",
"version": "cli/v0.29.1",
"date": "2025-12-13T13:55:51Z"
},
{
"name": "Dokploy/dokploy",
"version": "v0.26.2",
@@ -899,11 +909,6 @@
"version": "v6.11.1",
"date": "2025-12-07T19:19:08Z"
},
{
"name": "Koenkk/zigbee2mqtt",
"version": "2.7.1",
"date": "2025-12-06T20:30:34Z"
},
{
"name": "navidrome/navidrome",
"version": "v0.59.0",
@@ -1364,11 +1369,6 @@
"version": "v0.1.64",
"date": "2025-10-03T05:18:24Z"
},
{
"name": "MagicMirrorOrg/MagicMirror",
"version": "v2.33.0",
"date": "2025-09-30T16:18:10Z"
},
{
"name": "thomiceli/opengist",
"version": "v1.11.1",

View File

@@ -3261,6 +3261,31 @@ setup_mariadb() {
}
fi
# Configure tmpfiles.d to ensure /run/mysqld directory is created on boot
# This fixes the issue where MariaDB fails to start after container reboot
msg_info "Configuring MariaDB runtime directory persistence"
# Create tmpfiles.d configuration with error handling
if ! printf '# Ensure /run/mysqld directory exists with correct permissions for MariaDB\nd /run/mysqld 0755 mysql mysql -\n' > /etc/tmpfiles.d/mariadb.conf; then
msg_warn "Failed to create /etc/tmpfiles.d/mariadb.conf - runtime directory may not persist on reboot"
fi
# Create the directory now if it doesn't exist
# Verify mysql user exists before attempting ownership change
if [[ ! -d /run/mysqld ]]; then
mkdir -p /run/mysqld
# Set permissions first (works regardless of user existence)
chmod 755 /run/mysqld
# Set ownership only if mysql user exists
if getent passwd mysql >/dev/null 2>&1; then
chown mysql:mysql /run/mysqld
else
msg_warn "mysql user not found - directory created with correct permissions but ownership not set"
fi
fi
msg_ok "Configured MariaDB runtime directory persistence"
cache_installed_version "mariadb" "$MARIADB_VERSION"
msg_ok "Setup MariaDB $MARIADB_VERSION"
}