How to transfer data from Redmine 2 to Redmine 4

Added by Rtep Athelav 4 months ago

Hi, please, tips on how to transfer data from old Redmine 2.6.9.stable to newly installed Redmine 4.0.3.stable

All you need is /home/redmine/redmine-4.0.3/config/database.yml
edit access to MySQL database?

Or is it better to try to transfer the entire old Redmine 2.6.9.stable to the new server, and try to update to Redmine 3 and then update to Redmine 4?

Thank you very much for your advice.

Environment:
Redmine version 2.6.9.stable
Ruby version 1.8.7-p374 (2013-06-27) [x86_64-linux]
Rails version 3.2.22
Environment production
Database adapter Mysql2
SCM:
Subversion 1.6.11
Git 1.7.1
Filesystem
Redmine plugins:
no plugin installed

Environment:
Redmine version 4.0.3.stable
Ruby version 2.4.6-p354 (2019-04-01) [x86_64-linux]
Rails version 5.2.2.1
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Filesystem
Redmine plugins:
no plugin installed