- Plesk Obsidian for Linux
Unable to access phpMyAdmin after Plesk update to 18.0.30 or higher version:
CONFIG_TEXT: Error: Failed to store CSRF token in session! Probably sessions are not working properly
/usr/local/psa/phpMyAdmin/config.plesk.phpdoes not exist on the server:
# ll /usr/local/psa/phpMyAdmin/config.plesk.php
ls: cannot access /usr/local/psa/phpMyAdmin/config.plesk.php: No such file or directory
- Information about failed phpMyAdmin can be found in
CONFIG_TEXT: rpm scriptlet: ***** upgrade problem report *****
rpm scriptlet: ERROR while trying to execute SQL query, the query was: RENAME TABLE phpmyadmin_PiPsuNrJhtKG.pma_bookmark TO phpmyadmin.pma__bookmark
The phpMyAdmin database was corrupted before the upgrade and phpMyAdmin was not correctly updated.
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
Please sign in to leave a comment.