Hey team,
I am trying to update Gravity from the web interface.
This installation is 5 days old. The first (and last) successful gravity update was after the initial setup. I was able to add several adlists and run a Gravity update, everything went smoothly.
Fast forward to now, this is the error message I get:
Error message when updating Gravity:
[✗] DNS resolution is currently unavailable
Some system info taken from the debut log:
*** [ DIAGNOSING ]: Core version
[✓] Version: v5.17.3
[i] Remotes: origin https://github.com/pi-hole/pi-hole.git (fetch)
origin https://github.com/pi-hole/pi-hole.git (push)
[i] Branch: master
[i] Commit: v5.17.3-0-g19bfa08
*** [ DIAGNOSING ]: Web version
[✓] Version: v5.21
[i] Remotes: origin https://github.com/pi-hole/web.git (fetch)
origin https://github.com/pi-hole/web.git (push)
[i] Branch: master
[i] Commit: v5.21-0-gbe05b0f
*** [ DIAGNOSING ]: FTL version
[✓] Version: v5.25.1
[i] Branch: master
[i] Commit: 1c2257be
*** [ DIAGNOSING ]: lighttpd version
[i] 1.4.69
*** [ DIAGNOSING ]: php version
[i] 8.2.7
*** [ DIAGNOSING ]: Operating system
[✓] Distro: Debian
[✓] Version: 12
[✓] dig return code: 0
[i] dig response: "Raspbian=10,11,12 Ubuntu=20,22,23 Debian=10,11,12 Fedora=36,37,38 CentOS=8,9"
[✓] Distro and version supported
*** [ DIAGNOSING ]: SELinux
[i] SELinux not detected
*** [ DIAGNOSING ]: FirewallD
[i] Firewalld service inactive
*** [ DIAGNOSING ]: Processor
[✓] aarch64
Modem address: 192.168.2.1
Pi address: 192.168.2.201
In the modem, the DNS is set manually to 192.168.2.201. That address is outside the pool of addresses the modem can assign to other devices.
My resolv.conf file looks like this:
# Generated by NetworkManager
search home
nameserver 192.168.2.1
nameserver 192.168.2.201
nameserver 2001:4958:732::1
# NOTE: the libc resolver may not support more than 3 nameservers.
# The nameservers listed below may not be recognized.
nameserver 2001:4958:733::1
I tried to edit it a few times:
- remove all nameserver rows and but one, set it to 127.0.0.1
- move 192.168.2.201 to the first position
The file saves properly (after closing it, I reopen it and my changes are there).
But after rebooting, the content of the file is back to what you see above.
Quite possibly related: I can't send my debug log to you guys, so I can't share a token with you. Taken from the debug logs:
[i] Debug script running in automated mode
* Using curl for transmission.
* curl failed, contact Pi-hole support for assistance.
* Error message: curl: (28) Failed to connect to tricorder.pi-hole.net port 443 after 138253 ms: Couldn't connect to server
[✗] There was an error uploading your debug log.
* Please try again or contact the Pi-hole team for assistance.
* A local copy of the debug log can be found at: /var/log/pihole/pihole_debug.log
Quite possibly related: pihole -up fails to update. Taken from the terminal:
[✓] Update local cache of available packages
[i] Existing PHP installation detected : PHP version 8.2.7
[✓] 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/': Failed to connect to github.com port 443 after 137675 ms: Couldn't connect to server
[i] Pi-hole Core: up to date
A few things still work:
- the pi-hole interface is accessible via http://192.168.2.201/admin/index.php
- pi-hole is getting some traffic from my local network, and appears to be able to block some content
- sudo apt update works on my raspberry