Nagios 5.5 update never finishes

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Nagios 5.5 update never finishes

Post by vmesquita »

I am trying to upgrade a 5.4.13 install to 5.5 but the upgrade script seems to die in the middle of the process. I attached the log to this message.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios 5.5 update never finishes

Post by lmiltchev »

This issue will be fixed in the next release of Nagios XI. As a "workaround", comment out the following section in the "upgrade" script:

Code: Select all

# Uninstall ajaxterminal to install shellinabox
        echo "Removing Ajaxterm..."
        if rpm -q Ajaxterm >/dev/null; then
                service ajaxterm stop
                rpm -e Ajaxterm
                cp -f "$httpdconfdir/ssl.conf" "$httpdconfdir/ssl.conf.nagiosxibackup"
                sed -i '/## AJAXTERM #####################/,+12d' "$httpdconfdir/ssl.conf"
                rm -f $proddir/html/admin/ajaxterm.php
        fi
so that it would look like this:

Code: Select all

# Uninstall ajaxterminal to install shellinabox
#        echo "Removing Ajaxterm..."
#        if rpm -q Ajaxterm >/dev/null; then
#                service ajaxterm stop
#                rpm -e Ajaxterm
#                cp -f "$httpdconfdir/ssl.conf" "$httpdconfdir/ssl.conf.nagiosxibackup"
#                sed -i '/## AJAXTERM #####################/,+12d' "$httpdconfdir/ssl.conf"
#                rm -f $proddir/html/admin/ajaxterm.php
#        fi
Save, exit, and rerun the upgrade script:

Code: Select all

cd /tmp/nagiosxi
./upgrade
Let us know if this helped. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Re: Nagios 5.5 update never finishes

Post by vmesquita »

The workaround fixed the issue. Thanks!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios 5.5 update never finishes

Post by tmcdonald »

Great to hear! Did you have further (related) questions or are we good to lock this up?
Former Nagios employee
gornm565
Posts: 72
Joined: Tue Nov 15, 2016 6:11 pm

Re: Nagios 5.5 update never finishes

Post by gornm565 »

is this fixed in the 5.5.1 release already?
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: Nagios 5.5 update never finishes

Post by jomann »

Yes, you should not have this issue again with the upgrade now.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked