Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Users

Upgrade from RT 3.8.4 to 3.8.6 Required Newer Mod_Perl 1.x under Apache 1.3.41

 

 

Request Tracker users RSS feed   Index | Next | Previous | View Threaded


NFOGGI at depaul

Nov 5, 2009, 8:43 PM

Post #1 of 8 (644 views)
Permalink
Upgrade from RT 3.8.4 to 3.8.6 Required Newer Mod_Perl 1.x under Apache 1.3.41

Just in case anyone else runs into this, not sure if it was supposed to be this way or not, but after upgrading to RT 3.8.6 from 3.8.4 we were getting an:

[error] Can't call method "get" on an undefined value at <perl-home-dir>/5.8.6/HTML/Mason/ApacheHandler.pm line 563.\nCompilation failed in require at <rt-home-dir>/bin/../lib/RT/Interface/Web/Handler.pm line 140.\n

in the apache error logs. We were running Apache 1.3.41 with mod_perl 1.29.. after thinking it was a perl module problem, and making sure i had all the latest of those, still the same problem. Finally, i upgraded to mod_perl 1.31 and everything is running smoothly.

I didn't see this mentioned anywere, maybe i missed it, but i thought i'd pass it along in case anyone else runs into it and searches for the error...


NFOGGI at depaul

Nov 5, 2009, 8:52 PM

Post #2 of 8 (617 views)
Permalink
Upgrade from RT 3.8.4 to 3.8.6 Required Newer Mod_Perl 1.x under Apache 1.3.41 [In reply to]

Just in case anyone else runs into this, not sure if it was supposed to be this way or not, but after upgrading to RT 3.8.6 from 3.8.4 we were getting an:

[error] Can't call method "get" on an undefined value at <perl-home-dir>/5.8.6/HTML/Mason/ApacheHandler.pm line 563.\nCompilation failed in require at <rt-home-dir>/bin/../lib/RT/Interface/Web/Handler.pm line 140.\n

in the apache error logs. We were running Apache 1.3.41 with mod_perl 1.29.. after thinking it was a perl module problem, and making sure i had all the latest of those, still the same problem. Finally, i upgraded to mod_perl 1.31 and everything is running smoothly.

I didn't see this mentioned anywere, maybe i missed it, but i thought i'd pass it along in case anyone else runs into it and searches for the error...


jesse at bestpractical

Nov 6, 2009, 8:15 AM

Post #3 of 8 (619 views)
Permalink
Re: Upgrade from RT 3.8.4 to 3.8.6 Required Newer Mod_Perl 1.x under Apache 1.3.41 [In reply to]

On Thu, Nov 05, 2009 at 10:52:29PM -0600, Foggi, Nicola wrote:
>
> Just in case anyone else runs into this, not sure if it was supposed to be this way or not, but after upgrading to RT 3.8.6 from 3.8.4 we were getting an:
>
> [error] Can't call method "get" on an undefined value at <perl-home-dir>/5.8.6/HTML/Mason/ApacheHandler.pm line 563.\nCompilation failed in require at <rt-home-dir>/bin/../lib/RT/Interface/Web/Handler.pm line 140.\n
>
> in the apache error logs. We were running Apache 1.3.41 with mod_perl 1.29.. after thinking it was a perl module problem, and making sure i had all the latest of those, still the same problem. Finally, i upgraded to mod_perl 1.31 and everything is running smoothly.
>
> I didn't see this mentioned anywere, maybe i missed it, but i thought i'd pass it along in case anyone else runs into it and searches for the error...

That should not have happened. Did you upgrade _anything_ else at the
same time? 3.8.4 to 3.8.6 should not have broken any API compatibility.
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales [at] bestpractical


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


NFOGGI at depaul

Nov 6, 2009, 8:23 AM

Post #4 of 8 (609 views)
Permalink
Re: Upgrade from RT 3.8.4 to 3.8.6 Required Newer Mod_Perl 1.x under Apache 1.3.41 [In reply to]

Steps for the upgrade were:

- Compile RT 3.8.6 and install to new directory
- Run Upgrade on DB
- Install RTFM into new directory (was previously on 3.8.4) RTFM complained about ExtUtils::MakeMaker when i re-made it (it might of before and i didn't notice) so i updated ExtUtils::MakeMaker and then installed it
- Restarted Apache after pointing to new RT install directory
- Got Error as seen below
- Updated a TON of perl modules to see if that did it (the all passed the dep tests, but figured it was worth a shot)
- Restarted apache, still same error
- recompiled apache against new mod_per
- restarted apache and now it works

Nicola


-----Original Message-----
From: Jesse Vincent [mailto:jesse [at] bestpractical]
Sent: Fri 11/6/2009 10:15 AM
To: Foggi, Nicola
Cc: rt-users [at] lists
Subject: Re: [rt-users] Upgrade from RT 3.8.4 to 3.8.6 Required Newer Mod_Perl 1.x under Apache 1.3.41




On Thu, Nov 05, 2009 at 10:52:29PM -0600, Foggi, Nicola wrote:
>
> Just in case anyone else runs into this, not sure if it was supposed to be this way or not, but after upgrading to RT 3.8.6 from 3.8.4 we were getting an:
>
> [error] Can't call method "get" on an undefined value at <perl-home-dir>/5.8.6/HTML/Mason/ApacheHandler.pm line 563.\nCompilation failed in require at <rt-home-dir>/bin/../lib/RT/Interface/Web/Handler.pm line 140.\n
>
> in the apache error logs. We were running Apache 1.3.41 with mod_perl 1.29.. after thinking it was a perl module problem, and making sure i had all the latest of those, still the same problem. Finally, i upgraded to mod_perl 1.31 and everything is running smoothly.
>
> I didn't see this mentioned anywere, maybe i missed it, but i thought i'd pass it along in case anyone else runs into it and searches for the error...

That should not have happened. Did you upgrade _anything_ else at the
same time? 3.8.4 to 3.8.6 should not have broken any API compatibility.


jesse at bestpractical

Nov 6, 2009, 8:38 AM

Post #5 of 8 (616 views)
Permalink
Re: Upgrade from RT 3.8.4 to 3.8.6 Required Newer Mod_Perl 1.x under Apache 1.3.41 [In reply to]

>
> > Just in case anyone else runs into this, not sure if it was supposed to be this way or not, but after upgrading to RT 3.8.6 from 3.8.4 we were getting an:
> >
> > [error] Can't call method "get" on an undefined value at <perl-home-dir>/5.8.6/HTML/Mason/ApacheHandler.pm line 563.\nCompilation failed in require at <rt-home-dir>/bin/../lib/RT/Interface/Web/Handler.pm line 140.\n
>


Since I don't know what mason that is, what does that chunk of
ApacheHandler.pm look like? (Trying to find out what's on line 563 and
around it)


_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales [at] bestpractical


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


NFOGGI at depaul

Nov 6, 2009, 8:47 AM

Post #6 of 8 (623 views)
Permalink
Re: Upgrade from RT 3.8.4 to 3.8.6 Required Newer Mod_Perl 1.x under Apache 1.3.41 [In reply to]

$VERSION = 1.69;

line 563 is "@val = $c->dir_config->get($p)" as part of this sub....

sub _get_val
{
my ($self, $p, $config, $r) = @_;

my @val;
if (wantarray || !$config)
{
if ($config)
{
@val = $config->get($p);
}
else
{
my $c = $r ? $r : _get_apache_server;
@val = $c->dir_config->get($p);
}
}
else
{
@val = exists $config->{$p} ? $config->{$p} : ();
}

param_error "Only a single value is allowed for configuration parameter '$p'\n"
if @val > 1 && ! wantarray;

return wantarray ? @val : $val[0];
}



-----Original Message-----
From: Jesse Vincent [mailto:jesse [at] bestpractical]
Sent: Fri 11/6/2009 10:38 AM
To: Foggi, Nicola
Cc: Jesse Vincent; rt-users [at] lists
Subject: Re: [rt-users] Upgrade from RT 3.8.4 to 3.8.6 Required Newer Mod_Perl 1.x under Apache 1.3.41


>
> > Just in case anyone else runs into this, not sure if it was supposed to be this way or not, but after upgrading to RT 3.8.6 from 3.8.4 we were getting an:
> >
> > [error] Can't call method "get" on an undefined value at <perl-home-dir>/5.8.6/HTML/Mason/ApacheHandler.pm line 563.\nCompilation failed in require at <rt-home-dir>/bin/../lib/RT/Interface/Web/Handler.pm line 140.\n
>


Since I don't know what mason that is, what does that chunk of
ApacheHandler.pm look like? (Trying to find out what's on line 563 and
around it)


jesse at bestpractical

Nov 6, 2009, 8:59 AM

Post #7 of 8 (611 views)
Permalink
Re: Upgrade from RT 3.8.4 to 3.8.6 Required Newer Mod_Perl 1.x under Apache 1.3.41 [In reply to]

On Fri 6.Nov'09 at 10:47:50 -0600, Foggi, Nicola wrote:
>
> $VERSION = 1.69;
>
> line 563 is "@val = $c->dir_config->get($p)" as part of this sub....

That is sadly much less useful than I'd hoped. If anyone else manages to
replicate this, please ping the list before destroying the evidence of
the failure so we can help to fix it properly.

Thanks,
Jesse
Attachments: signature.asc (0.19 KB)


NFOGGI at depaul

Nov 6, 2009, 9:03 AM

Post #8 of 8 (612 views)
Permalink
Re: Upgrade from RT 3.8.4 to 3.8.6 Required Newer Mod_Perl 1.x under Apache 1.3.41 [In reply to]

if i get a chance i'll see if i can replicate it against a test box...

-----Original Message-----
From: Jesse Vincent [mailto:jesse [at] bestpractical]
Sent: Fri 11/6/2009 10:59 AM
To: Foggi, Nicola
Cc: rt-users [at] lists
Subject: Re: [rt-users] Upgrade from RT 3.8.4 to 3.8.6 Required Newer Mod_Perl 1.x under Apache 1.3.41




On Fri 6.Nov'09 at 10:47:50 -0600, Foggi, Nicola wrote:
>
> $VERSION = 1.69;
>
> line 563 is "@val = $c->dir_config->get($p)" as part of this sub....

That is sadly much less useful than I'd hoped. If anyone else manages to
replicate this, please ping the list before destroying the evidence of
the failure so we can help to fix it properly.

Thanks,
Jesse

Request Tracker users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.