upgrade from 5.6.1 to 5.6.10 Failure

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
biswajit.banerjee
Posts: 152
Joined: Fri Dec 08, 2017 10:24 pm

upgrade from 5.6.1 to 5.6.10 Failure

Post by biswajit.banerjee »

Trying to Upgrade via Cli

Getting following error
"ERROR: Could not determine currently installed version of Nagios XI!"
My database is offloaded to remote server .

Also my Backup is failing saying database failure .

I found my "/usr/local/nagiosxi/etc/components/ccm_config.inc.php " is not updated and nagiossql DB is still pointing to Localhost .

Are see these problem linked

Please suggest the way out .

TIA
User avatar
jdunitz
Posts: 235
Joined: Wed Feb 05, 2020 2:50 pm

Re: upgrade from 5.6.1 to 5.6.10 Failure

Post by jdunitz »

Hello Biswajit!

The most likely reasons for the problem are that you're not doing the upgrade as root, and/or your /usr/local/nagiosxi/var/xiversion file isn't readable (or is missing).

Can you verify that that file exists and has 644 permissions (-rw-r--r--)?
Also, that file should contain a few lines with the full, major, and minor versions, and release number and date information.

Finally, your upgrade log (/usr/local/nagiosxi/tmp/upgrade.log or /tmp/nagiosxi/upgrade.log) will have some additional clues as to what may have gone wrong. Have a look at that, and post it if you need help interpreting the errors.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
biswajit.banerjee
Posts: 152
Joined: Fri Dec 08, 2017 10:24 pm

Re: upgrade from 5.6.1 to 5.6.10 Failure

Post by biswajit.banerjee »

Thanks
/usr/local/nagiosxi/var/xiversion file was missing so created with right permissions and issue was sorted out

Thanks
User avatar
jdunitz
Posts: 235
Joined: Wed Feb 05, 2020 2:50 pm

Re: upgrade from 5.6.1 to 5.6.10 Failure

Post by jdunitz »

Glad you got this sorted so easily!

--Jeffrey
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked