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.

Upgrading cPanel 11.25 to 11.56 CentOS 5

Discussion in 'General Discussion' started by orudge, Sep 2, 2016.

Tags:
  1. orudge

    orudge Member

    Joined:
    Oct 31, 2004
    Messages:
    14
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    United Kingdom
    Hi all,

    I've discovered one of our clients is running cPanel in a VPS and that it hasn't been updated since around 2010! It's currently running cPanel 11.25 on CentOS 5. We will likely end up installing a new VPS with CentOS 7 and the latest version of cPanel, but in the mean time I thought I would try to update cPanel so that it is at least current-ish (11.56) - plus we can then use the Transfer Tool to help move across the system configuration.

    However, upcp fails because it's trying to install 11.58 rather than 11.56:

    => Log opened from /usr/local/cpanel/scripts/updatenow.static (11606) at Fri Sep 2 10:17:25 2016
    [2016-09-02 10:17:25 +0000] Detected version '11.25.0-RELEASE_43286' from version file.
    [2016-09-02 10:17:25 +0000] Running version '11.58.0.25' of updatenow.
    [2016-09-02 10:17:25 +0000] Adjusting starting version to 11.28.0.0 to simplify pre 11.30 update
    [2016-09-02 10:17:25 +0000] Using mirror '85.13.201.2' for host 'httpupdate.cpanel.net'.
    [2016-09-02 10:17:25 +0000] Successfully verified signature for cpanel (key types: release).
    [2016-09-02 10:17:25 +0000] Target version set to '11.58.0.25'
    [2016-09-02 10:17:25 +0000] Target version set to '11.30.8.0'
    [2016-09-02 10:17:25 +0000] Switching to version '11.30.8.0' of updatenow to perform sync.
    [2016-09-02 10:17:25 +0000] ***** FATAL: Could not figure out RPM distribution version
    [2016-09-02 10:17:25 +0000] The Administrator will be notified to review this output when this script completes
    [2016-09-02 10:17:25 +0000] ***** FATAL: Failed to download updatenow.static from server: Could not figure out RPM distribution version; The RPM database may be corrupt.
    [2016-09-02 10:17:25 +0000] The Administrator will be notified to review this output when this script completes

    Is there any way of "pinning" the upcp script to 11.56 instead of 11.58, since 11.58 dropped support for CentOS 5?

    Thanks,

    Owen
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    "The RPM database may be corrupt."
    run yum update if you get errors you may need to rebuild the database
    1. Remove RPM’s locks (if present): rm -f /var/lib/rpm/__db*
    2. Rebuild RPM’s database: rpm -vv --rebuilddb
    3. Check if it worked: yum update
     
  3. orudge

    orudge Member

    Joined:
    Oct 31, 2004
    Messages:
    14
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    United Kingdom
    I've set up a new VPS and am in the process of transferring accounts across manually - it's probably easier than trying to upgrade from 11.25 (although it'd be impressive if it could still be done!). A fresh start is likely better anyway.

    Thanks though for the suggestion,

    Owen
     
    Eric likes this.
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    This document is a helpful resource when manually copying accounts:

    How to Manually Transfer an Account Between Servers - cPanel Knowledge Base - cPanel Documentation

    Let us know if you have any trouble with the migration.

    Thanks!
     
Loading...

Share This Page