Unable to access web console

Please follow the below template, it will help us to help you!

Expected Behaviour:

To see the dashboard
RPI 3B
Was working fine until I upgraded

Actual Behaviour:

This page isn’t working
192.168.1.8 is currently unable to handle this request.
HTTP ERROR 502

Debug Token:


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

You are using caddy as web server, which conflicts with Pi-hole's lighttpd over port 80:

*** [ DIAGNOSING ]: Ports in use
[✗] tcp:*:80 is in use by caddy (https://docs.pi-hole.net/main/prerequisites/#ports)

Thanks. That's right. But I have set

/etc/lighttpd/external.conf
server.port                 = 480

That's likely what's causing it.
lighttpd disagrees with duplicate definitions for server.port.

You could verify this by running

lighttpd -t -f /etc/lighttpd/lighttpd.conf

See Lighttpd daemon won't start - #11 by Bucking_Horn for a possible fix.

Thanks again. That works, says "Syntax OK"

I initially setup caddy for pihole following the instructions here:
https://docs.pi-hole.net/guides/webserver/caddy/

But after I changed the server.port in lighttpd.conf I noticed the comments that said "any changes...will be on the next update" so I also put server.port in external.conf which I'm guessing had no effect.

Indeed after my recent update the conf file was replaced and server.port was set to 80 and after that I could no longer access the web console.

I changed the syntax in external.conf as suggested
server.port := 480

But still I can't access the web console at http://pi.hole/admin or by using the IP address.

Since you decided to use port 480, you'd have to supply that in your URLs, i.e. http://pi.hole:480/admin.

That's new, but that works! Thank you for your support.

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