Page 1 of 1

Version number not updated

Posted: Wed Apr 03, 2019 3:21 am
by sib
Hi

I have upgraded NagiosXI to 5.5.11 through RPM but it does not update the version number on the website. It still shows 5.5.8. I tried restarting nagios, server or removing the browser cache. How can I check that I am actually running the current version?

I did an upgrade using yum update.

Code: Select all

# rpm -qa | grep nagiosxi
nagiosxi-nagiosplugins-5.5.11-1.el7.x86_64
nagiosxi-ndoutils-5.5.11-1.el7.x86_64
nagiosxi-nrds-5.5.11-1.el7.x86_64
nagiosxi-nagiosmobile-5.5.11-1.el7.x86_64
nagiosxi-nagvis-5.5.11-1.el7.x86_64
nagiosxi-pnp-5.5.11-1.el7.x86_64
nagiosxi-nagioscore-5.5.11-1.el7.x86_64
nagiosxi-nrpe-5.5.11-1.el7.x86_64
nagiosxi-mrtg-5.5.11-1.el7.x86_64
nagiosxi-nxti-5.5.11-1.el7.x86_64
nagiosxi-shellinabox-5.5.11-1.el7.x86_64
nagiosxi-5.5.11-1.el7.x86_64
nagiosxi-nsca-5.5.11-1.el7.x86_64
nagiosxi-wmic-5.5.11-1.el7.x86_64
nagiosxi-wkhtmltox-5.5.11-1.el7.x86_64

Even with the upgrade script it does not complain

Code: Select all

# ./upgrade
RPM Install detected, switching to yum update
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager
BIS_Nagios_Nagios_Deps_RHEL7                                                                                                                                               | 2.1 kB  00:00:00
BIS_Nagios_Nagios_RHEL_7                                                                                                                                                   | 2.1 kB  00:00:00
rhel-7-server-ansible-2.6-rpms                                                                                                                                             | 2.3 kB  00:00:00
rhel-7-server-ansible-2.7-rpms                                                                                                                                             | 2.3 kB  00:00:00
rhel-7-server-extras-rpms                                                                                                                                                  | 2.0 kB  00:00:00
rhel-7-server-optional-rpms                                                                                                                                                | 2.0 kB  00:00:00
rhel-7-server-rh-common-rpms                                                                                                                                               | 2.1 kB  00:00:00
rhel-7-server-rpms                                                                                                                                                         | 2.0 kB  00:00:00
rhel-7-server-satellite-tools-6.4-rpms                                                                                                                                     | 2.1 kB  00:00:00
rhel-server-rhscl-7-rpms                                                                                                                                                   | 2.0 kB  00:00:00
No packages marked for update
Uploading Enabled Repositories Report
Loaded plugins: product-id, subscription-manager

Re: Version number not updated

Posted: Wed Apr 03, 2019 9:43 am
by benjaminsmith
Hello @sib,

There maybe corrupt database tables or issue with permission settings. Please check the the tmp folder ( /tmp/xi-upgrade.log ) and post the log file if it's available.

You might also want to try running the database repair script. Run the following as root from the command line and then try upgrading again.

Code: Select all

/usr/local/nagiosxi/scripts/repair_databases.sh

Re: Version number not updated

Posted: Fri Apr 05, 2019 3:26 am
by sib
Hi

It seems a license issue

"An upgrade is not possible because your maintenance for this license has expired."

Which is strange. The license got renewed and on the production system it works fine. On this test system the license still shows as expired. What would I need to do?

Re: Version number not updated

Posted: Fri Apr 05, 2019 4:26 am
by sib
This can be closed. I fixed the license issue and did a yum reinstall nagiosxi*. Now all works as expected.

Re: Version number not updated

Posted: Fri Apr 05, 2019 9:15 am
by benjaminsmith
Hi @sib.

Glad you got it worked out. Closing.

Thank you for using the Nagios Support Forum