Page 1 of 1

Upgrade failed from 5.5.11 to 5.6.2

Posted: Thu May 23, 2019 2:16 am
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

Re: Upgrade failed from 5.5.11 to 5.6.2

Posted: Thu May 23, 2019 8:54 am
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.

Re: Upgrade failed from 5.5.11 to 5.6.2

Posted: Mon May 27, 2019 5:00 am
by atsb
will try to perform upgrade tonight and i will let you know how it went.

Re: Upgrade failed from 5.5.11 to 5.6.2

Posted: Tue May 28, 2019 12:30 pm
by atsb
You suggestion worked, thanks!

Re: Upgrade failed from 5.5.11 to 5.6.2

Posted: Tue May 28, 2019 1:30 pm
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.