Page 1 of 1

Upgrade from 2012R2.9 to 2014R1.3 - Not working?

Posted: Sun Aug 10, 2014 10:30 pm
by alexball
Hey Guys,

I am having an issue with Upgrading my NagiosXI 2012R2.9 to the latest version. I am running it on CentOS 6.4 (Final) x64 on a MS Hyper-V VM.

I follow the standard process to upgrade and receive the standard "UPGRADE COMPLETED!", but the version number does not change on the web (from the current one) and on logging back in and I do not receive the "Finish Upgrade" prompt.

I am not running mod_gearman (and do not have it installed or configured in nagios.cfg), I also do not have any Host or Service Dependencies configured?

Also when Running pre-flight check on configuration it returns a; "Total Warnings: 0, Total Errors: 0" which is very odd,

I have also uploaded my upgrade debug (upgrade_debug.txt) for your review.

Any advice or assistance would be appreciated, thanks in advance, Alex.

Re: Upgrade from 2012R2.9 to 2014R1.3 - Not working?

Posted: Mon Aug 11, 2014 10:40 am
by scottwilkerson
Honestly, this sounds like you may have more than one tarnall in your temp directory and the wrong one extracted, lets run

Code: Select all

cd /tmp
rm -rf nagiosxi xi*
wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xzf xi*.tar.gz
cd /tmp/nagiosxi
./upgrade
The important line being

Code: Select all

rm -rf nagiosxi xi*

Re: Upgrade from 2012R2.9 to 2014R1.3 - Not working?

Posted: Mon Aug 11, 2014 10:44 pm
by alexball
Hi Scott,

Thanks for your feedback - that could have been the challenge as I am now getting a different error.
On running ./upgrade it runs for a few minutes then ends with a;

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /tmp/nagiosxi/subcomponents/nagiosplugins/nagios-plugins-2.0.2/build-aux/missing --run aclocal-1.11 -I gl/m4 -I m4
cd . && /bin/sh /tmp/nagiosxi/subcomponents/nagiosplugins/nagios-plugins-2.0.2/build-aux/missing --run automake-1.11 --gnu
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /tmp/nagiosxi/subcomponents/nagiosplugins/nagios-plugins-2.0.2/build-aux/missing --run autoconf

I have attached the new Upgrade Debug File, not sure what the problem is as I don't have any nagios plugins running (none I am aware of),

Thanks again, Alex.

Re: Upgrade from 2012R2.9 to 2014R1.3 - Not working?

Posted: Tue Aug 12, 2014 4:58 pm
by sreinhardt
You will need to install automake, autoconf, and libtool to resolve this. This is a specific issue with this tarball due to how we had to update the plugins package, and is not a standard dependency.

Code: Select all

yum install autmake autoconf libtool
Then rerun the upgrade and you should finish up just fine, based on where you are at presently.