[rt-users] Trouble after upgrade

Drew Barnes barnesaw at ucrwcu.rwc.uc.edu
Mon Dec 17 12:28:37 EST 2007


This post from April regarded Reminders, but it seems very much like the
problem you are describing.
Found my problem. Turns out I had an old DBIx::SearchBuilder installed
*in* a
different dir (from an old Perl install), and somehow it was being used
instead of the new one. I deleted the old DBIx, cleaned the Mason cache,
restarted httpd, and all's well now with Reminders.

hope that helps someone;

-- Gary Oberbrunner

I would start a CPAN shell and install DBIx::SearchBuilder to make sure
you have the latest.


Joshua Speer wrote:
> OK so here is the latest, I have put the source on the
> server, and ran make depends, and all dependancies
> have been satisfied. Also, I have removed and
> conflicting older packages. This appears to be
> something with the new implementation of reminders,
> and mason not being configured for it properly? Is
> their any location that needs to have reminders
> specified for mason?
>
> Thanks,
>
> Josh
>
> --- Drew Barnes <barnesaw at ucrwcu.rwc.uc.edu> wrote:
>
>   
>> Not exactly the same error but similar.  Perhaps
>> this can either help or
>> get you started poking through things.
>>
>>     
> http://www.gossamer-threads.com/lists/rt/users/64920#64920
>   
>> Joshua Speer wrote:
>>     
>>> Here is the raw error when I try to create a new
>>> ticket:
>>>
>>> RT::CustomField::MatchPattern Unimplemented in
>>> HTML::Mason::Commands.
>>>
>>>       
> (/usr/share/request-tracker3.6/html/Elements/ValidateCustomFields
>   
>>> line 65) 
>>>
>>>
>>> Trace begun at
>>> /usr/share/perl5/HTML/Mason/Exceptions.pm line 129
>>>
>>>       
> HTML::Mason::Exceptions::rethrow_exception('RT::CustomField::MatchPattern
>   
>>> Unimplemented in HTML::Mason::Commands.
>>>
>>>       
> (/usr/share/request-tracker3.6/html/Elements/ValidateCustomFields
>   
>>> line 65) ^J') called at
>>> /usr/share/perl5/DBIx/SearchBuilder/Record.pm line
>>>       
>> 495
>>     
> DBIx::SearchBuilder::Record::AUTOLOAD('RT::CustomField=HASH(0x8324654)',
>   
>>> undef) called at
>>>
>>>       
> /usr/share/request-tracker3.6/html/Elements/ValidateCustomFields
>   
>>> line 65
>>> HTML::Mason::Commands::__ANON__('CustomFields',
>>> 'RT::CustomFields=HASH(0x9af2760)', 'ARGSRef',
>>> 'HASH(0x960f230)') called at
>>> /usr/share/perl5/HTML/Mason/Component.pm line 135
>>>
>>>       
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x83240c0)',
>   
>>> 'CustomFields',
>>>       
>> 'RT::CustomFields=HASH(0x9af2760)',
>>     
>>> 'ARGSRef', 'HASH(0x960f230)') called at
>>> /usr/share/perl5/HTML/Mason/Request.pm line 1251
>>> eval {...} at
>>>       
>> /usr/share/perl5/HTML/Mason/Request.pm
>>     
>>> line 1246
>>> HTML::Mason::Request::comp(undef, undef,
>>> 'CustomFields',
>>>       
>> 'RT::CustomFields=HASH(0x9af2760)',
>>     
>>> 'ARGSRef', 'HASH(0x960f230)') called at
>>>
>>>       
> /usr/share/request-tracker3.6/html/Ticket/Create.html
>   
>>> line 247
>>> HTML::Mason::Commands::__ANON__('Queue', 4,
>>>       
>> 'Queue',
>>     
>>> 4) called at
>>>       
>> /usr/share/perl5/HTML/Mason/Component.pm
>>     
>>> line 135
>>>
>>>       
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x97fa2f0)',
>   
>>> 'Queue', 4, 'Queue', 4) called at
>>> /usr/share/perl5/HTML/Mason/Request.pm line 1256
>>> eval {...} at
>>>       
>> /usr/share/perl5/HTML/Mason/Request.pm
>>     
>>> line 1246
>>> HTML::Mason::Request::comp(undef, undef, undef,
>>> 'Queue', 4, 'Queue', 4) called at
>>> /usr/share/perl5/HTML/Mason/Request.pm line 915
>>>
>>>       
> HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x859eec8)',
>   
>>> 'Queue', 4) called at
>>> /usr/share/request-tracker3.6/html/autohandler
>>>       
>> line
>>     
>>> 279
>>> HTML::Mason::Commands::__ANON__('Queue', 4) called
>>>       
>> at
>>     
>>> /usr/share/perl5/HTML/Mason/Component.pm line 135
>>>
>>>       
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x87f0858)',
>   
>>> 'Queue', 4) called at
>>> /usr/share/perl5/HTML/Mason/Request.pm line 1251
>>> eval {...} at
>>>       
>> /usr/share/perl5/HTML/Mason/Request.pm
>>     
>>> line 1246
>>> HTML::Mason::Request::comp(undef, undef, undef,
>>> 'Queue', 4) called at
>>> /usr/share/perl5/HTML/Mason/Request.pm line 460
>>> eval {...} at
>>>       
>> /usr/share/perl5/HTML/Mason/Request.pm
>>     
>>> line 460
>>> eval {...} at
>>>       
>> /usr/share/perl5/HTML/Mason/Request.pm
>>     
>>> line 412
>>>
>>>       
> HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x859eec8)')
>   
>>> called at
>>>       
>> /usr/share/perl5/HTML/Mason/ApacheHandler.pm
>>     
>>> line 165
>>>
>>>       
> HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x859eec8)')
>   
>>> called at
>>>       
>> /usr/share/perl5/HTML/Mason/ApacheHandler.pm
>>     
>>> line 832
>>>
>>>       
> HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x924cc4c)',
>   
>>> 'Apache=SCALAR(0x8c24b30)') called at
>>> /usr/share/request-tracker3.4/libexec/webmux.pl
>>>       
>> line
>>     
>>> 124
>>> eval {...} at
>>> /usr/share/request-tracker3.4/libexec/webmux.pl
>>>       
>> line
>>     
>>> 124
>>> RT::Mason::handler('Apache=SCALAR(0x8c24b30)')
>>>       
>> called
>>     
>>> at /dev/null line 0
>>> eval {...} at /dev/null line 0
>>>
>>>
>>>
>>> --- Drew Barnes <barnesaw at ucrwcu.rwc.uc.edu>
>>>       
>> wrote:
>>     
>>>   
>>>       
>>>> Ok.  It looks like something didn't upgrade
>>>> properly.  Can't help you on
>>>> the Debian upgrade since I always go from source
>>>>         
>> and
>>     
>>>> haven't touched
>>>> Debian in years.
>>>>
>>>> It may help to search the lists in a slightly
>>>>         
>> more
>>     
>>>> friendly fashion,
>>>> such as http://www.gossamer-threads.com/lists/rt/
>>>>
>>>>
>>>> Joshua Speer wrote:
>>>>     
>>>>         
>>>>> I ran the commands from the README output is
>>>>>       
>>>>>           
>>>> below:
>>>>     
>>>>         
>>>>> /opt/rt3/sbin/rt-setup-database --action schema
>>>>>           
>> \
>>     
>>>>>            --datadir etc/upgrade/<version>
>>>>>        /opt/rt3/sbin/rt-setup-database --action
>>>>>       
>>>>>           
>>>> acl \
>>>>     
>>>>         
>>>>>            --datadir etc/upgrade/<version>
>>>>>        /opt/rt3/sbin/rt-setup-database --action
>>>>>       
>>>>>           
>>>> insert
>>>>     
>>>>         
>>>>> \
>>>>>             --datadir etc/upgrade/<version>
>>>>>
>>>>>      Clear mason cache dir:
>>>>>
>>>>>        rm -fr /opt/rt3/var/mason_data/obj
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> /usr/sbin/rt-setup-database-3.6 --action schema
>>>>> --datadir /etc/request-tracker3.6/upgrade/3.5.1 
>>>>>
>>>>> Creating database schema.
>>>>> Couldn't find schema file for mysql
>>>>>
>>>>> ---------------------------------
>>>>>
>>>>>  /usr/sbin/rt-setup-database-3.6 --action acl
>>>>> --datadir /etc/request-tracker3.6/upgrade/3.5.1 
>>>>> Couldn't find ACLS for mysql in
>>>>> /etc/request-tracker3.6/upgrade/3.5.1
>>>>>
>>>>> -----------------------------
>>>>>
>>>>> rt:/usr/share/request-tracker3.6#
>>>>> /usr/sbin/rt-setup-database-3.6 --action insert
>>>>> --datadir /etc/request-tracker3.6/upgrade/3.5.1
>>>>> Creating predefined searches...1.2.3.done.
>>>>> Done setting up database content.
>>>>>
>>>>>
>>>>>
>>>>> rm -rf
>>>>>       
>>>>>           
>>>> /var/cache/request-tracker3.6/mason_data/obj
>>>>     
>>>>         
>>>>> apachectl restart
>>>>>
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Josh
>>>>>
>>>>>
>>>>>
>>>>>           
> === message truncated ===
>
>
>
>       ____________________________________________________________________________________
> Never miss a thing.  Make Yahoo your home page. 
> http://www.yahoo.com/r/hs
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:
>
> If you sign up for a new RT support contract before December 31, we'll take
> up to 20 percent off the price. This sale won't last long, so get in touch today. 
>     Email us at sales at bestpractical.com or call us at +1 617 812 0745.
>
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
>   



More information about the rt-users mailing list