[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!
Upgrade from Nagios XI 2014R1.5 to Latest Version Fails
Re: Upgrade from Nagios XI 2014R1.5 to Latest Version Fails
It looks like you downloaded the vhd, and not the source file. Try these commands -
Let us know how that goes!
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
Former Nagios Employee
Re: Upgrade from Nagios XI 2014R1.5 to Latest Version Fails
Are you sure you followed all of the steps, outlined in the document? I am not able to recreate the issue. I ran:
The upgrade script is present in the "/tmp/nagiosxi" directory...
Can you try running the same commands one more time?
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/nagiosxiCode: 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 rpmupgradeBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgrade from Nagios XI 2014R1.5 to Latest Version Fails
rkennedy wrote:It looks like you downloaded the vhd, and not the source file. Try these commands -Let us know how that goes!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
That explains why I got a zip file instead of a tar file. Seems to be proceeding normally now.
Thank you!
Re: Upgrade from Nagios XI 2014R1.5 to Latest Version Fails
I am glad your issue has been resolved!
Be sure to check out our Knowledgebase for helpful articles and solutions!