update check out of sync with running version

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
ananke
Posts: 21
Joined: Fri Jun 03, 2016 3:14 pm

update check out of sync with running version

Post by ananke »

This is our first upgrade, so I'm not sure if it's normal or not; however, we repeated it in both testing & production. After upgrading to 1.4.2, main page shows a warning about new version being available, despite the fact that we're running that version.
You do not have the required permissions to view the files attached to this post.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: update check out of sync with running version

Post by hsmith »

Are you by chance behind a proxy? I cannot reproduce this issue.
Former Nagios Employee.
me.
ananke
Posts: 21
Joined: Fri Jun 03, 2016 3:14 pm

Re: update check out of sync with running version

Post by ananke »

hsmith wrote:Are you by chance behind a proxy? I cannot reproduce this issue.
No proxy, direct access to the outside world. I do however notice that one of the system shows the correct 'You're running the latest [...]' after being rebooted, which would imply something didn't get restarted. Here's the procedure that was used on both of them:

Code: Select all

# upgrade
cd /tmp
rm -rf nagioslogserver nagioslogserver*.tar.gz
wget http://assets.nagios.com/downloads/nagios-log-server/nagioslogserver-latest.tar.gz


# Disable shard allocation ¿ this only needs to be run on a single node:
curl -XPUT localhost:9200/_cluster/settings -d '
{
 "transient" : {
 "cluster.routing.allocation.enable" : "none"
 }
}'

# unpack installer
tar xzf nagioslogserver-latest.tar.gz
cd nagioslogserver/
./upgrade


# if it goes ok, sleep for 10 seconds
sleep 10


# re-enable sharding
curl -XPUT localhost:9200/_cluster/settings -d '
{
 "transient" : {
 "cluster.routing.allocation.enable" : "all"
 }
}'
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: update check out of sync with running version

Post by hsmith »

This might have to do with a small issue regarding the browser cache. If you run into anything else clear your cache and let us know.

Is your issue good to go for now?
Former Nagios Employee.
me.
ananke
Posts: 21
Joined: Fri Jun 03, 2016 3:14 pm

Re: update check out of sync with running version

Post by ananke »

hsmith wrote:This might have to do with a small issue regarding the browser cache. If you run into anything else clear your cache and let us know.
Unfortunately, it's not a browser cache issue. I can see the same mismatch after logging in from a different system on a different browser. All signs point to something needed to be restarted, the question is which component? Steps listed above follow the upgrade procedure from:

https://assets.nagios.com/downloads/nag ... Server.pdf
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: update check out of sync with running version

Post by hsmith »

Is this the same system as your other thread?
Former Nagios Employee.
me.
ananke
Posts: 21
Joined: Fri Jun 03, 2016 3:14 pm

Re: update check out of sync with running version

Post by ananke »

hsmith wrote:Is this the same system as your other thread?
No. This issue we observed on two NLS systems we've had running for a few weeks. Other issue is on a third system (we're deploying it until eventual feature will exist to allow privilege separation for log content).

I could try to restart individual pieces of NLS to see which one triggers proper refresh; however, as mentioned earlier, I've stuck to the documented upgrade procedure. I figured one time is a fluke, but encountering it on two systems means there may be an issue.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: update check out of sync with running version

Post by hsmith »

I think we found what is causing this, and it should be fixed in the next minor bugfix release. Is everything else working okay otherwise?
Former Nagios Employee.
me.
ananke
Posts: 21
Joined: Fri Jun 03, 2016 3:14 pm

Re: update check out of sync with running version

Post by ananke »

hsmith wrote:I think we found what is causing this, and it should be fixed in the next minor bugfix release. Is everything else working okay otherwise?
Thanks! So far so good, for other issues I'm creating new posts.

Cheers!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: update check out of sync with running version

Post by tmcdonald »

In that case I'll be closing this thread, and we can continue in the others.
Former Nagios employee
Locked