I'm recently testing a migration to from CentOS 6 to Ubuntu (20.04 x86_64) on NagiosXI and I'm running into few issues during the upgrade process.
Here is what I did:
- I created an backup on the Centos with Nagios XI (5.7.5).
- I installed a fresh Ubuntu 20.04, and installed Nagios 5.7.5 on it
- I ran the recovery script and also ran the repair script
- The system started working as expected
- Then I started an upgrade of XI from the Web UI
Code: Select all
tar: Removing leading `/' from member names
Backing up MySQL databases...
mysqldump: [Warning] Using a password on the command line interface can be insecure.
mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces
mysqldump: [Warning] Using a password on the command line interface can be insecure.
mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces
mysqldump: [Warning] Using a password on the command line interface can be insecure.
mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces
Backing up cronjobs for Apache...
Backing up logrotate config files...
Backing up Apache config files...
Compressing backup...
===============
BACKUP COMPLETE
===============
Code: Select all
Things look okay - No serious problems were detected during the pre-flight check
> Return Code: 0
--------------------------------------
PHP Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /usr/local/nagiosxi/html/includes/phpmailer/PHPMailerAutoload.php on line 45
PHP Deprecated: Function get_magic_quotes_gpc() is deprecated in /usr/local/nagiosxi/html/includes/utils.inc.php on line 256
PHP Deprecated: Function get_magic_quotes_gpc() is deprecated in /usr/local/nagiosxi/html/includes/utils.inc.php on line 256
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/adLDAP/src/classes/adLDAPUsers.php on line 520
chown: invalid user: 'apache:nagios'
chown: invalid user: 'apache:nagios'
chown: invalid user: 'apache:nagios'
chown: invalid user: 'apache:nagios'
chown: invalid user: 'apache:nagios'
chown: invalid user: 'apache:nagios'
chown: invalid user: 'apache:nagios'
chown: invalid user: 'apache:nagios'
chown: invalid user: 'apache:nagios'
chown: invalid user: 'apache:nagios'
sh: 1: rpm: not found
Nagios XI Upgrade Complete!