Updates disabled via cron because they are set to “manual”

Archmactrix

Well-Known Member
Jan 20, 2012
138
2
68
cPanel Access Level
Root Administrator
I see there is a new major new Release version (11.56.0.8) that I want to upgrade to, from Release 11.54.0.21, but running the /usr/local/cpanel/scripts/upcp doesn't do that even though WHM says it's available.

Do I have to upgrade using 'Upgrade to Latest Version' in WHM instead of running the update script manually?

Update: I'm running this as root of course

The new update log:

Code:
[2016-04-27 11:28:30 +0000]   Detected version '11.54.0.21' from version file.
[2016-04-27 11:28:30 +0000]   Running version '11.54.0.21' of updatenow.
[2016-04-27 11:28:30 +0000]   cPanel & WHM updates are disabled via cron because they are set to “manual” in /etc/cpupdate.conf
[2016-04-27 11:28:30 +0000]   No sync will occur.
 
Last edited:

Archmactrix

Well-Known Member
Jan 20, 2012
138
2
68
cPanel Access Level
Root Administrator
This is the end of the output from a second attempt:

Code:
Log opened from cPanel Update (upcp) - Slave (26893) at Wed Apr 27 12:47:48 2016
[2016-04-27 12:47:48 +0000]   Maintenance completed successfully
[2016-04-27 12:47:49 +0000]   95% complete
[2016-04-27 12:47:49 +0000]   Running Standardized hooks
[2016-04-27 12:47:49 +0000]   100% complete
[2016-04-27 12:47:49 +0000]
[2016-04-27 12:47:49 +0000]     cPanel update completed
[2016-04-27 12:47:49 +0000]   A log of this update is available at /var/cpanel/updatelogs/update.1461761093.log
[2016-04-27 12:47:49 +0000]   Removing upcp pidfile
[2016-04-27 12:47:49 +0000]
[2016-04-27 12:47:49 +0000] Completed all updates
=> Log closed Wed Apr 27 12:47:49 2016
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
I see there is a new major new Release version (11.56.0.8) that I want to upgrade to, from Release 11.54.0.21
Hello :)

You encountered a bug associated with the "UPDATES=manual" entry in the /etc/cpupdate.conf file. This is equivalent to setting "Daily Updates" to "Manual Updates Only" in "WHM >> Server Configuration >> Update Preferences". The issue was resolved in cPanel version 54.0.22, which is build newer than what you were using:

Fixed case CPANEL-4439: Fixed terminal detection for manual /scripts/upcp runs.

You can workaround the issue by forcing an update of cPanel with the following command:

Code:
/scripts/upcp --force
Thank you.
 
  • Like
Reactions: Archmactrix