manual upgrade fails

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: manual upgrade fails

Post by tmcdonald »

That first one is from ./nagiosxi/basedir/html/includes/components/ldap_ad_integration/install.sh being run which will give that message since the directory already exists.

The second one is a bit harder to track down. It references the ./subcomponents/nagioscore/nagios-4.2.4/nagios.spec file which has a %postun section, but I don't know why it would be trying to run that as a bash command.
Former Nagios employee
stefanmadsen
Posts: 42
Joined: Mon Dec 28, 2015 7:48 am

Re: manual upgrade fails

Post by stefanmadsen »

do you have an eta for whatever is the reason behind this?..

i will do a production update, since the test upgrade seems to Work without any issues. But i still need to know what these errors impact are.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: manual upgrade fails

Post by dwhitfield »

stefanmadsen wrote: i will do a production update
You may want to hold off as 5.4.2 is likely to come with an offline. That's not official yet, but if you can hold off three weeks or so, that might be a better plan. Unfortunately, the offline installs lag a couple of weeks. 5.4.2 is due to land next week as an *online* install.
stefanmadsen
Posts: 42
Joined: Mon Dec 28, 2015 7:48 am

Re: manual upgrade fails

Post by stefanmadsen »

any news as to when 5.4.2 will land as a offline installer/upgrader?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: manual upgrade fails

Post by dwhitfield »

Unfortunately not. I suspect the new offline will be 5.4.3 due in part to a bug we thought was fixed in 5.4.2 that actually wasn't. Unfortunately, I don't have a date for 5.4.3 regular yet.

Do you retain your state info in retention.dat? retain_state_information=1 It's the default. The segfault issue is related to that, but only to specific state data. You could turn it off temporarily until the next offline comes out with the fix.

There is also an in-place patch. I don't think we've tested it on the offline installer, but I could check on that if you don't want to wait for the next offline and don't want to turn off retaining state data temporarily.
stefanmadsen
Posts: 42
Joined: Mon Dec 28, 2015 7:48 am

Re: manual upgrade fails

Post by stefanmadsen »

i would like to know at least if its a patch that will land within the next month or so :/ ?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: manual upgrade fails

Post by dwhitfield »

If you mean the patch for the segfault issue, it's out now.



If you mean the next offline installer, then I can't say with any certainty.



As for the segfault patch, here are the instructions.
First and foremost, please take an XI backup (and a VM snapshot if possible) so that you can revert if neccessary:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf


Then transfer the attached file to your XI server and run these commands:

Code: Select all

service nagios stop
killall -9 nagios
service ndo2db stop
service mysqld restart
for i in `ipcs -q | grep nagios |awk '{print $2}'`; do ipcrm -q $i; done
tar zxf ndoutils_segfault_patched.tar.gz
cd ndoutils_segfault_patched
./upgrade
You do not have the required permissions to view the files attached to this post.
stefanmadsen
Posts: 42
Joined: Mon Dec 28, 2015 7:48 am

Re: manual upgrade fails

Post by stefanmadsen »

any news when the offline installer (for upgrading) will land? :(
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: manual upgrade fails

Post by dwhitfield »

Unfortunately not. It looks like 5.4.0 may be the way to go. 5.4.3 should be out next week, and some time after that there may be an offline installer, but there is no guarantee on the offline for a particular version. I apologize for suggesting you wait. The devs just want to make sure they get the important bugs squashed before rolling a new offline.

Thank you for your patience.
stefanmadsen
Posts: 42
Joined: Mon Dec 28, 2015 7:48 am

Re: manual upgrade fails

Post by stefanmadsen »

so i guess you're only pushing out offline releases what every 3-6 months? :/
Locked