Re: [rt-users] upgrade from 3.6.6 pgsql to 3.8.1rc5

2008-08-18 Thread Miles Scruggs
Ya I changed 'RT_System' in the users table in the name column.  All  
the while without reading the comments 20 chars over which say "Do not  
delete or modify this user. It is integral..."  ;)


Cheers

Miles Scruggs

On Aug 18, 2008, at 9:04 AM, Kevin Falcone wrote:


It turns out that the name of the RT_SystemUser was changed in the
database, which
lead to the errors below.

-kevin

On Aug 15, 2008, at 7:58 PM, Miles Scruggs wrote:


I just did an upgrade, everything seems to be working fine, just for
kicks I tried to create a ticket and I get this error:

Can't call method "HasRight" on an undefined value at /opt/6sq-rt/
bin/../lib/RT/User_Overlay.pm line 1209.


Trace begun at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/
Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method
"HasRight" on an undefined value at /opt/6sq-rt/bin/../lib/RT/
User_Overlay.pm line 1209.^J') called at /opt/6sq-rt/bin/../lib/RT/
User_Overlay.pm line 1209
RT::User::HasRight('RT::CurrentUser=HASH(0x9fdb868)', 'Right',
'SeeQueue', 'Object', 'RT::Queue=HASH(0xaa64eb4)') called at /opt/
6sq-rt/bin/../lib/RT/Queue_Overlay.pm line 1183
RT::Queue::HasRight('RT::Queue=HASH(0xaa64eb4)', 'Principal',
'RT::CurrentUser=HASH(0x9fdb868)', 'Right', 'SeeQueue') called at /
opt/6sq-rt/bin/../lib/RT/Queue_Overlay.pm line 1148
RT::Queue::CurrentUserHasRight('RT::Queue=HASH(0xaa64eb4)',
'SeeQueue') called at /opt/6sq-rt/bin/../lib/RT/Queue_Overlay.pm
line 1124
RT::Queue::_Value('RT::Queue=HASH(0xaa64eb4)', 'Disabled') called
at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Record.pm line
424
DBIx::SearchBuilder::Record::__ANON__('RT::Queue=HASH(0xaa64eb4)')
called at /opt/6sq-rt/bin/../lib/RT/Ticket_Overlay.pm line 288
RT::Ticket::Create('RT::Ticket=HASH(0xaa64218)', 'TimeEstimated',
'', 'Status', 'new', 'Queue', 'help', 'AdminCc', '', 'MIMEObj',
'MIME::Entity=HASH(0xaa645b4)', 'Type', 'ticket', 'InitialPriority',
0, 'Starts', undef, 'TimeWorked', '', 'Requestor', '[EMAIL PROTECTED]
', 'Cc', '', 'Subject', 'test', 'FinalPriority', 0, 'TimeLeft', '',
'Owner', 10, 'Due', undef) called at /opt/6sq-rt/bin/../lib/RT/
Interface/Web.pm line 530
HTML::Mason::Commands::CreateTicket('Attachments', undef,
'TimeEstimated', '', 'Status', 'new', 'new-DependsOn', '', 'Queue',
'help', 'AdminCc', '', 'Requestors', '[EMAIL PROTECTED]',
'InitialPriority', 0, 'Starts', '', 'Attach', '', 'TimeWorked', '',
'id', 'new', 'TimeEstimated-TimeUnits', 'minutes', 'Cc', '',
'Subject', 'test', 'FinalPriority', 0, 'new-RefersTo', '',
'TimeLeft', '', 'TimeLeft-TimeUnits', 'minutes', 'RefersTo-new', '',
'Owner', 10, 'DependsOn-new', '', 'new-MemberOf', '', 'MemberOf-
new', '', 'Content', 'another test ticket on newly upgraded
system.', 'TimeWorked-TimeUnits', 'minutes', 'Due', '') called at /
opt/6sq-rt/share/html/Ticket/Display.html line 117
HTML::Mason::Commands::__ANON__('TimeEstimated', '', 'Status',
'new', 'new-DependsOn', '', 'Queue', 'help', 'AdminCc', '',
'Requestors', '[EMAIL PROTECTED]', 'InitialPriority', 0,
'Starts', '', 'Attach', '', 'TimeWorked', '', 'id', 'new',
'TimeEstimated-TimeUnits', 'minutes', 'Cc', '', 'Subject', 'test',
'FinalPriority', 0, 'new-RefersTo', '', 'RefersTo-new', '',
'TimeLeft-TimeUnits', 'minutes', 'TimeLeft', '', 'DependsOn-new',
'', 'Owner', 10, 'new-MemberOf', '', 'MemberOf-new', '', 'Content',
'another test ticket on newly upgraded system.', 'Due', '',
'TimeWorked-TimeUnits', 'minutes') called at /usr/lib/perl5/
site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML
::Mason
::Component
::run('HTML::Mason::Component::FileBased=HASH(0xaa61f80)',
'TimeEstimated', '', 'Status', 'new', 'new-DependsOn', '', 'Queue',
'help', 'AdminCc', '', 'Requestors', '[EMAIL PROTECTED]',
'InitialPriority', 0, 'Starts', '', 'Attach', '', 'TimeWorked', '',
'id', 'new', 'TimeEstimated-TimeUnits', 'minutes', 'Cc', '',
'Subject', 'test', 'FinalPriority', 0, 'new-RefersTo', '', 'RefersTo-
new', '', 'TimeLeft-TimeUnits', 'minutes', 'TimeLeft', '',
'DependsOn-new', '', 'Owner', 10, 'new-MemberOf', '', 'MemberOf-
new', '', 'Content', 'another test ticket on newly upgraded
system.', 'Due', '', 'TimeWorked-TimeUnits', 'minutes') called at /
usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1278
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm
line 1268
HTML::Mason::Request::comp(undef, undef, 'TimeEstimated', '',
'Status', 'new', 'new-DependsOn', '', 'Queue', 'help', 'AdminCc',
'', 'Requestors', '[EMAIL PROTECTED]', 'InitialPriority', 0,
'Starts', '', 'Attach', '', 'TimeWorked', '', 'id', 'new',
'TimeEstimated-TimeUnits', 'minutes', 'Cc', '', 'Subject', 'test',
'FinalPriority', 0, 'new-RefersTo', '', 'RefersTo-new', '',
'TimeLeft-TimeUnits', 'minutes', 'TimeLeft', '', 'DependsOn-new',
'', 'Owner', 10, 'new-MemberOf', '', 'MemberOf-new', '', 'Content',
'another test ticket on newly upgraded system.', 'Due', '',
'TimeWorked-TimeUnits', 'minutes') called at /opt/6sq-rt/share/html/
Ticket/Create.html line 398
HTML::Maso

Re: [rt-users] upgrade from 3.6.6 pgsql to 3.8.1rc5

2008-08-18 Thread Kevin Falcone
It turns out that the name of the RT_SystemUser was changed in the  
database, which
lead to the errors below.

-kevin

On Aug 15, 2008, at 7:58 PM, Miles Scruggs wrote:

> I just did an upgrade, everything seems to be working fine, just for  
> kicks I tried to create a ticket and I get this error:
>
> Can't call method "HasRight" on an undefined value at /opt/6sq-rt/ 
> bin/../lib/RT/User_Overlay.pm line 1209.
>
>
> Trace begun at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ 
> Exceptions.pm line 129
> HTML::Mason::Exceptions::rethrow_exception('Can\'t call method  
> "HasRight" on an undefined value at /opt/6sq-rt/bin/../lib/RT/ 
> User_Overlay.pm line 1209.^J') called at /opt/6sq-rt/bin/../lib/RT/ 
> User_Overlay.pm line 1209
> RT::User::HasRight('RT::CurrentUser=HASH(0x9fdb868)', 'Right',  
> 'SeeQueue', 'Object', 'RT::Queue=HASH(0xaa64eb4)') called at /opt/ 
> 6sq-rt/bin/../lib/RT/Queue_Overlay.pm line 1183
> RT::Queue::HasRight('RT::Queue=HASH(0xaa64eb4)', 'Principal',  
> 'RT::CurrentUser=HASH(0x9fdb868)', 'Right', 'SeeQueue') called at / 
> opt/6sq-rt/bin/../lib/RT/Queue_Overlay.pm line 1148
> RT::Queue::CurrentUserHasRight('RT::Queue=HASH(0xaa64eb4)',  
> 'SeeQueue') called at /opt/6sq-rt/bin/../lib/RT/Queue_Overlay.pm  
> line 1124
> RT::Queue::_Value('RT::Queue=HASH(0xaa64eb4)', 'Disabled') called  
> at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Record.pm line  
> 424
> DBIx::SearchBuilder::Record::__ANON__('RT::Queue=HASH(0xaa64eb4)')  
> called at /opt/6sq-rt/bin/../lib/RT/Ticket_Overlay.pm line 288
> RT::Ticket::Create('RT::Ticket=HASH(0xaa64218)', 'TimeEstimated',  
> '', 'Status', 'new', 'Queue', 'help', 'AdminCc', '', 'MIMEObj',  
> 'MIME::Entity=HASH(0xaa645b4)', 'Type', 'ticket', 'InitialPriority',  
> 0, 'Starts', undef, 'TimeWorked', '', 'Requestor', '[EMAIL PROTECTED] 
> ', 'Cc', '', 'Subject', 'test', 'FinalPriority', 0, 'TimeLeft', '',  
> 'Owner', 10, 'Due', undef) called at /opt/6sq-rt/bin/../lib/RT/ 
> Interface/Web.pm line 530
> HTML::Mason::Commands::CreateTicket('Attachments', undef,  
> 'TimeEstimated', '', 'Status', 'new', 'new-DependsOn', '', 'Queue',  
> 'help', 'AdminCc', '', 'Requestors', '[EMAIL PROTECTED]',  
> 'InitialPriority', 0, 'Starts', '', 'Attach', '', 'TimeWorked', '',  
> 'id', 'new', 'TimeEstimated-TimeUnits', 'minutes', 'Cc', '',  
> 'Subject', 'test', 'FinalPriority', 0, 'new-RefersTo', '',  
> 'TimeLeft', '', 'TimeLeft-TimeUnits', 'minutes', 'RefersTo-new', '',  
> 'Owner', 10, 'DependsOn-new', '', 'new-MemberOf', '', 'MemberOf- 
> new', '', 'Content', 'another test ticket on newly upgraded  
> system.', 'TimeWorked-TimeUnits', 'minutes', 'Due', '') called at / 
> opt/6sq-rt/share/html/Ticket/Display.html line 117
> HTML::Mason::Commands::__ANON__('TimeEstimated', '', 'Status',  
> 'new', 'new-DependsOn', '', 'Queue', 'help', 'AdminCc', '',  
> 'Requestors', '[EMAIL PROTECTED]', 'InitialPriority', 0,  
> 'Starts', '', 'Attach', '', 'TimeWorked', '', 'id', 'new',  
> 'TimeEstimated-TimeUnits', 'minutes', 'Cc', '', 'Subject', 'test',  
> 'FinalPriority', 0, 'new-RefersTo', '', 'RefersTo-new', '',  
> 'TimeLeft-TimeUnits', 'minutes', 'TimeLeft', '', 'DependsOn-new',  
> '', 'Owner', 10, 'new-MemberOf', '', 'MemberOf-new', '', 'Content',  
> 'another test ticket on newly upgraded system.', 'Due', '',  
> 'TimeWorked-TimeUnits', 'minutes') called at /usr/lib/perl5/ 
> site_perl/5.8.8/HTML/Mason/Component.pm line 135
> HTML 
> ::Mason 
> ::Component 
> ::run('HTML::Mason::Component::FileBased=HASH(0xaa61f80)',  
> 'TimeEstimated', '', 'Status', 'new', 'new-DependsOn', '', 'Queue',  
> 'help', 'AdminCc', '', 'Requestors', '[EMAIL PROTECTED]',  
> 'InitialPriority', 0, 'Starts', '', 'Attach', '', 'TimeWorked', '',  
> 'id', 'new', 'TimeEstimated-TimeUnits', 'minutes', 'Cc', '',  
> 'Subject', 'test', 'FinalPriority', 0, 'new-RefersTo', '', 'RefersTo- 
> new', '', 'TimeLeft-TimeUnits', 'minutes', 'TimeLeft', '',  
> 'DependsOn-new', '', 'Owner', 10, 'new-MemberOf', '', 'MemberOf- 
> new', '', 'Content', 'another test ticket on newly upgraded  
> system.', 'Due', '', 'TimeWorked-TimeUnits', 'minutes') called at / 
> usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1278
> eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm  
> line 1268
> HTML::Mason::Request::comp(undef, undef, 'TimeEstimated', '',  
> 'Status', 'new', 'new-DependsOn', '', 'Queue', 'help', 'AdminCc',  
> '', 'Requestors', '[EMAIL PROTECTED]', 'InitialPriority', 0,  
> 'Starts', '', 'Attach', '', 'TimeWorked', '', 'id', 'new',  
> 'TimeEstimated-TimeUnits', 'minutes', 'Cc', '', 'Subject', 'test',  
> 'FinalPriority', 0, 'new-RefersTo', '', 'RefersTo-new', '',  
> 'TimeLeft-TimeUnits', 'minutes', 'TimeLeft', '', 'DependsOn-new',  
> '', 'Owner', 10, 'new-MemberOf', '', 'MemberOf-new', '', 'Content',  
> 'another test ticket on newly upgraded system.', 'Due', '',  
> 'TimeWorked-TimeUnits', 'minutes') called at /opt/6sq-rt/share/html/ 
> Ticket/Create.html line 398
> HTML

[rt-users] upgrade from 3.6.6 pgsql to 3.8.1rc5

2008-08-15 Thread Miles Scruggs
I just did an upgrade, everything seems to be working fine, just for  
kicks I tried to create a ticket and I get this error:


Can't call method "HasRight" on an undefined value at /opt/6sq-rt/ 
bin/../lib/RT/User_Overlay.pm line 1209.



Trace begun at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm  
line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method  
"HasRight" on an undefined value at /opt/6sq-rt/bin/../lib/RT/ 
User_Overlay.pm line 1209.^J') called at /opt/6sq-rt/bin/../lib/RT/ 
User_Overlay.pm line 1209
RT::User::HasRight('RT::CurrentUser=HASH(0x9fdb868)', 'Right',  
'SeeQueue', 'Object', 'RT::Queue=HASH(0xaa64eb4)') called at /opt/6sq- 
rt/bin/../lib/RT/Queue_Overlay.pm line 1183
RT::Queue::HasRight('RT::Queue=HASH(0xaa64eb4)', 'Principal',  
'RT::CurrentUser=HASH(0x9fdb868)', 'Right', 'SeeQueue') called at /opt/ 
6sq-rt/bin/../lib/RT/Queue_Overlay.pm line 1148
RT::Queue::CurrentUserHasRight('RT::Queue=HASH(0xaa64eb4)',  
'SeeQueue') called at /opt/6sq-rt/bin/../lib/RT/Queue_Overlay.pm line  
1124
RT::Queue::_Value('RT::Queue=HASH(0xaa64eb4)', 'Disabled') called at / 
usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Record.pm line 424
DBIx::SearchBuilder::Record::__ANON__('RT::Queue=HASH(0xaa64eb4)')  
called at /opt/6sq-rt/bin/../lib/RT/Ticket_Overlay.pm line 288
RT::Ticket::Create('RT::Ticket=HASH(0xaa64218)', 'TimeEstimated', '',  
'Status', 'new', 'Queue', 'help', 'AdminCc', '', 'MIMEObj',  
'MIME::Entity=HASH(0xaa645b4)', 'Type', 'ticket', 'InitialPriority',  
0, 'Starts', undef, 'TimeWorked', '', 'Requestor',  
'[EMAIL PROTECTED]', 'Cc', '', 'Subject', 'test', 'FinalPriority',  
0, 'TimeLeft', '', 'Owner', 10, 'Due', undef) called at /opt/6sq-rt/ 
bin/../lib/RT/Interface/Web.pm line 530
HTML::Mason::Commands::CreateTicket('Attachments', undef,  
'TimeEstimated', '', 'Status', 'new', 'new-DependsOn', '', 'Queue',  
'help', 'AdminCc', '', 'Requestors', '[EMAIL PROTECTED]',  
'InitialPriority', 0, 'Starts', '', 'Attach', '', 'TimeWorked', '',  
'id', 'new', 'TimeEstimated-TimeUnits', 'minutes', 'Cc', '',  
'Subject', 'test', 'FinalPriority', 0, 'new-RefersTo', '', 'TimeLeft',  
'', 'TimeLeft-TimeUnits', 'minutes', 'RefersTo-new', '', 'Owner', 10,  
'DependsOn-new', '', 'new-MemberOf', '', 'MemberOf-new', '',  
'Content', 'another test ticket on newly upgraded system.',  
'TimeWorked-TimeUnits', 'minutes', 'Due', '') called at /opt/6sq-rt/ 
share/html/Ticket/Display.html line 117
HTML::Mason::Commands::__ANON__('TimeEstimated', '', 'Status', 'new',  
'new-DependsOn', '', 'Queue', 'help', 'AdminCc', '', 'Requestors', '[EMAIL PROTECTED] 
', 'InitialPriority', 0, 'Starts', '', 'Attach', '', 'TimeWorked', '',  
'id', 'new', 'TimeEstimated-TimeUnits', 'minutes', 'Cc', '',  
'Subject', 'test', 'FinalPriority', 0, 'new-RefersTo', '', 'RefersTo- 
new', '', 'TimeLeft-TimeUnits', 'minutes', 'TimeLeft', '', 'DependsOn- 
new', '', 'Owner', 10, 'new-MemberOf', '', 'MemberOf-new', '',  
'Content', 'another test ticket on newly upgraded system.', 'Due', '',  
'TimeWorked-TimeUnits', 'minutes') called at /usr/lib/perl5/site_perl/ 
5.8.8/HTML/Mason/Component.pm line 135
HTML 
::Mason 
::Component::run('HTML::Mason::Component::FileBased=HASH(0xaa61f80)',  
'TimeEstimated', '', 'Status', 'new', 'new-DependsOn', '', 'Queue',  
'help', 'AdminCc', '', 'Requestors', '[EMAIL PROTECTED]',  
'InitialPriority', 0, 'Starts', '', 'Attach', '', 'TimeWorked', '',  
'id', 'new', 'TimeEstimated-TimeUnits', 'minutes', 'Cc', '',  
'Subject', 'test', 'FinalPriority', 0, 'new-RefersTo', '', 'RefersTo- 
new', '', 'TimeLeft-TimeUnits', 'minutes', 'TimeLeft', '', 'DependsOn- 
new', '', 'Owner', 10, 'new-MemberOf', '', 'MemberOf-new', '',  
'Content', 'another test ticket on newly upgraded system.', 'Due', '',  
'TimeWorked-TimeUnits', 'minutes') called at /usr/lib/perl5/site_perl/ 
5.8.8/HTML/Mason/Request.pm line 1278
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm  
line 1268
HTML::Mason::Request::comp(undef, undef, 'TimeEstimated', '',  
'Status', 'new', 'new-DependsOn', '', 'Queue', 'help', 'AdminCc', '',  
'Requestors', '[EMAIL PROTECTED]', 'InitialPriority', 0, 'Starts',  
'', 'Attach', '', 'TimeWorked', '', 'id', 'new', 'TimeEstimated- 
TimeUnits', 'minutes', 'Cc', '', 'Subject', 'test', 'FinalPriority',  
0, 'new-RefersTo', '', 'RefersTo-new', '', 'TimeLeft-TimeUnits',  
'minutes', 'TimeLeft', '', 'DependsOn-new', '', 'Owner', 10, 'new- 
MemberOf', '', 'MemberOf-new', '', 'Content', 'another test ticket on  
newly upgraded system.', 'Due', '', 'TimeWorked-TimeUnits', 'minutes')  
called at /opt/6sq-rt/share/html/Ticket/Create.html line 398
HTML::Mason::Commands::__ANON__('TimeEstimated', '', 'Status', 'new',  
'new-DependsOn', '', 'Queue', 'help', 'AdminCc', '', 'Requestors', '[EMAIL PROTECTED] 
', 'InitialPriority', 0, 'Starts', '', 'Attach', '', 'TimeWorked', '',  
'id', 'new', 'TimeEstimated-TimeUnits', 'minutes', 'Cc', '',  
'Subject', 'test', 'FinalPriority', 0, 'new-RefersT