Fires a warning if required custom fields exist when migrating
I'm running redmine since 2 month. My current version is 0.8.5.devel.2956.
I've migrated two trac projects some time ago with no issues. The migration of the 3rd project not working perfectly, because tickets, files and custom values are not migrated. Take a look:
Migrating components.... Migrating milestones........ Migrating custom fields.... Migrating tickets......................... Migrating wiki........... Components: 4/4 Milestones: 8/8 Tickets: 0/25 Ticket files: 0/7 Custom values: 0/100 Wiki edits: 11/11 Wiki files: 0/0
The wiki:RedmineMigrate says: Before starting, you need a fresh Redmine database, with default data loaded (required)
Is this my problem? My redmine database (sqlite3) is not fresh I think. What can i do?
#1 Updated by Jean-Philippe Lang about 12 years ago
- Status changed from New to Closed
- Affected version (unused) deleted (
- Resolution set to Wont fix
Is this my problem? My redmine database (sqlite3) is not fresh I think.
Yes, it may be the problem.
What can i do?
Have a look at lib/tasks/migrate_from_trac.rake and adapt it to fit your needs.
#5 Updated by Marcel Nadje about 12 years ago
The problem are custom fields witch are Required For all projects. If you uncheck this setting, the migration of tickets succesfully done. I think it would be nice, the trac migration script fires a warning, if exist required custom fields for all projects.