The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cPanel update failure during updatenow

Discussion in 'General Discussion' started by Bloke2, Jun 22, 2015.

  1. Bloke2

    Bloke2 Active Member

    Joined:
    Feb 4, 2015
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Today I got 5 email notices that updates failed. There are many lines referring to E File was unexpectedly missing while downloading “/cpanelsync/11.50.0.12/cpanel/etc/icontact_templates/Backup/Delayed.html.tmpl” to “/usr/local/cpanel/etc/icontact_templates/Backup-cpanelsync/Delayed.html.tmpl-cpanelsync
     
  2. swatkatsdevilz

    Joined:
    Jun 4, 2015
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Root Administrator
    I also got some Email stating the Failed Update on 1 of my server

    Code:
    Update log preview:
    ----------------------------------------------------------------------------------------------------
    => Log opened from cPanel Update (upcp) - Slave (23652) at Tue Jun 23 09:35:56 2015
    [2015-06-23 09:35:56 +0530] Detected cron=0 (manual flag passed on command line)
    [2015-06-23 09:35:56 +0530] 1% complete
    [2015-06-23 09:35:56 +0530] Running Standardized hooks
    [2015-06-23 09:35:56 +0530] 2% complete
    [2015-06-23 09:35:56 +0530] mtime on upcp is 1434516263 (Wed Jun 17 10:14:23 2015)
    ----------------------------------------------------------------------------------------------------
    => Log opened from /usr/local/cpanel/scripts/updatenow (23654) at Tue Jun 23 09:35:57 2015
    [2015-06-23 09:35:57 +0530] W Unable to download public key from vendor: cpanel, category: release, url: https://securedownloads.cpanel.net/cPanelPublicKey.asc
    [2015-06-23 09:35:57 +0530] W Failure when adding key: Failed to parse key id.
    [2015-06-23 09:35:58 +0530] W Unable to download public key from vendor: cpanel, category: development, url:https://securedownloads.cpanel.net/cPanelDevelopmentKey.asc
    [2015-06-23 09:35:58 +0530] W Failure when adding key: Failed to parse key id.
    [2015-06-23 09:35:58 +0530] W Unable to download public key from vendor: cpanel, category: development-sts, url:https://securedownloads.cpanel.net/STSTestKey.asc
    [2015-06-23 09:35:58 +0530] W Failure when adding key: Failed to parse key id.
    [2015-06-23 09:35:58 +0530] W Failed to download all specified public keys.
    [2015-06-23 09:35:58 +0530] Detected version '11.50.0.12' from version file.
    [2015-06-23 09:35:58 +0530] Running version '11.50.0.12' of updatenow.
    [2015-06-23 09:35:58 +0530] ***** FATAL: Unable to retrieve tier version info: Failed to create gpg object: Failed to add key '506DEE62F222E637' : Failed to import key. Please seehttp://go.cpanel.net/sigerrors for further information about this error.
    [2015-06-23 09:35:58 +0530] The Administrator will be notified to review this output when this script completes
    => Log closed Tue Jun 23 09:35:58 2015
    [2015-06-23 09:35:58 +0530] 17% complete
    [2015-06-23 09:35:58 +0530] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1435032356.log` failed, exited with code 255 (signal = 0)
    
    
     
    #2 swatkatsdevilz, Jun 22, 2015
    Last edited by a moderator: Jun 23, 2015
  3. Bloke2

    Bloke2 Active Member

    Joined:
    Feb 4, 2015
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    When I log in to Cpanel it shows version 11.50.0 (build 20) so I guess its updated now? Did something get fixed after it failed and now its ok?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    It's possible a custom version of the "wget" package is installed on your system. Please post the output from the following commands (post the results in CODE tags):

    Code:
    wget --version
    grep wget /etc/yum.conf
    Thank you.
     
  5. Bloke2

    Bloke2 Active Member

    Joined:
    Feb 4, 2015
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Code:
    GNU Wget 1.12 built on linux-gnu.
    
    +digest +ipv6 +nls +ntlm +opie +md5/openssl +https -gnutls +openssl
    -iri
    
    Wgetrc:
        /etc/wgetrc (system)
    Locale: /usr/share/locale
    Compile: gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/etc/wgetrc"
        -DLOCALEDIR="/usr/share/locale" -I. -I../lib -O2 -g -pipe -Wall
        -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
        --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing
    Link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
        -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
        -fno-strict-aliasing -Wl,-z,relro -lssl -lcrypto
        /usr/lib64/libssl.so /usr/lib64/libcrypto.so -ldl -lrt ftp-opie.o
        openssl.o http-ntlm.o gen-md5.o ../lib/libgnu.a
    
    Copyright © 2009 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later
    <http://www.gnu.org/licenses/gpl.html>.
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.
    
    Originally written by Hrvoje Nikšić <hniksic@xemacs.org>.
    Currently maintained by Micah Cowan <micah@cowan.name>.
    Please send bug reports and questions to <bug-wget@gnu.org>.
    xxxx@ip-000-00-00-00 [~]# grep wget /etc/yum.conf
    
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please post the output from the following two commands:

    Code:
    wget https://securedownloads.cpanel.net/cPanelPublicKey.asc -O /dev/null
    wget --no-check-certificate https://securedownloads.cpanel.net/cPanelPublicKey.asc -O /dev/null
    Thank you.
     
  7. Bloke2

    Bloke2 Active Member

    Joined:
    Feb 4, 2015
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Code:
     wget https://securedownloads.cpanel.net/cPanelPublicKey.asc -O /dev/null
    --2015-07-10 11:22:39--  https://securedownloads.cpanel.net/cPanelPublicKey.asc
    Resolving securedownloads.cpanel.net... 74.125.44, 208.74.121.38
    Connecting to securedownloads.cpanel.net|208.74.125.44|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 20029 (20K) [text/plain]
    Saving to: “/dev/null”
    
    100%[======================================>] 20,029      --.-K/s   in 0.05s
    
    2015-07-10 11:22:39 (374 KB/s) - “/dev/null” saved [20029/20029]
    
    Code:
     wget --no-check-certificate https://securedownloads.cpanel.net/cPanelPublicKey.asc -O /dev/null
    --2015-07-10 11:25:41--  https://securedownloads.cpanel.net/cPanelPublicKey.asc
    Resolving securedownloads.cpanel.net... 74.121.38, 208.74.125.44
    Connecting to securedownloads.cpanel.net|74.121.38|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 20029 (20K) [text/plain]
    Saving to: “/dev/null”
    
    100%[======================================>] 20,029      --.-K/s   in 0.03s
    
    2015-07-10 11:25:41 (667 KB/s) - “/dev/null” saved [20029/20029]
    
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    I'm not seeing any indication that you should experience further problems. Feel free to let us know if cPanel updates continue to fail.

    Thank you.
     
  9. adtastichosting

    adtastichosting Active Member

    Joined:
    Sep 13, 2008
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    I'm having a similar issue. current version is 11.5.0.27
    Pertinent parts of the message are:
    Unable to download public key from vendor: cpanel
    No output returned by 'wget'.
    FATAL: Unable to retrieve tier version info: Failed to create gpg object: No keys found for vendor 'cpanel'

    If I go to update prerferences in whm I get:
    A fatal error or timeout occurred while processing this directive. exit level [die] [pid=4931] (Unable to retrieve tier version info: exit level [die] [pid=4931] (Failed to create gpg object: No keys found for vendor 'cpanel' Please see http://go.cpanel.net/sigerrors for further information about this error.)

    going to http://go.cpanel.net/sigerrors the only message that seems relevant says The pubkey download process can be run manually with the "/usr/local/cpanel/scripts/updatesigningkey" script however running that does nothing.
     
  10. cPTerrance

    cPTerrance *nix Technical Analyst II / Migrations Specialist
    Staff Member

    Joined:
    Jul 9, 2015
    Messages:
    72
    Likes Received:
    8
    Trophy Points:
    8
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    adtastichosting:

    Without doing some more diagnosing I am just taking a random stab at this, if this doesn't work for you, you may want to submit a ticket so we can look into this furter.

    You may want to try the below commands:

    mv /etc/pki/tls/certs/ca-bundle.crt{,.cpbak}
    yum reinstall ca-certificates

    Afer this is complete try running UPCP again.
     
  11. adtastichosting

    adtastichosting Active Member

    Joined:
    Sep 13, 2008
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    tried your suggestion get this:

    Loaded plugins: fastestmirror
    Setting up Reinstall Process
    Loading mirror speeds from cached hostfile
    * base: bay.uchicago.edu
    * extras: mirror.beyondhosting.net
    * updates: mirror.evolvedservers.com
    Excluding Packages in global exclude list
    Finished
    No Match for argument: ca-certificates
    Nothing to do
     
  12. cPTerrance

    cPTerrance *nix Technical Analyst II / Migrations Specialist
    Staff Member

    Joined:
    Jul 9, 2015
    Messages:
    72
    Likes Received:
    8
    Trophy Points:
    8
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Twitter:
    I would suggest that you submit a ticket so that we can take a look have you tried running the WGET commands above?

     
  13. adtastichosting

    adtastichosting Active Member

    Joined:
    Sep 13, 2008
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6

    The problem becomes self evident :):

    Code:
    
    root [/]# wget [URL]https://securedownloads.cpanel.net/cPanelPublicKey.asc[/URL] -O /dev/null
    [URL]https://securedownloads.cpanel.net/cPanelPublicKey.asc[/URL]: HTTPS support not compiled in.
    
    root [/]# wget --no-check-certificate [URL]https://securedownloads.cpanel.net/cPanelPublicKey.asc[/URL] -O /dev/null
    wget: unrecognized option `--no-check-certificate'
    Usage: wget [OPTION]... ...
    
    
     
    #13 adtastichosting, Jul 28, 2015
    Last edited by a moderator: Jul 29, 2015
  14. cPTerrance

    cPTerrance *nix Technical Analyst II / Migrations Specialist
    Staff Member

    Joined:
    Jul 9, 2015
    Messages:
    72
    Likes Received:
    8
    Trophy Points:
    8
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Looks like a custom compiled/installed version of wget, you will need to remove the custom version and reinstall the stock OS provided RPM.
     
  15. adtastichosting

    adtastichosting Active Member

    Joined:
    Sep 13, 2008
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    That's what I figured. Since you obviously have more experience with this than I do, still learning my way around here, any advice on what I need to do specifically?
     
  16. cPTerrance

    cPTerrance *nix Technical Analyst II / Migrations Specialist
    Staff Member

    Joined:
    Jul 9, 2015
    Messages:
    72
    Likes Received:
    8
    Trophy Points:
    8
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Do you still have the source tarball on the server? If so you can cd in to the directory of the source and make uninstall, you can then use yum reinstall wget to reinstall the original source after the custom installed version is removed. If you do not have the source on your server anymore, you can type "whereis wget" and remove all of the results from that command via "mv /path/to/wget /path/to/wget.bak" and then "yum reinstall wget" if you need help with this feel free to submit a ticket and we will be more then happy to take a look at this for you
     
  17. adtastichosting

    adtastichosting Active Member

    Joined:
    Sep 13, 2008
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    ok removed wget.:
    which wget
    which: no wget in (/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin)

    no try to reinstall wget: yum install wget

    gets this:

    root [/]# yum install wget
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: mirror.steadfast.net
    * extras: centos.mirrors.tds.net
    * updates: mirrors.gigenet.com
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    Nothing to do
     
  18. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    What's the output of

    Code:
    grep -i wget /etc/yum.conf
     
  19. adtastichosting

    adtastichosting Active Member

    Joined:
    Sep 13, 2008
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    exclude=bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* mysql* nsd* php* proftpd* pure-ftpd* spamassassin* squirrelmail* wget*
     
  20. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Edit the file and remove the last word "wget*" then install wget again:

    Code:
    yum install wget
     
Loading...

Share This Page