Cannot access PiHole Admin Interface anymore after upgrading to Bookworm (503 Service Unavailable)

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | cat /boot/dietpi/.version
    G_DIETPI_VERSION_CORE=9
    G_DIETPI_VERSION_SUB=2
    G_DIETPI_VERSION_RC=1
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
    bookworm
  • Kernel version | uname --all
    Linux orangedietpi 6.6.16-current-sunxi #1 SMP Fri Feb 23 08:25:28 UTC 2024 armv7l GNU/Linux
  • Architecture | dpkg --print-architecture
    armhf
  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
    Orange Pi Zero

So, I performed the Bookworm from Bullseye upgrade using the script (Debian Bookworm has been released – DietPi Blog).
It all seemed to install and upgrade correctly. However, once the process completed and I rebooted the device, I noticed I cannot access Pi-Hole’s admin interface anymore. When I try to do so I get: 503 Service Unavailable

This is the software I’m running:

I’ve already tried these commands to see if I could fix it, but still the same issue:
pihole -up
pihole -r
dietpi-software reinstall 89

Thanks in advance, team.

can you check all services available? I guess issues is with PHP

dietpi-services status

However this will have no impact in AdBlocking. It should be working still

Hey Joulinar,

Here’s the output:

Since I saw a similar thread, I also run ‘cat /var/log/lighttpd/error.log’ just in case, and I got this:

And yes, ad blocking is working still.
Thanks as usual.

if possibly try to avoid doing screen prints, it should be possible to get all data directly from SSH terminal.

Anyway, as you can see your web server is trying to use PHP 7.4 still, which did not exist anymore. Did you tried to reinstall lighttpd already??

dietpi-software reinstall 84
1 Like

And that fixed it! Since it looked like a PHP error I only tried with reinstalling PHP and not lighttpd.
Sorry about the pics, seemed like a lot of text to include.

Thank you!