Can't login to Web Interface anymore

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

Expected Behaviour:

I recently installed Pihole on a Raspberry Pi that runs Ubuntu 24.04.2 LTS. The install went smooth and the system is/was running just as it should. The version installed and running is:

Core version is v6.0.5 (Latest: v6.0.5)
Web version is v6.0.2 (Latest: v6.0.2)
FTL version is v6.0.4 (Latest: v6.0.4)

Since yesterday I can't login to the webinterface anymore. I see the login screen, but when I type in the password and hit enter, I just get back to the same login page again. I did flush the cache and cookies, but that didn't help. When I check the console, I get a 401 (Unauthorized) error.

To make sure I do have the correct password, I did reset the password via the console, but that didn't help either.

[EDIT:] I did try different browsers and different computers to access the webinterface, but I get the same problem on all of them

How can I make the web interface working again?

Debug Token:

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

Ok, so I just figured out, if I use http://pihole/admin I can login, but if I try to login using the ip-address http://192.168.0.3/admin it does not work.
How can I use the IP address to login as well?

what IP address is associate with 'pihole' when u run a command nslookup pihole? Does it match with 192.168.0.3?

Yes, it points to 192.168.0.3.

C:\Users\user>nslookup pihole
Server:  pi.hole
Address:  192.168.0.3

Name:    pihole
Addresses:  fe80::e65f:1ff:fe25:9574
          192.168.0.3

What happens exactly?
Do you see any error message on the browser? or on the browser Console (devtools)?

No error in the browser itself. In the console it says:

Failed to load resource: the server responded with a status of 401 (Unauthorized) When clicking on the provided link /api/auth:1 it says:

{"session":{"valid":false,"totp":false,"sid":null,"validity":-1,"message":"no SID provided"},"took":0.00020170211791992188}

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