Page 1 of 1

Upgrade from R1.3 to R1.4 fails.

Posted: Thu Dec 20, 2012 9:27 am
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


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

Posted: Thu Dec 20, 2012 10:12 am
by mguthrie
What Linux distro and version are you currently running? I'll see if I can recreate the issue.

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

Posted: Thu Dec 20, 2012 10:55 am
by TBT
CentOS release 6.3 (Final)

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

Posted: Thu Dec 20, 2012 11:29 am
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.

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

Posted: Thu Dec 20, 2012 12:04 pm
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

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

Posted: Thu Dec 20, 2012 4:10 pm
by TBT
Has the change been pushed out to the latest build?

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

Posted: Thu Dec 20, 2012 5:18 pm
by mguthrie
Yeah, I just updated the tarball right after I posted the solution.