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.

11.34.1.11 RoundCube error 404

Discussion in 'E-mail Discussions' started by g_rar, Feb 26, 2013.

  1. g_rar

    g_rar Registered

    Joined:
    Feb 26, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    After the last autoupdate roundcube stopped working giving a 404 error. Squirrel mail and horde are OK.

    I've tried to force update CPanel and Roundcube with no luck.

    This is what prints a roundcube force update:
    Code:
    # /usr/local/cpanel/bin/update-roundcube --force
    Roundcube update from 0.8.5.cp1 to 0.8.5.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
    info [update-roundcube] Applied patch '0002-append-INBOX.-to-avoid-UID-COPY-Unknown-namespace-er.patch'
    patching file config/main.inc.php.dist
    info [update-roundcube] Applied patch '0003-User-can-select-a-different-skin-when-its-choice-is-.patch'
    patching file program/include/rcube_template.php
    info [update-roundcube] Applied patch '0003-provide-support-url.patch'
    patching file config/main.inc.php.dist
    warn [update-roundcube] Error applying patch '0004-Fix-focus-issue-in-IE-when-selecting-message-row.patch'
    patching file program/js/list.js
    Hunk #1 FAILED at 4.
    1 out of 1 hunk FAILED -- saving rejects to file program/js/list.js.rej
    FAIL - cPanel patch for Roundcube did not apply cleanly.
    Archiving current Roundcube data to /var/cpanel/roundcube/roundcube.backup.sql.1361904299
    Roundcube DB successfully archived
    -rw------- 1 root root 59959 Feb 26 19:44 /var/cpanel/roundcube/roundcube.backup.sql.1361904299
    Cleaning old Roundcube data archives
    Removing old backup: roundcube.backup.sql.1361889854
    Schema update to 0.8.5 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.
    
    Any clue on what's gone wrong?

    TY
     
    #1 g_rar, Feb 26, 2013
    Last edited: Feb 26, 2013
  2. ukcloudhost

    ukcloudhost Registered

    Joined:
    Feb 27, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    Also seeing the same issue, tried all the usual commands.
     
  3. ruzbehraja

    ruzbehraja Well-Known Member

    Joined:
    May 19, 2011
    Messages:
    383
    Likes Received:
    7
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Force a cpanel update with:

     
  4. ukcloudhost

    ukcloudhost Registered

    Joined:
    Feb 27, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    That doesn't fix it on its own but here is what does....

     
  5. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Correction:
    We used to distribute those patches, several years ago. It appears there is a bug(?) in the update system that doesn't remove files that should be removed. Manually removing them (e.g. rm -rf /usr/local/cpanel/src/3rdparty/gpl/patches/roundcube) is a viable work around at this time.
     
    #5 cPanelKenneth, Feb 27, 2013
    Last edited: Feb 27, 2013
  6. atoomic

    atoomic Registered

    Joined:
    Feb 8, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    it looks like that you have an extra patch on your server which should have been deleted during the upgrade: '0004-Fix-focus-issue-in-IE-when-selecting-message-row.patch'

    Delete that patch :
    > rm -f /usr/local/cpanel/src/3rdparty/gpl/patches/roundcube/0004-Fix*
    then reinstall roundcube
    > /usr/local/cpanel/bin/update-roundcube --force
     
  7. g_rar

    g_rar Registered

    Joined:
    Feb 26, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thank you, after removing all the patches and forcing an update is working again.

    Additional information: This server is 4 month old and was installed from scratch. If those patches I had where several years old, some recent update may have fetched them.



    Thank you, didn't try this method but should work too. Patch 0004 was giving error, but the update was also applying two 0003 patches. I don't know if it's the normal behaviour...
     
    #7 g_rar, Feb 27, 2013
    Last edited: Feb 27, 2013
Loading...

Share This Page