My pi-hole was running fine for years on my Raspi 2. Now it stopped working and I have no idea why. Maybe the SD card is broken?
The "DNS service is not running" is showing in the web GUI and the adblocking does not work. I looked for the error, but there are sooo many threads here, on GitHub and Reddit and nothing works.
On the settings page I see this error message:
There was a problem applying your settings.
Debugging information:
PHP error (2): fsockopen(): unable to connect to 127.0.0.1:4711 (Connection refused) in /var/www/html/admin/scripts/pi-hole/php/FTL.php:47
"pihole restartdns" returns
[âś—] Failed to retrieve unit state: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
Failed to restart pihole-FTL.service: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
See system logs and 'systemctl status pihole-FTL.service' for details.
Using this prompt, I get:
Failed to get properties: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
Updating the pi-hole with pihole -up does not work, repairing does not work ...
*** [ DIAGNOSING ]: Operating system
[i] dig return code: 10
[i] dig response: dig: couldn't get address for 'ns1.pi-hole.net': failure
[âś—] Distro: Raspbian
[âś—] Error: Raspbian is not a supported distro (Prerequisites - Pi-hole documentation)
It looks like my distro is outdated, but the DNS is not working, so I can't update the pi itself.
*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[âś—] Failed to resolve www.nubipgdacht.com on lo (127.0.0.1)
[âś—] Failed to resolve www.nubipgdacht.com on eth0 (192.168.178.57)
[âś“] doubleclick.com is 142.250.181.206 via a remote, public DNS server (8.8.8.8)
*** [ DIAGNOSING ]: Name resolution (IPv6) using a random blocked domain and a known ad-serving domain
[âś—] Failed to resolve livescience.us.intellitxt.com on lo (::1)
[âś—] Failed to resolve livescience.us.intellitxt.com on eth0 (2a01:c22:8c4e:2f00:d4f0:d656:6118:481d)
[âś—] Failed to resolve livescience.us.intellitxt.com on eth0 (fe80::86a5:f85f:d11d:7e3d)
[âś“] doubleclick.com is 2a00:1450:4005:802::200e via a remote, public DNS server (2001:4860:4860::8888)
No I see there seems to be a crash:
[2023-10-02 21:57:13.121 1118M] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2023-10-02 21:57:13.121 1118M] ----------------------------> FTL crashed! <----------------------------
[2023-10-02 21:57:13.122 1118M] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2023-10-02 21:57:13.122 1118M] Please report a bug at GitHub · Where software is built
[2023-10-02 21:57:13.123 1118M] and include in your report already the following details:
[2023-10-02 21:57:13.123 1118M] FTL has been running for 1692812 seconds
[2023-10-02 21:57:13.123 1118M] FTL branch: master
[2023-10-02 21:57:13.123 1118M] FTL version: v5.20
[2023-10-02 21:57:13.124 1118M] FTL commit: cba74934
[2023-10-02 21:57:13.124 1118M] FTL date: 2022-12-21 21:06:00 +0000
[2023-10-02 21:57:13.125 1118M] FTL user: started as pihole, ended as pihole
[2023-10-02 21:57:13.126 1118M] Compiled for armv6hf (compiled on CI) using arm-linux-gnueabihf-gcc (GCC) 10.3.0
[2023-10-02 21:57:13.126 1118M] Process details: MID: 1118
[2023-10-02 21:57:13.126 1118M] PID: 1118
[2023-10-02 21:57:13.127 1118M] TID: 1118
[2023-10-02 21:57:13.127 1118M] Name: pihole-FTL
[2023-10-02 21:57:13.129 1118M] Received signal: Speicherzugriffsfehler
[2023-10-02 21:57:13.130 1118M] at address: 0xe1d430b2
[2023-10-02 21:57:13.130 1118M] with code: SEGV_MAPERR (Address not mapped to object)
Saving debug.log token not possible either:
- curl failed, contact Pi-hole support for assistance.
- Error message: curl: (6) Could not resolve host: tricorder.pi-hole.net
The /etc/pihole/pihole-FTL.db seems to be corrupt, so I renamed it. But t doesn't created a new DB.
I'm out of ideas ... what is wrong with my pi-hole? How do I repair it? There is nothing custom here, just pi-hole and and a Raspi 2 which was running fine for years ...