[rt-users] Trouble after upgrade

Drew Barnes barnesaw at ucrwcu.rwc.uc.edu
Tue Dec 11 14:37:25 EST 2007


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
>>>
>>>
>>>
>>> --- Drew Barnes <barnesaw at ucrwcu.rwc.uc.edu>
>>>       
>> wrote:
>>     
>>>   
>>>       
>>>> Did you run all of the upgrade scripts on the
>>>> database?
>>>>
>>>> Joshua Speer wrote:
>>>>     
>>>>         
>>>>> I have been running RT3.4, and just upgraded to
>>>>>       
>>>>>           
>>>> RT3.6
>>>>     
>>>>         
>>>>> using the instructions. However when looking at
>>>>> tickets, I am getting some errors. I did rm the
>>>>> mason/obj directory a few times. I am running
>>>>>       
>>>>>           
>>>> debian,
>>>>     
>>>>         
>>>>> and upgraded all packages with apt-get upgrade,
>>>>>       
>>>>>           
>>>> and
>>>>     
>>>>         
>>>>> then installed the rt3.6 update.
>>>>>
>>>>> Examples:
>>>>>
>>>>> HTTP/1.1 200 OK Date: Tue, 11 Dec 2007 18:05:58
>>>>>       
>>>>>           
>>>> GMT
>>>>     
>>>>         
>>>>> Server: Apache/1.3.34 (Debian) mod_perl/1.29
>>>>>       
>>>>>           
>>>> Pragma:
>>>>     
>>>>         
>>>>> no-cache Cache-control: no-cache Keep-Alive:
>>>>> timeout=15, max=95 Connection: Keep-Alive,
>>>>>       
>>>>>           
>>>> Keep-Alive
>>>>     
>>>>         
>>>>> Transfer-Encoding: chunked, chunked
>>>>>           
>> Content-Type:
>>     
>>>>> text/html; charset=iso-8859-1
>>>>> System error
>>>>>
>>>>> error: 	RT::Ticket::Reminders Unimplemented in
>>>>> HTML::Mason::Commands.
>>>>>
>>>>>       
>>>>>           
> (/usr/share/request-tracker3.6/html/Ticket/Elements/Reminders
>   
>>>   
>>>       
>>>>> line 58) 
>>>>> context: 	
>>>>> ... 	
>>>>> 491: 	 else {
>>>>> 492: 	 my ( $package, $filename, $line );
>>>>> 493: 	 ( $package, $filename, $line ) = caller;
>>>>> 494: 	
>>>>> 495: 	 die "$AUTOLOAD Unimplemented in $package.
>>>>> ($filename line $line) \n";
>>>>> 496: 	 }
>>>>> 497: 	
>>>>> 498: 	}
>>>>> 499: 	
>>>>> ... 	
>>>>> code stack: 	
>>>>>
>>>>>           
>> /usr/share/perl5/DBIx/SearchBuilder/Record.pm:495
>>     
>>>>>       
>>>>>           
> /usr/share/request-tracker3.6/html/Ticket/Elements/Reminders:58
>   
>>>   
>>>
>>>       
> /usr/share/request-tracker3.6/html/Ticket/Elements/ShowSummary:77
>   
>>>   
>>>
>>>       
> /usr/share/request-tracker3.6/html/Widgets/TitleBox:49
>   
>>>   
>>>
>>>       
> /usr/share/request-tracker3.6/html/Ticket/Elements/ShowSummary:80
>   
>>>   
>>>
>>>       
> /usr/share/request-tracker3.6/html/Ticket/Display.html:56
>   
>>>   
>>>
>>>       
> /usr/share/request-tracker3.6/html/Widgets/TitleBox:49
>   
>>>   
>>>
>>>       
> /usr/share/request-tracker3.6/html/Ticket/Display.html:57
>   
>>>   
>>>       
>> /usr/share/request-tracker3.6/html/autohandler:279
>>     
>>>>> There is no raw error.
>>>>>
>>>>> HTTP/1.1 200 OK Date: Tue, 11 Dec 2007 18:10:40
>>>>>       
>>>>>           
>>>> GMT
>>>>     
>>>>         
>>>>> Server: Apache/1.3.34 (Debian) mod_perl/1.29
>>>>>       
>>>>>           
>>>> Pragma:
>>>>     
>>>>         
>>>>> no-cache Cache-control: no-cache Keep-Alive:
>>>>> timeout=15, max=96 Connection: Keep-Alive,
>>>>>       
>>>>>           
>>>> Keep-Alive
>>>>     
>>>>         
>>>>> Transfer-Encoding: chunked, chunked
>>>>>           
>> Content-Type:
>>     
>>>>> text/html; charset=iso-8859-1
>>>>> System error
>>>>>
>>>>> error: 	RT::CustomField::LinkValueTo
>>>>>           
>> Unimplemented
>>     
>>>>>       
>>>>>           
>>>> in
>>>>     
>>>>         
>>>>> HTML::Mason::Commands.
>>>>>
>>>>>       
>>>>>           
> (/usr/share/request-tracker3.6/html/Elements/ShowCustomFields
>   
>>>   
>>>       
>>>>> line 56) 
>>>>> context: 	
>>>>> ... 	
>>>>> 491: 	 else {
>>>>> 492: 	 my ( $package, $filename, $line );
>>>>> 493: 	 ( $package, $filename, $line ) = caller;
>>>>>           
> === message truncated ===
>
>
>
>       ____________________________________________________________________________________
> Never miss a thing.  Make Yahoo your home page. 
> http://www.yahoo.com/r/hs
>   



More information about the rt-users mailing list