I am on unraid and using this container to run pihole - https://hub.docker.com/r/flippinturt/pihole-dot-doh/
I don't know if that means no one will help me here, but I am going to give it a shot.
When I install the container, everything works great, but upon restart I get 503 Service Not Available when I try to go to the admin site. If I look at the docker log I see a lot of:
Thu Aug 26 18:36:20 2021 (11277): Fatal Error Unable to create lock file: Bad file descriptor (9)
Thu Aug 26 18:36:21 2021 (11278): Fatal Error Unable to create lock file: Bad file descriptor (9)
Thu Aug 26 18:36:22 2021 (11279): Fatal Error Unable to create lock file: Bad file descriptor (9)
Thu Aug 26 18:36:23 2021 (11280): Fatal Error Unable to create lock file: Bad file descriptor (9)
Thu Aug 26 18:36:24 2021 (11281): Fatal Error Unable to create lock file: Bad file descriptor (9)
Thu Aug 26 18:36:25 2021 (11282): Fatal Error Unable to create lock file: Bad file descriptor (9)
Thu Aug 26 18:36:26 2021 (11283): Fatal Error Unable to create lock file: Bad file descriptor (9)
Thu Aug 26 18:36:27 2021 (11284): Fatal Error Unable to create lock file: Bad file descriptor (9)
Thu Aug 26 18:36:28 2021 (11285): Fatal Error Unable to create lock file: Bad file descriptor (9)
Thu Aug 26 18:36:29 2021 (11296): Fatal Error Unable to create lock file: Bad file descriptor (9)
Thu Aug 26 18:36:30 2021 (11297): Fatal Error Unable to create lock file: Bad file descriptor (9)
Thu Aug 26 18:36:31 2021 (11298): Fatal Error Unable to create lock file: Bad file descriptor (9)
So I tried to track that down, but it looks like the real issue is lighthttpd?
The log for that has:
2021-08-26 14:43:43: (gw_backend.c.476) unlink /var/run/lighttpd/php.socket-0 after connect failed: Connection refused
2021-08-26 14:43:43: (gw_backend.c.328) child exited: 254 unix:/var/run/lighttpd/php.socket-0
2021-08-26 14:43:43: (gw_backend.c.607) gw-backend failed to start: /usr/bin/php-cgi
2021-08-26 14:43:43: (gw_backend.c.609) If you're trying to run your app as a FastCGI backend, make sure you're using the FastCGI-enabled version. If this is PHP on Gentoo, add 'fastcgi' to the USE flags. If this is PHP, try removing the bytecode caches for now and try again.
2021-08-26 14:43:43: (gw_backend.c.1047) ERROR: spawning gw failed.
over and over and over.
I did a pihole -d and my token is https://tricorder.pi-hole.net/e0uvxNad/
Is it a permission issuse? I am at a loss here. If I delete the container, image, and persistant storage where the config is kept and reinstall it, it works great until restart and then same issue. pihole works, but the admin console does not.