Problems with dumpfile-to-rt-3.0

Hi when I run dumpfile-to-rt-3.0 (v1.23) I’m getting reams of this … any
ideas?

uCreating user Unnamed user 251198
.[Tue Oct 12 22:08:48 2004] [error]: Could not create a new user -
(/usr/local/rt-3.2.2/lib/RT/User_Overlay.pm:26
0)
Failed to create user for$VAR1 = {
‘CryptedPassword’ => undef,
‘Name’ => ‘Unnamed user 251198’

Robert Westendorp
Systems Administrator
rjwsys@uniserve.com
UNIServe Online Disclaimer:
“The sender intends this message for a specific recipient and, as it may
contain information that is privileged or confidential, any use,
dissemination, forwarding, or copying by anyone without permission from the
sender is prohibited. Personal e-mail may contain views that are not
necessarily those of the company”.

Some more info … did some debugging and it appears that the code dies here:

    $users->UnLimit();
}
$users->{'find_disabled_rows'} = 1;

my @users;
foreach my $user ( @{ $users->ItemsArrayRef })  {   <------------------- 

This line is where it dies. I’m not 100% sure what this line does
my $user_ds;
foreach my $param ( sort keys %$acc, ‘id’ ) {
$user_ds->{$param} = $user->_Value($param)
if ( $user->_Value($param) );
}

Exporting tickets/queues everything else is fine … it’s just the users that
is giving me a problem.

Robert.From: “Robert Westendorp” rjwsys@uniserve.com
To: rt-devel@lists.bestpractical.com
Sent: Tuesday, October 12, 2004 3:09 PM
Subject: [Rt-devel] Problems with dumpfile-to-rt-3.0

Hi when I run dumpfile-to-rt-3.0 (v1.23) I’m getting reams of this …
any
ideas?

uCreating user Unnamed user 251198
.[Tue Oct 12 22:08:48 2004] [error]: Could not create a new user -
(/usr/local/rt-3.2.2/lib/RT/User_Overlay.pm:26
0)
Failed to create user for$VAR1 = {
‘CryptedPassword’ => undef,
‘Name’ => ‘Unnamed user 251198’

We are attempting to migrate from a RT 2.0.15 system to RT 3.2.1. Our
database has around 66,500 tickets in it.
Using rt2-to-rt3-1.23 the creation of the dump directory seems to proceed
smoothly. When we run dumpfile-to-rt-3.0 it
adds all the users and then generates the following messages:

.
Importing groups
rrr[Thu Sep 9 19:22:21 2004] [crit]: 1 (/opt/rt3/lib/RT/ACE_Overlay.pm:884)
[Thu Sep 9 19:22:21 2004] [crit]: Can’t load a principal for
id (/opt/rt3/lib/RT/ACE_Overlay.pm:885)
rqqqImporting tickets…Importing links

And then exits. The mysql database has all our users, but no tickets or
transactions in it.
Any suggestions on how to proceed appreciated!

Thanks,
Brian

Some more info … did some debugging and it appears that the code dies
here:

     $users->UnLimit();
 }
 $users->{'find_disabled_rows'} = 1;

 my @users;
 foreach my $user ( @{ $users->ItemsArrayRef })  {   <-----  This line

is where it dies. I’m not 100% sure what this line does
my $user_ds;
foreach my $param ( sort keys %$acc, ‘id’ ) {
$user_ds->{$param} = $user->_Value($param)
if ( $user->_Value($param) );
}

Exporting tickets/queues everything else is fine … it’s just the users
that
is giving me a problem.

Robert.

No I haven’t actually.

Has anyone other than us had this issue? If I comment out the user export
portion it can export the rest, but that doesn’t help a whole lot.

Robert.From: “Christopher Martinsen” cmartinsen@viatraining.com
To: “Robert Westendorp” rjwsys@uniserve.com
Sent: Wednesday, October 20, 2004 4:41 PM
Subject: Re: [rt-users] Problems with dumpfile-to-rt-3.0

Hello there,

Have you gotten any help on this bug?
This is the one thing that is stalling my conversion to RT3 from RT2.

chris

Some more info … did some debugging and it appears that the code dies
here:

     $users->UnLimit();
 }
 $users->{'find_disabled_rows'} = 1;

 my @users;
 foreach my $user ( @{ $users->ItemsArrayRef })  {   <-----  This

line

is where it dies. I’m not 100% sure what this line does
my $user_ds;
foreach my $param ( sort keys %$acc, ‘id’ ) {
$user_ds->{$param} = $user->_Value($param)
if ( $user->_Value($param) );
}

Exporting tickets/queues everything else is fine … it’s just the users
that
is giving me a problem.

Robert.

----- Original Message -----
From: “Robert Westendorp” rjwsys@uniserve.com
To: rt-devel@lists.bestpractical.com
Sent: Tuesday, October 12, 2004 3:09 PM
Subject: [Rt-devel] Problems with dumpfile-to-rt-3.0

Hi when I run dumpfile-to-rt-3.0 (v1.23) I’m getting reams of this

any
ideas?

uCreating user Unnamed user 251198
.[Tue Oct 12 22:08:48 2004] [error]: Could not create a new user -
(/usr/local/rt-3.2.2/lib/RT/User_Overlay.pm:26
0)
Failed to create user for$VAR1 = {
‘CryptedPassword’ => undef,
‘Name’ => ‘Unnamed user 251198’


The rt-users Archives

Be sure to check out the RT wiki at http://wiki.bestpractical.com

Christopher Martinsen 1620 SW Taylor, Suite 200
Network Systems Manager Portland, OR 97205
Via Training 503.944.0957 ph

cmartinsen@viatraining.com