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.

Can't complete update

Discussion in 'General Discussion' started by Moonsquares, Feb 15, 2016.

  1. Moonsquares

    Moonsquares Registered

    Joined:
    Feb 9, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Tucson, AZ
    cPanel Access Level:
    Root Administrator
    I've been trying to update cPanel from 11.50.4.4 to 11.52.3.1 for several days, and have been scouring the internet for possible solutions. I've tried updating with the --force switch (/scripts/upcp --force), I've verified the temp directories are accessible, I've verified I'm not using specific mirrors through "/etc/cpsources.conf" I've tried running "/scripts/securetmp --auto" and get the error

    Code:
    "
    umount: /var/tmp/3939._SCRIPTS_SECURETMP__.4iM15OSZ35qMcHEl.tmp: not mounted
    *** Notice *** No loop module detected
    If the loopback block device is built as a module, try running `modprobe loop` as root via ssh and running this script again.
    If the loopback block device is built into the kernel itself, you can ignore this message.
    *** Notice *** No working loopback device files found. Try running `modprobe loop` as root via ssh and running this script again.".
    
    I'm pretty much out of ideas. If anyone can give me any ideas where else I can check on this I would be really grateful. Here's the error I get when the update fails:

    Code:
    [2016-02-15 08:12:46 -0700]   Retrieving and staging /cpanelsync/11.52.3.1/binaries/linux-c5-i386/bin/hulk-unban-ip.xz
    [2016-02-15 08:12:48 -0700]   Retrying download of /cpanelsync/11.52.3.1/binaries/linux-c5-i386/bin/hulk-unban-ip.xz (attempt 2/5): Failed to decompress XZ data from '/usr/local/cpanel/bin/hulk-unban-ip-cpanelsync' at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 35528, <$__ANONIO__> line 1247.
    [2016-02-15 08:12:48 -0700]   Retrying download of /cpanelsync/11.52.3.1/binaries/linux-c5-i386/bin/hulk-unban-ip.xz (attempt 3/5): Failed to decompress XZ data from '/usr/local/cpanel/bin/hulk-unban-ip-cpanelsync' at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 35528, <$__ANONIO__> line 1340.
    [2016-02-15 08:12:48 -0700]   Retrying download of /cpanelsync/11.52.3.1/binaries/linux-c5-i386/bin/hulk-unban-ip.xz (attempt 4/5): Failed to decompress XZ data from '/usr/local/cpanel/bin/hulk-unban-ip-cpanelsync' at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 35528, <$__ANONIO__> line 1433.
    [2016-02-15 08:12:49 -0700]   Retrying download of /cpanelsync/11.52.3.1/binaries/linux-c5-i386/bin/hulk-unban-ip.xz (attempt 5/5): Failed to decompress XZ data from '/usr/local/cpanel/bin/hulk-unban-ip-cpanelsync' at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 35528, <$__ANONIO__> line 1526.
    [2016-02-15 08:12:49 -0700]   The Administrator will be notified to review this output when this script completes
    [2016-02-15 08:12:49 -0700] E Unable to stage file from /binaries/linux-c5-i386/bin/hulk-unban-ip => /usr/local/cpanel/bin/hulk-unban-ip: Failed to decompress XZ data from '/usr/local/cpanel/bin/hulk-unban-ip-cpanelsync' at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 35528, <$__ANONIO__> line 1619.
    [2016-02-15 08:12:49 -0700]   The Administrator will be notified to review this output when this script completes
    => Log closed Mon Feb 15 08:12:49 2016
    [2016-02-15 08:12:49 -0700] E Sync child 3817 exited with signal: 0 and code: 1
    [2016-02-15 08:12:49 -0700]   The Administrator will be notified to review this output when this script completes
    [2016-02-15 08:12:49 -0700] E Failed to deserialize staged_files from: /var/tmp/3212.ANEL_SCRIPTS_UPDATENOW_STATIC_CPANELSYNC__._DiClz1MVgydl2y3.tmp because of an error: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end of string)") at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 25165.
    [2016-02-15 08:12:49 -0700]   The Administrator will be notified to review this output when this script completes
    [2016-02-15 08:12:49 -0700] ***** FATAL: Failed to stage âcpanel changesâ
                                                                             [2016-02-15 08:12:49 -0700]   The Administrator will be notified to review this output when this script completes
    => Log closed Mon Feb 15 08:12:49 2016
    
    
    I should add the failure is always the same, but it happens on different modules. In this example the failure happened on hulk-unban-ip.xz, but it has also happened on randhtml.cgi.xz, etc.
     
    #1 Moonsquares, Feb 15, 2016
    Last edited by a moderator: Feb 15, 2016
  2. 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:
    Can you try "yum reinstall xz-*" and then run UPCP again? Also, you may want to make sure that there is no /etc/cpsources.conf if there is, move it aside,
     
Loading...

Share This Page