Project

General

Profile

Actions

Defect #595

closed

Problem migrating from multiple trac projects

Added by Tomoki Tsuchida about 16 years ago. Updated about 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Administration
Target version:
Start date:
2008-02-03
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

When multiple trac projects are migrated with rake redmine:migrate_from_trac, any project after the first one fails to be migrated. It also appears that no new issues can be created (issues/add page produces 'internal error.') Upon further investigation, both problems appear to be related with the primary key sequences: after the import, the primary key sequence is not reset, and the next object that is created will try to use a duplicate primary key value.

This occurs in a setup using Postgres. I have not tested with any other databases, so it's possible that this problem is particular to Postgres.

Actions

Also available in: Atom PDF