Page 1 of 1

Upgrade Failed - 5.5.8 to 5.6.3

Posted: Wed Jul 03, 2019 11:55 am
by bomahony
Had a maintenance window today, upgrade failed. I previously applied this upgrade to both our staging environments successfully. I also did it via the GUI and via the CLI.
I even rolled the VM Snapshot back and retried, and it still failed!

Code: Select all

DASHLET NAME: rss_dashlet
CMD=grep register_dashlet /usr/local/nagiosxi/tmp/7eB3r/rss_dashlet/rss_dashlet.inc.php | wc -l
1
OUT=1
Dashlet looks ok...
CMD: cp -rf /usr/local/nagiosxi/tmp/7eB3r/rss_dashlet /usr/local/nagiosxi/html/includes/dashlets/
CMD: rm -rf /usr/local/nagiosxi/tmp/7eB3r
CMD: . /usr/local/nagiosxi/var/xi-sys.cfg && chown -R $nagiosuser /usr/local/nagiosxi/html/includes/dashlets/rss_dashlet


Done!
INSTALL: Dashlets installed/updated OK.
ERROR 1060 (42S21) at line 25: Duplicate column name 'dependent_servicegroup_name'

Re: Upgrade Failed - 5.5.8 to 5.6.3

Posted: Wed Jul 03, 2019 12:00 pm
by bomahony
I have extended my maintenance window until tommorow night but it will take a while to get another window, if i cannot resolve it tomorrow. Do you guys happen to have anyone in GMY/BST time to help in the AM ?
EDIT: BAH! Just saw you were closed tomorrow! :(

Re: Upgrade Failed - 5.5.8 to 5.6.3

Posted: Wed Jul 03, 2019 12:25 pm
by lmiltchev
Have you tried the solution posted here: https://support.nagios.com/forum/viewto ... 16&t=53905?

Re: Upgrade Failed - 5.5.8 to 5.6.3

Posted: Wed Jul 10, 2019 8:48 am
by bomahony
Tried this and it worked, thanks!

I also tried updating 5.5.8 to 5.5.11 on another node and then to 5.6.3 and that worked, although i hadnt tried direct from 5.5.8 so might have been unrelated.

You can close this

Re: Upgrade Failed - 5.5.8 to 5.6.3

Posted: Wed Jul 10, 2019 9:08 am
by lmiltchev
I am glad I could help! :)