Upgrade from 5.4.13 to 5.6.12 unsuccessful

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
Dave Ryan
Posts: 25
Joined: Mon Mar 12, 2018 12:00 pm
Location: San Francisco, CA

Upgrade from 5.4.13 to 5.6.12 unsuccessful

Post by Dave Ryan »

Hello,

I'm attempting to upgrade my Nagios XI instance from 5.4.13 to 5.6.12. However, the upgrade is failing (log attached). I also experienced issues on my last upgrade (see post https://support.nagios.com/forum/viewto ... 16&t=47882) but somehow the upgrade eventually went though even though it said it was unsuccessful.

Any ideas on what I should try to get this upgrade to go through successfully?

Thanks,
Dave.
You do not have the required permissions to view the files attached to this post.
Dave Ryan.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Upgrade from 5.4.13 to 5.6.12 unsuccessful

Post by Box293 »

Could we get you to try the upgrade from a terminal session following the Manual Download method please:
https://assets.nagios.com/downloads/nag ... ctions.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
Dave Ryan
Posts: 25
Joined: Mon Mar 12, 2018 12:00 pm
Location: San Francisco, CA

Re: Upgrade from 5.4.13 to 5.6.12 unsuccessful

Post by Dave Ryan »

Thanks for the response. This is my production Nagios instance so I will attempt the Manual Download method after hours over the next day or so. Is there any added risk with upgrading using this method? I need to ensure that if the upgrade fails again that it will continue to operate successfully on the current 5.4.13 version. Thanks again.
Dave Ryan.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade from 5.4.13 to 5.6.12 unsuccessful

Post by scottwilkerson »

Dave Ryan wrote:This is my production Nagios instance so I will attempt the Manual Download method after hours over the next day or so. Is there any added risk with upgrading using this method?
No added risk, actually, I would recommend this.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
User avatar
Dave Ryan
Posts: 25
Joined: Mon Mar 12, 2018 12:00 pm
Location: San Francisco, CA

Re: Upgrade from 5.4.13 to 5.6.12 unsuccessful

Post by Dave Ryan »

I've attempted the Manual Download upgrade method however it still failed with a similar error message (Error: Nothing to do). Please see log attached.

Thanks,
Dave.
You do not have the required permissions to view the files attached to this post.
Dave Ryan.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade from 5.4.13 to 5.6.12 unsuccessful

Post by scottwilkerson »

That is strange it is cutting off like you are getting the error from the you command

Can you run the upgrade as follows and post the results

Code: Select all

bash -x ./upgrade
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
User avatar
Dave Ryan
Posts: 25
Joined: Mon Mar 12, 2018 12:00 pm
Location: San Francisco, CA

Re: Upgrade from 5.4.13 to 5.6.12 unsuccessful

Post by Dave Ryan »

Please find the log attached which used "bash -x ./upgrade"

Thanks,
Dave.
You do not have the required permissions to view the files attached to this post.
Dave Ryan.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade from 5.4.13 to 5.6.12 unsuccessful

Post by scottwilkerson »

For some reason your system cannot find the php-imap package

Lets run

Code: Select all

yum clean all
And then lets see if we can get info on the package

Code: Select all

yum provides php-imap
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
User avatar
Dave Ryan
Posts: 25
Joined: Mon Mar 12, 2018 12:00 pm
Location: San Francisco, CA

Re: Upgrade from 5.4.13 to 5.6.12 unsuccessful

Post by Dave Ryan »

I've executed the commands, please see attached log.

Thanks,
Dave.
You do not have the required permissions to view the files attached to this post.
Dave Ryan.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade from 5.4.13 to 5.6.12 unsuccessful

Post by scottwilkerson »

it doesn't appear you have the optional channel enabled as it should be on a Nagios XI install

Code: Select all

subscription-manager repos --enable rhel-6-server-optional-rpms
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked