From a client on the same network go to http://ip_address_of_pihole/admin in a web browser. Can you access it? If not can you post a screenshot of the browser and address bar please?
Sorry not sure what happened when formatting the URL of my initial post:
I am getting this behavior when going to http://{IP of the Pi-hole without brackets}/admin
It seems as if your upstream servers may not be set. To check, can you run the command below and copy and paste the output in here please? It just shows whether upstream servers are configured or not.
sudo grep -C 4 upstreams /etc/pihole/pihole.toml
To set them, if they are blank, this command will set them to Quad9's servers
# Example: [ "8.8.8.8", "127.0.0.1#5335", "docker-resolver" ]
#
# Possible values are:
# array of IP addresses and/or hostnames, optionally with a port (#...)
upstreams = [
"9.9.9.9",
"149.112.112.112"
] ### CHANGED, default = []
It was initially set to Unbound so 127.0.0.1:5335, but figured trying the Quad9 servers above was worth a shot, but same result. Local file generated for the pihole -d command but unable to upload with curl.
Hi, I have the same issue. I figured out that Apache2 is additionally running on my Debian system. Beside Unbound and PiHole no other services are needed. Would I solve the problem by uninstalling Apache2?
Here are the results that also show apache2 being the root cause
*** [ DIAGNOSING ]: Ports in use
[✓] udp:0.0.0.0:53 is in use by pihole-FTL
udp:0.0.0.0:51820 is in use by <unknown>
udp:0.0.0.0:123 is in use by pihole-FTL
udp:127.0.0.1:5335 is in use by unbound
[✓] udp:*:53 is in use by pihole-FTL
udp:*:51820 is in use by <unknown>
udp:*:123 is in use by pihole-FTL
tcp:0.0.0.0:22 is in use by dropbear
[✓] tcp:0.0.0.0:53 is in use by pihole-FTL
tcp:127.0.0.1:5335 is in use by unbound
[✓] tcp:0.0.0.0:443 is in use by pihole-FTL
tcp:[::]:22 is in use by dropbear
[✓] tcp:[::]:53 is in use by pihole-FTL
[✗] tcp:*:80 is in use by apache2 (https://docs.pi-hole.net/main/prerequisites/#ports)
[✓] tcp:[::]:443 is in use by pihole-FTL
I did end up rebooting the Raspberry Pi as the sytemctl didn't seem to do the trick by itself.
Also in case this helps others, I was running DietPi on Bookworm release.