Page 1 of 1

upgrade from 2.3 to 2.4 problem

Posted: Thu Apr 26, 2012 7:50 am
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 ?

Re: upgrade from 2.3 to 2.4 problem

Posted: Thu Apr 26, 2012 9:27 am
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

Re: upgrade from 2.3 to 2.4 problem

Posted: Thu Apr 26, 2012 10:08 am
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]# 

Re: upgrade from 2.3 to 2.4 problem

Posted: Thu Apr 26, 2012 11:10 am
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

Re: upgrade from 2.3 to 2.4 problem

Posted: Thu Apr 26, 2012 11:46 am
by pouda
Good job !!! now the update is working well ... so maybe you should add to your upgrade guide these command line ... ;)