Admin web interface not loading properly

Overview

Hi, I installed pi-hole on my ubuntu 22 with with a default setup. It seems to work as a command line tool but I'm not able to browse requests and configs in the web admin interface.

I researched other similar questions: in the beginning, it seemed that my lighttpd service was not working because port 80 was occupied. I changed the lighttpd.conf to use port 81 and the service seems to be active now but it didn't help resolving the issue. I also made sure that www-data owns lighttpd/access.log

This is how it looks in my browser (Firefox):

Any help is appreciated

Expected Behaviour:

Pi-hole admin web interface is loading the UI properly with all CSS and scripts

Actual Behaviour:

Pi-hole admin web interface is only loaded partially with a few blocked requests as if PHP script wasn't loaded

Debug Token:

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

Your debug log shows you are running apache on port 80 next to lighttpd on port 81.

You've obfuscated the decisive part of the URL you use to access Pi-hole's web UI, but I guess you did not specify a port.

Without a port, your browser will default to port 80, which is served by your apache.

Since you moved lighttpd to port 81, you'd have to use http://pi.hole:81 (or http://<IP>:81/admin) to connect to Pi-hole's web server.

Ah, what a silly mistake. It indeed works perfectly fine specifying the port in the URL. Thanks a lot!

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