Upgrade to 3.0 issues

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rniziak
Posts: 16
Joined: Wed Jun 06, 2012 10:03 am

Upgrade to 3.0 issues

Post by rniziak »

I recently upgraded to 3.0 in order to get rid of the annoying "Please Upgrade" messages, run the upgrade script, all runs fine
and completes without errors, restart the services and the XI says that it is still the older version and I need to upgrade..

Any ideas ??

-RJN :o
rniziak
Posts: 16
Joined: Wed Jun 06, 2012 10:03 am

Re: Upgrade to 3.0 issues

Post by rniziak »

System is running on CentOS 6.2 64Bit

Ran the upgrade again... and got the following below:

usr/bin/install -c -m 755 -o root -g root -d /etc/rc.d/init.d
/usr/bin/install -c -m 755 -o root -g root daemon-init /etc/rc.d/init.d/ndo2db
NDOUTILS POST-UPGRADE...
Current database version: 1.5.1
Database already upgraded.
Stopping ndo2db: head: cannot open `/usr/local/nagios/var/ndo2db.lock' for reading: No such file or directory
done.
Starting ndo2db: done.
Running configuration check...done.
Stopping nagios: done.
Starting nagios: done.
NDOUTILS UPGRADED!
Saving old crontab to /tmp/nagios.crontab.orig...
./uninstall-crontab-nagios: line 8: /tmp/nagios.crontab.orig: cannot overwrite existing file
Removing XI cron jobs...
Saving old crontab to /tmp/root.crontab.orig...
./uninstall-crontab-root: line 8: /tmp/root.crontab.orig: cannot overwrite existing file
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Upgrade to 3.0 issues

Post by slansing »

Try running this command

Code: Select all

cat /dev/null > /tmp/nagiosxi/uninstall-crontab-root
You should be able to complete the upgrade at this point.
rniziak
Posts: 16
Joined: Wed Jun 06, 2012 10:03 am

Re: Upgrade to 3.0 issues

Post by rniziak »

Upgrade still completes, but the rev is still 2.4 and the please upgrade message is still around.
rniziak
Posts: 16
Joined: Wed Jun 06, 2012 10:03 am

Re: Upgrade to 3.0 issues

Post by rniziak »

THe install is so new, that I would just love to reinstall everything, just totally wipe out nagios and do a fresh install.
rniziak
Posts: 16
Joined: Wed Jun 06, 2012 10:03 am

Re: Upgrade to 3.0 issues

Post by rniziak »

slansing wrote:Try running this command

Code: Select all

cat /dev/null > /tmp/nagiosxi/uninstall-crontab-root
You should be able to complete the upgrade at this point.
Didn't help.. other things are causing the upgrade to fail, even though it says it ran OK.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Upgrade to 3.0 issues

Post by lmiltchev »

Run the upgrade one more time and if it fails, post the install.log so we can review it. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
rniziak
Posts: 16
Joined: Wed Jun 06, 2012 10:03 am

Re: Upgrade to 3.0 issues

Post by rniziak »

The problem is that it does not fail and says that the upgrade installed successfully, but when I open the GUI, it says that it is still at 2.4

Will re-run the upgrade.
rniziak
Posts: 16
Joined: Wed Jun 06, 2012 10:03 am

Re: Upgrade to 3.0 issues

Post by rniziak »

Here is the log..
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade to 3.0 issues

Post by scottwilkerson »

This is only a portion of the install.log, would it be possible to post the whole thing...?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked