Hi!
I can't add domains to the whitelist. Every time I try it, I get this error:
Code
Error, something went wrong!
While executing INSERT OT IGNORE: attempt to write a readonly database
Added 0 out of 1 domains
I installed Pi-Hole via Docker as root with this command:
Code
docker run -d \
--name pihole \
-p 53:53/tcp -p 53:53/udp \
-p 8081:80 \
-e TZ=Europe/Berlin \
-e VIRTUAL_HOST=pi.hole \
-e PROXY_LOCATION=pi.hole \
-e ServerIP=192.168.0.66 \
-v /srv/dev-disk-by-label-HDD2/configs/pihole/config/:/etc/pihole/ \
-v /srv/dev-disk-by-label-HDD2/configs/pihole/dnsmasq/:/etc/dnsmasq.d/ \
--dns=127.0.0.1 --dns=1.1.1.1 \
--restart=unless-stopped \
--hostname pi.hole \
--cap-add=NET_ADMIN \
pihole/pihole:latest
Alles anzeigen
The error only appears when trying to edit the whitelist over the web gui, when adding the domain via docker bash it works.
How can I fix that error and write to the database via gui?