Pi-Hole Not Working

The /etc/resolve.conf inside Pi-Hole docker container looks like this and thus it doesn’t work and does not download or update Gravity. Can someone please fix this inside the docker image or YAML file. Looks like we have an extra 1!

root@7a7bed7f73f6:/etc# cat resolv.conf
nameserver 127.0.0.11
options ndots:0

I couldn’t find an editor inside the docker image, but I did this to fix it temporarily until the update is out:
Get the ID of your Docker process:

docker ps | grep pi-hole
7a7bed7f73f6 pihole/pihole:2022.07.1 “/s6-init” 33 minutes ago Up 33 minutes (healthy) 53/tcp, 80/tcp, 0.0.0.0:53->53/udp, :::53->53/udp, 67/udp, 0.0.0.0:49154->3233/tcp, :::49154->3233/tcp pi-hole_server_1

Run a shell on your docker image:

docker exec -it 7a7bed7f73f6 /bin/bash

cd /etc
cat ./resolv.conf

Now we overwrite resolv.conf with the correct IP address:

echo “nameserver 127.0.0.1
options ndots:0” > resolv.conf

cat ./resolv.conf

nameserver 127.0.0.1
options ndots:0

Now run Gravity Update and it works just fine.

2 Likes

Does anybody know how to update Pi-Hole using the “docker pull pihole/pihole” command. I’ve got the latest Image, but how to I tell the Umbrel to run the “latest” image with all of the necessary commands and config files? Where does Pihole get started from?

umbrel@umbrel:~ $ docker image ls | grep pihole
REPOSITORY TAG IMAGE ID CREATED SIZE
pihole/pihole latest 3ef04268449a 6 days ago 308MB
pihole/pihole 850e9721d3c2 2 months ago 295MB

Hi andelorean,

Our PiHole package is automatically updated through the App Store instead of having to run these commands. Its much easier this way!

Is there a specific reason you are attempting the manual version of this?

Thank you,
Max

Because you have a bug in the configuration! The latest update BREAKS Pi-Hole and it can’t download the Gravity file. Please fix this inside the docker container!

root@16cfdc2e5598:/etc# cat resolv.conf
nameserver 127.0.0.11
options ndots:0

This is still broken in the latest update and everyone is running Pi-Hole without a valid Gravity filter!

  • Docker Tag 2022.10
  • Pi-hole v5.13
  • FTL v5.18.2
  • Web Interface v5.16
2 Likes

Thank you for this fix, ridiculous that this still havent been fixed

any luck?

new update today, the problem is still there.