Project

General

Profile

Migration from 2.4.2 to 3.4.2

Added by pre logic over 6 years ago

Hi all.

I am fairly new to redmine and i am tasked to set up a new redmine on a new server, and import data from the old server.

The existing installation is on Ubuntu 14.04, using redmine 2.4.2

The new server is an Ubunto 16.04, and i want to install the newest version of redmine of course.

I assume i need to migrate the data somehow, but i cannot find a clear instruction to do so.
Can anyone explain how i can use the old data in the new Redmine installation? i assume i have to follow some migration path?

Best regards

Claudio


Replies (1)

RE: Migration from 2.4.2 to 3.4.2 - Added by Juan Diego Iannelli over 6 years ago

Hi claudio,
You should import data from the old server to the new server db and then run the command db:migrate to migrate the database.
RAILS_ENV=production /usr/local/bin/bundle exec rake db:migrate

(That's what I did to upgrade to redmine 3.4.2 on Centos7)

    (1-1/1)