Content
OpenProject 3 Migration
WORK IN PROGRESS - Do not use yet
Run seeds
You need to run
RAILS_ENV=production rake db:seed
to create for example the Work Package type ‘None’
Fix timezones
Note: This fix can also be done by adding the openproject-timestamp_migrator plugin to the Gemfile.plugins.
Rails 2 stores times in the database in the local system time, Rails 3 stores times in UTC.
To make this change, run
rake migrations:change_timestamps_to_utc
Currently, it looks like running this task is not necessary when migrating from MySQL to
MySQL. Theoretically, it should be but testing this proved us wrong. Looks like we still need
to investigate this issue.
Fix journal serialization problems (changed_data)
rake migrations:journals:quote_strings_with_invalid_characters_in_legacy_journals
See https://github.com/opf/openproject/commit/eb61b4c94154a326bc9eb85f48fd87f2aa7d0426 if you have other problems that items beginning with ‘- ,’ within changed_data YAML.