Please follow the below template, it will help us to help you!
If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx instead of lighttpd, or there is some other aspect of your install that is customised) - please use the Community Help category.
Expected Behaviour:
Until today, my Pi-hole running on an RPi Zero W has been working fine, just a regular message that it's slow to resolve occasionally ( Long-term load (15min avg) larger than number of processors: 1.3 > 1
This may slow down DNS resolution and can cause bottlenecks.).
Actual Behaviour:
Got up this morning and I had no internet. I restarted the Pi; restarted the router; restarted the computer. No joy. I had other things to do so have only just come back to it. I managed to get my main computer online, but no-one else in my network - including VMs on this main machine. I can't access the Pi through VNC (my usual method), I just get a connection refused message.
Debug Token:
I cannot provide this either. I have got the debug log copied and pasted in a text file that I can archive and send, but uploading failed. I do have one message in the Pi-Hole settings, "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"
Ah probably, the forum tutorial (discobot, see your messages) can take you through a tutorial on the forum features, after which you start getting features granted.
I recommend you deleting this and generating a new log.
When you create a log, it ask you if you want it to be uploaded to tricoder or not. It defaults to No, but you can write "y" and press enter for it to upload it.
When doing so, you upload your logs to a webpage that only pihole's team members can access and then share the link here.
I can't upload. That's the problem. It was working fine last year, it was working fine when I used the computer at the weekend - it wasn't working this morning. I can sometimes use this main machine that is linked to the router via ethernet.
It seems like you have SSH disabled.
Grab an SD card reader and load it up on your PC. Then, search for the boot partition of that SD and create a new file called ssh , you do not have to put an extension on it. If you get lost, you can search something like "How to enable SSH in RPI Zero".
After that, ssh into your pi and try pinging a DNS resolver to see if you actually are connected to the internet. Make sure to enter with the correct username too. It won't be root, it will be the one you've generated when setting the rpi.
Another important thing that I forgot to ask is, are you using PiHole DHCP server? Or you're using your router's dhcp?
If you're using your router dhcp, you can temporaly change the DNS server to 1.1.1.1 until you fix your issue with your pihole. If not, just turn your router dhcp back on until you fix your issue.
Another option – attach a HDMI display (eg TV) and a keyboard and access the terminal locally. Needs the relevant adapters and/or cables; worth buying these from anywhere and having them to hand for such things.
Just got to find out how to make the expiry in the distant future... (Just wish I knew where I'd found this because it has now disappeared). I also have this:
I was using the rpi as a DHCP server and I've turned the router's DHCP back on to be able to access this page, but none of the other computers on the network have internet access. The mobile phones are fine because they can use data, but the wifi computers can't.