Settings Read Only

Running two docker containers (same compose file, different server) now on one of them, the settings have become read only.

I'm trying to add local DNS and when I add them it says 'saved' but nothing gets retained.

Any suggestions?

try run a complete gravity update, maybe it never completed the last

Didn't fixed it..

I reviewed all my settings deleted all volumes and redeployed the containers, but unfortunately Pi-hole remains read-only.

This is my config:

services:
  pihole:
    container_name: pihole01
    security_opt:
      - no-new-privileges:true
    image: pihole/pihole:latest
    hostname: pihole01
    ports:
      - "53:53/tcp"
      - "53:53/udp"
      - "80:80/tcp"
    environment:
      TZ: "Europe/Amsterdam"
      WEBPASSWORD: ${webpass}
      PIHOLE_DNS_: "1.1.1.1;1.0.0.1"
    volumes:
      - pihole_app:/etc/pihole
      - pihole_dns_config:/etc/dnsmasq.d
    restart: unless-stopped

volumes:
  pihole_dns_config:
    external: true
  pihole_app:
    external: true

[✓] FTL is listening on port 53
[✓] UDP (IPv4)
[✓] TCP (IPv4)
[✓] UDP (IPv6)
[✓] TCP (IPv6)
[i] Pi-hole blocking will be enabled
[i] Enabling blocking
[✓] Pi-hole Enabled
Pi-hole version is v5.15.3 (Latest: v5.15.3)
AdminLTE version is v5.18.3 (Latest: v5.18.3)
FTL version is v5.20.1 (Latest: v5.20.1)
Container tag is: 2023.01.10
sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?

After some experimentation, it turned out to be caused by

    security_opt:
      - no-new-privileges:true

after I removed that or set it to false, problems are gone

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.