Roundcube Community Forum

Release Support => Pending Issues => Topic started by: Ronald75 on March 25, 2024, 03:44:40 AM

Title: DB Error: [1062] Duplicate entry
Post by: Ronald75 on March 25, 2024, 03:44:40 AM
Hi all,

We have recently migrated to a new server (and updated to 1.6.6)

We now see some errors in the Roundcube.log which we are unsure if we need to address these:

Code: [Select]
roundcube[459130]: <nt5d6tbv> DB Error: [1062] Duplicate entry 'nt5d6tbviqkbtsvm63hm712pjp' for key 'session.PRIMARY' (SQL Query: INSERT INTO `session` (`sess_id`, `vars`, `ip`, `changed`) VALUES ('nt5d6tbviqkbtsvm63hm712pjp', 'dGVtcHxiOjE7bGFuZ3VhZ2V8czo1OiJubF9OTCI7', 'ip.ip.ip.ip', now())) in /var/www/webmail.knid.nl/program/lib/Roundcube/rcube_db.php on line 577 (POST /?_task=mail&_action=refresh)
roundcube[459130]: <73pr8snc> DB Error: [1062] Duplicate entry '73pr8sncjuivb0l282l2vs7glk' for key 'session.PRIMARY' (SQL Query: INSERT INTO `session` (`sess_id`, `vars`, `ip`, `changed`) VALUES ('73pr8sncjuivb0l282l2vs7glk', 'dGVtcHxiOjE7bGFuZ3VhZ2V8czo1OiJubF9OTCI7', 'ip.ip.ip.ip', now())) in /var/www/webmail.knid.nl/program/lib/Roundcube/rcube_db.php on line 577 (POST /?_task=mail&_action=refresh)

roundcube[459567]: <cn5ksnph> DB Error: [1062] Duplicate entry 'cn5ksnphs4metkp1n9nrnaq573' for key 'session.PRIMARY' (SQL Query: INSERT INTO `session` (`sess_id`, `vars`, `ip`, `changed`) VALUES ('cn5ksnphs4metkp1n9nrnaq573', 'dGVtcHxiOjE7bGFuZ3VhZ2V8czo1OiJubF9OTCI7', 'ip.ip.ip.ip', now())) in /var/www/webmail.knid.nl/program/lib/Roundcube/rcube_db.php on line 577 (POST /?_task=mail&_action=refresh)


We are unaware if these are causing problems or not as we have not yet received any calls from our users reporting issues.

We are running Roundcube on Ubuntu 22.04 with apache2