WebUI doesn't save changes/ X-Header problem with lighttpd

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

Expected Behaviour:

The WebUI should save changes made there and it should show the correct status of the Pi-Hole

Actual Behaviour:

The status is unkown in the WebUI and any changes made won't take. Whitelist entries get the message: "Failure! Something went wrong, see output below: ". But there is no below...

Debug Token:

zo11a86m0s

In the debug log I can see an issue with lighttpd:


*** [ DIAGNOSING ]: Dashboard and block page
[\u2717] Block page X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 403 Forbidden
Content-Type: text/html
Content-Length: 345
Date: Wed, 27 Feb 2019 19:51:27 GMT
Server: lighttpd/1.4.45

[\u2717] Web interface X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 200 OK
Set-Cookie: PHPSESSID=ccqnhpj0gdp9bkqlcl1ds01ia7; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Content-type: text/html; charset=UTF-8
Date: Wed, 27 Feb 2019 19:51:27 GMT
Server: lighttpd/1.4.45


This is a fresh install of Dietpi and Pi-Hole on a Tinkerboard. I had the same issue with the first install, but a different error in the debug log. Because I had tried to run a couple of stuff to find out what is possible and/or usefull for me, I opted for a fresh install. But here I am again with the same problem.
So far there is only Pi-Hole and AssetUPnP running on the system apart from the basics like ProFTP, OpenSSH and so on. No Samba or Apache or anything.

And please be patient with me, as I know my way around Windows systems, but am a beginner on anything that has to do with Linux in any form.

Thanks in advance!
Malte

Did you use the DietPi installer or did you install Pi-Hole from the curl script from pi-hole.net?

I used the DietPi installer. Bad Idea?
But I think I already read here somewhere that DietPi uses the original script.

My recommendation would be to save your settings via teleporter, uninstall the DietPi distribution and do a fresh install of the pi-hole.net version from the curl script.

We can't offer support for the DietPi distribution, but we can for the pi-hole.net version.

Okay, I'll give it a try.
Thanks

Okay, using the official install script and a different OS :roll_eyes: later my Pi-Hole seems to be working. :partying_face:
I still like Diet-Pi for it's easy configuration, but there seem to be a few issues, at least on the Tinkerboard.

DietPi is a good distribution, but I really would suggest Armbian as the preferred distribution for non Raspberry Pi boards.

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