cPanel install is failing with current ‘latest’ script

gorilla

Well-Known Member
Feb 3, 2004
694
1
168
Sydney / Australia
Seems there is a bug with the default cPanel install script on fresh cPanel Servers and VPS.

When running the normal sh latest the script, the cPanel installer automatically opts for the RELEASE tier and is failing .

cPanel technicians carefully mentioned that there may currently be an issue with the installer which they are looking into.

Advised by Christopher : To by pass this issue you need to set the installer to run the CURRENT release installation (11.32.x) , which can be downgraded at a later date if desired.

Please run the below commands to force the updater to install CURRENT:

echo “CPANEL=current” > /etc/cpupdate.conf
sh /home/latest
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello gorilla,

If you have any other VPS machines showing this issue, could you let us have a clean one in that ticket? We are still investigating and unable to replicate it on our OpenVZ machines. Since the exact mirror isn't indicated in the failing installation to know which it used, it would be great to have another machine you have available without cPanel installed so we can try to reproduce the issue in the ticket you have opened.

Thanks!
 

gorilla

Well-Known Member
Feb 3, 2004
694
1
168
Sydney / Australia
Hi Tristian,

I tried on XEN and VMware and on 3 different c-classes , just in case . (we dont use OpenVZ)

The mirror is listed below and I was able to ping it
64 bytes from unknown162.65.200.74.defenderhosting.com (74.200.65.162)

probably just a corrupted rsync update to the mirror ?

Anyway, using the CURRENT release installation works fine for now
 
Last edited:

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hi gorilla,

How were you able to determine that is the mirror being used on the failing updates? The IP isn't logged in the installation when it fails, so I just wondered. It isn't failing on my machine using RELEASE when I force that IP in /etc/cpsources.conf file.

It would be wonderful if we could have a test VPS machine where it is failing in the ticket temporarily to reproduce the issue.

Thanks!
 

gorilla

Well-Known Member
Feb 3, 2004
694
1
168
Sydney / Australia
Hi Tristian,
If you have access to the ticket system then please reopen the ticket and i will be happy to provide assistance .
As long as its a formal request via the cPanel Customer Portal

And to find out the mirror i just pinged,
ping httpupdate.cpanel.net

which provided the following
64 bytes from unknown162.65.200.74.defenderhosting.com (74.200.65.162)
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hi gorilla,

Pinging the IP can provide different results at different times. Since I tested using that same IP myself just a moment ago after you noted it and my install didn't fail, getting access to a machine where it is failing and it isn't fixed is desirable to avoid any further tickets by any other customers and to ensure any of your installs aren't going to break going down the road.

Of note, you can reopen tickets by replying to them again via email (they automatically reopen) or by using the customer login area. We cannot reopen your tickets unless we are management. As such, I cannot reopen the ticket (2497538) and I'm specifically requesting as a courtesy if you could do so or submit a new ticket for us. Since 3 of us using different mirrors (including the one you've noted) on different setups cannot reproduce this issue, it's a bit vital we try to get this fixed if we can and you are the one person with the machines failing for us to troubleshoot it via our ticket system.

Thank you.
 

gorilla

Well-Known Member
Feb 3, 2004
694
1
168
Sydney / Australia

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Thanks for reopening the ticket. We are asking for the login credentials for the testing machine on it now via the staff who was handling the ticket already. It's much appreciated.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello,

The issue has been tracked down in the 112.140.180.1 mirror. That has been yanked from rotation due to missing some files for the RELEASE tier. The following files can be removed on any system experiencing the issue (which can happen for upcp as well) and the issue should then no longer occur:

Code:
rm /root/.MirrorSearch/httpupdate.cpanel.net/mirrors.speeds
rm /root/.HttpRequest/httpupdate.cpanel.net
We have internal case 58593 for this issue. If you have any further instances of this occur after removing the above files and trying to re-run cPanel update or install cPanel, please let us know.

Thanks!