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

Nirjonadda

Well-Known Member
May 8, 2013
752
28
78
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
 

rpvw

Well-Known Member
Jul 18, 2013
1,100
472
113
UK
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.
 
  • Like
Reactions: cPanelLauren

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
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!
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
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!
 

Nirjonadda

Well-Known Member
May 8, 2013
752
28
78
cPanel Access Level
Root Administrator
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!
Output is

Code:
[[email protected] ~]# cat /etc/cpupdate.conf
CPANEL=11.current
RPMUP=daily
SARULESUP=daily
STAGING_DIR=/usr/local/cpanel
UPDATES=daily
[[email protected] ~]#
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
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!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

To update, this was fixed in cPanel & WHM version 72:

Fixed case CPANEL-21254: Ensure saving named tiers in update preferences doesn't misconfigure update settings.

The case was also published to cPanel & WHM version 70.

Thanks!