Blank admin page

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

Expected Behaviour:

admin page should show total queries, queries blocked, percent blocked, domains on blacklist with numbers.

Actual Behaviour:

admin page is completely blank of any data. just shows boxes with nothing in them and the top categories show "---"

Debug Token:

_[Replace this text with the debug token provided from running pihole -d (or 0gkcl37icy

Your debug log looks normal. If you have not done so already, flush your browser cache, restart the browser and load the admin page again.

I’ve done that multiple times on chrome on windows. Also tried on safari on iOS 11 (iPad Pro). Problem still occurs. I also have pivpn running on the same pi (not sure if that may be a conflict) both were working seamlessly for a couple months. This has happened before and the only way to fix it was to completely wipe the SD card and start the pi from scratch. Also have done a couple reboots of the pi, problem still persists.

What are the outputs of the following commands:

stat /etc/pihole/pihole-FTL.db

stat /var/log/pihole.log

df -a -h

File: /etc/pihole/pihole-FTL.db

Size: 106024960       Blocks: 207088     IO Block: 4096   regular file

Device: b307h/45831d    Inode: 16142       Links: 1
Access: (0644/-rw-r--r--)  Uid: (  999/  pihole)   Gid: (  996/  pihole)
Access: 2018-06-22 07:17:23.314351430 +0000
Modify: 2018-10-15 19:30:00.145477739 +0000
Change: 2018-10-15 19:30:00.145477739 +0000
Birth: -

File: /var/log/pihole.log

Size: 3067558         Blocks: 6000       IO Block: 4096   regular file
Device: b307h/45831d    Inode: 132555      Links: 1
Access: (0644/-rw-r--r--)  Uid: (  999/  pihole)   Gid: (  996/  pihole)
Access: 2018-10-15 03:20:35.568715227 +0000
Modify: 2018-10-15 19:29:28.935783122 +0000
Change: 2018-10-15 19:29:28.935783122 +0000
Birth: -

What was the df -a -h output?

    Filesystem      Size  Used Avail Use% Mounted on
    /dev/root       5.9G  1.4G  4.2G  25% /
    devtmpfs        213M     0  213M   0% /dev
    sysfs              0     0     0    - /sys
    proc               0     0     0    - /proc
    tmpfs           217M     0  217M   0% /dev/shm
    devpts             0     0     0    - /dev/pts
    tmpfs           217M  3.1M  214M   2% /run
    tmpfs           5.0M  4.0K  5.0M   1% /run/lock
    tmpfs           217M     0  217M   0% /sys/fs/cgroup
    cgroup             0     0     0    - /sys/fs/cgroup/systemd
    cgroup             0     0     0    - /sys/fs/cgroup/cpu,cpuacct
    cgroup             0     0     0    - /sys/fs/cgroup/devices
    cgroup             0     0     0    - /sys/fs/cgroup/net_cls
    cgroup             0     0     0    - /sys/fs/cgroup/blkio
    cgroup             0     0     0    - /sys/fs/cgroup/freezer
    systemd-1          -     -     -    - /proc/sys/fs/binfmt_misc
    sunrpc             0     0     0    - /run/rpc_pipefs
    mqueue             0     0     0    - /dev/mqueue
    debugfs            0     0     0    - /sys/kernel/debug
    configfs           0     0     0    - /sys/kernel/config
    /dev/mmcblk0p6   68M   22M   46M  33% /boot
    tmpfs            44M     0   44M   0% /run/user/999
    binfmt_misc        0     0     0    - /proc/sys/fs/binfmt_misc
    tmpfs            44M     0   44M   0% /run/user/1000

Did the logs show anything?

Your debug log doesn't show any problems. You may have a corrupted database. The commands below will copy your database to a new file and start a new database:

sudo service pihole-FTL stop
sudo mv /etc/pihole/pihole-FTL.db /media/backup/pihole-FTL_$(date +"%m-%y").db
sudo service pihole-FTL start

Apparently I don’t even have a database as this is what came back after running the second command.

mv: cannot move '/etc/pihole/pihole-FTL.db' to '/media/backup/pihole-FTL_10-18.db': No such file or directory

I gave you a bad command for the move (my error).

Run it with this move command:

sudo mv /etc/pihole/pihole-FTL.db /etc/pihole/pihole-FTL-old.db

Even with the new command it gives this back

mv: cannot stat '/etc/pihole/pihole-FTL.db': No such file or directory

Think a clean install might be my only option now?

The file was there before. Check that directory and see if the file exists. If it does, then sudo rm the file and get rid of it. Then restart FTL (the last command of the three above).

If the file is not there, then restart FTL.

Was able to do all the steps and the web interface is still the same. Categories with “- - -“ under each of them.

Are there any errors in the dev console (F12) on the web interface?

2018-10-16%2017_40_51-Pi-hole%20Admin%20Console

its a bunch of lines saying jQuery is not defined. image attached in other comment.

Refresh the page with the dev tools open and check the Network tab for errors. Also, are there any more errors in the console log (above the ones in the screen shot)?

i've decided to just wipe the pi and start from scratch. thanks for all the help

1 Like

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