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!

Pending Publication [CPANEL-21254] cPanel version change from “11.72.0.3” to “” failed during updatenow

Discussion in 'General Discussion' started by Nirjonadda, Jun 15, 2018.

  1. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    599
    Likes Received:
    15
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    I am getting email about cPanel version change from “11.72.0.3” to “” failed during updatenow

    Also why CURRENT Tier are not marked by dot?

    ScreenShot00021.png

    The system detected an error during the cPanel & WHM version change from “11.72.0.3” to “”, which prevented the updatenow process from completing normally.

    Code:
    Review the attached log for further details.
    ----------------------------------------------------------------------------------------------------
    => Log opened from /usr/local/cpanel/scripts/updatenow (4699) at Fri Jun 15 05:27:05 2018
    [2018-06-15 05:27:05 +0600] Detected version '11.72.0.3' from version file.
    [2018-06-15 05:27:05 +0600] Running version '11.72.0.3' of updatenow.
    [2018-06-15 05:27:13 +0600] ***** FATAL: The version for tier '11.current' is not defined!
    [2018-06-15 05:27:13 +0600] The Administrator will be notified to review this output when this script completes
    => Log closed Fri Jun 15 05:27:13 2018
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    781
    Likes Received:
    275
    Trophy Points:
    113
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    I should imagine the update failed because it thinks you want to downgrade to the LTS tier.

    It clearly shows that the Installed Version you have is 72.0.3 but the Current Tier is lts

    How your system ended up with the current tier as lts is a mystery. I would have thought that the system would not have allowed the selection of something that represented a downgrade, so maybe your update preferences file has become corrupted somehow.

    You might like to review The cPanel Update Configuration File - cpupdate.conf - Version 70 Documentation - cPanel Documentation to see if there is anything there that might help you.

    You could try and manually select the CURRENT (and save) and run upcp again and see what happens - or wait till Monday for an answer from cPanel staff.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelLauren likes this.
  3. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,755
    Likes Received:
    187
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello,


    As described by @rpvw this is occurring because you're running 72.0.3 and it appears you may be trying to downgrade. In the update logs at /var/cpanel/updatelogs/ it should let you know the specific error that was causing the update to fail as well.


    I do want to point out that there is no supported way to downgrade cPanel.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    599
    Likes Received:
    15
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    I haven't doing downgrading. This e-mail from cron update cpanel.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,755
    Likes Received:
    187
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    HI @Nirjonadda

    Can you please check /var/cpanel/updatelogs/ for the last update which should detail in the log why the update failed.


    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,755
    Likes Received:
    187
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @Nirjonadda

    An internal case was just filed that I believe matches the description of your issue. CPANEL-21254 - Saving CURRENT in Update Preferences is placing an invalid tier in /etc/cpupdate.conf

    Can you run the following so I can see if it matches the case?

    Code:
    cat /etc/cpupdate.conf
    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    599
    Likes Received:
    15
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    Output is

    Code:
    [root@ra ~]# cat /etc/cpupdate.conf
    CPANEL=11.current
    RPMUP=daily
    SARULESUP=daily
    STAGING_DIR=/usr/local/cpanel
    UPDATES=daily
    [root@ra ~]#
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,755
    Likes Received:
    187
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @Nirjonadda

    Based on that output, specifically the line:

    Code:
    CPANEL=11.current
    
    This is definitely related to the internal case. The workaround for this until its resolved (which should be really soon) is to manually edit /etc/cpupdate.conf and change the line to:

    Code:
    CPANEL=current
    I'll also update here when the issue is resolved.

    Thanks!
     
    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