Page 3 of 5

Re: Update to 5.6.3 appears to have failed

Posted: Tue Jul 09, 2019 11:55 am
by benningtonr
I do see a lot of " install script does not exist"


mysqlquery
WIZARD NAME: mysqlquery
CMD=grep register_configwizard /usr/local/nagiosxi/tmp/Z5al0/mysqlquery/mysqlquery.inc.php | wc -l
1
OUT=1
Wizard looks ok...
CMD: cp -rf /usr/local/nagiosxi/tmp/Z5al0/mysqlquery /usr/local/nagiosxi/html/includes/configwizards/
CMD: rm -rf /usr/local/nagiosxi/tmp/Z5al0
PROCESSING CONFIG FILE /usr/local/nagiosxi/html/includes/configwizards/mysqlquery/config.xml
LOGO:
LOGO ATTRIBUTE filename => mysql.png
COPYING LOGO: /usr/local/nagiosxi/html/includes/configwizards/mysqlquery/logos/mysql.png
TO: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/mysql.png
TEMPLATE:
TEMPLATE ATTRIBUTE filename => mysqlquery.cfg
COPYING TEMPLATE: /usr/local/nagiosxi/html/includes/configwizards/mysqlquery/templates/mysqlquery.cfg
TO: /usr/local/nagios/etc/import/configwizard-mysqlquery.cfg
SKIPPING NAGIOS CORE RESTART...
CHECKING FOR INSTALL SCRIPT '/usr/local/nagiosxi/html/includes/configwizards/mysqlquery/install.sh'...
INSTALL SCRIPT DOES NOT EXIST.
CMD: . /usr/local/nagiosxi/var/xi-sys.cfg && chown -R $nagiosuser /usr/local/nagiosxi/html/includes/configwizards/mysqlquery

Re: Update to 5.6.3 appears to have failed

Posted: Tue Jul 09, 2019 12:07 pm
by benningtonr
Still not upgrading, i have been doing this for 6 years and never had a problem before.

Re: Update to 5.6.3 appears to have failed

Posted: Tue Jul 09, 2019 2:16 pm
by tgriep
Can you get the /tmp/nagiosxi/upgrade.log file and upload it to the post?

Re: Update to 5.6.3 appears to have failed

Posted: Tue Jul 09, 2019 2:24 pm
by benningtonr
Here is the requested file.
I also have a backup of the server before i started the upgrade if we need to go back. I do not know how to go back, but i am sure there are some instructions.

Re: Update to 5.6.3 appears to have failed

Posted: Tue Jul 09, 2019 3:11 pm
by tgriep
The wget command from my previous post was truncated but it is fixed now.

In the log file, right after core was updated, this line is displayed.
Upgrade cancelled

Did you stop the upgrade by pressing n when prompted to continue to upgrade the components, wizards, and dashlets?

Don't worry about the missing install.sh scripts, try running the upgrade again.

Re: Update to 5.6.3 appears to have failed

Posted: Thu Jul 11, 2019 10:58 am
by benningtonr
Okay, i will run again

Re: Update to 5.6.3 appears to have failed

Posted: Thu Jul 11, 2019 12:03 pm
by lmiltchev
Let us know how it went.

Re: Update to 5.6.3 appears to have failed

Posted: Thu Jul 11, 2019 1:21 pm
by benningtonr
Still failing, here is the putty capture log and teh upgrade log

Re: Update to 5.6.3 appears to have failed

Posted: Thu Jul 11, 2019 2:00 pm
by lmiltchev
Run:

Code: Select all

cd /tmp/nagiosxi/
touch mysql.5600.updated
and try rerunning the upgrade script. Did you complete/pass this point?

Re: Update to 5.6.3 appears to have failed

Posted: Thu Jul 11, 2019 2:03 pm
by benningtonr
Running the above lines now, then attempting upgrade again