[rt-users] RTFM 2.0.4 links don't work after RT 3.2.2 -> 3.4.5 upgrade
Mike Patterson
mikep at uclink.berkeley.edu
Fri May 12 18:20:11 EDT 2006
I just upgraded my RT to new server hardware and it is really fast now :-)
Only problem is that the "Links" in old tickets referring to RTFMs don't
work (see error message at bottom).
Any ideas:
My old RT path was https://oldservername/rt3 and my new one is
https://newservername (without /rt3).
How I migrated - installed RT 3.4.5 on new box, installed RTFM 2.0.4
(same as old box). Dropped the database, copied the database from the
old computer into the new one. Ran RT 3.4.5 schema, action, insert
updates (e.g. /usr/local/rt3/sbin/rt-setup-database --action schema
--datadir /usr/local/src/rt-3.4.5/etc/upgrade/3.3.0
--prompt-for-dba-password)
My upgrade details:
---------------------
FreeBSD 4.11, RT 3.2.2, RTFM 2.0.4 (MySQL 4.1.7, Apache 1.3.33, Perl
5.8.4, mod_perl-1.29, DBI-1.42_1)
--TO-->
RHEL 4.3, RT 3.4.5, RTFM 2.0.4, MySQL 4.1.2-3, Apache 2.0.52, Perl
5.8.5, mod_fastcgi-2.4.2, DBI-1.40-8
Error Message ---------------------
*error:* Can't call method "Id" on an undefined value at
/usr/local/rt3/lib/RT/URI/fsck_com_rtfm.pm line 147.
*context:*
*...*
*143:* }
*144:* }
*145:*
*146:* $self->{'object'} = $article;
*147:* return ($article->Id);
*148:* }
*149:*
*150:* =head2 IsLocal
*151:*
*...*
*code stack:* /usr/local/rt3/lib/RT/URI/fsck_com_rtfm.pm:147
/usr/local/rt3/lib/RT/URI.pm:144
/usr/local/rt3/lib/RT/Transaction_Overlay.pm:696
/usr/local/rt3/lib/RT/Transaction_Overlay.pm:591
/usr/local/rt3/share/html/Ticket/Elements/ShowTransaction:50
/usr/local/rt3/share/html/Ticket/Elements/ShowHistory:104
/usr/local/rt3/share/html/Ticket/Display.html:64
/usr/local/rt3/share/html/index.html:115
/usr/local/rt3/share/html/autohandler:215
raw error <https://rt.unex.berkeley.edu/index.html?q=10290#raw>
Can't call method "Id" on an undefined value at
/usr/local/rt3/lib/RT/URI/fsck_com_rtfm.pm line 147.
Trace begun at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "Id" on an undefined value at /usr/local/rt3/lib/RT/URI/fsck_com_rtfm.pm line 147.^J') called at /usr/local/rt3/lib/RT/URI/fsck_com_rtfm.pm line 147
RT::URI::fsck_com_rtfm::ParseURI('RT::URI::fsck_com_rtfm=HASH(0xbe8b64c)', 'fsck.com-rtfm://unex.berkeley.edu/article/15') called at /usr/local/rt3/lib/RT/URI.pm line 144
RT::URI::FromURI('RT::URI=HASH(0xbf6b8e0)', 'fsck.com-rtfm://unex.berkeley.edu/article/15') called at /usr/local/rt3/lib/RT/Transaction_Overlay.pm line 696
RT::Transaction::__ANON__('RT::Transaction=HASH(0xbf5aee4)') called at /usr/local/rt3/lib/RT/Transaction_Overlay.pm line 591
RT::Transaction::BriefDescription('RT::Transaction=HASH(0xbf5aee4)') called at /usr/local/rt3/share/html/Ticket/Elements/ShowTransaction line 50
HTML::Mason::Commands::__ANON__('Attachments', 'RT::Attachments=HASH(0xbe98d1c)', 'Ticket', 'RT::Ticket=HASH(0xbe64cd8)', 'AttachmentContent', 'RT::Attachments=HASH(0xbde6dd4)', 'ShowHeaders', undef, 'Collapsed', undef, 'Tickets', undef, 'AttachPath', '/Ticket/Attachment', 'UpdatePath', '/Ticket/Update.html', 'Ticket', 'RT::Ticket=HASH(0xbe64cd8)', 'Transaction', 'RT::Transaction=HASH(0xbf5aee4)', 'ShowHeaders', undef, 'Collapsed', undef, 'RowNum', 31, 'ShowTitleBarCommands', 1, 'Attachments', 'ARRAY(0xbf4a644)', 'AttachmentContent', 'HASH(0xbf67d78)', 'LastTransaction', 0) called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xb661964)', 'Attachments', 'RT::Attachments=HASH(0xbe98d1c)', 'Ticket', 'RT::Ticket=HASH(0xbe64cd8)', 'AttachmentContent', 'RT::Attachments=HASH(0xbde6dd4)', 'ShowHeaders', undef, 'Collapsed', undef, 'Tickets', undef, 'AttachPath', '/Ticket/Attachment', 'UpdatePath', '/Ticket/Update.html', 'Ticket', 'RT::Ticket=HASH(0xbe64cd8)', 'Transaction', 'RT::Transaction=HASH(0xbf5aee4)', 'ShowHeaders', undef, 'Collapsed', undef, 'RowNum', 31, 'ShowTitleBarCommands', 1, 'Attachments', 'ARRAY(0xbf4a644)', 'AttachmentContent', 'HASH(0xbf67d78)', 'LastTransaction', 0) called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1251
eval {...} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1245
HTML::Mason::Request::comp(undef, undef, 'Attachments', 'RT::Attachments=HASH(0xbe98d1c)', 'Ticket', 'RT::Ticket=HASH(0xbe64cd8)', 'AttachmentContent', 'RT::Attachments=HASH(0xbde6dd4)', 'ShowHeaders', undef, 'Collapsed', undef, 'Tickets', undef, 'AttachPath', '/Ticket/Attachment', 'UpdatePath', '/Ticket/Update.html', 'Ticket', 'RT::Ticket=HASH(0xbe64cd8)', 'Transaction', 'RT::Transaction=HASH(0xbf5aee4)', 'ShowHeaders', undef, 'Collapsed', undef, 'RowNum', 31, 'ShowTitleBarCommands', 1, 'Attachments', 'ARRAY(0xbf4a644)', 'AttachmentContent', 'HASH(0xbf67d78)', 'LastTransaction', 0) called at /usr/local/rt3/share/html/Ticket/Elements/ShowHistory line 104
HTML::Mason::Commands::__ANON__('Ticket', 'RT::Ticket=HASH(0xbe64cd8)', 'Tickets', undef, 'Collapsed', undef, 'ShowHeaders', undef, 'Attachments', 'RT::Attachments=HASH(0xbe98d1c)', 'AttachmentContent', 'RT::Attachments=HASH(0xbde6dd4)') called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xb6008e0)', 'Ticket', 'RT::Ticket=HASH(0xbe64cd8)', 'Tickets', undef, 'Collapsed', undef, 'ShowHeaders', undef, 'Attachments', 'RT::Attachments=HASH(0xbe98d1c)', 'AttachmentContent', 'RT::Attachments=HASH(0xbde6dd4)') called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1251
eval {...} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1245
HTML::Mason::Request::comp(undef, undef, 'Ticket', 'RT::Ticket=HASH(0xbe64cd8)', 'Tickets', undef, 'Collapsed', undef, 'ShowHeaders', undef, 'Attachments', 'RT::Attachments=HASH(0xbe98d1c)', 'AttachmentContent', 'RT::Attachments=HASH(0xbde6dd4)') called at /usr/local/rt3/share/html/Ticket/Display.html line 64
HTML::Mason::Commands::__ANON__('id', 'fsck.com-rtfm') called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xb45c5fc)', 'id', 'fsck.com-rtfm') called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1251
eval {...} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1245
HTML::Mason::Request::comp(undef, undef, 'id', 'fsck.com-rtfm') called at /usr/local/rt3/share/html/index.html line 115
HTML::Mason::Commands::__ANON__('q', 10290, 'q', 10290) called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xb1199dc)', 'q', 10290, 'q', 10290) called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1251
eval {...} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1245
HTML::Mason::Request::comp(undef, undef, 'q', 10290, 'q', 10290) called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 914
HTML::Mason::Request::call_next('HTML::Mason::Request::CGI=HASH(0xbe9c1c0)', 'q', 10290) called at /usr/local/rt3/share/html/autohandler line 215
HTML::Mason::Commands::__ANON__('q', 10290) called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xb1295b4)', 'q', 10290) called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1246
eval {...} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1245
HTML::Mason::Request::comp(undef, undef, undef, 'q', 10290) called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 459
eval {...} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 459
eval {...} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 411
HTML::Mason::Request::exec('HTML::Mason::Request::CGI=HASH(0xbe9c1c0)') called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/CGIHandler.pm line 192
eval {...} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/CGIHandler.pm line 192
HTML::Mason::Request::CGI::exec('HTML::Mason::Request::CGI=HASH(0xbe9c1c0)') called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Interp.pm line 342
HTML::Mason::Interp::exec(undef, undef, 'q', 10290) called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/CGIHandler.pm line 123
eval {...} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/CGIHandler.pm line 123
HTML::Mason::CGIHandler::_handler('HTML::Mason::CGIHandler=HASH(0xae3c3c8)', 'HASH(0xbe5fd58)') called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/CGIHandler.pm line 73
HTML::Mason::CGIHandler::handle_cgi_object('HTML::Mason::CGIHandler=HASH(0xae3c3c8)', 'CGI::Fast=HASH(0xbb88ec4)') called at /usr/local/rt3/bin/mason_handler.fcgi line 76
---------------------
eval {...} at /usr/local/rt3/bin/mason_handler.fcgi line 76
--
Mike Patterson
Systems Manager
UC Berkeley Extension
More information about the rt-users
mailing list