Error during DB upgrade (2.0.x -> 3.5.1)
Hi, I'm trying to update a gemini 2.0.x database to version 3.5.1.
I'm getting the follwing error when running the script Upgradev3-0-Step1.sql:
(7 row(s) affected)Before that script, I was executing the following scripts (without errors):
Msg 547, Level 16, State 0, Line 181
The INSERT statement conflicted with the FOREIGN KEY constraint "geminiissueworkflowitemtransitionissueworkflowitemidfk". The conflict occurred in database "GEMINI3", table "dbo.geminiissueworkflowitem", column 'issueworkflowitemid'.
The statement has been terminated.
(5 row(s) affected)
- Upgrade-v2-1.sql
- Upgrade-v2-2.sql
- CreateTables.sql
- CreateViews.sql
- CreateProcs.sql
Thanks a lot.
mbischoff
· 1 |
|
Monday, June 29, 2009, 5:02:31 PM |
0
|
Please check the issuestatetransitionlut table and make sure that all statuses exist in the issuestatuslut table |
||||
|
0
|
Since the problem seems to be related to the issue states and -transitions, please find below the contents of the two tables: |
||||
|
0
|
Thanks for the quick answer. There is one entry in the issuetransitionlut with id 7, but no corresponding entry in issuestatuslut. |
||||
|
0
|
If you look at the first column of each table the values should match, but you have statusid of 7 in the transition lut. Remove this record and all should be ok. |
||||
|
0
|
Thanks, it seems to work now. |
||||
|
0
|
I think you meant step 2, correct? step 2 will try and migrate your security settings but we advise to do it from scratch. Step 3 will drop all old gemini tables to save space. |
||||
|
0
|
No I meant exactly the two scripts that I mentioned (these are part of the 3.5.1 installation kit).
|
||||
|
0
|
Opps, sorry, 3.0.1 is for users who upgrade from 3.0.0 only. |
||||
|
0
|
Thanks a lot for your support! |
||||
|