PiHole has been running with no issues for well over six months on this RPi. The exact same issue is occurring on both my RPi's (2). I have two RPi's set up with PiHole/Unbound. After about 10 minutes PiHole-FTL suddenly starts up on its own.
Expected Behaviour:
PiHole to start up
RaspberryPi 4
Actual Behaviour:
PiHole service refuses to start up also knocking out internet access. Access to router and LAN still works
Debug Token:
Because internet is knocked out to the RPi 4, a debug log is not uploaded and a token is not created.
[✓] ** FINISHED DEBUGGING! **
* The debug log can be uploaded to tricorder.pi-hole.net for sharing with developers only.
* For more information, see: https://pi-hole.net/2016/11/07/crack-our-medical-tricorder-win-a-raspberry-pi-3/
* If available, we'll use openssl to upload the log, otherwise it will fall back to netcat.
[i] Debug script running in automated mode
* Using curl for transmission.
* curl failed, falling back to netcat for transmission.
[✗] 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_debug.log
This may be the root of the problem. That's a lot of DNS queries in 24 hours (35+ million). When Pi-hole starts up, FTL has to read all of this from the long term database to populate the 24 hour dashboard.
The problem is likely due to conditional forwarding causing a loop. Please post the output of these commands from the Pi terminal:
I have turned off conditional forwarding on both of my RPi PiHole installations. It still takes more than 10 minutes for FTL to finally start up though.
Is there a way to purge the list so FTL doesn't have to read all the entries and start up as it did in the past (quickly)?
Stop FTL, remove the database, start FTL. FTL will start up with a new database. This will clear your dashboard, which will rebuild over the next 24 hours. If you want to keep your old database for reference, use the optional command in place of the remove command:
sudo service pihole-FTL stop
sudo rm /etc/pihole/pihole-FTL.db
sudo service pihole-FTL start
Optional command to use instead of remove to store the database: