Hi!
Tried to replace my old pihole docker with this one but i cant get it running.
I have the original docker running at IP .12 and the Unraid DNS pointing to that.
Deploying this new docker at IP .123 is no problem. Works like a charm.
But stopping or removing the old .12 pihole and the new wont deploy (or even restart). Doesn't matter what IP i give the new one. And the old one, if it's anything but .12 new new one wont start.
The problem is that lighttpd wont work. It accepts DNS queries and all. But no web GUI. The docker log shows.
Added ENV to php:
"PHP_ERROR_LOG" => "/var/log/lighttpd/error.log",
Tried manually starting lighttpd. Worked for a few seconds and then it died.
# service lighttpd status
s6 service not found for lighttpd, exiting...
# lighttpd
2020-09-03 16:31:52: (server.c.1073) No configuration available. Try using -f option.
# lighttpd -f
lighttpd: option requires an argument -- 'f'
lighttpd/1.4.53 (ssl) - a light and fast webserver
usage:
-f <name> filename of the config-file
-m <name> module directory (default: /usr/lib/lighttpd)
-i <secs> graceful shutdown after <secs> of inactivity
-1 process single (one) request on stdin socket, then exit
-p print the parsed config-file in internal form, and exit
-t test config-file syntax, then exit
-tt test config-file syntax, load and init modules, then exit
-D don't go to background (default: go to background)
-v show version
-V show compile-time features
-h show this help
# lighttpd -f /etc/lighttpd/lighttpd.conf
I tried
- Removing all pihole containers and it's appdata and redownload them.
- Change the Unraid DNS to the new pihole (.123). and then tried to deploy the new pihole-doh at .12. No luck.
- Deploy pihole-template (original), that works. But not pihole-doh.
Solved by workaround.
Changed Unraid DNS to 1.1.1.1 and it worked.