NagiosXI upgrade issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nomlux
Posts: 2
Joined: Thu Sep 28, 2017 8:27 am

NagiosXI upgrade issue

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NagiosXI upgrade issue

Post 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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
nomlux
Posts: 2
Joined: Thu Sep 28, 2017 8:27 am

Re: NagiosXI upgrade issue

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NagiosXI upgrade issue

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked