You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I install pi-hole with make pihole everything goes as planned but when I log in at pihole's web interface I get an error message. It cannot read /etc/pihole/setupVars.conf. I thought it was the web server that didn't have the right permissions to access the file. In fact the problem is that the directory as well the file have different owner than the user runs the web server (www-data). If I change both to have www-data as owner everything works fine except that another error message appears concerning another conf file in the same folder.
I've tried many different things but I haven't yet come up with an out-of-the-box solution. I changed PIHOLE_UID to 33 in the extraEnvVars section in the pihole.values.yml so the directory is created with www-data as the owner. Note that www-data uid is 33.
But then I have to change the ownership to setupVars.conf, pihole-FTL.conf, dns-servers.conf and versions manually. I would like to avoid this manual step. Any ideas?
The text was updated successfully, but these errors were encountered:
When I install pi-hole with
make pihole
everything goes as planned but when I log in at pihole's web interface I get an error message. It cannot read/etc/pihole/setupVars.conf
. I thought it was the web server that didn't have the right permissions to access the file. In fact the problem is that the directory as well the file have different owner than the user runs the web server (www-data). If I change both to have www-data as owner everything works fine except that another error message appears concerning another conf file in the same folder.I've tried many different things but I haven't yet come up with an out-of-the-box solution. I changed PIHOLE_UID to 33 in the extraEnvVars section in the
pihole.values.yml
so the directory is created with www-data as the owner.Note that www-data uid is 33.
But then I have to change the ownership to
setupVars.conf
,pihole-FTL.conf
,dns-servers.conf
andversions
manually. I would like to avoid this manual step. Any ideas?The text was updated successfully, but these errors were encountered: