Roundcube Community Forum

 

Error: Your session is invalid or expired after backup-restore

Started by chryzo, August 28, 2024, 03:34:13 PM

Previous topic - Next topic

chryzo

After restoring Roundcube installation from backup, I keep getting "Your session is invalid or expired" after logging in.
Checking roundcube/log/error.log I see:

[28-Aug-2024 00:54:29 +0000]: <tgfufuf8> DB Error: [1062] Duplicate entry 'tgfufuf8ba7t0leo27tntmanlu' for key 'PRIMARY' (SQL Query: INSERT INTO `session` (`sess_id`, `vars`, `ip`, `changed`) VALUES ('tgfufuf8ba7t0leo27tntmanlu', 'bGFuZ3VhZ2V8czo1OiJlbl9VUyI7dGVtcHxiOjE7', '162.158.222.84', now())) in /var/www/html/roundcube/program/lib/Roundcube/rcube_db.php on line 577 (GET /?_task=mail&_action=list&_refresh=1&_layout=widescreen&_mbox=INBOX&_page=&_remote=1&_unlock=loading1724806468569&_=1724806468541)
I tried to manually truncate the session table, but the error is still there. Any tips to further troubleshoot or better fix this problem?