Page 1 of 1

Nagios XI update upgrade.sh script broken

Posted: Tue Jul 17, 2018 9:25 am
by riahc3
Im using the quick method (the web gui version for me freezes):

wget -O upgrade.sh https://assets.nagios.com/downloads/nagiosxi/upgrade.sh
sh ./upgrade.sh

And while running it, it reaches a point where MySQL complains that the host "-u" doesnt exist (and thankfully stops)

Obviously something is currently broken in the script.

Re: Nagios XI update upgrade.sh script broken

Posted: Tue Jul 17, 2018 3:11 pm
by npolovenko
Hello, @riahc3. What version of Nagios are you upgrading from? What is your OS? Can you copy the whole error message in this thread?

Re: Nagios XI update upgrade.sh script broken

Posted: Wed Jul 18, 2018 5:01 am
by riahc3
npolovenko wrote:Hello, @riahc3. What version of Nagios are you upgrading from? What is your OS? Can you copy the whole error message in this thread?

Upgrading from 5.5.0 to the latest

CentOS 7

The error was the typical MySQL error message

MySQL: Cannot connect to host "-u"

Re: Nagios XI update upgrade.sh script broken

Posted: Wed Jul 18, 2018 10:47 am
by swolf
Are you able to retrieve your upgrade.log file? If so, could you either attach it here or PM it to either npolovenko or myself?

Please also post terminal output of the following command:'

Code: Select all

mysql --version