Hello,
We're on the verge of a migration using the live transfer tool.
On the destination server after invoking a transfer session the destination server scans the Source.
After scanning the source server a notification is shown:
Source: “sourceserver.com” Roundcube database type is “mysql” …
Target: “destination.com” Roundcube database type is “sqlite” …
The source server is not running the same Roundcube database type as the target server. cPanel highly recommends that the source server run the same Roundcube database type at least 24 hours to ensure that email accounts using Roundcube will transfer properly.
To address this the documentation suggests:
/usr/local/cpanel/scripts/convert_roundcube_mysql2sqlite
After running the script the following is returned and the conversion fails.
Seems the sql is referencing columns in tables that don't actually exist such as 'user_id'.
I'd be keen to get this sorted before migration if it's actually possible.
Anyone else experienced this and have a solution?
Source server is an old CL6.10 box running MariaDB10.3, cpanel 110.0.5
Thank you.
We're on the verge of a migration using the live transfer tool.
On the destination server after invoking a transfer session the destination server scans the Source.
After scanning the source server a notification is shown:
Source: “sourceserver.com” Roundcube database type is “mysql” …
Target: “destination.com” Roundcube database type is “sqlite” …
The source server is not running the same Roundcube database type as the target server. cPanel highly recommends that the source server run the same Roundcube database type at least 24 hours to ensure that email accounts using Roundcube will transfer properly.
To address this the documentation suggests:
/usr/local/cpanel/scripts/convert_roundcube_mysql2sqlite
After running the script the following is returned and the conversion fails.
Seems the sql is referencing columns in tables that don't actually exist such as 'user_id'.
[2023-05-12 19:34:11 +1000] warn [convert_roundcube_mysql2sqlite] Attempt to find necessary data from calendar_id in ical_calendars failed: Table 'roundcube.ical_calendars' doesn't exist
[2023-05-12 19:34:11 +1000] warn [convert_roundcube_mysql2sqlite] Attempt to find necessary data from calendar_id in caldav_calendars failed: Unknown column 'user_id' in 'where clause'
[2023-05-12 19:34:17 +1000] warn [convert_roundcube_mysql2sqlite] Failed to load xml for caldav_calendars: Document requires an element [Ln: 1, Col: 0]
XML::Simple called at /usr/local/cpanel/scripts/convert_roundcube_mysql2sqlite line 486.
[2023-05-12 19:34:17 +1000] info [convert_roundcube_mysql2sqlite] Conversion of roundcube XML dump to sqlite database failed
[2023-05-12 19:34:17 +1000] warn [convert_roundcube_mysql2sqlite] Conversion was not successful for user 'redacted'.
[2023-05-12 19:35:13 +1000] warn [convert_roundcube_mysql2sqlite] Roundcube Mysql to sqlite conversion was not completely successful.
Please check /usr/local/cpanel/logs/roundcube_sqlite_convert_log for details.
I'd be keen to get this sorted before migration if it's actually possible.
Anyone else experienced this and have a solution?
Source server is an old CL6.10 box running MariaDB10.3, cpanel 110.0.5
Thank you.
Last edited by a moderator: