Plesk

Cannot access phpmyadmin: Error: Failed to store CSRF token in session! Probably sessions are not working properly

Symptoms

Cause

The phpMyAdmin database was corrupted before the upgrade and phpMyAdmin was not correctly updated.

Resolution

Re-install phpMyadmin using steps from How to reinstall phpMyAdmin in Plesk

Note: In case the reinstallation does not recreate the phpMyAdmin database, it is because of the component timestamp on /var/lib/plesk/components-configuration-state.db. Make sure to remove it:

# sed -i '/^phpmyadmin/d' /var/lib/plesk/components-configuration-state.db

Exit mobile version