[rt-users] Plugin(s) stopped working (long)
Patrick G. Stoesser
rt-list at himt.de
Tue Nov 22 08:11:27 EST 2016
Update: I remembered that I installed JSGantt and Calendar via aptitude
and the other plugins via Makefile.PL, make, make install. So I now
decided to deinstall everything and reinstall all plugins by one method
via Makefile.PL, make, make install.
My "double directory structure" is now no more existant, all plugins
installed in /usr/local/share/request-tracker4/plugins.
Still, calendar does not work, although with less error messages:
> [13961] [Tue Nov 22 13:06:04 2016] [error]: could not find component for path 'MyCalendar'
>
> Stack:
> [/usr/share/request-tracker4/html/Elements/MyRT:95]
> [/usr/share/request-tracker4/html/index.html:78]
> [/usr/share/request-tracker4/lib/RT/Interface/Web.pm:681]
> [/usr/share/request-tracker4/lib/RT/Interface/Web.pm:369]
> [/usr/share/request-tracker4/html/autohandler:53] (/usr/share/request-tracker4/lib/RT/Interface/Web/Handler.pm:209)
Any hints welcome.
Regards, Patrick
Am 21.11.2016 um 17:17 schrieb Patrick G. Stoesser:
> Hello everybody,
>
> strange things happen on my RT. I'm running RT 4.2.8 on an Debian Jessie
> installed via the Debian packages.
>
> I started adding plugins long time ago:
>
> # Plugins
> Set(@Plugins,(qw(
> RT::Extension::EscalationDates
> RT::Extension::TimeWorkedReport
> RT::Extension::TicketLocking
> RT::Extension::AnnounceSimple
> RT::Extension::JSGantt
> RTx::Calendar
> )));
>
> all installed via perl Makefile.PL, make, make install, configured,
> cleaned cache, restarted Apache. All worked so far.
>
>
>
> A few days ago, suddenly the small images in the calendar weren't
> displayed anymore. I could not find any error, and nothing had been
> changed on the server.
> Even debug logging did not give me any hint. So I "reinstalled" the
> calendar plugin (perl Makefile.PL, make, make install), cleaned cache,
> restarted Apache. After that, in place of the calendar there was "An
> internal RT error has occurred. Your administrator can find more details
> in RT's log files."
>
> All right, and there we go:
>
>
>
>> [28078] [...] [error]: could not find component for path 'MyCalendar'
>>
>> Stack:
>> [/usr/share/request-tracker4/html/Elements/MyRT:95]
>> [/usr/share/request-tracker4/html/index.html:78]
>> [/usr/share/request-tracker4/lib/RT/Interface/Web.pm:681]
>> [/usr/share/request-tracker4/lib/RT/Interface/Web.pm:369]
>> [/usr/share/request-tracker4/html/autohandler:53]
>> (/usr/share/request-tracker4/lib/RT/Interface/Web/Handler.pm:209)
>> [28640] [Mon Nov 21 15:32:58 2016] [error]: could not find component
>> for path 'MyCalendar'
>>
>> Stack:
>> [/usr/share/request-tracker4/html/Elements/MyRT:95]
>> [/usr/share/request-tracker4/html/index.html:78]
>> [/usr/share/request-tracker4/lib/RT/Interface/Web.pm:681]
>> [/usr/share/request-tracker4/lib/RT/Interface/Web.pm:369]
>> [/usr/share/request-tracker4/html/autohandler:53]
>> (/usr/share/request-tracker4/lib/RT/Interface/Web/Handler.pm:209)
>> [28641] [Mon Nov 21 15:43:51 2016] [error]: could not find component
>> for path 'MyCalendar'
>>
>> Stack:
>> [/usr/share/request-tracker4/html/Elements/MyRT:95]
>> [/usr/share/request-tracker4/html/index.html:78]
>> [/usr/share/request-tracker4/lib/RT/Interface/Web.pm:681]
>> [/usr/share/request-tracker4/lib/RT/Interface/Web.pm:369]
>> [/usr/share/request-tracker4/html/autohandler:53]
>> (/usr/share/request-tracker4/lib/RT/Interface/Web/Handler.pm:209)
>
> I understand that some component can not be found but I don't have any
> idea what, why and where.
>
> All right, and now I discovered that JSGantt also does not work anymore.
>
> What still works: Ticket locking, Time worked report, Escalation dates,
> Announce Simple.
>
> Now I installed another plugin, RT::Extension::BriefHistory, and that
> one also does not work.
>
> I know that under Debian the paths may differ, but in my opinion
> everything should be allright there (it worked...). Here's some output
> from /rt/Admin/Tools/Configuration.html:
>
> *Plugins*
> [
> 'RT::Extension::EscalationDates',
> 'RT::Extension::TimeWorkedReport',
> 'RT::Extension::TicketLocking',
> 'RT::Extension::AnnounceSimple',
> 'RT::Extension::JSGantt',
> 'RT::Extension::BriefHistory'
> ]
>
>
> *Mason template search order*
> /usr/local/share/request-tracker4/html
> /usr/local/share/request-tracker4/plugins/RT-Extension-EscalationDates/html
> /usr/local/share/request-tracker4/plugins/RT-Extension-TimeWorkedReport/html
>
> /usr/local/share/request-tracker4/plugins/RT-Extension-TicketLocking/html
> /usr/local/share/request-tracker4/plugins/RT-Extension-AnnounceSimple/html
> /usr/local/share/request-tracker4/plugins/RT-Extension-JSGantt/html
> /usr/local/share/request-tracker4/plugins/RT-Extension-BriefHistory/html
> /usr/share/request-tracker4/html
>
> *Static file search order*
> /usr/local/share/request-tracker4/static
> /usr/share/request-tracker4/static
>
> *Loaded config files*
> /etc/request-tracker4/RT_SiteConfig.pm
> /usr/share/request-tracker4/etc/RT_Config.pm
> /usr/local/share/request-tracker4/plugins/RT-Extension-BriefHistory/etc/BriefHistory_Config.pm
>
>
> *RT core variables*
> RT::BasePath /usr/share/request-tracker4
> RT::BinPath /usr/bin
> RT::EtcPath /usr/share/request-tracker4/etc
> RT::FontPath /usr/share/request-tracker4/fonts
> RT::LexiconPath /usr/share/request-tracker4/po
> RT::LocalEtcPath /etc/request-tracker4
> RT::LocalLexiconPath /usr/local/share/request-tracker4/po
> RT::LocalLibPath /usr/local/share/request-tracker4/lib
> RT::LocalPath /usr/local/share/request-tracker4
> RT::LocalPluginPath /usr/local/share/request-tracker4/plugins
> RT::LocalStaticPath /usr/local/share/request-tracker4/static
> RT::MAJOR_VERSION 4
> RT::MINOR_VERSION 2
> RT::MasonComponentRoot /usr/share/request-tracker4/html
> RT::MasonDataDir /var/cache/request-tracker4/mason_data
> RT::MasonLocalComponentRoot /usr/local/share/request-tracker4/html
> RT::MasonSessionDir /var/cache/request-tracker4/session_data
> RT::PluginPath /usr/share/request-tracker4/plugins
> RT::REVISION 8
> RT::SbinPath /usr/sbin
> RT::StaticPath /usr/share/request-tracker4/static
> RT::VERSION 4.2.8
> RT::VarPath /var/lib/request-tracker4
>
>
>
> Now, the only thing that worries me a bit is that my file system
> structure indeed seems a little bit unlogic. But I do not know if that's
> allright, I got no comparison.
>
> I got /usr/share/request-tracker4 and /usr/local/share/request-tracker4.
> Is that already a mistake?
> Under /usr/share/request-tracker4 my tree (-d -L2) is
> ├── debian
> ├── etc
> │ └── upgrade
> ├── fonts
> ├── html
> │ ├── Admin
> │ ├── Approvals
> │ ├── Articles
> │ ├── Dashboards
> │ ├── Download
> │ ├── Elements
> │ ├── Errors
> │ ├── Helpers
> │ ├── Install
> │ ├── m
> │ ├── NoAuth
> │ ├── Prefs
> │ ├── REST
> │ ├── Search
> │ ├── SelfService
> │ ├── Ticket
> │ ├── Tools
> │ ├── User
> │ └── Widgets
> ├── lib
> │ └── RT
> ├── libexec
> ├── plugins
> │ └── RT-Extension-JSGantt
> ├── po
> └── static
> ├── css
> ├── images
> ├── js
> └── RichText
>
> and under /usr/local/share/request-tracker4 it's
> ├── html
> │ ├── Admin
> │ ├── Callbacks
> │ ├── Elements
> │ ├── NoAuth
> │ ├── Search
> │ ├── Ticket
> │ └── Tools
> ├── lib
> │ └── RT
> ├── man
> │ ├── auto
> │ └── man3
> ├── plugins
> │ ├── RT-Extension-AnnounceSimple
> │ ├── RT-Extension-BriefHistory
> │ ├── RT-Extension-EscalationDates
> │ ├── RT-Extension-JSGantt
> │ ├── RT-Extension-TicketLocking
> │ ├── RT-Extension-TimeWorkedReport
> │ └── RTx-Calendar
> ├── po
> └── static
>
> And this double structure worries me a bit, but I really don't know if
> this is ok that way (since it's generated by the install routines), or,
> if not, which one is the "right" one.
>
> Any hints and ideas are welcome.
>
> Thanks in advance, Patrick
>
>
>
>
>
>
>
>
>
>
>
>
>
> ---------
> RT 4.4 and RTIR training sessions, and a new workshop day!
> https://bestpractical.com/training
> * Los Angeles - January 9-11 2017
More information about the rt-users
mailing list