Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Latest commit

 

History

History
28 lines (22 loc) · 1.06 KB

File metadata and controls

28 lines (22 loc) · 1.06 KB

Redmine-to-OpenProject Migration Steps

  1. Restore dump to mysql/postgres database

  2. Downgrade to shared redmine/chiliproject/openproject state by running downgrade_redmine.sh in fixed redmine-2.6 branch

  3. Run bundle exec rake db:migrate in chiliproject 2.4.0

  4. Run bundle exec rake db:migrate in openprojet-ce (stable/8) which will fail because of existing version and project attachments.

  5. Run bundle exec rake migrations:attachments:move_to_wiki

  6. Run bundle exec rake db:migrate in openprojet-ce (stable/8)

  7. Run post-migration fixes in openproject-ce (stable/8):

    bundle exec rails console

    load './post_migration_fixes.rb' apply_fixes!

  8. On the server copy the attachments and migrate them:

   sudo cp /tmp/openproject/files/* /tmp/openproject/files/*/**/* /var/db/openproject/files/

   sudo openproject run rake migrations:attachments:move_old_files
  1. Delete all work package notification delayed jobs which were created during the migration:
Delayed::Job.where("handler LIKE '%WorkPackageNotification%'").delete_all