if mysql -u $cfg__db_info__nagiosxi__user --password="$cfg__db_info__nagiosxi__pwd" --database=$cfg__db_info__nagiosxi__db -e 'DESCRIBE xi_cmp_trapdata' | grep -q trapdata_custom_format; then
Removing the -h $cfg__db_info__nagiosxi__dbserver should allow you to re-run the upgrade successfully.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
I corrected the dbserver setting in: /usr/local/nagiosxi/html/config.inc.php
It was blank, I set it to localhost (our DB was offloaded to an ext DB some time ago, so it seems that this hasn't been reverted properly).
I wonder why you didn't tell me to do this in the first place (correct the root cause, instead of working it around in the install script, which might give the same issue in next upgrades) ?
Now the log said, that the upgrade seems complete, but I still got the red box saying that it had errors, again attaching my log.
BTW - what does the "No entry for terminal type "unknown"" message mean?
You do not have the required permissions to view the files attached to this post.
The reason I didn't mention to change the config is because a blank dbserver variable should work, and we purposely make sure that it works in all of our scripts. This not working is actually a bug.
At the end of the day it could have been done either way though since it's both a bug and a configuration setting that can be edited.
The no terminal entry error happens from sudo, those scripts that you see that happen on are being ran through sudo.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Yeah I took a look, the output is always a little dirty looking from the compilation but everything looks okay. All the things that needed upgrading upgraded with no errors.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
I noticed, that there were some components updates available, but after installing them they seems to be still on the old version (and system saying that updates are still available).
Should I open up a separate thread for this issue?
I would click the upgrade all components button and do the same for the wizards. We only upgrade the components/wizards by force during a minor 5.x or major upgrade. So that you can determine if you want us to blow away anything customized. We have made some releases of components and wizards since 5.5 so you may have a few outdated in each.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
I do update the components and wizards on regular basis, but it seems that since 5.5.0 I can't do that anymore:
Operations Center in 1.1.1 installed (available update to 1.1.2)
Proxy Configuration in 1.1.3 installed (available update to 1.1.4)
When I click Install Updates it shows that it will update the above mentioned components, after applying I get the message that it is upgrading them, then that they finished, but in the end after refreshing the page the components are still in the old version and have updates available.
Looks like the UI is thinking that the update went well, but it didn't...
cat /usr/local/nagiosxi/html/includes/components/proxy/proxy.inc.php | grep VERSION
If the component file shows the wrong version too, we will have to have you tail the cmdsubsys.log file to see if there is an error when it tries to install the components.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.