Page 1 of 2
Upgrading from 5.2.6 to 5.2.7
Posted: Tue Apr 05, 2016 8:25 pm
by griffite
Trying to upgrade Nagios XI manually and getting the following when I run ./upgrade
Not sure if I have missed something?
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:
Let me know if more info is required.
Re: Upgrading from 5.2.5 to 5.2.6
Posted: Wed Apr 06, 2016 1:17 am
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
Re: Upgrading from 5.2.5 to 5.2.6
Posted: Wed Apr 06, 2016 4:52 pm
by griffite
Yep it is.
yum.conf has proxy=http://someproxyserver:port/ configured
wgetrc has both
http_proxy=http://myname:mypass@someproxyserver:port/
https_proxy=https://myname:mypass@someproxyserver:port/ configured

Re: Upgrading from 5.2.5 to 5.2.6
Posted: Wed Apr 06, 2016 5:09 pm
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
Re: Upgrading from 5.2.5 to 5.2.6
Posted: Wed Apr 06, 2016 11:12 pm
by griffite
SMH sorry
Added that line and the upgrade was completed.
Though when I check the web GUI it is still requesting to be updated.

Re: Upgrading from 5.2.6 to 5.2.7
Posted: Wed Apr 06, 2016 11:20 pm
by Box293
Excellent, glad it was a simple fix
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.
Re: Upgrading from 5.2.6 to 5.2.7
Posted: Thu Apr 07, 2016 10:31 pm
by griffite
Box293 wrote:Excellent, glad it was a simple fix
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
Re: Upgrading from 5.2.6 to 5.2.7
Posted: Fri Apr 08, 2016 9:25 am
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
Re: Upgrading from 5.2.6 to 5.2.7
Posted: Sun Apr 10, 2016 6:03 pm
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"
Re: Upgrading from 5.2.6 to 5.2.7
Posted: Mon Apr 11, 2016 2:05 pm
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