Webinterface wird nicht richtig angezeigt

Hallo,
nach einer Neuinstallation von pi-hole sowohl unter Debian 11 und 12 wird das Webinterface nicht mehr angezeigt. In Opera wird der html-code angezeigt und in Firefox teilweise die Beschriftung am linken Bildschirmrand aber ohne Grafik. Aufruf mit pi.hole/admin wird mit Server nicht gefunden beantwortet. Aufruf über IP/admin zeigt das Eingangs beschriebene Verhalten. Jemand eine Idee?

Danke, Frank

Dies geschieht normalerweise, wenn PHP nicht auf dem System installiert ist.

Bitte lade ein Debug Log hoch und poste hier anschließend nur die Token-URL.
Das Token generierst Du über

pihole -d

wobei Du die Frage nach dem Upload bejahst.

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

I need to write my answer in English as my German is almost non-existent.

Your debug log shows lighttpd was not installed and you are running Apache.

*** [ DIAGNOSING ]: lighttpd version
[✗] lighttpd version could not be detected.
[✗] tcp:*:80 is in use by apache2
*** [ DIAGNOSING ]: Pi-hole processes
[✗] lighttpd daemon is failed

If this is intentional and you want to use only Apache on your system, you will need to configure Apache to run the web interface (with PHP).

Otherwise, you will need to execute pihole -r to repair the installation, to install lighttpd.
You will also need to change lighttpd port (or disable Apache) to avoid conflicts.

Thank you very much. I stopped and disabled Apache and then repair with pi-hole -r. Everthing works well.

Greets, Frank

Thanks to all of you for the question and helpful reply, which just helped me today, as I had the same problem.

After sudo apt purge apache2 and pihole -r it works here, too. :slight_smile:

A little side note for other interested readers (and myself for later reference :wink: ):
If installing a complete OS (e.g. Debian) fresh, one should think twice if including the apache webserver is needed if that OS will later contain Pi-Hole. I run Debian bookworm in a virtual machine (on a Synology NAS) and automatically create snapshots, so I can revert some changes in case of problems.

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