It's all about the answers!

Ask a question

RTC migration issue with Derby from 1.0.1 to 2.0


Mariangela Orme (111) | asked Jul 21 '09, 6:44 a.m.
I am trying to migrate a customer derby database from 1.0.1 to 2.0.
I would like to understand what is the right procedure to do this.



I have tryed to copy the RepositoryDB and the other configuration files as described in the installation guide, but this doesn't work. I have also tried to use the repotools - export command but it stacks on Exporting com.ibm.team.reports/ReportQueryDescriptor (a pmr has been opened).




Any hints or help?


Thanks,

Mariangela

3 answers



permanent link
Ralph Schoon (63.6k33647) | answered Jul 23 '09, 2:29 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Mariangela,

you can't just copy the files. Following the upgrade notes from the download site on jazz.net what you do is.
* Install RTC 2.0
* I then checked the installation worked OK
* You need to check the teamserver. properties and other files that might have been changed manually and manually migrate these changes over to the new server. I don't think just copying works.
* I checked again the new server worked OK
* In the workspaces make sure all users check in their changes
* You do a repotools -export with the 1.0.1.1 repotools
* You do a repotools -import with the 2.0 repotools this also does migrating the data such as process templates etc.

It worked for me except the default report I had set was not available any longer and I had to set a new default report. (Sounds similar to your case but I did not see a stacktrace)
I have seen issues being posted in this forum. did you search for them?
I assume the export completely fails otherwise you probably would have tried importing, right? In this case I don't see many options, other than trying to get rid of the report that causes the failure.

I am trying to migrate a customer derby database from 1.0.1 to 2.0.
I would like to understand what is the right procedure to do this.



I have tryed to copy the RepositoryDB and the other configuration files as described in the installation guide, but this doesn't work. I have also tried to use the repotools - export command but it stacks on Exporting com.ibm.team.reports/ReportQueryDescriptor (a pmr has been opened).




Any hints or help?


Thanks,

Mariangela

permanent link
Mervyn Keene (171177) | answered Jul 23 '09, 9:55 a.m.
rschoon wrote:
Hi Mariangela,

you can't just copy the files. Following the upgrade notes from the
download site on jazz.net what you do is.

The problem is that there's an installation guide on jazz.net which does
in fact say, incorrectly, that you need only copy repositoryDB from the
1.0 location to the 2.0 location. I ran into the same thing when doing
my upgrade a few weeks ago. Since I knew 2.0 involved a schema change I
knew that couldn't be right so I went ahead and did the export/import
anyway, but it was there in black and white saying "just copy". I assume
Mariangela was working off the same note.

Sorry, I no longer have the URL. I believe the installation/upgrade
notes are kind of fragmented with a number of competing/overlapping
documents and I think there's already at least one WI requesting
improvement there. But you should be aware that there's a note on
jazz.net which says the wrong thing.

MK

permanent link
Ralph Schoon (63.6k33647) | answered Jul 23 '09, 10:39 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Mervyn,

good to know. I think this did not happen to me because I was following the
threads here and also have some experience with betas.
However I followed the upgrade info (not sure on jazz.net or in the help)
and did not recognize it being misleading. But I remember too that there
where complaints about inconsitency.

Ralph

rschoon wrote:

Hi Mariangela,

you can't just copy the files. Following the upgrade notes from the
download site on jazz.net what you do is.

The problem is that there's an installation guide on jazz.net which
does in fact say, incorrectly, that you need only copy repositoryDB
from the 1.0 location to the 2.0 location. I ran into the same thing
when doing my upgrade a few weeks ago. Since I knew 2.0 involved a
schema change I knew that couldn't be right so I went ahead and did
the export/import anyway, but it was there in black and white saying
"just copy". I assume Mariangela was working off the same note.

Sorry, I no longer have the URL. I believe the installation/upgrade
notes are kind of fragmented with a number of competing/overlapping
documents and I think there's already at least one WI requesting
improvement there. But you should be aware that there's a note on
jazz.net which says the wrong thing.

MK


Ralph
mailto:ralph.schoon@de.ibm.com

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.