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:
Access web interface
Actual Behaviour:
Web page looks different and doesn't allow me to manage anything
Can you describe in what way it looks different (different to how you've previously seen it working okay?) and in what way can you not manage anything?
It might be worth closing all browser windows and tabs, and then in a fresh tab clearing your cache and cookies (probably somewhere in History menu or similar). This will close all sessions in everything so you'll need to log in to things again, including the Pi-hole.
Does that allow it to load correctly? If not, what browser is it – it will have a "developer console" which can be useful to see what's not loading correctly. And can you try another browser if you have one, maybe on a different device.
<?php
/* Pi-hole: A black hole for Internet advertisements
* (c) 2017 Pi-hole, LLC (https://pi-hole.net)
* Network-wide ad blocking via your own hardware.
*
* This file is copyright under the latest version of the EUPL.
* Please see LICENSE file for your rights under this license.
*/
$indexpage = true;
require 'scripts/pi-hole/php/header_authenticated.php';
require_once 'scripts/pi-hole/php/gravity.php';
?>
You are running the Apache web server, not the shipped lighttpd.
As long as Apache is on port 80, lighttpd cannot bind to that port and won't run.
[✗] tcp:*:80 is in use by apache2 (https://docs.pi-hole.net/main/prerequisites/#ports)
*** [ DIAGNOSING ]: Dashboard headers
[✗] Web interface X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 200 OK
Date: Tue, 20 Dec 2022 15:11:44 GMT
Server: Apache/2.4.54 (Debian)
Last-Modified: Wed, 23 Nov 2022 12:54:47 GMT
ETag: "2886-5ee22cb16b951"
Accept-Ranges: bytes
Content-Length: 10374