Expected Behaviour:
I should be able to update Pihole.
Actual Behaviour:
can't update my Pihole, I get numerous errors in which I cannot connect to github for updates Here's what I pulled running pihole -up
ckilgore@piholeng:~$ pihole -up
[✓] Update local cache of available packages
[i] Existing PHP installation detected : PHP version 7.4.3-4ubuntu2.28
[✓] Checking for git
[✓] Checking for iproute2
[✓] Checking for dialog
[✓] Checking for ca-certificates
[i] Checking for updates...
fatal: unable to access 'https://github.com/pi-hole/pi-hole.git/': Could not resolve host: github.com
[i] Pi-hole Core: up to date
fatal: unable to access 'https://github.com/pi-hole/AdminLTE.git/': Could not resolve host: github.com
[i] Web Interface: up to date
[i] FTL: update available
[i] FTL out of date, it will be updated by the installer.
[✓] Root user check
.;;,.
.ccccc:,.
:cccclll:. ..,,
:ccccclll. ;ooodc
'ccll:;ll .oooodc
.;cll.;;looo:.
.. ','.
.',,,,,,'.
.',,,,,,,,,,.
.',,,,,,,,,,,,....
....''',,,,,,,'.......
......... .... .........
.......... ..........
.......... ..........
......... .... .........
........,,,,,,,'......
....',,,,,,,,,,,,.
.',,,,,,,,,'.
.',,,,,,'.
..'''.
[i] SELinux not detected
[i] Update local cache of available packages...
[i] Existing PHP installation detected : PHP version 7.4.3-4ubuntu2.28
[i] [✓] Checking apt-get for upgraded packages... 30 updates available
[i] It is recommended to update your OS after installing the Pi-hole!
[i] Checking for / installing Required dependencies for OS Check...
[✓] Checking for grep
[✓] Checking for dnsutils
[✗] Retrieval of supported OS list failed. dig failed with return code 10.
Unable to determine if the detected OS (Ubuntu 20.04) is supported
Possible causes for this include:
- Firewall blocking certain DNS lookups from Pi-hole device
- ns1.pi-hole.net being blocked (required to obtain TXT record from versions.pi-hole.net containing supported operating systems)
- Other internet connectivity issues
https://docs.pi-hole.net/main/prerequisites/#supported-operating-systems
If you wish to attempt to continue anyway, you can try one of the following commands to skip this check:
e.g: If you are seeing this message on a fresh install, you can run:
curl -sSL https://install.pi-hole.net | sudo PIHOLE_SKIP_OS_CHECK=true bash
If you are seeing this message after having run pihole -up:
sudo PIHOLE_SKIP_OS_CHECK=true pihole -r
(In this case, your previous run of pihole -up will have already updated the local repository)
It is possible that the installation will still fail at this stage due to an unsupported configuration.
If that is the case, you can feel free to ask the community on Discourse with the Community Help category:
https://discourse.pi-hole.net/c/bugs-problems-issues/community-help/
Unable to complete update, please contact Pi-hole Support
Here's the contents of my resolv.conf which I changed to 1.1.1.1 and re-ran, no change. Restarting changed it to different IPs (I think OpenDNS) and not sure how to not have that happen.
# Generated by dhcpcd from ens3.dhcp
# /etc/resolv.conf.head can replace this line
nameserver 1.1.1.1
nameserver 1.0.0.1
# /etc/resolv.conf.tail can replace this line
This is running in an x86-64 VM running Ubuntu 20.04. Not sure how to fix this.
Debug Token:
Script did not auto-upload debug log, so its uploaded here Dropbox