Upgrading from 5.2.6 to 5.2.7

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
griffite
Posts: 10
Joined: Wed Feb 17, 2016 10:13 pm

Upgrading from 5.2.6 to 5.2.7

Post by griffite »

Trying to upgrade Nagios XI manually and getting the following when I run ./upgrade
Not sure if I have missed something?

Image

Down the bottom of web GUI now says 5.2.6 but also says upgrade is still available. Tried running upgrade through the GUI but has been stuck here for hours:

Image

Let me know if more info is required.
Last edited by griffite on Wed Apr 06, 2016 11:14 pm, edited 1 time in total.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Upgrading from 5.2.5 to 5.2.6

Post by Box293 »

Is your XI server configured to use a proxy server?
If yes, can you confirm these settings are correct:
https://support.nagios.com/kb/article.php?id=147
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
griffite
Posts: 10
Joined: Wed Feb 17, 2016 10:13 pm

Re: Upgrading from 5.2.5 to 5.2.6

Post by griffite »

Box293 wrote:Is your XI server configured to use a proxy server?
If yes, can you confirm these settings are correct:
https://support.nagios.com/kb/article.php?id=147
Yep it is.

yum.conf has proxy=http://someproxyserver:port/ configured

Image

wgetrc has both
http_proxy=http://myname:mypass@someproxyserver:port/
https_proxy=https://myname:mypass@someproxyserver:port/ configured

Image
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Upgrading from 5.2.5 to 5.2.6

Post by Box293 »

I see you're missing the important no_proxy= line in /etc/wgetrc

Please refer to the KB article:
https://support.nagios.com/kb/article.php?id=147
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
griffite
Posts: 10
Joined: Wed Feb 17, 2016 10:13 pm

Re: Upgrading from 5.2.5 to 5.2.6

Post by griffite »

Box293 wrote:I see you're missing the important no_proxy= line in /etc/wgetrc

Please refer to the KB article:
https://support.nagios.com/kb/article.php?id=147
SMH sorry
Added that line and the upgrade was completed.

Image

Though when I check the web GUI it is still requesting to be updated.

Image
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Upgrading from 5.2.6 to 5.2.7

Post by Box293 »

Excellent, glad it was a simple fix :D
griffite wrote:Though when I check the web GUI it is still requesting to be updated.
Log out of XI and then back in again.

You may need to click the "Check For Updates Now" button for it to refresh.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
griffite
Posts: 10
Joined: Wed Feb 17, 2016 10:13 pm

Re: Upgrading from 5.2.6 to 5.2.7

Post by griffite »

Box293 wrote:Excellent, glad it was a simple fix :D
griffite wrote:Though when I check the web GUI it is still requesting to be updated.
Log out of XI and then back in again.

You may need to click the "Check For Updates Now" button for it to refresh.
Logged out and back in then clicked Check for Updates. Still thinks I am on version 5.2.6 :S
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Upgrading from 5.2.6 to 5.2.7

Post by lmiltchev »

Logged out and back in then clicked Check for Updates. Still thinks I am on version 5.2.6 :S
You see this when you go to Admin->Check For Updates, correct? Does the "Installed Version" number change when you click on "Check For Updates Now"?

Do you have the "Proxy Configuration" component configured?

Admin->Proxy Configuration
Be sure to check out our Knowledgebase for helpful articles and solutions!
griffite
Posts: 10
Joined: Wed Feb 17, 2016 10:13 pm

Re: Upgrading from 5.2.6 to 5.2.7

Post by griffite »

lmiltchev wrote:
Logged out and back in then clicked Check for Updates. Still thinks I am on version 5.2.6 :S
You see this when you go to Admin->Check For Updates, correct? Does the "Installed Version" number change when you click on "Check For Updates Now"?

Do you have the "Proxy Configuration" component configured?

Admin->Proxy Configuration
Yep when I go Adim-> check for Updates. Installed version still stays at 5.2.6

Yep when I check under Admin -> Proxy Configuration it looks like it is configured.
If I untick "Enable proxy for update checks" and then trym, it fails to find an available update. Installed version still stays at 5.2.6
I have reticked "Enable proxy for update checks"
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Upgrading from 5.2.6 to 5.2.7

Post by ssax »

What does it say the version is on the bottom left hand side of the web interface?

Try running the ./upgrade script again, it's safe to do it right over the top of an upgraded system.

Thank you
Locked