upgrade failure

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
teh0015
Posts: 59
Joined: Tue Jul 07, 2015 9:07 am

upgrade failure

Post 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.
teh0015
Posts: 59
Joined: Tue Jul 07, 2015 9:07 am

Re: upgrade failure

Post 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.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: upgrade failure

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked