PiHole UI: status unknown and not controllable

Hi,
after a long time, I want to disable pihole temporarily,
but it seems to be, that the pihole web interface can't determinate the status of the pihole system.
In the top left corner, the status is shown as "unknown" and both menu items enable and disable are visible.
When I click one of both, the status switches from unknown to active or offline, but when I reload the page the status switches back to unknown.
And it seems to be that the disable button does not affect the system.
When I use "pihole disable" in the terminal it works.
It seems to be a problem with the web interface.

My steps so far:
Reinstalled pihole.
Purged apache and php completely and reinstalled it.

TOKEN:
https://tricorder.pi-hole.net/apj62401p3

If your trying to access the web GUI via apache2 instead of the default (supported) lighttpd, you might run into troubles as apache2 isnt configured for Pi-hole like lighttpd is, and you probably are missing php modules.
Try search here on discourse for apache2 related threads.

From your debug log, it does not appear to be purged:

[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
*:443 apache2 (IPv6)

*** [ DIAGNOSING ]: Pi-hole processes
[✗] lighttpd daemon is inactive

*** [ 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: Thu, 12 Mar 2020 11:24:44 GMT
Server: Apache/2.4.41 (Ubuntu)
Upgrade: h2,h2c
Connection: Upgrade
Last-Modified: Thu, 12 Mar 2020 09:52:22 GMT
ETag: "2aa6-5a0a54f2e797e"
Accept-Ranges: bytes
Content-Length: 10918
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: Thu, 12 Mar 2020 11:24:44 GMT
Server: Apache/2.4.41 (Ubuntu)
Upgrade: h2,h2c
Connection: Upgrade
Set-Cookie: PHPSESSID=lh25mdsrn5evqsbba8eoinflo4; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8

Below one goes straight to Pi-hole v5 beta if desire.
Can skip echo "release/v5.0" etc if want to stay on v4.

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