I effed up by deleting /opt (pressed enter instead of tab...), now pihole website looks like plain text even aftera reinstall

Expected Behaviour:

pi.hole/admin or ip/admin should show the site like I did before I did the F up.

OS: Raspberry Pi Os

Actual Behaviour:

Basically the web shows the site HTML (starting at the PHP) instead of the actual site. I tried to reinstall everything, pihole, lighttpd, php related software...

Debug Token:

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

You also installed apache2 is seems.


*** [ 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: Sun, 21 Jun 2020 15:34:19 GMT
Server: Apache/2.4.38 (Raspbian)
Last-Modified: Sun, 21 Jun 2020 03:34:31 GMT
ETag: "29cd-5a88fcddd0300"
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: Sun, 21 Jun 2020 15:34:19 GMT
Server: Apache/2.4.38 (Raspbian)
Last-Modified: Sun, 21 Jun 2020 15:23:24 GMT
ETag: "2359-5a899b50cf9ab"
Accept-Ranges: bytes
Content-Length: 9049
1 Like

Hi Dan. Thanks for the help, this was driving me mad.

I uninstalled both Apache and lighttpd and I stopped seeing the website. Then I ran a repair from pihole -r and it went online again but this time works well.

Thanks for the quick help, really.

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