Error: Failed to download release 4.2.3! Please try upgrade manually.

pooyan

Well-Known Member
#1
Dear Team,
We can't upgrade lsws, please tell me help,
Error: Failed to download release 4.2.3! Please try upgrade manually.
 
#8
[solved]

We an issue affecting a small handful of our servers (both CL6.4 and CL5.9) whereby the just won't update and the manual command fails, the majority of our servers updated fine.

Here is the result of a manual attempt from command lind:

[~]# /usr/local/lsws/admin/misc/lsup.sh -v 4.2.3
2013-06-05 18:06:17.044 [NOTICE] [AutoUpdate] Checking for new releases..., pid=402168
expr: syntax error
/usr/bin/wget -nv -O /usr/local/lsws/autoupdate/lsws-4.2.3--x86_64-linux.tar.gz http://www.litespeedtech.com/packages/4.0/lsws-4.2.3--x86_64-linux.tar.gz
http://www.litespeedtech.com/packages/4.0/lsws-4.2.3--x86_64-linux.tar.gz:
2013-06-05 18:06:17 ERROR 404: Not Found.
/usr/local/lsws/admin/misc/update.sh 4.2.3 x86_64-linux
Usage: update.sh VERSION EDITION PLATFORM
Upgrade to another version of LiteSpeed web server. the package file must
exist under /usr/local/lsws/autoupdate/
Package file should be lsws-VERSION-EDITION-PLATFORM.tar.gz

Restarting LSWS
[OK] Send SIGUSR1 to 384674
Done

pooyan are you sure the manual command completed, or did you see a similar result?
 
Last edited by a moderator:

NiteWave

Administrator
#9
the correct url is:
Code:
www.litespeedtech.com/packages/4.0/lsws-4.2.3-ent-x86_64-linux.tar.gz
but it tried to download
Code:
www.litespeedtech.com/packages/4.0/lsws-4.2.3--x86_64-linux.tar.gz
Package file should be lsws-VERSION-EDITION-PLATFORM.tar.gz
looks like
/usr/local/lsws/autoupdate/release
is wrong.

please delete all files/folders under /usr/local/lsws/autoupdate/
and run
#/usr/local/lsws/admin/misc/lsup.sh -v 4.2.3
again

if still problem, paste here the output of
#cat /usr/local/lsws/autoupdate/release
#cat /usr/local/lsws/autoupdate/platform
 
#10
Hey, thanks for the help.

I've identified the issue.
The release file contained "4.2.3-std", whereas it should have been "4.2.3-ent".
 
Top