Expected Behaviour:
browse to http://pihole-02/admin/index.php?login enter the password and click login. Should then be redirected back to main page with additonal menu options down the left side.
Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0-145-generic x86_64)
HP Server Running VSPHERE virtual machines
Actual Behaviour:
sent back to login page. If I press ctrl and enter at login page it looks like it logs in but then when I try to use any of the menu options (IE update gravity lists) it sends me back to login page.
I ran sudo apt-get update which afterwards allowed me to login once and generate the debug log but afterwards the same thing is happening.
I have another pihole which is practically identical and that works fine. I have tried to restart the pihole
On the dashboard page where I would expect to see stats of queries they are just showing -- except for Percent Blocked shows 'Undefined %'
Here a screen shot from the Dashboard
This is a common symptom of a disk filled to the brim. PHP won't be able to store a new session for you so the login can never succeed even if it was successful. Please verify that you have space available, using, e.g. df -h
If you already have the tool ncdu, you can use this to get a nice graphical overview of what is using up the space. If you don't have this too, try the following command:
sudo du -a / 2> /dev/null | sort -n -r | head -n 100
It will scan all files on your system and sort them by size (in bytes). The output will be the largest 100 files (and directories). You can use this to check what you want to delete to make free space. Note that the command may need some time to finish entirely depending on the speed of your disk.
You have a long-term database that is almost 10 GB is size. For an operating system on a 12 GB disk, this is clearly too much.
Suggestion 1: Simply increase the disk size of your virtualization (perfered)
Suggestion 2: Remove the database, restart Pi-hole and set a limit for MAXDBDAYS to something small (maybe 30 days).