RoundCube: Error 404 since v11.58.0.5
Hello,
Yesterday there was an upgrade available for WHM, v11.58.0.5. After the upgrade I got multiple customers complaining about RoundCube not working. It gives me 404 accessing directly from it's domain or from cPanel (after user login):
dn.iklive.eu/tcb13/2016/cpanel-rc-error.png
I tired to force an upgrade of RoundCube (because it might fix the issues) and got this error:
Looks like there's a bug in the latest version, any tips on how to fix this? Notes: /usr/local/cpanel/logs/error_log => no logs about this in here. /var/cpanel/roundcube/log/errors => still no errors here. /usr/local/apache/logs/error_log => no errors... Thank you.
mgrpp@svams32 [~]# /usr/local/cpanel/bin/update-roundcube --force
info [update-roundcube] Roundcube update from 1.1.4-5.cp1158 to in progress.
info [update-roundcube] Roundcube will be locked out during this process.
info [update-roundcube] Archiving current Roundcube data to /var/cpanel/roundcube/roundcube.backup.sql.1469023147
info [update-roundcube] Roundcube DB successfully archived
info [update-roundcube] Cleaning old Roundcube data archives
info [update-roundcube] Removing old backup: roundcube.backup.sql.1423616762
info [update-roundcube] Error occurred during upgrade
cpanel-roundcubemail RPM is not installed or there is a problem with it at /usr/local/cpanel/bin/update-roundcube line 349.Looks like there's a bug in the latest version, any tips on how to fix this? Notes: /usr/local/cpanel/logs/error_log => no logs about this in here. /var/cpanel/roundcube/log/errors => still no errors here. /usr/local/apache/logs/error_log => no errors... Thank you.
-
Hello, We ship the Roundcube webmail client as an RPM as of cPanel 58. Please let us know the output from the following commands: rpm -qa|grep roundcube /usr/local/cpanel/scripts/check_cpanel_rpms mysqlcheck roundcube
Thank you.0 -
Hello, We ship the Roundcube webmail client as an RPM as of cPanel 58. Please let us know the output from the following commands:
rpm -qa|grep roundcube /usr/local/cpanel/scripts/check_cpanel_rpms mysqlcheck roundcube
Thank you.
So I got this:mgrpp@svams32 [~]# rpm -qa|grep roundcube mgrpp@svams32 [~]# /usr/local/cpanel/scripts/check_cpanel_rpms [2016-07-20 18:10:57 +0200] [2016-07-20 18:10:57 +0200] Problems were detected with cPanel-provided files which are RPM controlled. [2016-07-20 18:10:57 +0200] If you did not make these changes intentionally, you can correct them by running: [2016-07-20 18:10:57 +0200] [2016-07-20 18:10:57 +0200] > /usr/local/cpanel/scripts/check_cpanel_rpms --fix [2016-07-20 18:10:57 +0200] The following RPMs are missing from your system: [2016-07-20 18:10:57 +0200] cpanel-roundcubemail-1.1.4-5.cp1158 [2016-07-20 18:11:50 +0200] [2016-07-20 18:11:50 +0200] The following files were found to be altered from their original RPM: [2016-07-20 18:11:50 +0200] cpanel-mailman,2.1.21,9.cp1158 [2016-07-20 18:11:50 +0200] Do you want to repair these RPMs?(y/n): y [2016-07-20 18:12:45 +0200] Removing 1 broken rpms: cpanel-mailman-2.1.21-9.cp1158.x86_64 [2016-07-20 18:12:48 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.58/centos/6/x86_64/rpm.sha512 [2016-07-20 18:12:57 +0200] Successfully verified signature for cpanel (key types: release). [2016-07-20 18:12:57 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.58/centos/6/x86_64/cpanel-roundcubemail-1.1.4-5.cp1158.noarch.rpm [2016-07-20 18:12:57 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.58/centos/6/x86_64/cpanel-mailman-2.1.21-9.cp1158.x86_64.rpm [2016-07-20 18:12:59 +0200] Disabling service monitoring. [2016-07-20 18:13:00 +0200] Hooks system enabled. [2016-07-20 18:13:01 +0200] Checking for and running RPM::Versions 'pre' hooks for any RPMs about to be installed [2016-07-20 18:13:01 +0200] All required 'pre' hooks have been run [2016-07-20 18:13:05 +0200] No RPMS need to be uninstalled [2016-07-20 18:13:05 +0200] Installing new rpms: cpanel-mailman-2.1.21-9.cp1158.x86_64.rpm cpanel-roundcubemail-1.1.4-5.cp1158.noarch.rpm [2016-07-20 18:13:05 +0200] A preparar os pacotes para a instala""o... [2016-07-20 18:13:06 +0200] uid=99(nobody) gid=99(nobody) grupos=99(nobody) [2016-07-20 18:13:06 +0200] uid=8(mail) gid=12(mail) grupos=12(mail) [2016-07-20 18:13:06 +0200] usermod: sem altera""es [2016-07-20 18:13:06 +0200] cpanel-mailman-2.1.21-9.cp1158 [2016-07-20 18:13:08 +0200] mailman [2016-07-20 18:13:08 +0200] (XID xbaea3) The "mailman" service is disabled. [2016-07-20 18:13:08 +0200] aviso: %post(cpanel-mailman-2.1.21-9.cp1158.x86_64) scriptlet failed, exit status 2 [2016-07-20 18:13:08 +0200] Archiving current Roundcube data to /var/cpanel/roundcube/roundcube.backup.sql.1469031188 [2016-07-20 18:13:08 +0200] Roundcube DB successfully archived [2016-07-20 18:13:08 +0200] cpanel-roundcubemail-1.1.4-5.cp1158 [2016-07-20 18:13:09 +0200] Roundcube is up to date. Execute '/usr/local/cpanel/bin/update-roundcube --force' to force an update. [2016-07-20 18:13:09 +0200] Hooks system enabled. [2016-07-20 18:13:09 +0200] Checking for and running RPM::Versions 'post' hooks for any RPMs about to be installed [2016-07-20 18:13:09 +0200] All required 'post' hooks have been run [2016-07-20 18:13:09 +0200] Restoring service monitoring. mgrpp@svams32 [~]# mysqlcheck roundcube roundcube.cache OK roundcube.cache_index OK roundcube.cache_messages OK roundcube.cache_shared OK roundcube.cache_thread OK roundcube.contactgroupmembers OK roundcube.contactgroups OK roundcube.contacts OK roundcube.cp_schema_version OK roundcube.dictionary OK roundcube.identities OK roundcube.searches OK roundcube.session OK roundcube.system OK roundcube.users OK
What is this?[2016-07-20 18:13:08 +0200] aviso: %post(cpanel-mailman-2.1.21-9.cp1158.x86_64) scriptlet failed, exit status 2
Should I try to fix round cube?[2016-07-20 18:10:57 +0200] Problems were detected with cPanel-provided files which are RPM controlled. [2016-07-20 18:10:57 +0200] If you did not make these changes intentionally, you can correct them by running: [2016-07-20 18:10:57 +0200] [2016-07-20 18:10:57 +0200] > /usr/local/cpanel/scripts/check_cpanel_rpms --fix [2016-07-20 18:10:57 +0200] The following RPMs are missing from your system: [2016-07-20 18:10:57 +0200] cpanel-roundcubemail-1.1.4-5.cp1158
Thank you.0 -
UPDATE: Seems like fixing mailman solved the round cube issue... But should I do the check? Also, now RPM reports roundcube rpm -qa|grep roundcube cpanel-roundcubemail-1.1.4-5.cp1158.noarch0 -
New UPDATE: Seems like fixing mailman solved the round cube issue... But should I do the check?
Hello, Does "/usr/local/cpanel/scripts/check_cpanel_rpms --fix" now exit cleanly? If so, and if Roundcube loads well, it's safe to assume the issue is resolved. Could you elaborate on the steps you took to address the issue with the Mailman RPM? Thank you.0 -
Yes it does exit cleanly! To fix mailman / round cube, I just had to run /usr/local/cpanel/scripts/check_cpanel_rpms and say "yes" at " Do you want to repair these RPMs?(y/n):". Thank you. 0 -
I'm happy to see the issue is now resolved. Note that case CPANEL-7492 is open to address the issue where disabling mailman service modifies cpanel-mailman RPM. I'll update this thread once that case is resolved. Thank you. 0 -
To update, the internal case referenced in this thread is published in cPanel version 58.0.11: Fixed case CPANEL-7492: Remove mailman RPM permissions & ownership modifications in cP scripts. You can review the full change log at: 58 Change Log - Change Logs - cPanel Documentation Thank you. 0
Please sign in to leave a comment.
Comments
7 comments