Convert From rt2 to rt3

Hello,

I’m having a lot of problems converting my rt2 install to rt3- when I run rt-2.0-to-dumpfile, the
metadata file it spits out, lists all my users as:

–snip–

      'User' => [
                  {
                    'id' => '49866'
                  },
                  {
                    'id' => '254193'
                  },
                  {
                    'id' => '421389'
                  },
                  {
                    'id' => '56689'
                  },
                  {
                    'id' => '57720'
                  },
                  {
                    'id' => '214'
                  },

etc, etc.

–snip–

and then when I import them, I receive the error:

–snip–

uCreating user Unnamed user 405788
.[Tue Oct 4 22:47:43 2005] [err]: Couldn’t load from the users database.
(/usr/local/rt3/lib/RT/CurrentUser.pm:146)
Failed to create user for$VAR1 = {
‘CryptedPassword’ => undef,
‘Name’ => ‘Unnamed user 405788’
};
uCreating user Unnamed user 10438
.[Tue Oct 4 22:47:43 2005] [err]: Couldn’t load from the users database.
(/usr/local/rt3/lib/RT/CurrentUser.pm:146)
Failed to create user for$VAR1 = {
‘CryptedPassword’ => undef,
‘Name’ => ‘Unnamed user 10438’
};

–snip–

I’m attempting to convert from rt2.0.12/mysql to rt-3.4.4/postgresql

Is there something obvious I’m missing?

Any help would be appreciated.

Thanks,

Mike
mike@uniserve.com

Hello,

I’m having a lot of problems converting my rt2 install to rt3- when I run rt-2.0-to-dumpfile, the
metadata file it spits out, lists all my users as:

–snip–

      'User' => [
                  {
                    'id' => '49866'
                  },
                  {
                    'id' => '254193'
                  },
                  {
                    'id' => '421389'
                  },
                  {
                    'id' => '56689'
                  },
                  {
                    'id' => '57720'
                  },
                  {
                    'id' => '214'
                  },

etc, etc.

–snip–

Just had the same thing happen. The problem was that the installed version
of DBI::SearchBuilder (1.26, Debian sarge) wasn’t compatible with RT 2.0.x.
I downgraded the module to 0.48 (Debian woody) and ran the dump again.

Frank Copeland
Never trust an operating system you don’t have sources for. :wink:
– Unknown source

Just had the same thing happen. The problem was that the installed version
of DBI::SearchBuilder (1.26, Debian sarge) wasn’t compatible with RT 2.0.x.
I downgraded the module to 0.48 (Debian woody) and ran the dump again.

Awesome- well- that got me past the export problem- now, when I import
into rt3 (after re-installing a newer verison of SearchBuilder), I get the
following error messages:

–snip–

uCreating user BAmL32
.[Wed Oct 5 18:02:52 2005] [err]: Couldn’t load from the users database.
(/usr/local/rt3/lib/RT/CurrentUser.pm:146)
Failed to create user for$VAR1 = {
‘Comments’ => ‘Autocreated on ticket submission’,
‘RealName’ => ‘BAmL32’,
‘Creator’ => ‘1’,
‘EmailAddress’ => ‘BAmL32’,
‘LastUpdatedBy’ => ‘1’,
‘Created’ => ‘2003-09-24 08:05:09’,
‘Name’ => ‘BAmL32’,
‘LastUpdated’ => ‘2003-09-24 08:05:09’
};
uCreating user BL
.[Wed Oct 5 18:02:52 2005] [err]: Couldn’t load from the users database.
(/usr/local/rt3/lib/RT/CurrentUser.pm:146)
Failed to create user for$VAR1 = {
‘Comments’ => ‘Autocreated on ticket submission’,
‘RealName’ => ‘BL’,
‘Creator’ => ‘1’,
‘EmailAddress’ => ‘BL’,
‘LastUpdatedBy’ => ‘1’,
‘Created’ => ‘2003-09-27 02:06:06’,
‘Name’ => ‘BL’,
‘LastUpdated’ => ‘2003-09-27 02:06:06’
};

etc, etc

–snip–

Any thoughts on why it’s failing to create the user?

Thanks,

Mike

Awesome- well- that got me past the export problem- now, when I import
into rt3 (after re-installing a newer verison of SearchBuilder), I get the
following error messages:

–snip–

[…]

etc, etc

–snip–

Any thoughts on why it’s failing to create the user?

Sorry, haven’t seen that problem.

Frank Copeland
A boy can learn a lot from a dog: obedience, loyalty, and the importance
of turning around three times before lying down.
– Robert Benchley