[rt-users] Upgrade from 3.0.11 to 3.4.6

2008-08-25 Thread Dawid Trojanowski
Ok I had been given a task to update the Request Tracker, the problem is
the older version is 3.0.11 and the person who managed it left without
any information so I had to analyze as much as possible.



Here is the information:



Old RT system;



Debian (no clue what version)

Apache 1.3 version

Mysql 4.x

RT 3.0.11



New RT system:



CentOS 5 on VMWare system

Apache 2.x

Mysql 5.x

RT 3.4.6 (tried 3.8.0, web ui was very flaky)



So I managed to install the new RT 3.4.6 just fine without any issues.

Tested it and worked only one problem the 'Tools' ran into errors.



error:

Undefined subroutine Scalar::Util::weaken called at
/opt/rt3/lib/RT/Action/Generic.pm line 108.

context:

...



104:

$self-{'TicketObj'} = $args{'TicketObj'};

105:

$self-{'TransactionObj'} = $args{'TransactionObj'};

106:

$self-{'Type'} = $args{'Type'};

107:



108:

Scalar::Util::weaken($self-{'ScripActionObj'});

109:

Scalar::Util::weaken($self-{'ScripObj'});

110:

Scalar::Util::weaken($self-{'TemplateObj'});

111:

Scalar::Util::weaken($self-{'TicketObj'});

112:

Scalar::Util::weaken($self-{'TransactionObj'});

...



code stack:

/opt/rt3/lib/RT/Action/Generic.pm:108
/opt/rt3/lib/RT/Action/Generic.pm:80
/opt/rt3/share/html/Tools/Offline.html:107
/opt/rt3/share/html/autohandler:85



Raw Error is:





Undefined subroutine Scalar::Util::weaken called at
/opt/rt3/lib/RT/Action/Generic.pm line 108.


Trace begun at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm
line 129
HTML::Mason::Exceptions::rethrow_exception('Undefined subroutine
Scalar::Util::weaken called at /opt/rt3/lib/RT/Action/Generic.pm line
108.^J') called at /opt/rt3/lib/RT/Action/Generic.pm line 108
RT::Action::Generic::_Init('RT::Action::CreateTickets=HASH(0xb9d3cfc)',
'CurrentUser', 'RT::CurrentUser=HASH(0xb9d5ffc)') called at
/opt/rt3/lib/RT/Action/Generic.pm line 80
RT::Action::Generic::new('RT::Action::CreateTickets', 'CurrentUser',
'RT::CurrentUser=HASH(0xb9d5ffc)') called at
/opt/rt3/share/html/Tools/Offline.html line 107
HTML::Mason::Commands::__ANON__ at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xb9
cfc38)') 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, undef) called at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 937
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HAS
H(0xb550450)') called at /opt/rt3/share/html/autohandler line 85
HTML::Mason::Commands::__ANON__ at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xb7
e6e90)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm
line 1273
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line
1268
HTML::Mason::Request::comp(undef, undef, undef) called at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 467
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line
467
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line
419
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xb
550450)') called at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheH
andler=HASH(0xb550450)') called at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=H
ASH(0xace27e8)', 'Apache2::RequestRec=SCALAR(0xb81d078)') called at
/opt/rt3/bin/webmux.pl line 124
eval {...} at /opt/rt3/bin/webmux.pl line 124
RT::Mason::handler('Apache2::RequestRec=SCALAR(0xb81d078)') called at -e
line 0
eval {...} at -e line 0





I am just starting to figure this out, but I am past my deadline now and
this roadblock is not helping me much.



I just ignored it for now because I need to make sure that I am able to
import the older database into newer one.

After the new RT installation which it created the mysql table, I
injected the older database by force, and ran into multiple errors but
it went in there.

I get to web ui, the database is there but history is missing for the
contents.  I thought I ran the database update but I guess it failed at
some point.



I think there is also an issues with my Virtual Host settings in httpd
configuration, could someone post a copy of their so I could figure out
why am I screw this up badly, more than need to.



Please bear with me, I just got back to scripting after 5 years of
inactivity on linux.

Never done mysql but learning.



Thank you.






This message is intended only for the use of the individual or entity to which 
it is addressed, and may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law.  If the reader of this 

Re: [rt-users] Upgrade from 3.0.11 to 3.4.6

2008-08-25 Thread chaim . rieger
I've seen that error, try reinstalling scalar utils. 


Sent via BlackBerry from T-Mobile

-Original Message-
From: Dawid Trojanowski [EMAIL PROTECTED]

Date: Mon, 25 Aug 2008 10:37:00 
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Upgrade from 3.0.11 to 3.4.6


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Upgrade from 3.0.11 to 3.4.6

2008-08-25 Thread Jesse Vincent


On Aug 25, 2008, at 10:37 AM, Dawid Trojanowski wrote:

Ok I had been given a task to update the Request Tracker, the  
problem is the older version is 3.0.11 and the person who managed it  
left without any information so I had to analyze as much as possible.


Here is the information:

Old RT system;

Debian (no clue what version)
Apache 1.3 version
Mysql 4.x
RT 3.0.11

New RT system:

CentOS 5 on VMWare system
Apache 2.x
Mysql 5.x
RT 3.4.6 (tried 3.8.0, web ui was very flaky)


I suspect that any trouble you're going to have with RT 3.8, you'll  
also have with older, no longer supported versions.


But, if you're concerned that RT 3.8 isn't ready for you yet, I might  
recommend RT 3.6, the previous stable release, rather than RT 3.4  
which was last updated two years ago.





So I managed to install the new RT 3.4.6 just fine without any issues.
Tested it and worked only one problem the ‘Tools’ ran into errors.

error:
Undefined subroutine Scalar::Util::weaken called at /opt/rt3/lib/RT/ 
Action/Generic.pm line 108.


A quick search of the list archives will turn up your answer.___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com