[Resolved] One litespeed server not getting upgrade notification

Status
Not open for further replies.

c0ldshadow

Well-Known Member
#1
I have two servers. Both have licensed litespeed. One of them successfully shows that release 4.2.22 came out. It let me upgrade it perfectly. The other server doesn't show anything. it is stuck on 4.2.21

so my question is:

how to manually check for an update?
why did one server get notice to upgrade, other didn't detect anything?
 

mistwang

LiteSpeed Staff
#2
server check it once per day, the time is not up yet with the other server.

rm /usr/local/lsws/autoupdate/.last
then restart LSWS to force it.

Or, you can just upgrade directly from command line

Code:
/usr/local/lsws/admin/misc/lsup.sh -f -v 4.2.22
 
Last edited by a moderator:

c0ldshadow

Well-Known Member
#3
i tried remove .last file - that worked fine
then i graceful restart server
but still didn't get update notification
tried going version manager directly as well

perhaps it will take a few minutes to show up?

or do i need to stop litespeed (non graceful), then start again?

new update.last file was created after i graceful restart litespeed server, making me think update check happened but it didn't detect update or some error happens

please advise
thank for help
 
Last edited:

c0ldshadow

Well-Known Member
#4
i waited a few hours, checked again, but still not seeing 4.2.22 available via auto-update
although could just manually do update, want to find root cause of why it is not appearing . i don't have any outbound firewall rules that would block such an update

are there any logs or anything that i should send over?
thanks for the continued support
best regards,
 

NiteWave

Administrator
#5
delete all files under /usr/local/lsws/autoupdate/, restart, see if it makes any difference.

if it's owned license, see if the license still valid to upgrade to latest version.

and check the date on the server, to ensure it's correct.
 

c0ldshadow

Well-Known Member
#6
all files and directories, or just files? this is what i see:

Code:
[root@ya /usr/local/lsws/autoupdate]# ls -alrt
total 6576
drwxr-xr-x  6  1000 users     4096 Feb  3  2012 lsws-4.1.10
-rw-r--r--  1   102    503   68598 Feb  3  2012 lsws-4.1.10-ent-x86_64-linux.tar.gz
-rw-r--r--  1   102    503 3224120 Apr  6  2012 lsws-4.1.11-ent-x86_64-linux.tar.gz
drwxr-xr-x 12  1000 users     4096 Apr  6  2012 lsws-4.1.11
-rw-r--r--  1   102    503 3233701 Jul 31  2012 lsws-4.1.13-ent-x86_64-linux.tar.gz
drwxr-xr-x 12  1000 users     4096 Jul 31  2012 lsws-4.1.13
-rw-r--r--  1   102    503      10 Feb 11 12:39 release
-rw-r--r--  1   102    503      12 Feb 11 12:39 platform
drwxr-xr-x 18 root  root      4096 Feb 12 12:26 ..
-rw-r--r--  1   102    503  169971 Feb 18 11:20 update.log
-rw-r--r--  1 root  nobody       0 Mar 18 16:06 .last
drwx------  5 ls ls     4096 Mar 18 16:06 .
by "restart" you mean graceful restart right?

when you say check license valid... this is what i see:

Type Serial Expiration Date Software Update Expiration Action
VPS keyremoved Feb 08, 2016 Feb 08, 2016

when i click "validate license" nothing changes other than URL in address bar. want me to PM you my license key?

thanks for help
 
Last edited by a moderator:

NiteWave

Administrator
#7
the license looks ok.

all files and directories under /usr/local/lsws/autoupdate/ is safe to delete. (but don't delete /usr/local/lsws/autoupdate/ itself)

you can try graceful restart first,
 

c0ldshadow

Well-Known Member
#10
could it have been the permissions on those files? see post 6 above with the weird #'s for owners of files

this was b/c when i had my server migrated data was rsynced including some of litespeed settings ( i used paid support for this migration , everything been smooth working overall)
some /etc/passwd account that were on source system were not on dest ssytem
 
Last edited:
#11
I think you're right. all files/sub folders should be owned by lsadm:lsadm.
so in other words, instead of
rm -rf /usr/local/lsws/autoupdate/*
the issue also can be resolved by
Code:
#chown -R lsadm:lsadm /usr/local/lsws/autoupdate
in your case it's
Code:
#chown -R ls:ls /usr/local/lsws/autoupdate
 
Last edited by a moderator:
Status
Not open for further replies.
Top