Failed to download updatenow.static from server error

urgido

Well-Known Member
Jul 19, 2005
129
10
168
cPanel Access Level
Root Administrator
Hi,
Here is my log:

Code:
----------------------------------------------------------------------------------------------------
=> Log opened from /usr/local/cpanel/scripts/upcp (10436) at Sat May  5 21:38:00 2018
[2018-05-05 21:38:00 -0500]   Checking that the RPM DB is OK...
[2018-05-05 21:38:00 -0500]   glibc-2.17-196.el7_4.2.x86_64
[2018-05-05 21:38:00 -0500]   OK: RPM DB is responding to queries
[2018-05-05 21:38:00 -0500]   Testing if rpm_is_working RPM is installed
[2018-05-05 21:38:00 -0500]   package rpm_is_working is not installed
[2018-05-05 21:38:00 -0500]   Testing if it's possible to install a simple RPM
[2018-05-05 21:38:00 -0500]   Preparing...                          ########################################
[2018-05-05 21:38:00 -0500]   Updating / installing...
[2018-05-05 21:38:00 -0500]   rpm_is_working-1.0-0                  ########################################
[2018-05-05 21:38:00 -0500]   Detected cron=0 (--force passed on command line)
[2018-05-05 21:38:00 -0500]   Running Standardized hooks
[2018-05-05 21:38:00 -0500]   mtime on upcp is 1521220702 (Fri Mar 16 11:18:22 2018)
----------------------------------------------------------------------------------------------------
=> Log opened from /usr/local/cpanel/scripts/updatenow (10445) at Sat May  5 21:38:01 2018
[2018-05-05 21:38:01 -0500]   Detected version '11.68.0.37' from version file.
[2018-05-05 21:38:01 -0500]   Running version '11.68.0.37' of updatenow.
[2018-05-05 21:38:01 -0500]   --force passed on command line. Upgrade will disregard update config settings.
[2018-05-05 21:38:01 -0500]   Target version set to '11.68.0.38'
[2018-05-05 21:38:01 -0500]   Switching to 11.68.0.38 to determine if we can reach that version without failure.
[2018-05-05 21:38:01 -0500] ***** FATAL: Failed to download updatenow.static from server: Can't use string ("3.004001") as a HASH ref while "strict refs" in use at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 41.
[2018-05-05 21:38:01 -0500]   The Administrator will be notified to review this output when this script completes
=> Log closed Sat May  5 21:38:01 2018
=> Log closed Sat May  5 21:38:01 2018
----------------------------------------------------------------------------------------------------
=> Log opened from /usr/local/cpanel/scripts/maintenance (10449) at Sat May  5 21:38:01 2018
=> Log closed Sat May  5 21:38:01 2018
----------------------------------------------------------------------------------------------------
=> Log opened from cPanel Update (upcp) - Slave (10443) at Sat May  5 21:38:01 2018
[2018-05-05 21:38:01 -0500] E Pre Maintenance ended, however it did not exit cleanly (65280). Please check the logs for an indication of what happened
=> Log closed Sat May  5 21:38:02 2018
[2018-05-05 21:38:02 -0500]   Running Standardized hooks
[2018-05-05 21:38:02 -0500]  
[2018-05-05 21:38:02 -0500]  cPanel update completed
[2018-05-05 21:38:02 -0500]   A log of this update is available at /var/cpanel/updatelogs/update.1525574280.log
[2018-05-05 21:38:02 -0500]   Removing upcp pidfile
[2018-05-05 21:38:02 -0500]  
[2018-05-05 21:38:02 -0500] Completed all updates
=> Log closed Sat May  5 21:38:02 2018
Any clue?
Thanks,
 
Last edited by a moderator:

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
Hello @urgido

Can you tell me what the output of the following is?

Code:
cat /var/cpanel/sysinfo.config
Could you also ensure that there are no issues with the RPM database? You can do this by going to WHM>>Software>>Rebuild RPM Database -> click Proceed

Then attempt to update again.


Thanks!
 

urgido

Well-Known Member
Jul 19, 2005
129
10
168
cPanel Access Level
Root Administrator
I had rebuilding the RPM database many times before come here with no luck.

After two weeks on trying upgrade to latest version finally I got it. How? Well, today I recieved for first time an email from cPanel System regarding that my hostname is wrong so, I proceeding to change it to good but the stranger startsfor the following things:
1.- The hostname never was changed before, the format ever was host.domain.tld
2.- I tried to perform an upgrade using ssh and WHM with no luck, ever the same error.
3.- Yesterday I posted here my problem and today I have the latest version of cPanel (this is the most stranger thing because there is no relation with it)

Is there a way to know what happened exactly?
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
Hello,

You can look in the update logs to compare where it was hanging before at /var/cpanel/updatelogs but without being able to replicate the issue it's pretty difficult to determine what specifically was occurring.