Wrong token! Please re-login on the Pi-hole dashboard

Hello the community,

I need your help

The issue I am facing:
I am facing several issue, I think that there are related.

  • I can't modify the parameter in the web view. If i try to add a whitelist domain for example, i receive the error "Wrong token! Please re-login on the Pi-hole dashboard"

  • I can't disable pi-hole from the web view.

  • Login is looping on the dashboard until i check the "Remember me 7 days". If i don't check this, when i try to logging, i do back to the dashboard view

Details about my system:
Debian 10 with PHP and Apache2 on a home dedicated server (Laptop 10 years old, 8Go Ram, 460Go free on the disk)

What I have changed since installing Pi-hole:

Migration from PHP 7.4 to PHP8.0
It was working on PHP7.4.

It looks like a file permissions but i have try anything I know:
i try this FAQ Installing Pi-hole on Existing Apache Server
this : Wrong token! Please re-login on the Pi-hole dashboard
this one also : Wrong token! Please re-login on the Pi-hole dashboard.
I try on my phone with the web interface and i have the same issue.
I try with an android apps, and it is working fine.

Here is my debug token : https://tricorder.pi-hole.net/ik0szdg0br

Edit: It seems that it was cause by php8.0.
I switch back to php 7.4 and it working again

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