Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED cPanel update says completed, then says cannot update

Discussion in 'General Discussion' started by mvandemar, Jul 4, 2018.

Tags:
  1. mvandemar

    mvandemar Well-Known Member

    Joined:
    Jun 17, 2006
    Messages:
    52
    Likes Received:
    1
    Trophy Points:
    158
    I just ran the updates on my client's cpanel, but I am not understanding the last few lines of the output:

    Code:
    [2018-07-04 02:31:42 -0400]   Processing: Updating plugins data cache
    [2018-07-04 02:31:42 -0400]    - Processing command `/usr/local/cpanel/bin/refresh_plugin_cache`
    [2018-07-04 02:31:43 -0400]    - Finished command `/usr/local/cpanel/bin/refresh_plugin_cache` in 0.412 seconds
    [2018-07-04 02:31:43 -0400]   95% complete
    => Log closed Wed Jul  4 02:31:43 2018
    ----------------------------------------------------------------------------------------------------
    => Log opened from cPanel Update (upcp) - Slave (22032) at Wed Jul  4 02:31:43 2018
    [2018-07-04 02:31:43 -0400]   Pre Maintenance completed successfully
    [2018-07-04 02:31:46 -0400]   95% complete
    [2018-07-04 02:31:46 -0400]   Running Standardized hooks
    [2018-07-04 02:31:46 -0400]   100% complete
    [2018-07-04 02:31:46 -0400]   
    [2018-07-04 02:31:46 -0400]    cPanel update completed
    [2018-07-04 02:31:46 -0400]   A log of this update is available at /var/cpanel/updatelogs/update.1530684687.log
    [2018-07-04 02:31:46 -0400]   Removing upcp pidfile
    [2018-07-04 02:31:46 -0400] W NOTE: A system upgrade was not possible due to the following blockers:
    [2018-07-04 02:31:46 -0400] W [FATAL] - Downgrades to a previous major release are not permitted.
    => Log closed Wed Jul  4 02:31:46 2018
    
    Why would it tell me that I can't downgrade when I was trying to run updates? Did it finish successfully, or did the update ultimately fail? Any idea why it would be trying to downgrade? The cpanel version is 70.0.51. Thanks.

    -Michael
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,813
    Likes Received:
    84
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    1,783
    Likes Received:
    132
    Trophy Points:
    118
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @mvandemar

    This just indicates that maintenance completed and then when attempting to update the update failed because it believes you're trying to downgrade. Can you tell me what is present in the following:

    Code:
    cat /etc/cpupdate.conf
    and what the output is when you run:

    Code:
    cat /usr/local/cpanel/version
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. mvandemar

    mvandemar Well-Known Member

    Joined:
    Jun 17, 2006
    Messages:
    52
    Likes Received:
    1
    Trophy Points:
    158
    @cPanelLauren thank you, output below:

    Code:
    # cat /etc/cpupdate.conf
    CPANEL=11.68
    RPMUP=daily
    SARULESUP=daily
    STAGING_DIR=/usr/local/cpanel
    UPDATES=daily
    Code:
    # cat /usr/local/cpanel/version
    11.70.0.51
    Looks like they don't match, would that be the issue? The version displayed in whm is the second one.

    Edit: The client just got an email this morning that said this, not sure if it's related or not:

    Code:
    warning: erase unlink of /lib/modules/2.6.32-696.18.7.el6.x86_64/modules.order failed: No such file or directory
    warning: erase unlink of /lib/modules/2.6.32-696.18.7.el6.x86_64/modules.networking failed: No such file or directory
    warning: erase unlink of /lib/modules/2.6.32-696.18.7.el6.x86_64/modules.modesetting failed: No such file or directory
    warning: erase unlink of /lib/modules/2.6.32-696.18.7.el6.x86_64/modules.drm failed: No such file or directory
    warning: erase unlink of /lib/modules/2.6.32-696.18.7.el6.x86_64/modules.block failed: No such file or directory
    Just including in case it helps diagnose.

    -Michael
     
  5. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    1,783
    Likes Received:
    132
    Trophy Points:
    118
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @mvandemar

    Yea you're running version 70 of cPanel but the update is trying to move you to version 68 per the cpupdate.conf. If you want to update to the RELEASE version of cPanel automatically from here on you can just modify the CPANEL line of the cpupdate.conf to display as follows:
    Code:
    CPANEL=release
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. mvandemar

    mvandemar Well-Known Member

    Joined:
    Jun 17, 2006
    Messages:
    52
    Likes Received:
    1
    Trophy Points:
    158
    Looks like it worked, thanks!

    Code:
    => Log opened from /usr/local/cpanel/scripts/updatenow (22104) at Wed Jul  4 15:56:55 2018
    [2018-07-04 15:56:55 -0400]   Detected version '11.72.0.7' from version file.
    [2018-07-04 15:56:55 -0400]   Running version '11.72.0.7' of updatenow.
    [2018-07-04 15:56:55 -0400]   Target version set to '11.72.0.7'
    [2018-07-04 15:56:55 -0400]   Up to date (11.72.0.7)
    => Log closed Wed Jul  4 15:56:55 2018
    ----------------------------------------------------------------------------------------------------
    => Log opened from cPanel Update (upcp) - Slave (19324) at Wed Jul  4 15:56:55 2018
    [2018-07-04 15:56:56 -0400]   95% complete
    [2018-07-04 15:56:56 -0400]   Running Standardized hooks
    [2018-07-04 15:56:56 -0400]   100% complete
    [2018-07-04 15:56:56 -0400]   
    [2018-07-04 15:56:56 -0400]    cPanel update completed
    [2018-07-04 15:56:56 -0400]   A log of this update is available at /var/cpanel/updatelogs/update.1530733026.log
    [2018-07-04 15:56:56 -0400]   Removing upcp pidfile
    [2018-07-04 15:56:56 -0400]   
    [2018-07-04 15:56:56 -0400] Completed all updates
    => Log closed Wed Jul  4 15:56:56 2018
    -Michael
     
  7. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    1,783
    Likes Received:
    132
    Trophy Points:
    118
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi Michael,


    Great to hear! Thanks for letting us know and I'm glad it's all sorted for you now ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice