Ads are still being blocked, but I can't access the GUI anymore. I have rebooted the pihole twice, but instead of the GUI I just get this text displayed...
I also just updated and ran a repair, but nothing changed. In Chrome I get this...
<?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.php";
require_once("scripts/pi-hole/php/gravity.php");
function getinterval()
{
global $piholeFTLConf;
if(isset($piholeFTLConf["MAXLOGAGE"]))
{
return round(floatval($piholeFTLConf["MAXLOGAGE"]), 1);
}
else
{
return "24";
}
}
?>
Total queries (- clients)
---
Queries Blocked
---
Percent Blocked
---
Domains on Blocklist
---
Queries over last <?php echo getinterval(); ?> hours
<?php
// If the user is logged in, then we show the more detailed index page.
// Even if we would include them here anyhow, there would be nothing to
// show since the API will respect the privacy of the user if he defines
// a password
if($auth){ ?>
Clients (over time)
Query Types
Queries answered by
<?php
// Determine if "Query Types (over time)" should be shown
$queryTypesOverTime = false;
if(isset($setupVars['DASHBOARD_SHOW_QUERY_TYPES_OVER_TIME']))
{
if($setupVars['DASHBOARD_SHOW_QUERY_TYPES_OVER_TIME'])
{
$queryTypesOverTime = true;
}
}
// Determine if "Forward Destinations (over time)" should be shown
$forwardDestsOverTime = false;
if(isset($setupVars['DASHBOARD_SHOW_FORWARD_DESTS_OVER_TIME']))
{
if($setupVars['DASHBOARD_SHOW_FORWARD_DESTS_OVER_TIME'])
{
$forwardDestsOverTime = true;
}
}
?>
I see you have lighttpd installed and using port 80 but your header is identifying it as apache (maybe some leftovers from a previous apache install?)
*** [ 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: Wed, 24 Apr 2019 18:03:34 GMT
Server: Apache/2.4.25 (Debian)
Last-Modified: Sat, 02 Feb 2019 11:08:52 GMT
[✗] Web interface X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 200 OK
Date: Wed, 24 Apr 2019 18:03:34 GMT
Server: Apache/2.4.25 (Debian)
Last-Modified: Mon, 04 Feb 2019 03:16:48 GMT
You also seem to have several errors in your /etc/pihole/setupVars.conf
Thanks. Any suggestions on how to resolve these issues? I would've thought running a repair would do the trick. Also, why was it working fine before for months and then all-of-a-sudden stop working?