Update to 5.6.3 appears to have failed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Update to 5.6.3 appears to have failed

Post 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
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Update to 5.6.3 appears to have failed

Post by benningtonr »

Still not upgrading, i have been doing this for 6 years and never had a problem before.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Update to 5.6.3 appears to have failed

Post by tgriep »

Can you get the /tmp/nagiosxi/upgrade.log file and upload it to the post?
Be sure to check out our Knowledgebase for helpful articles and solutions!
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Update to 5.6.3 appears to have failed

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Update to 5.6.3 appears to have failed

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Update to 5.6.3 appears to have failed

Post by benningtonr »

Okay, i will run again
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Update to 5.6.3 appears to have failed

Post by lmiltchev »

Let us know how it went.
Be sure to check out our Knowledgebase for helpful articles and solutions!
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Update to 5.6.3 appears to have failed

Post by benningtonr »

Still failing, here is the putty capture log and teh upgrade log
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Update to 5.6.3 appears to have failed

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Update to 5.6.3 appears to have failed

Post by benningtonr »

Running the above lines now, then attempting upgrade again
Locked