Compare commits

...

3 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
18801eb4ff fix(powerdns): fix SQLite directory permissions for pdns user
The /opt/poweradmin/ directory was owned by www-data:www-data (755),
but pdns runs as the 'pdns' user which had no write access to the
directory. SQLite requires write access to the database directory to
create journal/WAL files (powerdns.db-journal, powerdns.db-wal).
Without this, pdns fails to start.

Changes:
- Set directory group to 'pdns' instead of 'www-data' so pdns user
  can create SQLite journal/WAL files (via group write 775)
- Apply same permissions fix in update_script (ct/powerdns.sh)
- Fix msg_info -> msg_ok for 'Created Service' completion message

Fixes #12572
2026-03-05 09:34:29 +01:00
CanbiZ (MickLesk)
87e14ba12f fix(core): remove duplicate -nameserver/-searchdomain prefix in pct create
The NS and SD variables already contain the -nameserver= and
-searchdomain= prefixes (set in advanced_settings). PR #12521
incorrectly added a second prefix when building PCT_OPTIONS_STRING,
resulting in '-nameserver -nameserver=8.8.8.8' which pct rejects.

Also fixes the misleading comment ('Add storage' -> 'Add searchdomain').

Fixes #12572
2026-03-05 08:53:48 +01:00
community-scripts-pr-app[bot]
438a519c65 chore: update github-versions.json (#12575)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-05 06:17:46 +00:00
4 changed files with 23 additions and 19 deletions

View File

@@ -47,7 +47,10 @@ function update_script() {
cp /opt/poweradmin_powerdns.db.bak /opt/poweradmin/powerdns.db
rm -rf /opt/poweradmin/install
rm -f /opt/poweradmin_settings.php.bak /opt/poweradmin_powerdns.db.bak
chown -R www-data:www-data /opt/poweradmin
chown -R www-data:pdns /opt/poweradmin
chmod 775 /opt/poweradmin
chown pdns:pdns /opt/poweradmin/powerdns.db
chmod 664 /opt/poweradmin/powerdns.db
msg_ok "Updated Poweradmin"
msg_info "Restarting Services"

View File

@@ -1,5 +1,5 @@
{
"generated": "2026-03-05T00:21:58Z",
"generated": "2026-03-05T06:17:38Z",
"versions": [
{
"slug": "2fauth",
@@ -39,9 +39,9 @@
{
"slug": "ampache",
"repo": "ampache/ampache",
"version": "7.9.1",
"version": "7.9.2",
"pinned": false,
"date": "2026-02-25T08:52:58Z"
"date": "2026-03-05T03:54:03Z"
},
{
"slug": "argus",
@@ -452,9 +452,9 @@
{
"slug": "gitea-mirror",
"repo": "RayLabsHQ/gitea-mirror",
"version": "v3.12.0",
"version": "v3.12.2",
"pinned": false,
"date": "2026-03-04T02:53:42Z"
"date": "2026-03-05T04:26:50Z"
},
{
"slug": "glance",
@@ -613,9 +613,9 @@
{
"slug": "jackett",
"repo": "Jackett/Jackett",
"version": "v0.24.1278",
"version": "v0.24.1287",
"pinned": false,
"date": "2026-03-04T08:36:49Z"
"date": "2026-03-05T05:49:33Z"
},
{
"slug": "jellystat",
@@ -669,9 +669,9 @@
{
"slug": "kima-hub",
"repo": "Chevron7Locked/kima-hub",
"version": "v1.6.1",
"version": "v1.6.2",
"pinned": false,
"date": "2026-03-03T16:13:53Z"
"date": "2026-03-05T05:38:02Z"
},
{
"slug": "kimai",
@@ -1369,9 +1369,9 @@
{
"slug": "seaweedfs",
"repo": "seaweedfs/seaweedfs",
"version": "4.13",
"version": "4.14",
"pinned": false,
"date": "2026-02-17T01:09:45Z"
"date": "2026-03-05T04:49:27Z"
},
{
"slug": "seelf",
@@ -1663,9 +1663,9 @@
{
"slug": "uptimekuma",
"repo": "louislam/uptime-kuma",
"version": "2.1.3",
"version": "2.2.0",
"pinned": false,
"date": "2026-02-19T05:37:30Z"
"date": "2026-03-05T02:08:14Z"
},
{
"slug": "vaultwarden",

View File

@@ -131,12 +131,13 @@ cat <<EOF >/etc/apache2/sites-enabled/poweradmin.conf
</VirtualHost>
EOF
$STD a2enmod rewrite headers
chown -R www-data:www-data /opt/poweradmin
chown -R www-data:pdns /opt/poweradmin
chmod 775 /opt/poweradmin
chown pdns:pdns /opt/poweradmin/powerdns.db
chmod 664 /opt/poweradmin/powerdns.db
usermod -aG pdns www-data
$STD systemctl restart pdns apache2
msg_info "Created Service"
msg_ok "Created Service"
motd_ssh
customize

View File

@@ -3617,16 +3617,16 @@ build_container() {
$PCT_OPTIONS_STRING"
fi
# Add storage if specified
# Add searchdomain if specified
if [ -n "$SD" ]; then
PCT_OPTIONS_STRING="$PCT_OPTIONS_STRING
-searchdomain $SD"
$SD"
fi
# Add nameserver if specified
if [ -n "$NS" ]; then
PCT_OPTIONS_STRING="$PCT_OPTIONS_STRING
-nameserver $NS"
$NS"
fi
# Network configuration