[rt-users] dumpfile-to-rt-3.0 failed (2.0.14 - 3.8.8)

Daniel Schwager Daniel.Schwager at dtnet.de
Tue Feb 15 15:32:33 EST 2011


Hi,

a) I started the import now by erasing the predefined database:

	/opt/rt3/sbin/rt-setup-database --action drop --dba root
--dba-password xx
	/opt/rt3/sbin/rt-setup-database --action create --dba root
--dba-password xx
	/opt/rt3/sbin/rt-setup-database --action schema --dba root
--dba-password xx
	/opt/rt3/sbin/rt-setup-database --action acl --dba root
--dba-password xx
	/opt/rt3/sbin/rt-setup-database --action coredata  --dba root
--dba-password xx

This helps me to track down other issues e.g. the imported tickets has
no assigned owner.
May this could be a small note in your dumpfile-to-rt-3.0-README .

b) Links
> This reads like you had trouble rewriting your Links, often this is
> because your Organization is invalid or because you changed it from
> rt2 to rt3.

OK - this is correct - we changed the name back to the old version,
but warnings concerning the ticket import are still available.
Any additional hints ? 

> Importing links
> l[Tue Feb 15 20:12:28 2011] [warning]: Use of uninitialized value in
concatenation (.) or string at /usr/bin/dumpfile-to-rt-3.0 line 434.
(/usr/bin/dumpfile-to-rt-3.0:434)
> [Tue Feb 15 20:12:28 2011] [warning]: Use of uninitialized value in
concatenation (.) or string at /usr/bin/dumpfile-to-rt-3.0 line 440.
(/usr/bin/dumpfile-to-rt-3.0:440)
..
> Skipping link creation (21 4 MemberOf) because duplicate of 2 detected
> Skipping link creation (30 30 MergedInto) because duplicate of 9
detected

What are exactly the "Links" ? So, may they are not important for the
migration ?


c) Import of tickets
Concerning the normal ticket import, I got this kind of warning for each
ticket:

t-35437: [Tue Feb 15 20:09:42 2011] [warning]: Use of uninitialized
value in hash element at /usr/bin/dumpfile-to-rt-3.0 line 667.
(/usr/bin/dumpfile-to-rt-3.0:667)
		line 667:      $ticket->{'Owner'} = $user_map->{
$ticket->{'Owner'} };

wta[Tue Feb 15 20:09:42 2011] [warning]: Use of uninitialized value in
string eq at /usr/bin/dumpfile-to-rt-3.0 line 891.
(/usr/bin/dumpfile-to-rt-3.0:891)
		line: 891:                        if ( $content_type =~
qr{(text/|message/rfc822)}i )

[Tue Feb 15 20:09:42 2011] [warning]: Use of uninitialized value in
length at /opt/rt3/lib/RT/Record.pm line 753.
(/opt/rt3/lib/RT/Record.pm:753)
		line: 753       #if the attachment is larger than the
maximum size

			        if ( ($MaxSize) and ( $MaxSize <
length($Body) ) ) {

[Tue Feb 15 20:09:42 2011] [warning]: Use of uninitialized value in
string eq at /usr/bin/dumpfile-to-rt-3.0 line 970.
(/usr/bin/dumpfile-to-rt-3.0:970)
aat
	line 970:                    if ($a->{ContentEncoding} eq
'base64'




c) Scrips
> The Scrip part is likely because you had custom templates that won't
> work on rt3 since the APIs changed and you'll need to recreate them.

Ok - np.


Kind regards
Danny




More information about the rt-users mailing list