NagiosXI upgrade failed?!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

NagiosXI upgrade failed?!

Post by xpertech »

Today we tried to upgrade NagiosXI from 5.4.11 to 5.6.3 but failed, no matter from GUI or command line were all failed?!
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagiosXI upgrade failed?!

Post by benjaminsmith »

Hi Xpertech,

Please login as root in the terminal and run the following commands:

Code: Select all

cd /tmp
rm -rf nagiosxi xi*.tar.gz
wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xzf xi-latest.tar.gz
cd nagiosxi
./upgrade 
If it fails, please post the full output from above in code wraps and PM your system profile. Thanks.

To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share in a private message or upload it to the post/ticket.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: NagiosXI upgrade failed?!

Post by xpertech »

Last week we already run the commands you provide, first it upgrade from 5.4 to 5.5 successful and it ask if want to continue upgrade to 5.6, but whether we choose yes or no, it will failed eventually.

Since the NagiosXI host is a production system, we can not try to upgrade all the time, could you use the attachment to analysis and see if other way to fix that?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagiosXI upgrade failed?!

Post by benjaminsmith »

Hello @xpertech,

When reviewing the install log, I noticed that the upgrade was cancelled. Can you re-run the manual installation, so we can review any errors?
XI 5.5.0 Updates
===================
NOTICE: This upgrade script will update ALL XI components, wizards, and dashlets
to the latest available versions. Before running this upgrade the currently
installed versions will be backed up to the /tmp directory.

Are you sure you want to continue? [y/N] N
Upgrade cancelled
[root@twtpelnag02p nagiosxi]# ./upgrade
Connection closed by foreign host.
Also, please PM a fresh copy of the system profile as there maybe database issues present. Thanks.

To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share in a private message or upload it to the post/ticket.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: NagiosXI upgrade failed?!

Post by xpertech »

It was cancelled because it hanged(no matter we choose yes or no .... Are you sure you want to continue? [y/N] ),
so we had to stop it.

PM you the profile.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagiosXI upgrade failed?!

Post by benjaminsmith »

Hi @xpertech,

Thank you for sending over the system profile. One thing a I noticed is that the main partition is low on disk space - about 7.2G free. When the system upgrades, it will take a full backup first which can be quite large depending on your environment.

Are you using a VM? Can you increase the amount of drive space on the machine and then run the manual upgrade again.

Alternatively, you can remove older archives out of the backup directory at /store/backups/nagiosxi/ to free up space. The names of the archives are preceded with the Unix timestamp of the time the backups were created.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked