Pihole is installed on a QNAP nas within a docker container. Everything is running smooth except that I cannot change any settings. Also I do not see any version in the footer.
Cheers,
C
Expected Behaviour:
Settings should be saved when entering the settings view
Actual Behaviour:
Settings are actually not saved while it says there is a permission error. Appdata folder have been created new,
##############################################
There was a problem applying your settings.
Debugging information:
PHP error (2): parse_ini_file(/etc/pihole/setupVars.conf): failed to open stream: Permission denied in /var/www/html/admin/settings.php:11
Stock docker is all I have to work with unfortunately so if there are any code fixes that are needed I’ll need some direction from community members custom hacking the image (or maybe container station) to see what fixes things.
Thanks for your help so far. I guess if that behaviour is not expected like this and permissions should work out of the box I would say the next step is to re-install container station. I am really wondering why they don't want to provide a standard docker package by default.
Ok, so just uninstalled container station, removed the container data folder, the appdata folder and did a clean install. But the problem still exists. I assume that docker is installed somewhere deep in the system.
Hi chrneu,
I had the same symptoms you describe, what solved the problem for me (see the other thread linked by diginc) was to remove the ACL on your appdata folder before creating the docker.
After that the ls -al /share/appdata/pihole lost the '+' on permissions for setupVars.conf and the web admin page works properly.
Cheers