upgrade from 2.3 to 2.4 problem

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
pouda
Posts: 105
Joined: Wed Sep 14, 2011 9:47 am

upgrade from 2.3 to 2.4 problem

Post by pouda »

Hello,

As usual i did the last upgrade of my Nagios XI and everything seem to be ok ...but when i tried to logout and login again ... it didn't proposed me to finish the update as usual

When i run again check update from interface it told me that my nagios xi is 2.3 and not 2.4...

What's the problem ?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: upgrade from 2.3 to 2.4 problem

Post by scottwilkerson »

I think you are going to need to do the upgrade again because at least one thing didn't update as it should have.

Be sure you run the ./upgrade as root

after upgrade, if the version doesn't change again, send the output of the following command

Code: Select all

ls -l /usr/local/nagiosxi/html/includes/utilsl.inc.php
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
pouda
Posts: 105
Joined: Wed Sep 14, 2011 9:47 am

Re: upgrade from 2.3 to 2.4 problem

Post by pouda »

Hello,

So i did the upgrade once again as root an see below result of requested command

Code: Select all

[root@nagiosmb libexec]# ls -l /usr/local/nagiosxi/html/includes/utilsl.inc.php
-rwxr-x--- 1 nagios nagios 187811 Apr 26 14:47 /usr/local/nagiosxi/html/includes/utilsl.inc.php
[root@nagiosmb libexec]# 
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: upgrade from 2.3 to 2.4 problem

Post by scottwilkerson »

I think you are working off of the old tarball

Lets do this

Code: Select all

cd /tmp
rm -rf nagios* xi*
wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xzf xi-latest.tar.gz
cd /tmp/nagiosxi
./upgrade
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
pouda
Posts: 105
Joined: Wed Sep 14, 2011 9:47 am

Re: upgrade from 2.3 to 2.4 problem

Post by pouda »

Good job !!! now the update is working well ... so maybe you should add to your upgrade guide these command line ... ;)
Locked