After the update to v6, pihole runs but doesn't function. I have another pi with older pihole that I've fallen back on for now.
Running on RPi0 2W, PiOS fully updated before pihole update. Version shows
Core
Version is v6.0.3 (Latest: v6.0.3)
Branch is master
Hash is 0e6d9e74 (Latest: N/A)
Web
Version is N/A (Latest: null)
Branch is N/A
Hash is N/A (Latest: N/A)
FTL
Version is v6.0.1 (Latest: v6.0.1)
Branch is master
Hash is 62904aef (Latest: 62904aef)
In the past, updates were routine and non-breaking.
I'm using lighttpd for pihole and apache2 for all other web server work. It's on a purely local LAN.
In the past, I accessed the UI via http://192.168.0.100:8888/admin/index.php
Is it practical to copy the pihole installation on the fallback pi? If so what do I need to copy?
Is there any way back, or can you advise what I should do?
pihole_debug.log showed config error is REFUSED (EDE: not ready) which led me to look at upstream DNS and found that the pihole.toml file had upstreams = [ ]
so I changed it to upstreams = [ "8.8.8.8", "1.1.1.1" ]
and now have web access. Would this not be carried over from the vsn5 configuration?
Next, as suggested, I changed to ports line to
port = "8888o,443os,[::]:8888o,[::]:443os" ### CHANGED, default = "80o,443os,[::]:80o,[::]:443os"
Have I got that right? I still have no access to the pihole web UI on http://192.168.0.100:8888/admin/index.php
which gives a 404
and https://192.168.0.100:8888/admin/index.php
says This site can’t provide a secure connection which is fair enough
/var/log/pihole/webserver.log reported
cannot bind to 8888o: 98 (Address in use)
cannot bind to IPv6 [::]:8888o: 98 (Address in use)
so in lighttpd.conf have changed
server.port = 8888
to
server.port = 8889
and restarted lighttpd
I now have access to the Web UI!
Do you think it's worth persuading howtogeek to add some warning better than this?
"Your settings will be automatically updated to the new format if you’re migrating from v5."