Plugin install in RT4 / Debian Squeeze

Hello there,

I have a RT4 system running on Debian Squueze, installed via Backports
according to the install howto. So far, everything works fine, but when
it comes to plugins, the hassle begins.

I tried to get several plugins to work without success. As an example, I
will focus on the Calendar plugin here.

I installed the plugin via perl makefile.pl, make, make install which
worked fine. The installation routine asked me for the path to RT.pm.
which in my case was /usr/share/request-tracker4/lib.

After adding

Plugins

Set(@Plugins,(qw(RTx::Calendar)));

Calendar Plugin

Set($HomepageComponents, [qw(QuickCreate Quicksearch MyCalendar
MyAdminQueues MySupportQueues MyReminders RefreshHomepage)]);

in a separate file in RT_SiteConfig.d and updating via
update-rt-siteconfig-4 and restarting Apache, the Calendar plugin was
loaded and could be chosen in the frontend.

The problem begins now: As soon as chosen to being displayed, in the
frontend an error occures:

“An internal RT error has occurred. Your administrator can find more
details in RT’s log files”

Well, the log says

[error]: could not find component for path ‘MyCalendar’
(/usr/share/request-tracker4/lib/RT/Interface/Web/Handler.pm:209)

and now I’m stuck as the accprding line says nothing to me. Has anybody
dealed with the same issue?

Thanks in advance and kind regards, Patrick

Hallo again,

it seems I’ve written to early. The rights of the plugins html files
were set to 0700 so that the Apache could not read them. I’ll now test
the whole thing.

Sorry for any inconviniences, Patrick

[…]

Hello there,

I have a RT4 system running on Debian Squueze, installed via
Backports according to the install howto. So far, everything works
fine, but when it comes to plugins, the hassle begins.

I tried to get several plugins to work without success. As an
example, I will focus on the Calendar plugin here.

I installed the plugin via perl makefile.pl, make, make install
which worked fine. The installation routine asked me for the path to
RT.pm. which in my case was /usr/share/request-tracker4/lib.

After adding

Plugins

Set(@Plugins,(qw(RTx::Calendar)));

Calendar Plugin

Set($HomepageComponents, [qw(QuickCreate Quicksearch MyCalendar
MyAdminQueues MySupportQueues MyReminders RefreshHomepage)]);

in a separate file in RT_SiteConfig.d and updating via
update-rt-siteconfig-4 and restarting Apache, the Calendar plugin
was loaded and could be chosen in the frontend.

The problem begins now: As soon as chosen to being displayed, in the
frontend an error occures:

“An internal RT error has occurred. Your administrator can find more
details in RT’s log files”

Well, the log says

[error]: could not find component for path ‘MyCalendar’
(/usr/share/request-tracker4/lib/RT/Interface/Web/Handler.pm:209)

and now I’m stuck as the accprding line says nothing to me. Has
anybody dealed with the same issue?

The local plugin path on Debian is
/usr/local/share/request-tracker4/plugins. You may need to tweak
the plugin Makefile.PL if it’s not installing there.
This is a weak area of the Debian packaging of RT (since we assume
that you only install plugins from Debian packages). I’m not sure
if it can be fixed in a generic way OTTOMH.

Dominic Hargreaves, Systems Development and Support Section
IT Services, University of Oxford

signature.asc (198 Bytes)

Hello there,

I have a RT4 system running on Debian Squueze, installed via
Backports according to the install howto. So far, everything works
fine, but when it comes to plugins, the hassle begins.

I tried to get several plugins to work without success. As an
example, I will focus on the Calendar plugin here.

I installed the plugin via perl makefile.pl, make, make install
which worked fine. The installation routine asked me for the path to
RT.pm. which in my case was /usr/share/request-tracker4/lib.

After adding

Plugins

Set(@Plugins,(qw(RTx::Calendar)));

Calendar Plugin

Set($HomepageComponents, [qw(QuickCreate Quicksearch MyCalendar
MyAdminQueues MySupportQueues MyReminders RefreshHomepage)]);

in a separate file in RT_SiteConfig.d and updating via
update-rt-siteconfig-4 and restarting Apache, the Calendar plugin
was loaded and could be chosen in the frontend.

The problem begins now: As soon as chosen to being displayed, in the
frontend an error occures:

“An internal RT error has occurred. Your administrator can find more
details in RT’s log files”

Well, the log says

[error]: could not find component for path ‘MyCalendar’
(/usr/share/request-tracker4/lib/RT/Interface/Web/Handler.pm:209)

and now I’m stuck as the accprding line says nothing to me. Has
anybody dealed with the same issue?

The local plugin path on Debian is
/usr/local/share/request-tracker4/plugins. You may need to tweak
the plugin Makefile.PL if it’s not installing there.
This is a weak area of the Debian packaging of RT (since we assume
that you only install plugins from Debian packages). I’m not sure
if it can be fixed in a generic way OTTOMH.

In theory Module::Install::RTx should figure out correct path if you
setup RTHOME env properly. If it’s not the case then we should do
something about that.


Dominic Hargreaves, Systems Development and Support Section
IT Services, University of Oxford


We’re hiring! Careers — Best Practical Solutions

Best regards, Ruslan.