Page 1 of 1

Upgrade to 5.5 - issues

Posted: Wed Jul 04, 2018 7:25 am
by jacek
Hi,

I did an upgrade to 5.5, and the upgrade said it failed. I refreshed the page and after that I noticed, that there is noupgrade log for this one in the XI UI.
I also noticed that in "/usr/local/nagiosxi/tmp/nagiosxi" there is a lot of files (as well as in the "/usr/local/nagiosxi/tmp").
The upgrade.log file was empty.

I found this https://support.nagios.com/forum/viewto ... 08#p255370 and modified the upgrade script and re-run it from the console, which - in short - said that everything is ok and I'm up to date.

The system looks ok, but I need to know what went wrong and if we are ok for sure.

Re: Upgrade to 5.5 - issues

Posted: Thu Jul 05, 2018 9:40 am
by lmiltchev
Most probably the upgrade script was hanging at "Updating NRDP..", which could happen if you uninstalled (didn't have) Ajaxterm. Commenting out the section that references Ajaxterm in the upgrade script fixes the issue (as described in the post you found). Your system should be ok.

Let us know if you have any more questions.

Re: Upgrade to 5.5 - issues

Posted: Thu Jul 05, 2018 2:35 pm
by jacek
OK, but what to do to clean up the mess?
Is this directory safe to clean up? -> "/usr/local/nagiosxi/tmp/

Re: Upgrade to 5.5 - issues

Posted: Thu Jul 05, 2018 3:10 pm
by lmiltchev
It is safe to remove things from the "/usr/local/nagiosxi/tmp/" directory.

Re: Upgrade to 5.5 - issues

Posted: Mon Jul 09, 2018 1:24 am
by jacek
OK, deleted, thanks!

Re: Upgrade to 5.5 - issues

Posted: Mon Jul 09, 2018 9:44 am
by lmiltchev
Great! I will be closing this topic now. If you have more questions/issues, please start a new thread. Thank you!