Upgrade failure from 5.4.11 to 5.6.9
Posted: Fri Jan 10, 2020 1:47 pm
We're running Nagios XI 5.4.11 on Redhat 7 and are ultimately looking to move to a new Ubuntu server and update to the latest Nagios XI on that new server. Since we can't install XI 5.4.11 on the new server to do the move, we're upgrading to the latest on our existing server and will then do the migration.
When we try the upgrade from the GUI on the existing server, we get the following:
---- Starting Nagios XI Backup ----
No entry for terminal type "unknown";
using dumb terminal settings.
Backing up Core Config Manager (NagiosQL)...
tar: Removing leading `/' from member names
tar: Removing leading `/' from member names
Backing up Nagios Core...
tar: Removing leading `/' from member names
tar: /usr/local/nagios/share/perfdata/MCFD_-_MSSQL_Prod_DB_server_-_Pyramid: file changed as we read it
tar: /usr/local/nagios/share/perfdata/MCFD_-_Edsel.idir.bcgov: file changed as we read it
tar: /usr/local/nagios/var/rw/nagios.qh: socket ignored
tar: /usr/local/nagios/var/ndo.sock: socket ignored
tar: /usr/local/nagios/var: file changed as we read it
Backing up Nagios XI...
tar: Removing leading `/' from member names
tar: /usr/local/nagiosxi/var/event_handler.lock: File removed before we read it
tar: /usr/local/nagiosxi/var: file changed as we read it
Backing up MRTG...
tar: Removing leading `/' from member names
Backing up NRDP...
tar: Removing leading `/' from member names
Backing up Nagvis...
tar: Removing leading `/' from member names
Backing up MySQL databases...
Backing up cronjobs for Apache...
Backing up logrotate config files...
Backing up Apache config files...
Compressing backup...
===============
BACKUP COMPLETE
===============
Backup stored in /store/backups/nagiosxi/autoupgrade_backup.1578096133.tar.gz
---- Starting Nagios XI Upgrade ----
Cleaning up temp directory...
No entry for terminal type "unknown";
using dumb terminal settings.
Nagios XI Upgrade Log
==========================
DATE: Fri Jan 3 16:09:05 PST 2020
DISTRO INFO:
RedHatEnterpriseServer
7.3
x86_64
No entry for terminal type "unknown";
using dumb terminal settings.
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.4.lin
Sourceguardian extension found for PHP version 5.4
Sourceguardian extension already in php.ini
No entry for terminal type "unknown";
using dumb terminal settings.
Checking required prereqs...
Please wait...
OLD VERSION: 5411
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
: manager
This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions.
Resolving Dependencies
--> Running transaction check
---> Package nagios-repo.noarch 0:7-2.el7 will be updated
---> Package nagios-repo.noarch 0:7-4.el7 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
nagios-repo noarch 7-4.el7 nagios-base 6.0 k
Transaction Summary
================================================================================
Upgrade 1 Package
Total size: 6.0 k
Downloading packages:
warning: /var/cache/yum/x86_64/7Server/nagios-base/packages/nagios-repo-7-4.el7.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID c62934a0: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NAGIOS
The GPG keys listed for the "Nagios" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.
Failing package is: nagios-repo-7-4.el7.noarch
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NAGIOS
When we try the upgrade from the GUI on the existing server, we get the following:
---- Starting Nagios XI Backup ----
No entry for terminal type "unknown";
using dumb terminal settings.
Backing up Core Config Manager (NagiosQL)...
tar: Removing leading `/' from member names
tar: Removing leading `/' from member names
Backing up Nagios Core...
tar: Removing leading `/' from member names
tar: /usr/local/nagios/share/perfdata/MCFD_-_MSSQL_Prod_DB_server_-_Pyramid: file changed as we read it
tar: /usr/local/nagios/share/perfdata/MCFD_-_Edsel.idir.bcgov: file changed as we read it
tar: /usr/local/nagios/var/rw/nagios.qh: socket ignored
tar: /usr/local/nagios/var/ndo.sock: socket ignored
tar: /usr/local/nagios/var: file changed as we read it
Backing up Nagios XI...
tar: Removing leading `/' from member names
tar: /usr/local/nagiosxi/var/event_handler.lock: File removed before we read it
tar: /usr/local/nagiosxi/var: file changed as we read it
Backing up MRTG...
tar: Removing leading `/' from member names
Backing up NRDP...
tar: Removing leading `/' from member names
Backing up Nagvis...
tar: Removing leading `/' from member names
Backing up MySQL databases...
Backing up cronjobs for Apache...
Backing up logrotate config files...
Backing up Apache config files...
Compressing backup...
===============
BACKUP COMPLETE
===============
Backup stored in /store/backups/nagiosxi/autoupgrade_backup.1578096133.tar.gz
---- Starting Nagios XI Upgrade ----
Cleaning up temp directory...
No entry for terminal type "unknown";
using dumb terminal settings.
Nagios XI Upgrade Log
==========================
DATE: Fri Jan 3 16:09:05 PST 2020
DISTRO INFO:
RedHatEnterpriseServer
7.3
x86_64
No entry for terminal type "unknown";
using dumb terminal settings.
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.4.lin
Sourceguardian extension found for PHP version 5.4
Sourceguardian extension already in php.ini
No entry for terminal type "unknown";
using dumb terminal settings.
Checking required prereqs...
Please wait...
OLD VERSION: 5411
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
: manager
This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions.
Resolving Dependencies
--> Running transaction check
---> Package nagios-repo.noarch 0:7-2.el7 will be updated
---> Package nagios-repo.noarch 0:7-4.el7 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
nagios-repo noarch 7-4.el7 nagios-base 6.0 k
Transaction Summary
================================================================================
Upgrade 1 Package
Total size: 6.0 k
Downloading packages:
warning: /var/cache/yum/x86_64/7Server/nagios-base/packages/nagios-repo-7-4.el7.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID c62934a0: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NAGIOS
The GPG keys listed for the "Nagios" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.
Failing package is: nagios-repo-7-4.el7.noarch
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NAGIOS