Compare commits

...

19 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
community-scripts-pr-app[bot]
9b7cfcff73 Update CHANGELOG.md (#10455)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-01 00:17:41 +00:00
community-scripts-pr-app[bot]
b7e2706eff Update versions.json (#10454)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-01 01:17:16 +01:00
community-scripts-pr-app[bot]
2d859aba23 Update CHANGELOG.md (#10452)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-31 19:10:08 +00:00
Copilot
76f20024f3 Increase BentoPDF RAM requirement from 2GB to 4GB (#10449)
* Initial plan

* Increase BentoPDF RAM requirement from 2GB to 4GB

- Update var_ram from 2048 to 4096 in ct/bentopdf.sh
- Update ram from 2048 to 4096 in frontend/public/json/bentopdf.json
- Fixes out-of-memory crashes during installation and updates
- Build process requires more memory than previously allocated

Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com>

* Bump ConvertX to Debian 13 (#10450)

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com>
2025-12-31 20:09:43 +01:00
community-scripts-pr-app[bot]
bf35ad0d21 Update versions.json (#10443)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-31 13:05:49 +01:00
community-scripts-pr-app[bot]
8bac0e66f4 Update CHANGELOG.md (#10442)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-31 08:51:13 +00:00
Brett Lyons
72a7777328 fix(wazuh): add LXC rootcheck exclusion to prevent false positives (#10436) 2025-12-31 09:50:46 +01:00
community-scripts-pr-app[bot]
8dbc4161c7 Update CHANGELOG.md (#10441)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-31 08:46:47 +00:00
Fraser McGlinn
49f92e1cf4 fix(swizzin): Use HTTPS and add curl error handling (#10440)
- Add https:// to s5n.sh URL to ensure secure connection
- Add -f flag to fail on HTTP errors instead of piping error pages to bash
- Add -S flag to show errors even in silent mode

Without -f, if the server returns an error page (4xx/5xx), curl would
pipe that HTML content to bash, causing unexpected behavior.
2025-12-31 09:46:24 +01:00
13 changed files with 217 additions and 150 deletions

View File

@@ -10,8 +10,35 @@
> [!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
- fix(wazuh): add LXC rootcheck exclusion to prevent false positives [@brettlyons](https://github.com/brettlyons) ([#10436](https://github.com/community-scripts/ProxmoxVE/pull/10436))
- #### 🐞 Bug Fixes
- Increase BentoPDF RAM requirement from 2GB to 4GB [@Copilot](https://github.com/Copilot) ([#10449](https://github.com/community-scripts/ProxmoxVE/pull/10449))
- fix(swizzin): Use HTTPS and add curl error handling [@fmcglinn](https://github.com/fmcglinn) ([#10440](https://github.com/community-scripts/ProxmoxVE/pull/10440))
## 2025-12-30
### 🚀 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

@@ -8,7 +8,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV
APP="BentoPDF"
var_tags="${var_tags:-pdf-editor}"
var_cpu="${var_cpu:-1}"
var_ram="${var_ram:-2048}"
var_ram="${var_ram:-4096}"
var_disk="${var_disk:-4}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"

View File

@@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-4096}"
var_disk="${var_disk:-20}"
var_os="${var_os:-debian}"
var_version="${var_version:-12}"
var_version="${var_version:-13}"
var_unprivileged="${var_unprivileged:-1}"
var_gpu="${var_gpu:-yes}"

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

@@ -20,7 +20,7 @@
"script": "ct/bentopdf.sh",
"resources": {
"cpu": 1,
"ram": 2048,
"ram": 4096,
"hdd": 4,
"os": "debian",
"version": "13"

View File

@@ -23,7 +23,7 @@
"ram": 4096,
"hdd": 20,
"os": "Debian",
"version": "12"
"version": "13"
}
}
],

View File

@@ -1,8 +1,8 @@
[
{
"name": "livebook-dev/livebook",
"version": "nightly",
"date": "2025-12-30T23:27:09Z"
"name": "alexta69/metube",
"version": "2026.01.01",
"date": "2026-01-01T21:28:41Z"
},
{
"name": "ZoeyVid/NPMplus",
@@ -10,40 +10,155 @@
"date": "2025-05-07T12:18:42Z"
},
{
"name": "alexta69/metube",
"version": "2025.12.30",
"date": "2025-12-30T20:45:58Z"
},
{
"name": "emqx/emqx",
"version": "6.1.0",
"date": "2025-12-30T20:23:26Z"
"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": "metabase/metabase",
"version": "v0.57.x",
"date": "2025-12-30T17:53:05Z"
"date": "2025-12-31T20:25:53Z"
},
{
"name": "scanopy/scanopy",
"version": "v0.12.10",
"date": "2025-12-31T20:19:18Z"
},
{
"name": "gtsteffaniak/filebrowser",
"version": "v1.1.5-beta",
"date": "2025-12-31T18:46:48Z"
},
{
"name": "wavelog/wavelog",
"version": "2.2.2",
"date": "2025-12-31T16:53:34Z"
},
{
"name": "home-assistant/core",
"version": "2025.12.5",
"date": "2025-12-29T12:55:22Z"
},
{
"name": "emqx/emqx",
"version": "e5.8.9",
"date": "2025-12-31T15:06:41Z"
},
{
"name": "evcc-io/evcc",
"version": "0.300.2",
"date": "2025-12-31T15:05:51Z"
},
{
"name": "fccview/jotty",
"version": "1.15.0",
"date": "2025-12-31T13:46:49Z"
},
{
"name": "YunoHost/yunohost",
"version": "debian/12.1.38",
"date": "2025-12-31T13:38:03Z"
},
{
"name": "pommee/goaway",
"version": "v0.63.4",
"date": "2025-12-31T12:40:07Z"
},
{
"name": "coollabsio/coolify",
"version": "v4.0.0-beta.460",
"date": "2025-12-31T10:58:42Z"
},
{
"name": "Athou/commafeed",
"version": "5.12.1",
"date": "2025-12-31T08:23:37Z"
},
{
"name": "comfyanonymous/ComfyUI",
"version": "v0.7.0",
"date": "2025-12-31T07:50:53Z"
},
{
"name": "outline/outline",
"version": "v1.2.0-1",
"date": "2025-12-31T04:07:38Z"
},
{
"name": "wazuh/wazuh",
"version": "v5.0.0-alpha0",
"date": "2025-12-31T01:18:10Z"
},
{
"name": "booklore-app/booklore",
"version": "v1.16.2",
"date": "2025-12-31T00:37:08Z"
},
{
"name": "livebook-dev/livebook",
"version": "nightly",
"date": "2025-12-30T23:27:09Z"
},
{
"name": "meilisearch/meilisearch",
"version": "prototype-v1.31.0-support-protocol-negociation-http.0",
"date": "2025-12-30T17:56:00Z"
},
{
"name": "BookStackApp/BookStack",
"version": "v25.12.1",
"date": "2025-12-30T17:25:57Z"
},
{
"name": "scanopy/scanopy",
"version": "v0.12.8",
"date": "2025-12-30T16:12:11Z"
},
{
"name": "esphome/esphome",
"version": "2025.12.3",
"date": "2025-12-30T14:31:34Z"
},
{
"name": "dani-garcia/vaultwarden",
"version": "1.35.1",
@@ -64,21 +179,11 @@
"version": "jenkins-2.544",
"date": "2025-12-30T11:00:27Z"
},
{
"name": "home-assistant/core",
"version": "2025.12.5",
"date": "2025-12-29T12:55:22Z"
},
{
"name": "morpheus65535/bazarr",
"version": "v1.5.3",
"date": "2025-09-20T12:12:33Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.24.622",
"date": "2025-12-30T05:55:22Z"
},
{
"name": "nickheyer/discopanel",
"version": "v1.0.18",
@@ -92,28 +197,13 @@
{
"name": "mealie-recipes/mealie",
"version": "v3.9.1",
"date": "2025-12-30T01:56:10Z"
},
{
"name": "jeedom/core",
"version": "4.5.1",
"date": "2025-12-30T00:27:04Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v4.1.0",
"date": "2025-11-23T12:13:34Z"
"date": "2025-12-30T01:56:00Z"
},
{
"name": "karlomikus/bar-assistant",
"version": "v5.11.2",
"date": "2025-12-29T21:09:41Z"
},
{
"name": "outline/outline",
"version": "v1.2.0-0",
"date": "2025-12-29T20:53:30Z"
},
{
"name": "msgbyte/tianji",
"version": "v1.31.1",
@@ -134,21 +224,11 @@
"version": "v0.8.6rc1",
"date": "2025-12-29T10:58:49Z"
},
{
"name": "rcourtman/Pulse",
"version": "v5.0.6",
"date": "2025-12-29T10:39:08Z"
},
{
"name": "alam00000/bentopdf",
"version": "v1.15.3",
"date": "2025-12-29T09:33:00Z"
},
{
"name": "booklore-app/booklore",
"version": "v1.16.1",
"date": "2025-12-29T06:08:46Z"
},
{
"name": "chrisbenincasa/tunarr",
"version": "v1.0.11",
@@ -174,11 +254,6 @@
"version": "0.29.0",
"date": "2025-12-28T14:32:36Z"
},
{
"name": "pommee/goaway",
"version": "v0.63.3",
"date": "2025-12-28T10:17:20Z"
},
{
"name": "linkwarden/linkwarden",
"version": "v2.13.5",
@@ -214,11 +289,6 @@
"version": "3.4.5",
"date": "2025-12-27T19:40:14Z"
},
{
"name": "fuma-nama/fumadocs",
"version": "fumadocs-ui@16.4.1",
"date": "2025-12-27T09:40:37Z"
},
{
"name": "sysadminsmedia/homebox",
"version": "v0.22.3",
@@ -239,11 +309,6 @@
"version": "tc_v0.6.6",
"date": "2025-12-26T18:45:22Z"
},
{
"name": "wazuh/wazuh",
"version": "coverity-w53-4.14.2",
"date": "2025-12-26T10:03:35Z"
},
{
"name": "theonedev/onedev",
"version": "v13.1.7",
@@ -299,11 +364,6 @@
"version": "22.0.4",
"date": "2025-12-24T12:26:24Z"
},
{
"name": "comfyanonymous/ComfyUI",
"version": "v0.6.0",
"date": "2025-12-24T03:32:16Z"
},
{
"name": "advplyr/audiobookshelf",
"version": "v2.32.1",
@@ -339,11 +399,6 @@
"version": "v5.7",
"date": "2025-12-23T14:53:51Z"
},
{
"name": "coollabsio/coolify",
"version": "v4.0.0-beta.459",
"date": "2025-12-23T14:40:52Z"
},
{
"name": "prometheus/prometheus",
"version": "v3.8.1",
@@ -389,11 +444,6 @@
"version": "v4.0.16.2944",
"date": "2025-11-05T01:56:48Z"
},
{
"name": "gtsteffaniak/filebrowser",
"version": "v1.1.0-stable",
"date": "2025-12-22T20:30:40Z"
},
{
"name": "maxdorninger/MediaManager",
"version": "v1.11.1",
@@ -404,11 +454,6 @@
"version": "v1.80.11.rc.1",
"date": "2025-12-22T16:29:28Z"
},
{
"name": "meilisearch/meilisearch",
"version": "latest",
"date": "2025-12-22T16:21:19Z"
},
{
"name": "openhab/openhab-core",
"version": "5.1.0",
@@ -464,11 +509,6 @@
"version": "1.1.7",
"date": "2025-12-20T17:13:34Z"
},
{
"name": "ghostfolio/ghostfolio",
"version": "2.224.2",
"date": "2025-12-20T16:39:52Z"
},
{
"name": "ellite/Wallos",
"version": "v4.6.0",
@@ -499,11 +539,6 @@
"version": "v1.0.0-beta21",
"date": "2025-12-19T23:04:27Z"
},
{
"name": "YunoHost/yunohost",
"version": "debian/12.1.37",
"date": "2025-12-18T16:43:23Z"
},
{
"name": "qdrant/qdrant",
"version": "v1.16.3",
@@ -519,11 +554,6 @@
"version": "v1.19.0",
"date": "2025-12-19T13:37:00Z"
},
{
"name": "fccview/jotty",
"version": "1.14.4",
"date": "2025-12-19T13:17:26Z"
},
{
"name": "readeck/readeck",
"version": "0.21.5",
@@ -764,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",
@@ -814,11 +839,6 @@
"version": "v1.72.1",
"date": "2025-12-10T14:55:44Z"
},
{
"name": "evcc-io/evcc",
"version": "0.211.1",
"date": "2025-12-10T12:25:19Z"
},
{
"name": "kyantech/Palmr",
"version": "v3.3.2-beta",
@@ -879,11 +899,6 @@
"version": "v0.107.71",
"date": "2025-12-08T14:34:55Z"
},
{
"name": "wavelog/wavelog",
"version": "2.2.1",
"date": "2025-12-08T12:01:34Z"
},
{
"name": "Part-DB/Part-DB-server",
"version": "v2.3.0",
@@ -894,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",
@@ -1119,11 +1129,6 @@
"version": "v4.3.2",
"date": "2025-10-18T12:11:00Z"
},
{
"name": "Athou/commafeed",
"version": "5.12.0",
"date": "2025-11-20T06:18:58Z"
},
{
"name": "nextcloud/nextcloudpi",
"version": "v1.56.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

@@ -17,7 +17,7 @@ setup_hwaccel
setup_imagemagick
msg_info "Installing Dependencies"
$STD apt-get install -y \
$STD apt install -y \
assimp-utils \
calibre \
dcraw \

View File

@@ -23,7 +23,7 @@ if [[ ! "$CONFIRM" =~ ^([yY][eE][sS]|[yY])$ ]]; then
msg_error "Aborted by user. No changes have been made."
exit 10
fi
bash <(curl -sL s5n.sh)
bash <(curl -fsSL https://s5n.sh)
motd_ssh
customize

View File

@@ -39,6 +39,14 @@ rm -f wazuh-*.sh
rm -f ~/wazuh-install.output
msg_ok "Setup Wazuh"
# Fix LXC container false positives in rootcheck
# When running Wazuh in an LXC container, /dev/.lxc/* paths trigger false alerts
if [ -d /dev/.lxc ]; then
msg_info "Adding LXC rootcheck exclusion"
sed -i '/<\/rootcheck>/i \ <ignore>/dev/.lxc</ignore>' /var/ossec/etc/ossec.conf
msg_ok "Added LXC rootcheck exclusion"
fi
motd_ssh
customize
cleanup_lxc

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"
}