Can't locate object method "_ImportOverlays" via package "RT::Base"

Hi,

I have been test-upgrading RT 3.8.2 to the latest 4.0.0.
Install en db upgrade went fine. Setup is configured with apache &
mod_perl2.

However reloading apache yields following error:

root@apollo:~# invoke-rc.d apache2 start

  • Starting web server apache2
    Syntax error on line 16 of /etc/apache2/sites-enabled/rt-test:
    Can’t locate object method “_ImportOverlays” via package “RT::Base” at
    /srv/rt4/sbin/…/lib/RT/Handle.pm line 1147.\nCompilation failed in require
    at /srv/rt4/sbin/rt-server line 90.\n\t(in cleanup) Error while loading
    /srv/rt4/sbin/rt-server: Can’t locate object method “_ImportOverlays” via
    package “RT::Base” at /srv/rt4/sbin/…/lib/RT/Handle.pm line
    1147.\nCompilation failed in require at /srv/rt4/sbin/rt-server line 90.\n

I checked the settings as per


Running rt-server manually on port 8080 start without a problem.

Any clue?

Met vriendelijke groet,
Serge van Ginderachter

Hi,
I have been test-upgrading RT 3.8.2 to the latest 4.0.0.
Install en db upgrade went fine. Setup is configured with apache & mod_perl2.
However reloading apache yields following error:
root@apollo:~# invoke-rc.d apache2 start
 * Starting web server apache2
Syntax error on line 16 of /etc/apache2/sites-enabled/rt-test:
Can’t locate object method “_ImportOverlays” via package “RT::Base” at
/srv/rt4/sbin/…/lib/RT/Handle.pm line 1147.\nCompilation failed in require at
/srv/rt4/sbin/rt-server line 90.\n\t(in cleanup) Error while loading /srv/rt4/sbin/rt-server:
Can’t locate object method “_ImportOverlays” via package “RT::Base” at
/srv/rt4/sbin/…/lib/RT/Handle.pm line 1147.\nCompilation failed in require at
/srv/rt4/sbin/rt-server line 90.\n
I checked the settings as perÂ
[1]https://github.com/bestpractical/rt/blob/rt-4.0.0/docs/web_deployment.pod
Running rt-server manually on port 8080 start without a problem.
Any clue?

It’s be helpful to see your actual config.

Also, be sure that you have no customizations that you ported from RT3

-kevin

It’s be helpful to see your actual config.

Obviously, sorry.

RT_Config.pm remains the default from the RT4 tarball.
You can grab my (anonimzed) RT_SiteConfig.pm from here:

http://dl.dropbox.com/u/13986042/tmp/RT_SiteConfig.pm

The Apache2 config is at http://dl.dropbox.com/u/13986042/tmp/rt_apache

Also, be sure that you have no customizations that you ported from RT3

I installed to a brand new rt4 folder, and copied the rt3 db to a new,
separate rt4 db (mysql), which got upgraded in the process.
So I still have the original RT3 up and running (in production).

AFAIK there are no specific customization in the original setup (except for
Apache configured to perform PAM auth, so far I’m not sure if that config
would remain the same).

HTH & Thanks,

Met vriendelijke groet,
Serge van Ginderachter

 It's be helpful to see your actual config.

Obviously, sorry.
RT_Config.pm remains the default from the RT4 tarball.
You can grab my (anonimzed) RT_SiteConfig.pm from here:
 [2]http://dl.dropbox.com/u/13986042/tmp/RT_SiteConfig.pm
The Apache2 config is at [3]http://dl.dropbox.com/u/13986042/tmp/rt_apache

It appears that you don’t quite have a standard deploy. You’re
repeating the psgi stanzas in the Location and the Directory. I’m not
really sure what that would do to apache, but I’d start by backing
back out to the recommended config.

-kevin