synology-pihole icon indicating copy to clipboard operation
synology-pihole copied to clipboard

Boot error Pi-hole version 2022.01

Open markdumay opened this issue 3 years ago • 1 comments

The latest Docker version of Pi-hole fails to start correctly. The issue can be found here. The logs show the following error:

[cont-init.d] executing container initialization scripts...
[cont-init.d] 20-start.sh: executing... 
 ::: Starting docker specific checks & setup for docker pihole/pihole
Failed to set capabilities on file `/usr/bin/pihole-FTL' (Operation not supported)
The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file
ERROR: Failed to set capabilities for pihole-FTL. Cannot run as non-root.
[cont-init.d] 20-start.sh: exited 1.

markdumay avatar Jan 05 '22 05:01 markdumay

Adding DNSMASQ_USER: root to the environment temporarily fixes the privilege error. Use the develop branch to add this setting:

git clone https://github.com/markdumay/synology-pihole.git -b develop

markdumay avatar Jan 05 '22 05:01 markdumay