Please follow the below template, it will help us to help you!
If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx instead of lighttpd, or there is some other aspect of your install that is customised) - please use the Community Help category.
Expected Behaviour:
Rather expected to find the dashboard at :8080, on the lighttpd server, but...
Actual Behaviour:
...instead it's only available on port 80 of my server's apache2 setup. It installed the lighttpd server, just didn't use it.
Also experiencing an issue with very infrequent use of cache, as detailed in community post. Not sure if the two are related, but thought I'd better sort this part out first.
Pi-hole's lighttpd installation would default to port 80, provided you opted for installing the webserver along with the admin UI during Pi-hole's installation.
You'd have to manually adopt your lighttpd configuration to move it to a different port.
Your debug log shows Apache listening on port 80 and lighttpd listening on 8080:
*** [ DIAGNOSING ]: Ports in use
(...)
tcp:0.0.0.0:8080 is in use by lighttpd
(...)
tcp:0.0.0.0:443 is in use by apache2
[✗] tcp:0.0.0.0:80 is in use by apache2 (https://docs.pi-hole.net/main/prerequisites/#ports)
This would imply that you already managed to move lighttpd to port 8080, and also that it's UI would be accessible via that port (and potentially via Apache's 80 as well, if that would be configured accordingly).
By what exact URL did you try to access Pi-hole's UI?
No, it appears that I have lighttpd serving the pi hole dashboard on port 8080, and have apache2 serving it on port 80.
I'd be very interested to learn how I might prevent the apache daemon from serving the pi hole dashboard on port 80, as I use that for testing internally.
Turns out that the pi hole installer script puts the dashboard admin files under /var/www/html.
That's also the content directory for my apache2 server. I just need to change the apache2 home directory, and then it won't serve the pi hole dashboard, like it is.