After a long time of pi-hole running without a problem, I had to restart my RPi and now I see pihole's web interface displays plain text headings only, like a template without actual info. Eg
Total queries (- clients)
Queries Blocked
I updated, all was up-to-date. pihole status reports all OK.lighttpd -t -f /etc/lighttpd/lighttpd.conf returns Syntax OK
I executed sudo service lighttpd restart
I reinstalled pihole as update.
Please upload a debug log and post just the token that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:
You are running Apache, which is an unsupported webserver. Apache is occupying port 80, preventing lighttpd from binding to that port.
I moved your post to the Community Help category. If you search this category for Apache, you will likely find a user workaround.
*** [ DIAGNOSING ]: Ports in use
...
[80] is in use by apache2 (https://docs.pi-hole.net/main/prerequisites/#ports)
*** [ DIAGNOSING ]: Pi-hole processes
[✗] lighttpd daemon is failed
[✓] pihole-FTL daemon is active
*** [ DIAGNOSING ]: Dashboard and block page
[✗] Block page X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 200 OK
Date: Sat, 24 Jul 2021 14:19:55 GMT
Server: Apache/2.4.38 (Raspbian)
Last-Modified: Tue, 15 Sep 2020 22:00:29 GMT
ETag: "29cd-5af61477befb9"
Accept-Ranges: bytes
Content-Length: 10701
Vary: Accept-Encoding
Content-Type: text/html
[✗] Web interface X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 200 OK
Date: Sat, 24 Jul 2021 14:19:55 GMT
Server: Apache/2.4.38 (Raspbian)
Last-Modified: Mon, 03 May 2021 23:43:04 GMT
ETag: "24da-5c17585e0a5dd"
Accept-Ranges: bytes
Content-Length: 9434
I disabled Apache, restarted lighttpd and it's all fine now. As it turns out, I installed Apache ages ago and I think it was waiting for a reboot to run first time. Thanks to RPi's reliability, I didn't have to reboot for months and I forgot about Apache. I am not sure how I will work around the conflict when/if I actually need to run Apache one day. Thanks.