HI,
I installed Pi-Hole in casaos.
the installation was successful, but I’m experiencing an anomaly when creating a group or adding an ADlist
the error that is reported is
Error, something went wrong!
While executing: attempt to write a readonly database
Added 0 out of 1 groups
or
Error, something went wrong!
While executing: attempt to write a readonly database
Added 0 out of 1 adlists
how can it be solved?
Thank you
After some research, I found a solution
I report my workflow to resolve the insertion anomaly.
- connect via ssh to the Casaos server
- elevate with root rights (on my debian “su”)
- run the command to see which dockers are operational (sudo docker ps)
- check if the docker image name exists (example: pihole/pihole:2024.03.2)
- run the following command (docker exec pihole chown -R www-data:pihole /etc/pihole)
- From now on the web interface works for inserting groups and website lists.
note: every time you perform an “update gravity” you must perform step 5 to be able to reinsert the website lists or groups
I hope this guide can help someone
HI
Oiligriv