Downgrade to version 5.x

How can I downgrade my pihole in a Raspberry Pi 4 back to 5.x?

The reasons are:

  • My antivirus keeps blocking me to enter untrusted certificate on https and I cant use http anymore even though my connection is always local
  • I cannot reboot my raspberry through the web interface anymore, I use that a lot and I can't find this function anymore.

You can use http with Pi-hole v6.
If this is not working you need to check if the web server is using the correct ports. Generate a debug log and we will be able to help you.

This is not available in Pi-hole v6. For security reasons Pi-hole v6 web interface doesn't have permission to execute commands using elevated permissions (sudo is not available), so shutdown or reboot cannot be executed.

You can run Pi-hole v5 in a docker container.
Tag 2024.07.0 is the last image running Pi-hole v5.

I would be very happy if you could help me with the log:
https://tricorder.pi-hole.net/iad2TFSY/

Oh ok, kinda bummer but understandable =/

I will try to stay with v6 to keep updated for now. But thanks for the tip.

Your log shows the web interface is using port 8080.

You can access the web interface adding the port to the URL, like this:

Or you can change the port to the default value with:

sudo pihole-FTL --config webserver.port '80o,443so'

And access without adding :8080 to the URL.

1 Like

Thank you so much :smiley: