Pihole is working properly but dashboard is empty

Hello everyone,

Expected Behaviour:

Dashboard should be filled with graphs and other datas regarding my pihole activity.

  • Debian 11
  • Pihole 5.9
  • FTL 5.14

Actual Behaviour:

Dasboard is complety empty.

But i precise that pihole is working well. If i go to query log, i can see all the recorded activity with the blocked request and everything.

Debug Token:

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

It's not possible to know what's happening on your system using the information on the debug log, since you are using a custom installation.

The web interface is not installed on the default location (your debug log says it's not installed):

*** [ DIAGNOSING ]: Web version
Directory /var/www/html/admin doesn't exist

Also, you are not using the default webserver (lighttpd) and there are no logs. You are using Apache.

*** [ DIAGNOSING ]: contents of /etc/lighttpd
/etc/lighttpd does not exist.


*** [ DIAGNOSING ]: contents of /var/log/lighttpd
/var/log/lighttpd does not exist.

I moved this topic to Community Help since you are using a non-standard install.

Search the Community Help category for Apache and you will find a number of posts on how to make it work with Pi-hole.

My pihole was working well for more than a year with apache. Dashboard and everything worked perfectly during this period until now.
This problem happened only since few days.

Run pihole -r and select the repair option.

Here is the output of the repair option :slight_smile:

[✓] Update local cache of available packages
[i] Existing PHP installation detected : PHP version 8.1.14

[✓] Checking apt-get for upgraded packages... up to date!

[i] Checking for / installing Required dependencies for OS Check...
[✓] Checking for grep
[✓] Checking for dnsutils

[✓] Supported OS detected
[i] Checking for / installing Required dependencies for this install script...
[✓] Checking for git
[✓] Checking for iproute2
[✓] Checking for whiptail
[✓] Checking for ca-certificates

[i] SELinux not detected
[i] Repair option selected
[i] Performing reconfiguration, skipping download of local repos
[✓] Resetting repository within /etc/.pihole...
Unable to reset /var/www/html/admin, exiting installer

Still don't have any data on my dashboard

Thanks in advance for your help

Your debug log shows this message:

*** [ DIAGNOSING ]: Web version
Directory /var/www/html/admin doesn't exist

This means there is no web interface installed on the directory used by Pi-hole.

You probably installed it on a different path, but there is no way to know what is wrong. We can even tell which web interface version you are using.

Edit:

Try to create the directory using mkdir /var/www/html/admin/ and try pihole -r again.

The directory used by Pi-hole is is var/www/pihole.

Maybe it's part of the problem ?

Maybe it's part of the problem ?

Most likely.

Pi-hole installer expects the web interface is installed on /var/www/html/admin/.

If you changed this, the Debug Log won't find the web interface, but is not a big issue.

The problem here is:
you are trying to repair your custom installation using pihole -r, but this command expects to find a directory /var/www/html/admin/ and the path doesn't exist.

I don't know why, but I saw you are using older versions of every Pi-hole component:

  • Pi-hole core: v5.9 (current is v5.14.2)
  • FTL: v5.14 (current is v5.20)
  • Web interface: unknown (current is v5.18)

My suggestion is to reinstall Pi-hole to use the current versions. I think you can keep the web interface on /var/www/html/admin/ and change Apache config.

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