Nagios XI update upgrade.sh script broken

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
riahc3
Posts: 79
Joined: Thu Apr 05, 2018 9:36 am

Nagios XI update upgrade.sh script broken

Post 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.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Nagios XI update upgrade.sh script broken

Post 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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
riahc3
Posts: 79
Joined: Thu Apr 05, 2018 9:36 am

Re: Nagios XI update upgrade.sh script broken

Post 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"
swolf

Re: Nagios XI update upgrade.sh script broken

Post 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
Locked