[Case 73817] Roundcube not updated

xiaohe

Registered
Mar 6, 2013
4
0
1
cPanel Access Level
Root Administrator
Hi,

I have few servers running cPanel.

I used upcp to update my cPanel, but after updated to the latest version (11.38.15), one of the server, the Roundcube still stays at 0.6.cp11130.2. but other servers automatically updated to 0.8.5.cp4.

I have tried to run upcp again, still remains at version 0.6.

I know can download the latest version of Roundcube from Roundcube website and install it in CentOS by myself, but I am afraid that there might be some conflicts with cPanel settings.

Anyone knows how to update the Roundcube manually through cPanel?

Cheers,
 

xiaohe

Registered
Mar 6, 2013
4
0
1
cPanel Access Level
Root Administrator
I used "/usr/local/cpanel/bin/update-roundcube", but it did not process well, and it failed to update, log shown as below:

[email protected] [/var/cpanel/roundcube]# /usr/local/cpanel/bin/update-roundcube
Roundcube update from 0.6.cp11130.2 to 0.9.1.cp2 in progress.
Roundcube will be locked out during this process.
Updating RoundCube (using cPanel version)
info [update-roundcube] Applied patch '0001-Apply-default-values-for-cPanel-webmail-environment.patch'
patching file config/db.inc.php.dist
patching file config/main.inc.php.dist
info [update-roundcube] Applied patch '0002-inhibit-Roundcube-s-initial-check-for-_token-on-logi.patch'
patching file index.php
info [update-roundcube] Applied patch '0003-closed-or-corrupt-connection-to-IMAP-cases-33678-and.patch'
patching file program/lib/Roundcube/rcube_imap_generic.php
info [update-roundcube] Applied patch '0004-append-INBOX.-to-avoid-UID-COPY-Unknown-namespace-er.patch'
patching file config/main.inc.php.dist
info [update-roundcube] Successfully applied 4 patches
INFO - Applied cPanel patches (if any) to Roundcube source.
Archiving current Roundcube data to /var/cpanel/roundcube/roundcube.backup.sql.1374636064
Roundcube DB successfully archived
-rw------- 1 root root 273602 Jul 24 11:21 /var/cpanel/roundcube/roundcube.backup.sql.1374636064
Cleaning old Roundcube data archives
Removing old backup: roundcube.backup.sql.1371662726
DBD::mysql::st execute failed: Table 'cp_schema_version' already exists at /usr/local/cpanel/Cpanel/Email/RoundCube/DBI.pm line 129.
Unable to create roundcube cp_schema_version table
Database "roundcube" dropped
Restoring previous Roundcube data

Any advises?
 

kdean

Well-Known Member
Oct 19, 2012
406
80
78
Orlando, FL
cPanel Access Level
Root Administrator
I had the same or similar problem recently.

It doesn't seem to deal with roundcube's cp_schema_version table being there already.

I went in with PHPMyAdmin and went to the roundcube database and dropped the cp_schema_version table. It just seems to store the version number and nothing else of importance although I suppose you could rename the table if you don't want to drop it.

Then run the command again:

/usr/local/cpanel/bin/update-roundcube

and it should successfully update to 0.9.1 of Roundcube.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello :)

I am happy to hear the workaround resolved this issue for you. To note, there is an internal case open to address the inability of the Roundcube update script to create the "cp_schema_version" table. For reference, the case number is 73817.

Thank you.