Upgrade (2.0.14 to 3.2.1) problem

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

~ Hi,

~ I have a rt 2.0.14 and I want to upgrade to 3.2.1 . I have followed the
exact instructions provided by the README files (rt and rt2-to-rt3)
but still, I have a problem. The export to directory it’s ok, the
metadata file is populated and the tickets are exported. But, when I try
to export the data into rt3 database I get some errors.

~ .uCreating user diablo
.Failed to create user for$VAR1 = {
~ ‘NickName’ => ‘diablo’,
~ … …
~ };

[Sat Jul 31 02:56:45 2004] [crit]: 1 (/opt/rt3/lib/RT/ACE_Overlay.pm:884)
[Sat Jul 31 02:56:45 2004] [crit]: Can’t load a principal for id
(/opt/rt3/lib/RT/ACE_Overlay.pm:885)

I’ve read the list archives (bot rt-users and rt-devel) and I didn’t
find any usefull information about this problem. Does someone have a
clue about this ?

rt2-to-rt3 version is 1.23
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBCxCMNrNZEFCIDAcRAhAlAKDay56dYEEhfzplJlZeIaoWrxtGOACfcDgm
pHJhdJQNfN4MB5lZVXxCRTg=
=H61f
-----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have solved this one. The solution is very simple and very surprising.

on dumpfile-to-rt-3.0 search for

use RT::Interface::CLI qw(CleanEnv GetCurrentUser GetMessageContent loc);
use RT::Tickets;
use RT::Template;
use RT::CustomFields;
use RT::Principals;
use RT::Scrips;

and add this lines:

use RT::Scrip;
use RT::Principal;
use RT::Ticket;

In my case the upgrade was a success.

SUBREDU Manuel wrote:
|
| ~ Hi,
|
| ~ I have a rt 2.0.14 and I want to upgrade to 3.2.1 . I have followed the
| exact instructions provided by the README files (rt and rt2-to-rt3)
| but still, I have a problem. The export to directory it’s ok, the
| metadata file is populated and the tickets are exported. But, when I try
| to export the data into rt3 database I get some errors.
|
| ~ .uCreating user diablo
| .Failed to create user for$VAR1 = {
| ~ ‘NickName’ => ‘diablo’,
| ~ … …
| ~ };
|
| [Sat Jul 31 02:56:45 2004] [crit]: 1 (/opt/rt3/lib/RT/ACE_Overlay.pm:884)
| [Sat Jul 31 02:56:45 2004] [crit]: Can’t load a principal for id
| (/opt/rt3/lib/RT/ACE_Overlay.pm:885)
|
| I’ve read the list archives (bot rt-users and rt-devel) and I didn’t
| find any usefull information about this problem. Does someone have a
| clue about this ?
|
| rt2-to-rt3 version is 1.23
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBC6GoNrNZEFCIDAcRAvUxAJoCd5CVLvj+OqsX2cQA7itcY6WdvwCgvz7t
W+11zoG4pBKs0gcVLY5XWfQ=
=nb+D
-----END PGP SIGNATURE-----