Page 1 of 1

NagiosXI upgrade issue

Posted: Thu Apr 04, 2019 9:45 am
by nomlux
Dear support,

Trying to upgrade from NagiosXI 5.4.13 to 5.5.11, in CLI using the command "upgrade", we have the following error:

...
Checking MySQL status...
MySQL running - continuing...
Setting up Nagios XI database...
ERROR 1007 (HY000) at line 4: Can't create database 'nagiosxi'; database exists
ERROR: Nagios XI database was not setup properly - exiting.
RESULT=1

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.

The script that failed was: './B-installxi'
....

And I have no access anymore to the NagiosXI web site.

I tried the script ./repair_databases.sh but it didn't help.
:roll:
thx,
Olivier M.

Re: NagiosXI upgrade issue

Posted: Thu Apr 04, 2019 10:11 am
by lmiltchev
The script that failed was: './B-installxi'
I don't see how it is even possible to have this error if you did run the "upgrade" script... The "B-installxi" is called by the "fullinstall" script.

Can you post the entire upgrade.log? Also run the following command:

Code: Select all

history > /tmp/history.txt
and post the history.txt that was generated in the /tmp directory. Thank you!

Re: NagiosXI upgrade issue

Posted: Fri Apr 05, 2019 2:37 am
by nomlux
dear all,

the upgrade was successful when following the below procedure from https://assets.nagios.com/downloads/nag ... ctions.pdf

Manual Download
Alternatively, you can upgrade Nagios XI by issuing the following commands in your terminal session:
cd /tmp
rm -rf nagiosxi xi*.tar.gz
wget http://assets.nagios.com/downloads/nagi ... est.tar.gz
tar xzf xi-latest.tar.gz
cd nagiosxi
./upgrade


Thanks for your support,
;)
O.

Re: NagiosXI upgrade issue

Posted: Fri Apr 05, 2019 7:35 am
by scottwilkerson
nomlux wrote:dear all,

the upgrade was successful when following the below procedure from https://assets.nagios.com/downloads/nag ... ctions.pdf

Manual Download
Alternatively, you can upgrade Nagios XI by issuing the following commands in your terminal session:
cd /tmp
rm -rf nagiosxi xi*.tar.gz
wget http://assets.nagios.com/downloads/nagi ... est.tar.gz
tar xzf xi-latest.tar.gz
cd nagiosxi
./upgrade


Thanks for your support,
;)
O.
great! Glad you got it working

Locking thread