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.
danniiffxi
Posts: 121
Joined: Tue Jan 30, 2018 3:29 am
Location: UK

Re: Update to 5.6.3 appears to have failed

Post by danniiffxi »

tgriep wrote:Run the following to create the snmptt user and re-run the upgrade.

Code: Select all

adduser snmptt
usermod -a -G nagcmd snmptt
usermod -a -G nagios snmptt


This worked for me, many thanks tgriep..
danniiffxi
Posts: 121
Joined: Tue Jan 30, 2018 3:29 am
Location: UK

Re: Update to 5.6.3 appears to have failed

Post by danniiffxi »

benningtonr wrote:is this for Danni to run or me?
Both, we have the same error. it should work for you also. either way it can't hurt if it does not work :)
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 upgrade again now, fingers crossed
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Update to 5.6.3 appears to have failed

Post by benningtonr »

getting same thing when trying to get profile

PROFILE BUILD FAILED
Array
(
)
CODE: 1

ran the three lines as directed, and ran the update again as root, still not completing.

i started capturing the install script a few seconds after i started it, ai am uploading the txt file
You do not have the required permissions to view the files attached to this post.
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Update to 5.6.3 appears to have failed

Post by benningtonr »

Should i try running the update from the GUI, i have always done it via CLI
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 »

@benningtonr, Follow this article to fix the Profile Build Failure.
https://support.nagios.com/kb/article/n ... d-533.html

Stick with the CLI upgrade but run this procedure to do it.

Code: Select all

cd /tmp
rm -rf nagiosxi xi*.tar.gz
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.6.3.tar.gz
tar xzf xi-5.6.3.tar.gz
cd /tmp/nagiosxi
sed -i '/\/mysql\/schema_/s/$/ --force/' upgrade
./upgrade
This should allow the upgrade to finish without the database update error.
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 »

[root@nagios tmp]# wget https://assets.nagios.com/downloads/nag ... 6.3.tar.gz
--2019-07-09 12:21:31-- https://assets.nagios.com/downloads/nag
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... 301 Moved Permanently
Location: https://assets.nagios.com/redirects/red ... nloads/nag [following]
--2019-07-09 12:21:31-- https://assets.nagios.com/redirects/red ... nloads/nag
Reusing existing connection to assets.nagios.com:443.
HTTP request sent, awaiting response... 404 Not Found
2019-07-09 12:21:31 ERROR 404: Not Found.

--2019-07-09 12:21:31-- http://.../
Resolving ...... failed: Name or service not known.
wget: unable to resolve host address “...”
--2019-07-09 12:21:31-- http://6.3.tar.gz/
Resolving 6.3.tar.gz... failed: Name or service not known.
wget: unable to resolve host address “6.3.tar.gz”
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 used these lines, and then the rest of your lines

wget http://assets.nagios.com/downloads/nagi ... est.tar.gz

tar xzf xi-latest.tar.gz

running install now fingers crossed
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Update to 5.6.3 appears to have failed

Post by benningtonr »

well that did not work, got the exact URL from your link, and running all the commands you sent exactly as sent, installing yet again.

Hopefully fifth time is a charm
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 have captured the last two installs in a single txt file, if this one fails i will upload the file.
Locked