No web interface after v6 install (Pi Zero W)

I get the following message from the web interface:

[string "/var/www/html/admin/scripts/pi-hole/lua/header.lp"]:45: attempt to call a nil value (field 'rev_proxy') stack traceback: [C]: in field 'include' [string "/var/www/html/admin/error404.lp"]:11: in main chunk aborting

Please upload a debug log and post just the token URL that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:

pihole -d

or if you run your Pi-hole as a Docker container:

docker exec -it <pihole-container-name-or-id> pihole -d

where you substitute <pihole-container-name-or-id> as required.

https://tricorder.pi-hole.net/Oq5yWvs1/

Done - thanks for helping

First problem - you are running a mix of V5 and V6 elements. Your web version was not on the master branch (you likely loaded a special branch to resolve a problem).

*** [ DIAGNOSING ]: Core version
[✓] Version: v6.0.4
[i] Remotes: origin	https://github.com/pi-hole/pi-hole.git (fetch)
             origin	https://github.com/pi-hole/pi-hole.git (push)
[i] Branch: master
[i] Commit: v6.0.4-0-g567bb724

*** [ DIAGNOSING ]: Web version
[✓] Version: v5.19
[i] Remotes: origin	https://github.com/pi-hole/AdminLTE.git (fetch)
             origin	https://github.com/pi-hole/AdminLTE.git (push)
[i] Branch: tweak/refresh_intervals_slow
[i] Commit: v5.19-571-g2e8275fa

*** [ DIAGNOSING ]: FTL version
[✓] Version: v6.0.2
[i] Branch: master
[i] Commit: ac500d5f

Usepihole checkout master to get the whole install on V6.

Second problem - your OS is unsupported. This makes it difficult to determine whether the problem might lie in Pi-hole code, or your unsupported OS.

*** [ DIAGNOSING ]: Operating system
[✓] Distro:  Raspbian
[✗] Version: 10
[✓] dig return code: 0
[i] dig response: "Raspbian=11,12 Ubuntu=20,22,23,24 Debian=11,12 Fedora=40,41 CentOS=9"
[✗] Error: Raspbian is supported but version 10 is currently unsupported (https://docs.pi-hole.net/main/prerequisites/)

After you do the update, see if your problem continues.

I got this at the end of the update

  [✗] Unsupported OS detected: Raspbian 10
      If you are seeing this message and you do have a supported OS, please contact support.

      https://docs.pi-hole.net/main/prerequisites/#supported-operating-systems

      If you wish to attempt to continue anyway, you can try one of the following commands to skip this check:

      e.g: If you are seeing this message on a fresh install, you can run:
             curl -sSL https://install.pi-hole.net | sudo PIHOLE_SKIP_OS_CHECK=true bash

           If you are seeing this message after having run pihole -up:
             sudo PIHOLE_SKIP_OS_CHECK=true pihole -r
           (In this case, your previous run of pihole -up will have already updated the local repository)

      It is possible that the installation will still fail at this stage due to an unsupported configuration.
      If that is the case, you can feel free to ask the community on Discourse with the Community Help category:
      https://discourse.pi-hole.net/c/bugs-problems-issues/community-help/

   Error: Unable to complete update, please contact support
pi@pihole:~ $ 

Is there a way to update the OS without disturbing the rest?

Web interface is working. Dashboard it slow and I'm have more than 100% CPU usage, Diagnostics is giving me this message

Long-term load (15min avg) larger than number of processors: 1.6 > 1
This may slow down DNS resolution and can cause bottlenecks.

There is no reliable method. You are two Raspbian versions behind Bookworm (12).

There are methods online where you change the sources file and grab the Bookworm repositories, but these can fail miserably.

My recommendation - save your Pi-hole settings with Teleporter, flash a new OS on a new SD card (32 GB at least), and then install Pi-hole on that and import your saved settings.

I'm not familiar with Teleporter, do you have instructions I can follow?

What about the high CPU usage?

Any thoughts about the big CPU usage? I can't SSH (or use Dashboard) now that it's so loaded.

Web admin GUI > Settings > Teleporter. This will create a compressed file that you can save on your computer (don't save it to the Pi) and then later import these settings back into the new Pi-hole install.

I would need to see the complete output of htop when the CPU is loaded.

Thanks, I found Teleporter just in time yesterday while I could still get into it.

Getting htop output will be a problem, the CPU is so loaded that SSH request times out. Any suggestions?

On the assumption that FTL is causing the load, stop FTL and then try to run htop.

sudo service pihole-FTL stop

Or hookup a keyboard and monitor and type the command in directly with no ssh session.

Thanks for all your help, I'm getting HDMI cables to attach to the Pi Zero and I've order newer Pi Zero 2 to use with the updated OS. With the extra cores I expect I won't have a load issue after that. Thanks again for your help.

NO.

Debian 10 has a very small /boot that is not compatible with Debian 11/12 so what you are doing now :

Is the best option :wink: :+1:

However I think the high CPU LOAD will also be gone after a fresh install and had to do with your old Query Log Database that might have become too large or corrupted...

1 Like

For Debian 10 that's a NO GO !!!

The /boot is too small to support Debian 11/12 and newer versions :wink:

This all ofcourse only applies to RaspBian/Raspberry Pi OS and not regular completely manually installed Debian versions on x86-64 machines.

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