Upgrade from R1.3 to R1.4 fails.

This support forum board is for questions relating to Nagios Fusion.
Locked
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Upgrade from R1.3 to R1.4 fails.

Post by TBT »

Is encoding new to R1.4?

Code: Select all

[root@monitor nagiosfusion]# ./upgrade
OLD VERSION: 204
Copying over new Fusion directory...
Archive:  sourceguardian/ixed4.lin.x86-64.zip
  inflating: /usr/lib64/php/modules/ixed.4.3.lin
  inflating: /usr/lib64/php/modules/ixed.4.3ts.lin
  inflating: /usr/lib64/php/modules/ixed.4.4.lin
  inflating: /usr/lib64/php/modules/ixed.4.4ts.lin
  inflating: /usr/lib64/php/modules/ixed.5.0.0.lin
  inflating: /usr/lib64/php/modules/ixed.5.0.0ts.lin
  inflating: /usr/lib64/php/modules/ixed.5.0.1.lin
  inflating: /usr/lib64/php/modules/ixed.5.0.1ts.lin
  inflating: /usr/lib64/php/modules/ixed.5.0.2.lin
  inflating: /usr/lib64/php/modules/ixed.5.0.2ts.lin
  inflating: /usr/lib64/php/modules/ixed.5.0.lin
  inflating: /usr/lib64/php/modules/ixed.5.0ts.lin
  inflating: /usr/lib64/php/modules/ixed.5.1.lin
  inflating: /usr/lib64/php/modules/ixed.5.1ts.lin
  inflating: /usr/lib64/php/modules/ixed.5.2.lin
  inflating: /usr/lib64/php/modules/ixed.5.2ts.lin
  inflating: /usr/lib64/php/modules/ixed.5.3.lin
  inflating: /usr/lib64/php/modules/ixed.5.3ts.lin
Archive:  sourceguardian/ixed4.lin.x86-32.zip
checkdir:  cannot create extraction directory: /usr/lib/php/modules
           No such file or directory
No valid Sourceguardian extension found for PHP version 5.3

Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Upgrade from R1.3 to R1.4 fails.

Post by mguthrie »

What Linux distro and version are you currently running? I'll see if I can recreate the issue.
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Upgrade from R1.3 to R1.4 fails.

Post by TBT »

CentOS release 6.3 (Final)
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Upgrade from R1.3 to R1.4 fails.

Post by mguthrie »

Digging on this at the moment. There was a redundant step on installing the sourcegaurdian extensions, and it looks like the 2nd time it tried to install them as if the system was a 32bit OS. I'll try and have a fix posted for you later today.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Upgrade from R1.3 to R1.4 fails.

Post by mguthrie »

Ok, got it. One of the shell variables wasn't being initialized. Add this to line 5 of the upgrade script.

Code: Select all

./init.sh
So the first few lines of upgrade should look like this:

Code: Select all

#!/bin/sh -e

. ./fusion-sys.cfg

./init.sh
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Upgrade from R1.3 to R1.4 fails.

Post by TBT »

Has the change been pushed out to the latest build?
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Upgrade from R1.3 to R1.4 fails.

Post by mguthrie »

Yeah, I just updated the tarball right after I posted the solution.
Locked