Page 1 of 1

upgrade failure

Posted: Fri Jun 16, 2017 2:57 pm
by teh0015
I think I have a similar issue to https://support.nagios.com/forum/viewto ... 23#p198078

I used the web interface to upgrade from 5.2.7 to latest
Got errors on a host and a service config.

I used the web interface to fix these (a blank contact group and a missing max tries)
Checked config - it said everything was good.
Used 'Write Config Files' to write out files then verified them.

Tried to run the update via the web interface again and it stopped at " Duplicate column name api_key'"

I'm guessing it's the same issue as in the link - where the db has already upgraded but I dont' know where / what to comment out.

Re: upgrade failure

Posted: Fri Jun 16, 2017 3:40 pm
by teh0015
I rolled back to the snap I took before the upgrade, fixed those 2 cfg's, wrote out/verified ... then ran the update.
Succeeded and everything seems fine.

Re: upgrade failure

Posted: Mon Jun 19, 2017 9:47 am
by tgriep
If everything is working for you and you do not have any questions related to this post, shall I close and lock the post for you?