Page 1 of 1

Unable to upgrade from 5.4.13 to 5.5

Posted: Tue Jul 03, 2018 1:22 pm
by Matthew.Cary
I've tried the upgrade both from the GUI and the command line.

The last few lines of the install log are:

*** Compile finished ***

You can now continue with the installation or upgrade process.

Read the PDF documentation (docs/NRPE.pdf) for information on the next
steps you should take to complete the installation or upgrade.

cd ./src/; make install-plugin
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
/bin/install -c -m 755 -d /usr/local/nagios/bin
/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/bin/install -c -m 775 -o nagios -g nagios check_nrpe /usr/local/nagios/libexec
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
cd ./src/; make install-daemon
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
/bin/install -c -m 755 -d /usr/local/nagios/bin
/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/bin/install -c -m 755 nrpe /usr/local/nagios/bin
/bin/install -c -m 755 -d /usr/lib/tmpfiles.d
/bin/install -c -m 644 ../startup/tmpfile.conf /usr/lib/tmpfiles.d/nrpe.conf
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
/bin/install -c -m 644 startup/default-service /usr/lib/systemd/system/nrpe.service
NRPE installed OK
Updating NRDP..


At that point the install ends. In the GUI I get an "install failed" message. At the command line I'm just dumped back to a command prompt
I don't see any errors further up the the log.
Ive upgraded this server from older to newer versions of 5.4.xx several times without issue. Any thoughts as to what I should be doing differently?

Re: Unable to upgrade from 5.4.13 to 5.5

Posted: Tue Jul 03, 2018 1:38 pm
by npolovenko
@Matthew.Cary, What OS are you using? Is it an online install or an offline install? Could you upload the full upgrade.log from the /tmp/nagiosxi folder?

Re: Unable to upgrade from 5.4.13 to 5.5

Posted: Tue Jul 03, 2018 1:47 pm
by Matthew.Cary
We are using RHEL 7.4

How can I tell the difference between online and offline installs? The log I'm submitting comes from following the "Manual Install" instructions.
I've attached the log

Re: Unable to upgrade from 5.4.13 to 5.5

Posted: Tue Jul 03, 2018 3:05 pm
by scottwilkerson
The followinf is a known bug that can be resolved with the following procedure

https://support.nagios.com/forum/viewto ... 08#p255370

Re: Unable to upgrade from 5.4.13 to 5.5

Posted: Tue Jul 03, 2018 3:37 pm
by Matthew.Cary
I'm getting farther. I'm now getting the following error:

Loaded plugins: enabled_repos_upload, package_upload, product-id, search-
: disabled-repos, subscription-manager
Examining wkhtmltox-0.12.5.el7.x86_64.rpm: 1:wkhtmltox-0.12.5-1.centos7.x86_64
Marking wkhtmltox-0.12.5.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package wkhtmltox.x86_64 1:0.12.5-1.centos7 will be installed
--> Processing Dependency: xorg-x11-fonts-75dpi for package: 1:wkhtmltox-0.12.5-1.centos7.x86_64
--> Processing Dependency: xorg-x11-fonts-Type1 for package: 1:wkhtmltox-0.12.5-1.centos7.x86_64
--> Finished Dependency Resolution
Error: Package: 1:wkhtmltox-0.12.5-1.centos7.x86_64 (/wkhtmltox-0.12.5.el7.x86_64)
Requires: xorg-x11-fonts-Type1
Error: Package: 1:wkhtmltox-0.12.5-1.centos7.x86_64 (/wkhtmltox-0.12.5.el7.x86_64)
Requires: xorg-x11-fonts-75dpi
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************

Error: Package: 1:wkhtmltox-0.12.5-1.centos7.x86_64 (/wkhtmltox-0.12.5.el7.x86_64)
Requires: xorg-x11-fonts-Type1
Error: Package: 1:wkhtmltox-0.12.5-1.centos7.x86_64 (/wkhtmltox-0.12.5.el7.x86_64)
Requires: xorg-x11-fonts-75dpi
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Uploading Enabled Repositories Report
Loaded plugins: product-id, subscription-manager

And am then dropped to a command prompt>

Are there more things I should comment out in my config? Or am I missing some new prerequisite for 5.5?

Re: Unable to upgrade from 5.4.13 to 5.5

Posted: Thu Jul 05, 2018 9:09 am
by scottwilkerson
Yes, looks like you need xorg-x11-fonts-Type1 and xorg-x11-fonts-75dpi

Re: Unable to upgrade from 5.4.13 to 5.5

Posted: Thu Jul 05, 2018 11:52 am
by Matthew.Cary
That sounds like a new dependency as it wasn't needed in 5.4.xx.

The upgrade script is expecting to be able to pull down some packages, but The default package managers for RHEL7 don't include the xorg-x11-fonts-Type1 or xorg-x11-fonts-75dpi as installable packages.

I can probably dig into my system to figure out how to manually install this new requirement, but that seems a bit much. This upgrade is turning into more of an odyssey that I'm really up for. I'll wait until a better upgrade installer is ready.

Re: Unable to upgrade from 5.4.13 to 5.5

Posted: Thu Jul 05, 2018 12:22 pm
by scottwilkerson
Do you have the RHEL Optional Channel enabled on your install? This has always been required for XI

Re: Unable to upgrade from 5.4.13 to 5.5

Posted: Thu Jul 05, 2018 3:32 pm
by Matthew.Cary
We do have those enabled, but the install cannot load the packages it needs for whatever reason.

Clearly, there are new requirements in 5.5 that were not present in 5.4.xx. This server has been upgraded many times in the past without incident. I've already had to edit the install script (per your advice) to disable the ajaxterm update and now it's choking on installing a bunch of XWindow dependencies that were never here before.

WIth these problems, and the other threads I'm seeing in the forum, I'm thinking this update feels a little half-baked.

Re: Unable to upgrade from 5.4.13 to 5.5

Posted: Thu Jul 05, 2018 4:14 pm
by scottwilkerson
Matthew.Cary wrote:We do have those enabled, but the install cannot load the packages it needs for whatever reason.

Clearly, there are new requirements in 5.5 that were not present in 5.4.xx. This server has been upgraded many times in the past without incident. I've already had to edit the install script (per your advice) to disable the ajaxterm update and now it's choking on installing a bunch of XWindow dependencies that were never here before.

WIth these problems, and the other threads I'm seeing in the forum, I'm thinking this update feels a little half-baked.
Sorry you feel that way, but it is trying to install the dependencies that are choking the install.