Pihole not running after OS upgrade

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:

I've been using pihole on a pi3 for around four years. I was using Dietpi buster and was EOL where there were no more updates. I tried updating pihole and it failed saying something along the lines of debian 10 not supported. So I upgraded dietpi to bullseye and now I'm having more issues.
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
RPi 3 Model B (aarch64)

Actual Behaviour:

root@PiHole:~# pihole -up
/opt/pihole/update.sh: line 108: : No such file or directory

on a browser 192.168.0.3/admin/index.php shows 404
192.168.0.3/admin shows 403 Forbidden

Debug Token:

(https://tricorder.pi-hole.net/22Mfu1Pc/)

This was the only thing flagged in red.
/etc/lighttpd/conf.d does not exist.

When you say "update" from Dietpi Buster to Bullseye, do you mean an in-place upgrade or did you create a whole new image on your device and start from scratch?

I ask because your description reads sort of like the circumstance (also in an in-place upgrade) that led to my call for help at
"Unable to install Pi-hole dependency package" during v6 upgrade attempt - #12 by nprampage.

In my case, the root cause was a missing dependency; this message appeared along with the file not found (line 108) message you used. Maybe that thread will help you find what is triggering the error.

Try sudo pihole -r also to see if that gives any additional hints.

After removing one of the suggestions I came across, I ran pihole -r and now it seems to be working fine. It did prompt to disable lighttpd, which I did.

Anyway, it seems to be working now.

I'm just testing further - aside from the changed GUI, it seems to be working.

Is there an easy gui method of backup pihole?

Found the export in teleporter.

I think I'm all set, thanks for the help!

Great! Thankfully, the fix for your setup was much simpler than mine! :slight_smile:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.