Page 1 of 1

Nagios 5.5 update never finishes

Posted: Fri Jun 29, 2018 4:31 pm
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.

Re: Nagios 5.5 update never finishes

Posted: Mon Jul 02, 2018 9:54 am
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!

Re: Nagios 5.5 update never finishes

Posted: Mon Jul 02, 2018 2:22 pm
by vmesquita
The workaround fixed the issue. Thanks!

Re: Nagios 5.5 update never finishes

Posted: Mon Jul 02, 2018 2:23 pm
by tmcdonald
Great to hear! Did you have further (related) questions or are we good to lock this up?

Re: Nagios 5.5 update never finishes

Posted: Tue Jul 17, 2018 5:05 pm
by gornm565
is this fixed in the 5.5.1 release already?

Re: Nagios 5.5 update never finishes

Posted: Wed Jul 18, 2018 10:16 am
by jomann
Yes, you should not have this issue again with the upgrade now.