Roundcube completely missing. How to re-install

kenrbnsn

Active Member
Feb 27, 2002
36
1
308
Hillsborough, NJ, USA
On my system, CENTOS 6.2 x86_64 virtuozzo – WHM 11.34.1, roundcube is completely missing.

Code:
# ls -l /usr/local/cpanel/base/3rdparty/roundcube
/bin/ls: cannot access /usr/local/cpanel/base/3rdparty/roundcube: No such file or directory
How do I get it back?

Code:
update-roundcube --force
doesn't work, since it's not there to be updated.

I don't see a RPM for it either. There must be some way to get this application back.

Ken Robinson
 

MilesWeb

Well-Known Member
PartnerNOC
May 23, 2012
173
2
68
India
cPanel Access Level
Root Administrator
Twitter
Hi Ken.. An other alternative is, login to WHM as root and acces Server Configuration » Tweak Settings. Find for the option "Enable RoundCube webmail". Try setting it to Off and On. See if that works.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,910
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
Hello :)

Yes, it's likely Roundcube is not enabled. Please ensure it's "ON" under the "Mail" tab in:

"WHM Home » Server Configuration » Tweak Settings"

Thank you.
 

kenrbnsn

Active Member
Feb 27, 2002
36
1
308
Hillsborough, NJ, USA
Here are the results of doing /usr/local/cpanel/bin/update-roundcube --force

Code:
# /usr/local/cpanel/bin/update-roundcube --force
Roundcube update from 0.8.4.cp1 to 0.8.4.cp1 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
patching file index.php
patching file program/include/rcube_imap.php
patching file program/include/rcube_imap_generic.php
warn [update-roundcube] Error applying patch '0001-cPanel-defaults.patch'
patching file config/db.inc.php.dist
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file config/db.inc.php.dist.rej
patching file config/main.inc.php.dist
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
9 out of 9 hunks ignored -- saving rejects to file config/main.inc.php.dist.rej
patching file index.php
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file index.php.rej
patching file program/include/rcube_imap.php
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file program/include/rcube_imap.php.rej
patching file program/include/rcube_imap_generic.php
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file program/include/rcube_imap_generic.php.rej
FAIL - cPanel patch for Roundcube did not apply cleanly.
Archiving current Roundcube data to /var/cpanel/roundcube/roundcube.backup.sql.1358259308
Roundcube DB successfully archived
-rw------- 1 root root 18461 Jan 15 09:15 /var/cpanel/roundcube/roundcube.backup.sql.1358259308
Cleaning old Roundcube data archives
Removing old backup: roundcube.backup.sql.1338874648
Schema update to 0.8.4 was successful
chown: cannot access `/usr/local/cpanel/src/3rdparty/gpl/roundcube/config/main.inc.php': No such file or directory
chown: cannot access `/usr/local/cpanel/src/3rdparty/gpl/roundcube/config/db.inc.php': No such file or directory
Failed to untar Roundcube sources.
As you can see, it didn't work.

Ken