Suddenly I am unable to log-in into the Pi-hole WEB Interface, even though my password is correct and I tried with a new password.
Expected Behaviour:
Accessing the WEB-UI Interface should prompt for the log-in password and then allow browsing/customization.
Actual Behaviour:
This is what happens, in particular:
1) Web Admin Interface is active and reachable: when I try to log-in I'm redirected on the Dashboard like I'm not logged in. (fewer data, no lateral menu)
2) If I log-in by CTRL+ENTER then I'm correctly redirected to the Settings panel and the lateral menu shows all the options. But trying to access any other section or simply trying to load the Dashboard leads back to 1)
3) If I disable password for the WEB Interface via "sudo pihole -a -p" command the interface will show all details but I'm unable to apply any change. If I try to edit something (for example: adding a blacklist entry) the following error is displayed: "Session expired! Please re-login on the Pi-hole dashboard."
4) I tried "all the usual suspects": browser, cache, extensions, cookie settings, etc. with no luck. I even uninstalled and re-installed Pi-hole with the same results.
5) I am NOT running Debian Buster. I am NOT using a Raspberry Pi 4.
6) I am using Apache2 as web server instead of lighttpd; I have checked the logs: no errors are reported.
7) I have also noticed that Pi-hole is failing to create the session cookie, either with the "remember me for 7 days" option selected or without it.
8) When logging in via 2) I can see the session timer countdown in the upper right corner menu.
9) I have flushed the logs, nothing changes.
Previous Similar Posts:
I did search before posting this issue, and I found some similar posts but none of the identified cause/problem applies to my situation:
- As per https://discourse.pi-hole.net/t/wont-allow-me-to-login/12218: problem is not the free space.
- As per https://discourse.pi-hole.net/t/pi-hole-interface-is-logging-me-off-directly-after-login/4301/8: the file /etc/pihole/pihole-FTL.db is not present.
- As per https://discourse.pi-hole.net/t/unable-to-login-to-web-interface/10453: not my problem, Pi-hole is accessible without router-based-DNS conflicts.
Debug Token:
https://tricorder.pi-hole.net/rlztbjbe3q
System Details:
Raspbian GNU/Linux 9 (stretch)
Version: 9 (stretch)
Hardware: Raspberry Pi 3 B+