Upgrade failed from 5.5.11 to 5.6.2

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
atsb
Posts: 75
Joined: Mon Feb 12, 2018 5:23 am

Upgrade failed from 5.5.11 to 5.6.2

Post by atsb »

Hello!

About nagios XI environment
1) Linux Distribution and version? Centos7
2) 32 or 64bit? 64bit
3) VMware Image or Manual Install of XI? Manual install
4) Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL? SSL
5) NagiosXI version: 5.5.11

NagiosXI upgrade failed from 5.5.11 to 5.6.2 i assume because he cant install some packages, specifically php packages?
Capture.PNG
Its interesting because on the test environment everything succeeded when i made upgrade from 5.5.11 -> 5.6.0 -> 5.6.1 -> 5.6.2(They are using same repositories) - this was made several weeks ago
I am also uploading the upgrade.log here
upgrade.log
You do not have the required permissions to view the files attached to this post.
Last edited by atsb on Tue May 28, 2019 12:31 pm, edited 1 time in total.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Upgrade failed from 5.5.11 to 5.6.2

Post by tgriep »

Try this, edit the upgrade script and change this line from

Code: Select all

yum install `yum list installed php*common* | awk -F "-" {'print $1'} | tail -1`-imap -y
to

Code: Select all

yum install `yum list installed php*common* | grep php | awk -F "-" {'print $1'} | tail -1`-imap -y
Save the change and see if the manual upgrade works.
Be sure to check out our Knowledgebase for helpful articles and solutions!
atsb
Posts: 75
Joined: Mon Feb 12, 2018 5:23 am

Re: Upgrade failed from 5.5.11 to 5.6.2

Post by atsb »

will try to perform upgrade tonight and i will let you know how it went.
atsb
Posts: 75
Joined: Mon Feb 12, 2018 5:23 am

Re: Upgrade failed from 5.5.11 to 5.6.2

Post by atsb »

You suggestion worked, thanks!
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Upgrade failed from 5.5.11 to 5.6.2

Post by tgriep »

Your welcome. Thanks for letting us know that it worked.
FYI, that change will be added to the next release of XI so you will not have to manually edit the upgrade script after the next release.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked