Dashboard no graphics - new install pihole

Expected Behaviour:

Dashboard graphics and blocked totals
-operating system Buster v10 - only CLI no GUI
-hardware: Pi 3b
-webserver = apache2 / port 8093

Actual Behaviour:

on dashboard page no graphics. The queries on top (green,blue and orange) give no numbers but a - - -

Debug Token:

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

Errors in pihole -d:

*** [ DIAGNOSING ]: Pi-hole processes
[✗] lighttpd daemon is failed
[✓] pihole-FTL daemon is active

*** [ DIAGNOSING ]: Dashboard and block page
[✗] Block page X-Header: X-Header does not match or could not be retrieved.

[✗] Web interface X-Header: X-Header does not match or could not be retrieved.

$ php -v
PHP 7.4.9 (cli) (built: Aug 7 2020 14:55:48) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.9, Copyright (c), by Zend Technologies

Either Apache or nginx on your install is interfering with lighttpd. Neither nginx nor Apache are supported servers, but there are some user solutions posted in Community Help here.

If you look in your log file at /var/log/lighttpd/error.log you will see the following (this is the output I see in your debug log, there may be more in the actual file):

*** [ DIAGNOSING ]: contents of /var/log/lighttpd

-rw-r--r-- 1 www-data www-data 26136 Aug 15 13:08 /var/log/lighttpd/error.log
   2020-08-15 11:07:38: (server.c.1464) server started (lighttpd/1.4.53) 
   2020-08-15 11:08:21: (server.c.958) [note] graceful shutdown started 
   2020-08-15 11:08:21: (server.c.2059) server stopped by UID = 0 PID = 5141 
   2020-08-15 11:08:21: (server.c.1464) server started (lighttpd/1.4.53) 
   2020-08-15 11:08:21: (gw_backend.c.1424) invalid "bin-path" => "/usr/bin/php-cgi" (check that file exists, is regular file, and is executable by lighttpd) 
   2020-08-15 11:08:21: (gw_backend.c.328) child exited: 2 unix:/var/run/lighttpd/php.socket-0 
   2020-08-15 11:08:21: (gw_backend.c.607) gw-backend failed to start: /usr/bin/php-cgi 
   2020-08-15 11:08:21: (gw_backend.c.609) If you're trying to run your app as a FastCGI backend, make sure you're using the FastCGI-enabled version.  If this is PHP on Gentoo, add 'fastcgi' to the USE flags.  If this is PHP, try removing the bytecode caches for now and try again. 
   2020-08-15 11:08:21: (gw_backend.c.1510) [ERROR]: spawning gw failed. 
   2020-08-15 11:08:21: (server.c.1472) Configuration of plugins failed. Going down. 
   2020-08-15 11:08:22: (server.c.1464) server started (lighttpd/1.4.53) 
   2020-08-15 11:08:22: (gw_backend.c.1424) invalid "bin-path" => "/usr/bin/php-cgi" (check that file exists, is regular file, and is executable by lighttpd) 
   2020-08-15 11:08:22: (gw_backend.c.476) unlink /var/run/lighttpd/php.socket-0 after connect failed: Connection refused 
   2020-08-15 11:08:22: (gw_backend.c.328) child exited: 2 unix:/var/run/lighttpd/php.socket-0 
   2020-08-15 11:08:22: (gw_backend.c.607) gw-backend failed to start: /usr/bin/php-cgi 
   2020-08-15 11:08:22: (gw_backend.c.609) If you're trying to run your app as a FastCGI backend, make sure you're using the FastCGI-enabled version.  If this is PHP on Gentoo, add 'fastcgi' to the USE flags.  If this is PHP, try removing the bytecode caches for now and try again. 
   2020-08-15 11:08:22: (gw_backend.c.1510) [ERROR]: spawning gw failed. 
   2020-08-15 11:08:22: (server.c.1472) Configuration of plugins failed. Going down. 
   2020-08-15 11:08:23: (server.c.1464) server started (lighttpd/1.4.53) 
   2020-08-15 11:08:23: (gw_backend.c.1424) invalid "bin-path" => "/usr/bin/php-cgi" (check that file exists, is regular file, and is executable by lighttpd) 
   2020-08-15 11:08:23: (gw_backend.c.476) unlink /var/run/lighttpd/php.socket-0 after connect failed: Connection refused 
   2020-08-15 11:08:23: (gw_backend.c.328) child exited: 2 unix:/var/run/lighttpd/php.socket-0 
   2020-08-15 11:08:23: (gw_backend.c.607) gw-backend failed to start: /usr/bin/php-cgi 
   2020-08-15 11:08:23: (gw_backend.c.609) If you're trying to run your app as a FastCGI backend, make sure you're using the FastCGI-enabled version.  If this is PHP on Gentoo, add 'fastcgi' to the USE flags.  If this is PHP, try removing the bytecode caches for now and try again. 
   2020-08-15 11:08:23: (gw_backend.c.1510) [ERROR]: spawning gw failed.

Thanks!
How can I change it to the lighttpd webserver?

if that is the supported by default I can better use that also in mind for future updates

If you disable (and ideally remove) the other we servers, then you should be able to start lighttpd with

sudo service lighttpd start

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