5.5 can't upgrade components or wizards

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

5.5 can't upgrade components or wizards

Post by BanditBBS »

When try to upgrade either components or wizards it says upgraded completed but the version still shows the older version. I see no errors in /var/log/messages, anywhere else to check?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: 5.5 can't upgrade components or wizards

Post by BanditBBS »

Further investigation seems my ramdisk is full, service-perfdata is taking up the entire mount. Not sure if it's related or not.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: 5.5 can't upgrade components or wizards

Post by jomann »

Were there any other issues? You can go into the nagiosxi directory after you've extracted the tarball, then go to subcomponents/xicomponents and do a ./install on the components and see if you get any errors. You can do this on both the xiwizards and xicomponents folders. You can also try running the upgrade again, if the "mysql.5500.updated" file is in the main nagiosxi directory then the upgrade should not error out and should re-install all the subcomponents.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: 5.5 can't upgrade components or wizards

Post by BanditBBS »

jomann wrote:Were there any other issues? You can go into the nagiosxi directory after you've extracted the tarball, then go to subcomponents/xicomponents and do a ./install on the components and see if you get any errors. You can do this on both the xiwizards and xicomponents folders. You can also try running the upgrade again, if the "mysql.5500.updated" file is in the main nagiosxi directory then the upgrade should not error out and should re-install all the subcomponents.
I did that, saw no errors but the versions are still old.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: 5.5 can't upgrade components or wizards

Post by jomann »

Which ones are out of date? Can you confirm by unzipping the file in the subcomponents/xicomponents/components/<component>.zip and seeing if it has the updated version - and if you do the install for the subcomponents can you save the output and post it?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: 5.5 can't upgrade components or wizards

Post by BanditBBS »

@jomann, I'm a tool...this is my only dev box, so happens to be the one I installed and played with the RC versions. I force installed all of the subcomponents and all is well with the versions and stuff now. I just have one issue that seems to have been going on since RC2 was installed, none of the graphs are working. I can only see data up until the moment I installed RC2.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: 5.5 can't upgrade components or wizards

Post by cdienger »

Try a restart of the cron services:

service crond restart

and tail the perfdata.log and npcd.log files to see if any errors or warnings pop up:

/usr/local/nagiosxi/var/perfdataproc.log
/usr/local/nagios/var/npcd.log


Is a ramdisk being used? If so, check that the npcd.cfg, config.inc.php and nagios.cfg are still intact and configured to use it(https://assets.nagios.com/downloads/nag ... giosXI.pdf).
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: 5.5 can't upgrade components or wizards

Post by BanditBBS »

Code: Select all

[07-02-2018 08:55:39] NPCD: ERROR: Executed command exits with return code '7'
[07-02-2018 08:55:39] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata//1530539719.perfdata.service'
There were a couple config files that somehow reverted back to defualt settings. Fixed them for ram drive and now getting those errors in npcd log.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: 5.5 can't upgrade components or wizards

Post by BanditBBS »

I don't know what changed now, but the errors stopped appearing and graphs are populating again.

Close this up!
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Locked