Upgrading 2.0.15->3.2.3. Anyone got it to work?

Has anyone successfully done it? I’m having a heck of a time with it. I
can get 3.2.3 and 2.0.15 running at the same time on the same box, but
when I run the dumpfile-to-rt-3.0 script, I get tons of these messages:

uCreating user Unnamed user 253
.[Thu Sep 22 16:31:00 2005] [error]: Could not create a new user -
(/opt/rt3/lib/RT/User_Overlay.pm:260)
Failed to create user for$VAR1 = {
‘CryptedPassword’ => undef,
‘Name’ => ‘Unnamed user 253’
};
uCreating user Unnamed user 170
.[Thu Sep 22 16:31:00 2005] [error]: Could not create a new user -
(/opt/rt3/lib/RT/User_Overlay.pm:260)
Failed to create user for$VAR1 = {
‘CryptedPassword’ => undef,
‘Name’ => ‘Unnamed user 170’
};
uCreating user Unnamed user 232
.[Thu Sep 22 16:31:01 2005] [error]: Could not create a new user -
(/opt/rt3/lib/RT/User_Overlay.pm:260)
Failed to create user for$VAR1 = {
‘CryptedPassword’ => undef,
‘Name’ => ‘Unnamed user 232’
};

Then I get a big list like this:

Importing groups
gCouldn’t find user with RT2 userid 5 - not adding to Couldn’t find user
with RT2 userid 6 - not adding to Couldn’t find user with RT2 userid 7 -
not adding to Couldn’t find user with RT2 userid 8 - not adding to
Couldn’t find user with RT2 userid 9 - not adding to Couldn’t find user
with RT2 userid 10 - not adding to Couldn’t find user with RT2 userid 12

  • not adding to Couldn’t find user with RT2 userid 13 - not adding to
    Couldn’t find user with RT2 userid 14 - not adding to Couldn’t find user
    with RT2 userid 15 - not adding to Couldn’t find user with RT2 userid
    115 - not adding to Couldn’t find user with RT2 userid 151 - not adding
    to gCouldn’t find user with RT2 userid 3 - not adding to Couldn’t find
    user with RT2 userid 4 - not adding to Couldn’t find user with RT2
    userid 5 - not adding to Couldn’t find user with RT2 userid 6 - not
    adding to Couldn’t find user with RT2 userid 7 - not adding to Couldn’t
    find user with RT2 userid 8 - not adding to Couldn’t find user with RT2
    userid 9 - not adding to Couldn’t find user with RT2 userid 10 - not
    adding to Couldn’t find user with RT2

Then lots of this:

[Thu Sep 22 16:31:19 2005] [crit]: 1 (/opt/rt3/lib/RT/ACE_Overlay.pm:906)
[Thu Sep 22 16:31:19 2005] [crit]: Can’t load a principal for id
(/opt/rt3/lib/RT/ACE_Overlay.pm:907)
rCouldn’t load principal to grant them AdminKeywords globally
$VAR1 = {
‘PrincipalType’ => ‘User’,
‘PrincipalId’ => ‘4’,
‘Name’ => ‘AdminKeywords’
};
[Thu Sep 22 16:31:19 2005] [crit]: 1 (/opt/rt3/lib/RT/ACE_Overlay.pm:906)
[Thu Sep 22 16:31:19 2005] [crit]: Can’t load a principal for id
(/opt/rt3/lib/RT/ACE_Overlay.pm:907)
rCouldn’t load principal to grant them AdminKeywordSelects globally
$VAR1 = {
‘PrincipalType’ => ‘User’,
‘PrincipalId’ => ‘4’,
‘Name’ => ‘AdminKeywordSelects’
};

And a lot of this:

fffffffffffffqFailed to create queue for$VAR1 = {
‘LastUpdatedBy’ => undef,
‘Creator’ => undef
};
[Thu Sep 22 16:31:28 2005] [crit]: Trying to check RT::Queue rights for
an unspecified RT::Queue (/opt/rt3/lib/RT/Principal_Overlay.pm:377)
[Thu Sep 22 16:31:28 2005] [crit]: Trying to check RT::Queue rights for
an unspecified RT::Queue (/opt/rt3/lib/RT/Principal_Overlay.pm:377)
[Thu Sep 22 16:31:28 2005] [crit]: Trying to check RT::Queue rights for
an unspecified RT::Queue (/opt/rt3/lib/RT/Principal_Overlay.pm:377)
[Thu Sep 22 16:31:29 2005] [crit]: Trying to check RT::Queue rights for
an unspecified RT::Queue (/opt/rt3/lib/RT/Principal_Overlay.pm:377)
[Thu Sep 22 16:31:29 2005] [crit]: Trying to check RT::Queue rights for
an unspecified RT::Queue (/opt/rt3/lib/RT/Principal_Overlay.pm:377)
[Thu Sep 22 16:31:29 2005] [crit]: Trying to check RT::Queue rights for
an unspecified RT::Queue (/opt/rt3/lib/RT/Principal_Overlay.pm:377)
[Thu Sep 22 16:31:29 2005] [crit]: Trying to check RT::Queue rights for
an unspecified RT::Queue (/opt/rt3/lib/RT/Principal_Overlay.pm:377)
[Thu Sep 22 16:31:29 2005] [crit]: Trying to check RT::Queue rights for
an unspecified RT::Queue (/opt/rt3/lib/RT/Principal_Overlay.pm:377)
[Thu Sep 22 16:31:29 2005] [crit]: Trying to check RT::Queue rights for
an unspecified RT::Queue (/opt/rt3/lib/RT/Principal_Overlay.pm:377)
[Thu Sep 22 16:31:29 2005] [crit]: Trying to check RT::Queue rights for
an unspecified RT::Queue (/opt/rt3/lib/RT/Principal_Overlay.pm:377)
[Thu Sep 22 16:31:30 2005] [crit]: Trying to check RT::Queue rights for
an unspecified RT::Queue (/opt/rt3/lib/RT/Principal_Overlay.pm:377)
qFailed to create queue for$VAR1 = {
‘LastUpdatedBy’ => undef,
‘Creator’ => undef
};
qFailed to create queue for$VAR1 = {
‘LastUpdatedBy’ => undef,
‘Creator’ => undef

Ultimately, it doesn’t appear to import anything. I’m about at my wits
end here, and I need to get this working. If anyone has any ideas, I’d
love to hear them.

Thanks
Tom

In the readme it tells you to dump to the dumpfile BEFORE you install
3.2.x There is a DBIx::SearchBuilder incompatibility there. You need
to drop way back in the DBIx::SearchBuilder versions. Try searching the
mailing list for more info.

Tom Lichti wrote:

Has anyone successfully done it? I’m having a heck of a time with it.
I can get 3.2.3 and 2.0.15 running at the same time on the same box,
but when I run the dumpfile-to-rt-3.0 script, I get tons of these
messages:

uCreating user Unnamed user 253
.[Thu Sep 22 16:31:00 2005] [error]: Could not create a new user -
(/opt/rt3/lib/RT/User_Overlay.pm:260)
Failed to create user for$VAR1 = {
‘CryptedPassword’ => undef,
‘Name’ => ‘Unnamed user 253’
};
uCreating user Unnamed user 170
.[Thu Sep 22 16:31:00 2005] [error]: Could not create a new user -
(/opt/rt3/lib/RT/User_Overlay.pm:260)
Failed to create user for$VAR1 = {
‘CryptedPassword’ => undef,
‘Name’ => ‘Unnamed user 170’
};
uCreating user Unnamed user 232
.[Thu Sep 22 16:31:01 2005] [error]: Could not create a new user -
(/opt/rt3/lib/RT/User_Overlay.pm:260)
Failed to create user for$VAR1 = {
‘CryptedPassword’ => undef,
‘Name’ => ‘Unnamed user 232’
};

Then I get a big list like this:

Importing groups
gCouldn’t find user with RT2 userid 5 - not adding to Couldn’t find
user with RT2 userid 6 - not adding to Couldn’t find user with RT2
userid 7 - not adding to Couldn’t find user with RT2 userid 8 - not
adding to Couldn’t find user with RT2 userid 9 - not adding to
Couldn’t find user with RT2 userid 10 - not adding to Couldn’t find
user with RT2 userid 12 - not adding to Couldn’t find user with RT2
userid 13 - not adding to Couldn’t find user with RT2 userid 14 - not
adding to Couldn’t find user with RT2 userid 15 - not adding to
Couldn’t find user with RT2 userid 115 - not adding to Couldn’t find
user with RT2 userid 151 - not adding to gCouldn’t find user with RT2
userid 3 - not adding to Couldn’t find user with RT2 userid 4 - not
adding to Couldn’t find user with RT2 userid 5 - not adding to
Couldn’t find user with RT2 userid 6 - not adding to Couldn’t find
user with RT2 userid 7 - not adding to Couldn’t find user with RT2
userid 8 - not adding to Couldn’t find user with RT2 userid 9 - not
adding to Couldn’t find user with RT2 userid 10 - not adding to
Couldn’t find user with RT2

Then lots of this:

[Thu Sep 22 16:31:19 2005] [crit]: 1 (/opt/rt3/lib/RT/ACE_Overlay.pm:906)
[Thu Sep 22 16:31:19 2005] [crit]: Can’t load a principal for id
(/opt/rt3/lib/RT/ACE_Overlay.pm:907)
rCouldn’t load principal to grant them AdminKeywords globally
$VAR1 = {
‘PrincipalType’ => ‘User’,
‘PrincipalId’ => ‘4’,
‘Name’ => ‘AdminKeywords’
};
[Thu Sep 22 16:31:19 2005] [crit]: 1 (/opt/rt3/lib/RT/ACE_Overlay.pm:906)
[Thu Sep 22 16:31:19 2005] [crit]: Can’t load a principal for id
(/opt/rt3/lib/RT/ACE_Overlay.pm:907)
rCouldn’t load principal to grant them AdminKeywordSelects globally
$VAR1 = {
‘PrincipalType’ => ‘User’,
‘PrincipalId’ => ‘4’,
‘Name’ => ‘AdminKeywordSelects’
};

And a lot of this:

fffffffffffffqFailed to create queue for$VAR1 = {
‘LastUpdatedBy’ => undef,
‘Creator’ => undef
};
[Thu Sep 22 16:31:28 2005] [crit]: Trying to check RT::Queue rights
for an unspecified RT::Queue (/opt/rt3/lib/RT/Principal_Overlay.pm:377)
[Thu Sep 22 16:31:28 2005] [crit]: Trying to check RT::Queue rights
for an unspecified RT::Queue (/opt/rt3/lib/RT/Principal_Overlay.pm:377)
[Thu Sep 22 16:31:28 2005] [crit]: Trying to check RT::Queue rights
for an unspecified RT::Queue (/opt/rt3/lib/RT/Principal_Overlay.pm:377)
[Thu Sep 22 16:31:29 2005] [crit]: Trying to check RT::Queue rights
for an unspecified RT::Queue (/opt/rt3/lib/RT/Principal_Overlay.pm:377)
[Thu Sep 22 16:31:29 2005] [crit]: Trying to check RT::Queue rights
for an unspecified RT::Queue (/opt/rt3/lib/RT/Principal_Overlay.pm:377)
[Thu Sep 22 16:31:29 2005] [crit]: Trying to check RT::Queue rights
for an unspecified RT::Queue (/opt/rt3/lib/RT/Principal_Overlay.pm:377)
[Thu Sep 22 16:31:29 2005] [crit]: Trying to check RT::Queue rights
for an unspecified RT::Queue (/opt/rt3/lib/RT/Principal_Overlay.pm:377)
[Thu Sep 22 16:31:29 2005] [crit]: Trying to check RT::Queue rights
for an unspecified RT::Queue (/opt/rt3/lib/RT/Principal_Overlay.pm:377)
[Thu Sep 22 16:31:29 2005] [crit]: Trying to check RT::Queue rights
for an unspecified RT::Queue (/opt/rt3/lib/RT/Principal_Overlay.pm:377)
[Thu Sep 22 16:31:29 2005] [crit]: Trying to check RT::Queue rights
for an unspecified RT::Queue (/opt/rt3/lib/RT/Principal_Overlay.pm:377)
[Thu Sep 22 16:31:30 2005] [crit]: Trying to check RT::Queue rights
for an unspecified RT::Queue (/opt/rt3/lib/RT/Principal_Overlay.pm:377)
qFailed to create queue for$VAR1 = {
‘LastUpdatedBy’ => undef,
‘Creator’ => undef
};
qFailed to create queue for$VAR1 = {
‘LastUpdatedBy’ => undef,
‘Creator’ => undef

Ultimately, it doesn’t appear to import anything. I’m about at my wits
end here, and I need to get this working. If anyone has any ideas, I’d
love to hear them.

Thanks
Tom


The rt-users Archives

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

Buy your copy of our new book, RT Essentials, today!
Download a free sample chapter from http://rtbook.bestpractical.com

Drew Barnes
Applications Analyst
Raymond Walters College
University of Cincinnati

Drew Barnes wrote:

In the readme it tells you to dump to the dumpfile BEFORE you install
3.2.x There is a DBIx::SearchBuilder incompatibility there. You need
to drop way back in the DBIx::SearchBuilder versions. Try searching
the mailing list for more info.
I did that, but I guess when I installed 2.0.15 it installed the latest
SearchBuilder. It’s a completely new box…

I’ll try downgrading SearchBuilder to whatever 2.0.15 requires, and
re-dump, and see what happens. Weeee…

Thanks for the tip!

Tom

You are putting 2.0.15 on a new box? Do you have a mysqldump from an
existing install?

If you do, install 2.0.15 and load the db from the mysql dump. then
untar 3.2.3, configure, and run make upgrade. Make sure you follow the
schema/acl/content upgrade instructions at the end of make upgrade.

Tom Lichti wrote:

Drew Barnes wrote:

In the readme it tells you to dump to the dumpfile BEFORE you install
3.2.x There is a DBIx::SearchBuilder incompatibility there. You
need to drop way back in the DBIx::SearchBuilder versions. Try
searching the mailing list for more info.

I did that, but I guess when I installed 2.0.15 it installed the
latest SearchBuilder. It’s a completely new box…

I’ll try downgrading SearchBuilder to whatever 2.0.15 requires, and
re-dump, and see what happens. Weeee…

Thanks for the tip!

Tom


The rt-users Archives

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

Buy your copy of our new book, RT Essentials, today!
Download a free sample chapter from http://rtbook.bestpractical.com

Drew Barnes
Applications Analyst
Raymond Walters College
University of Cincinnati

Actually, I’m wrong. Nevermind. It’s been too long since I went
between major versions.

Tom Lichti wrote:

Drew Barnes wrote:

In the readme it tells you to dump to the dumpfile BEFORE you install
3.2.x There is a DBIx::SearchBuilder incompatibility there. You
need to drop way back in the DBIx::SearchBuilder versions. Try
searching the mailing list for more info.

I did that, but I guess when I installed 2.0.15 it installed the
latest SearchBuilder. It’s a completely new box…

I’ll try downgrading SearchBuilder to whatever 2.0.15 requires, and
re-dump, and see what happens. Weeee…

Thanks for the tip!

Tom


The rt-users Archives

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

Buy your copy of our new book, RT Essentials, today!
Download a free sample chapter from http://rtbook.bestpractical.com

Drew Barnes
Applications Analyst
Raymond Walters College
University of Cincinnati

Drew Barnes wrote:

You are putting 2.0.15 on a new box? Do you have a mysqldump from an
existing install?
Yes.

If you do, install 2.0.15 and load the db from the mysql dump. then
untar 3.2.3, configure, and run make upgrade. Make sure you follow
the schema/acl/content upgrade instructions at the end of make upgrade.
I did the 2.0.15 install and load, which worked great. But in the 3.2.3
upgrade instructions is says to use the rt2-to-rt3 package? make upgrade
doesn’t seem to ‘do the right thing’…

Tom Lichti wrote:

Drew Barnes wrote:

You are putting 2.0.15 on a new box? Do you have a mysqldump from an
existing install?

Yes.

If you do, install 2.0.15 and load the db from the mysql dump. then
untar 3.2.3, configure, and run make upgrade. Make sure you follow
the schema/acl/content upgrade instructions at the end of make upgrade.

I did the 2.0.15 install and load, which worked great. But in the
3.2.3 upgrade instructions is says to use the rt2-to-rt3 package? make
upgrade doesn’t seem to ‘do the right thing’…

Yeah, that was my mistake. I should know better than to type while
ignoring people who walk into my office.

I can’t recall which version of DBIx::SearchBuilder you need to back
down to, but I think it was in the neighborhood of .93. That was just
too long ago for me to remember, but all I find in the list archives is
that it has to be lower than 1.12.

Sorry for the wrong info in that last email.


The rt-users Archives

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

Buy your copy of our new book, RT Essentials, today!
Download a free sample chapter from http://rtbook.bestpractical.com

Drew Barnes
Applications Analyst
Raymond Walters College
University of Cincinnati

Drew Barnes wrote:

Tom Lichti wrote:

Drew Barnes wrote:

You are putting 2.0.15 on a new box? Do you have a mysqldump from
an existing install?

Yes.

If you do, install 2.0.15 and load the db from the mysql dump. then
untar 3.2.3, configure, and run make upgrade. Make sure you follow
the schema/acl/content upgrade instructions at the end of make upgrade.

I did the 2.0.15 install and load, which worked great. But in the
3.2.3 upgrade instructions is says to use the rt2-to-rt3 package?
make upgrade doesn’t seem to ‘do the right thing’…

Yeah, that was my mistake. I should know better than to type while
ignoring people who walk into my office.

I can’t recall which version of DBIx::SearchBuilder you need to back
down to, but I think it was in the neighborhood of .93. That was just
too long ago for me to remember, but all I find in the list archives
is that it has to be lower than 1.12.

Sorry for the wrong info in that last email.
No worries, I knew what you meant… :slight_smile:

I went down to .48 (which is what 2.0.15 was looking for) and so far, so
good. I’ll re-up it to whatever 3.2.3 needs when it’s done dumping, and
hopefully that will get this ball rolling again… :slight_smile:

Thanks
Tom

Tom Lichti wrote:

Drew Barnes wrote:

Tom Lichti wrote:

Drew Barnes wrote:

You are putting 2.0.15 on a new box? Do you have a mysqldump from
an existing install?

Yes.

If you do, install 2.0.15 and load the db from the mysql dump.
then untar 3.2.3, configure, and run make upgrade. Make sure you
follow the schema/acl/content upgrade instructions at the end of
make upgrade.

I did the 2.0.15 install and load, which worked great. But in the
3.2.3 upgrade instructions is says to use the rt2-to-rt3 package?
make upgrade doesn’t seem to ‘do the right thing’…

Yeah, that was my mistake. I should know better than to type while
ignoring people who walk into my office.

I can’t recall which version of DBIx::SearchBuilder you need to back
down to, but I think it was in the neighborhood of .93. That was
just too long ago for me to remember, but all I find in the list
archives is that it has to be lower than 1.12.

Sorry for the wrong info in that last email.
No worries, I knew what you meant… :slight_smile:

I went down to .48 (which is what 2.0.15 was looking for) and so far,
so good. I’ll re-up it to whatever 3.2.3 needs when it’s done dumping,
and hopefully that will get this ball rolling again… :slight_smile:
Success!!! That seemed to have done it. Now I just need to secure the
database, which is proving to be a problem…

Thanks!
Tom