The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RoundCube: Error 404 since v11.58.0.5

Discussion in 'E-mail Discussions' started by TCB13, Jul 20, 2016.

Tags:
  1. TCB13

    TCB13 Well-Known Member

    Joined:
    Jul 25, 2014
    Messages:
    58
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    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:

    Code:
    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.
     
    #1 TCB13, Jul 20, 2016
    Last edited by a moderator: Jul 20, 2016
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    We ship the Roundcube webmail client as an RPM as of cPanel 58. Please let us know the output from the following commands:

    Code:
    rpm -qa|grep roundcube
    /usr/local/cpanel/scripts/check_cpanel_rpms
    mysqlcheck roundcube
    Thank you.
     
  3. TCB13

    TCB13 Well-Known Member

    Joined:
    Jul 25, 2014
    Messages:
    58
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    So I got this:

    Code:
    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?

    Code:
    [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?

    Code:
    [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.
     
  4. TCB13

    TCB13 Well-Known Member

    Joined:
    Jul 25, 2014
    Messages:
    58
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    UPDATE: Seems like fixing mailman solved the round cube issue... But should I do the check?

    Also, now RPM reports roundcube

    Code:
    rpm -qa|grep roundcube
    
    cpanel-roundcubemail-1.1.4-5.cp1158.noarch
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  6. TCB13

    TCB13 Well-Known Member

    Joined:
    Jul 25, 2014
    Messages:
    58
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    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.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page