Compare commits

...

6 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
4047493be1 fix(powerdns): use 'launch=' instead of 'launch+=' for gsqlite3 backend
PowerDNS 5.x requires a parent 'launch=' directive before any
incremental 'launch+=' can be used. Since the install script
comments out the default 'launch=' in pdns.conf, the 'launch+='
in gsqlite3.conf fails with:
  Fatal error: Incremental setting 'launch' without a parent

Use 'launch=gsqlite3' (non-incremental) since gsqlite3 is the
only backend needed.
2026-03-05 09:41:30 +01:00
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
community-scripts-pr-app[bot]
572ea7c2be Update CHANGELOG.md (#12569)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-05 00:22:29 +00:00
community-scripts-pr-app[bot]
fc8b5af5fe chore: update github-versions.json (#12568)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-05 00:22:07 +00:00
5 changed files with 34 additions and 28 deletions

View File

@@ -410,6 +410,8 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
</details>
## 2026-03-05
## 2026-03-04
### 🚀 Updated Scripts

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-04T18:14:36Z",
"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",
@@ -193,9 +193,9 @@
{
"slug": "checkmate",
"repo": "bluewave-labs/Checkmate",
"version": "v3.4.0",
"version": "v3.5.0",
"pinned": false,
"date": "2026-02-20T21:08:55Z"
"date": "2026-03-04T19:51:22Z"
},
{
"slug": "cleanuparr",
@@ -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",
@@ -473,9 +473,9 @@
{
"slug": "gokapi",
"repo": "Forceu/Gokapi",
"version": "v2.2.2",
"version": "v2.2.3",
"pinned": false,
"date": "2026-01-31T21:11:27Z"
"date": "2026-03-04T21:29:16Z"
},
{
"slug": "gotify",
@@ -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",
@@ -1061,9 +1061,9 @@
{
"slug": "paperless-ngx",
"repo": "paperless-ngx/paperless-ngx",
"version": "v2.20.9",
"version": "v2.20.10",
"pinned": false,
"date": "2026-02-28T10:17:35Z"
"date": "2026-03-04T19:20:57Z"
},
{
"slug": "patchmon",
@@ -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",
@@ -1565,9 +1565,9 @@
{
"slug": "tinyauth",
"repo": "steveiliop56/tinyauth",
"version": "v5.0.0",
"version": "v5.0.1",
"pinned": false,
"date": "2026-03-02T18:43:57Z"
"date": "2026-03-04T21:05:05Z"
},
{
"slug": "traccar",
@@ -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

@@ -41,7 +41,7 @@ $STD apt install -y \
sed -i 's/^launch=$/# launch=/' /etc/powerdns/pdns.conf
rm -f /etc/powerdns/pdns.d/bind.conf
cat <<EOF >/etc/powerdns/pdns.d/gsqlite3.conf
launch+=gsqlite3
launch=gsqlite3
gsqlite3-database=/opt/poweradmin/powerdns.db
EOF
msg_ok "Setup PowerDNS"
@@ -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