Expected Behaviour:
- Upgrade to v6 to complete successfully, and pihole to continue to work, accepting the configs i already have including the custom upstream DNS servers, and webserver settings (nginx, not lighttpd).
Actual Behaviour:
- The upgrade itself failed.
In the middle of the upgrade, it kept waiting for resolution to work again, but it never did. I had to ctrl+c and troubleshoot why it stopped working there on.
- GUI stopped working, gives a 404.
As far as I remember, I used nginx, not lighttpd, and I can even see that in the config.. but it looks like it reverted back to lighttpd instead, even though I have that set to false in setupVars config?! I had to stop nginx & restart pihole to get GUI to work again (via lighttpd).
- GUI password was lost.
It wouldn't accept it any more, I had to reset it.
- WARNING: WARNING in dnsmasq core: no upstream servers configured
I can confirm I do have upstream servers configured, but they were the 'manually configured' ones on the top right box in the DNS settings page, which does not exist any more in this version, and I believe this is the cause of everything else that failed above, including the upgrade.
- Configs are not being read?
Refer to
# cat /etc/pihole/setupVars.conf
PIHOLE_INTERFACE=eth0
QUERY_LOGGING=true
INSTALL_WEB_SERVER=false
INSTALL_WEB_INTERFACE=true
LIGHTTPD_ENABLED=false
CACHE_SIZE=10000
DNS_FQDN_REQUIRED=false
DNS_BOGUS_PRIV=false
DNSMASQ_LISTENING=all
WEBPASSWORD=xxx
BLOCKING_ENABLED=true
DNSSEC=false
REV_SERVER=true
REV_SERVER_CIDR=192.168.1.0/24
REV_SERVER_TARGET=192.168.1.1
REV_SERVER_DOMAIN=greadly.lan
WEBUIBOXEDLAYOUT=boxed
WEBTHEME=default-dark
PIHOLE_DNS_1=94.140.14.14
PIHOLE_DNS_2=94.140.15.15
You can see this should be my config. It has upstream DNSs, it has lighttpd set to false, UI is set to default-dark, etc.. None of those are in effect when I managed to finally login.
UI now is light (not dark), custom dns settings are missing, password was incorrect... nothing in that page is as it was. It does not seem to be reading anything from my .conf file.
Summary of issues
- It seems like v6 is not using my setupVars config, because it did not detect my existing upstream dns servers, webserver choice, etc.
Debug Token:
during failed upgrade and when nothing was working - before I managed to restore services
https://tricorder.pi-hole.net/dYP4pmRk/
current
https://tricorder.pi-hole.net/iBAIQyb0/
Note, IPv6 not working is expected - I don't have IPv6 any more.