Upgrade from Nagios XI 2014R1.5 to Latest Version Fails

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
CarlWedu
Posts: 51
Joined: Fri Aug 21, 2015 8:17 am

Upgrade from Nagios XI 2014R1.5 to Latest Version Fails

Post by CarlWedu »

[root@nagiosxi nagiosxi-64]# ./upgrade
-bash: ./upgrade: No such file or directory
[root@nagiosxi nagiosxi-64]# ls -l
total 10485796
-rw-r--r-- 1 root root 10737418752 Apr 6 16:12 nagiosxi-64.vhd
-rw-r--r-- 1 root root 12556 Dec 19 2012 nagiosxi-64.vmc



This document that is provided for help with the upgrade seems outdated: https://assets.nagios.com/downloads/nag ... ctions.pdf


Thanks!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Upgrade from Nagios XI 2014R1.5 to Latest Version Fails

Post by rkennedy »

It looks like you downloaded the vhd, and not the source file. Try these commands -

Code: Select all

cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xzf xi-latest.tar.gz
cd /tmp/nagiosxi
./upgrade
Let us know how that goes!
Former Nagios Employee
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Upgrade from Nagios XI 2014R1.5 to Latest Version Fails

Post by lmiltchev »

Are you sure you followed all of the steps, outlined in the document? I am not able to recreate the issue. I ran:

Code: Select all

cd /tmp
rm -rf nagiosxi xi*.tar.gz
wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xzf xi-latest.tar.gz
cd /tmp/nagiosxi
The upgrade script is present in the "/tmp/nagiosxi" directory...

Code: Select all

[root@localhost nagiosxi]# pwd
/tmp/nagiosxi
[root@localhost nagiosxi]# ls
0-repos            C-cronjobs             init.sh                                  sourceguardian
10-phplimits       CHANGELOG.txt          init-xidb                                subcomponents
11-sourceguardian  components.txt         install-2012-prereqs                     susemods
12-mrtg            cpan                   install-html                             tools
13-cacti           dashlets.txt           install-nagiosxi-init                    ubuntumods
14-timezone        D-chkconfigalldaemons  install-pnptemplates                     uninstall-crontab-nagios
1-prereqs          debianmods             install-sourceguardian-extension.sh      uninstall-crontab-root
2-usersgroups      E-importnagiosql       install-sudoers                          upgrade
3-dbservers        fedoramods             install-templates                        verify-prereqs.php
4-services         fix-nagiosadmin        licenses                                 vmsetup
5-sudoers          F-startdaemons         nagiosxi                                 wizards.txt
6-firewall         fullinstall            nagiosxi-deps-5.2.7-1.noarch.rpm         xi-sys.cfg
7-sendmail         functions.sh           nagiosxi-deps-el7-5.2.7-1.noarch.rpm     xivar
8-selinux          get-os-info            nagiosxi-deps-suse11-5.2.7-1.noarch.rpm  Z-webroot
9-dbbackups        get-version            packages
A-subcomponents    init-auditlog          rpminstall
B-installxi        init-mysql             rpmupgrade
Can you try running the same commands one more time?
Be sure to check out our Knowledgebase for helpful articles and solutions!
CarlWedu
Posts: 51
Joined: Fri Aug 21, 2015 8:17 am

Re: Upgrade from Nagios XI 2014R1.5 to Latest Version Fails

Post by CarlWedu »

rkennedy wrote:It looks like you downloaded the vhd, and not the source file. Try these commands -

Code: Select all

cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xzf xi-latest.tar.gz
cd /tmp/nagiosxi
./upgrade
Let us know how that goes!

That explains why I got a zip file instead of a tar file. Seems to be proceeding normally now.

Thank you!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Upgrade from Nagios XI 2014R1.5 to Latest Version Fails

Post by lmiltchev »

I am glad your issue has been resolved!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked