I am having trouble with the rt2 to rt3 conversion scripts. The
rt2-to-dumpfile scripts seems to work fine and I have what looks like
a correct dumpfile. When I run dumpfile-to-rt3, it says:
I am having trouble with the rt2 to rt3 conversion scripts. The
rt2-to-dumpfile scripts seems to work fine and I have what looks like
a correct dumpfile. When I run dumpfile-to-rt3, it says:
OK, to followup to my own post it seems that it does manage to
actually insert all the users into the database even though it
complains bitterly for every entry. It totally fails though on the
group import stage:
Importing groups
gNOTICE: current transaction is aborted, queries ignored until end of transaction block
[Wed Aug 13 11:36:32 2003] [crit]: No such pseudo-hash field “HASH(0xb665ee8)” at /home/stephen/rt2-to-rt3-v1.20/dumpfile-to-rt-3.0 line 133.
(/usr/share/perl5/RT.pm:242)
No idea, what is causing this, I’ll poke around some more and try to
come up with some ideas.
OK, to followup to my own post it seems that it does manage to
actually insert all the users into the database even though it
complains bitterly for every entry. It totally fails though on the
group import stage:
Importing groups
gNOTICE: current transaction is aborted, queries ignored until end of transaction block
[Wed Aug 13 11:36:32 2003] [crit]: No such pseudo-hash field “HASH(0xb665ee8)” at /home/stephen/rt2-to-rt3-v1.20/dumpfile-to-rt-3.0 line 133.
(/usr/share/perl5/RT.pm:242)
No idea, what is causing this, I’ll poke around some more and try to
come up with some ideas.
I had a similar problem, turns out it was my own silliness in emptying
out the database manually and not running the sbin/rt-setup-database
script to get it back to it’s freshly installed state. See my mail of
July 29th for the exact error - slightly different line number, but it
was an older version of the migration tools.
I am having trouble with the rt2 to rt3 conversion scripts. The
rt2-to-dumpfile scripts seems to work fine and I have what looks like
a correct dumpfile. When I run dumpfile-to-rt3, it says:
Ok, after investigation it seems this error is ignorable. The problem
is that the subroutine load_user() first tries to load the user with
the user_id considered as the email address, then considered as the
name and then finally the id (which is an integer). A change of the
if{} statement in load_user() to only try the id field when the user_id
is numeric gets rid of the annoying error messages.