Unable to upgrade Nagios Fuson
Posted: Tue Feb 27, 2018 12:13 pm
Hello Nagios Support
We were unable to upgrade Nagios Fusion as follows:
Please help!
We were unable to upgrade Nagios Fusion as follows:
Please help!
Code: Select all
[root@fikc-nagfsprod01 ~]# sh ./upgrade.sh
check if /tmp/nagiosfusion exists
Downloading latest Nagios Fusion release
--2018-02-27 16:59:59-- https://assets.nagios.com/downloads/nagiosfusion/fusion-latest.tar.gz
Resolving assets.nagios.com... 72.14.181.71, 2600:3c00::f03c:91ff:fedf:b821
Connecting to assets.nagios.com|72.14.181.71|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10872845 (10M) [application/x-gzip]
Saving to: “/tmp/fusion-latest.tar.gz”
100%[===========================================================================>] 10,872,845 4.75M/s in 2.2s
2018-02-27 17:00:07 (4.75 MB/s) - “/tmp/fusion-latest.tar.gz” saved [10872845/10872845]
Running upgrade
/tmp/nagiosfusion/setup /tmp/nagiosfusion
/tmp/nagiosfusion
Stopping cron, killing existing cron jobs
/tmp/nagiosfusion/setup /tmp/nagiosfusion
Running './06-sourceguardian.sh'...
Archive: sg/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.3.lin
Sourceguardian extension found for PHP version 5.3
Sourceguardian extension already in php.ini
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
SourceGuardian installed OK
RESULT=0
/tmp/nagiosfusion
/tmp/nagiosfusion/setup/upgrades /tmp/nagiosfusion
Stored root mysql password is good to go...
WARNING: Do NOT interupt the upgrade script during this process
============================================
Backing up databases
============================================
Skipping db: information_schema
Backing up fusion...
mysqldump: Got errno 28 on write
SOMETHING WENT WRONG BACKING UP fusion
Skipping db: mysql
Skipping db: test
An error occured while trying to backup your databases
while the upgrade script was attempting to recover your
ibdata1 file
The manual process for this includes:
* Backing up each of your databases into a sql file
- EXCEPT FOR 'information_schema'
- EXCEPT FOR 'performance_schema'
- EXCEPT FOR 'mysql'
* Dropping the databases
- EXCEPT FOR 'information_schema'
- EXCEPT FOR 'performance_schema'
- EXCEPT FOR 'mysql'
* Stopping the mysql/mariadb service
* Deleting the /var/lib/mysql/ibdata1 file
* Starting the mysql/mariadb service
* Creating the databases that were previously dropped
* Restoring the data into the databases
This script attempted to automate those steps, and
and failed during the backup step - so it will not
continue
[root@fikc-nagfsprod01 ~]#