Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: boxyball on November 13, 2019, 05:11:58 PM

Title: Duplicate entry on session inserts
Post by: boxyball on November 13, 2019, 05:11:58 PM
I just moved roundcube v1.1.4 to a new fedora 30 server roundcube v1.3.10

I brought over the sessions table and that may have been a mistake.

I am seeing occasional Duplicate entry errors in the errors log for two users.

Should I truncate the sessions table during the 3am daily run while html service is turned off?

Is it better to NOT bring over the sessions table on a server move?

Thanks in advance.
Title: Re: Duplicate entry on session inserts
Post by: JohnDoh on November 15, 2019, 05:33:58 AM
PHP garbage collection typically cleans up old session/cache/temp data . May be you have garbage collection disabled in your PHP config? you can run the routine manually with the script [roundcube root]/bin/gc.sh that is shipped with Roundcube.