Project

General

Profile

Upgrading redmine from 2.3 to 3.2 - how to ?

Added by jerome l over 8 years ago

Hello all,

I would like your advices on this question, I host a redmine 2.3 (Debian 7 / Apache2 Passenger) and I install a new computer to host the new release of redmine 3.2 ((Debian 8 / Apache2 Passenger)

Here are the Environnements

  • Old computer
    Environment:
      Redmine version                          2.3.1.stable
      Ruby version                             2.0.0 (i686-linux)
      Rails version                            3.2.13
      Environment                              production
      Database adapter                         Mysql2
    Redmine plugins:
      clipboard_image_paste                    1.8
      redmine_contacts                         3.2.3-light
      redmine_contacts_helpdesk                2.2.2-pro
    

Plugins:
Clipboard image paste
Redmine CRM plugin
http://redminecrm.com
Redmine Helpdesk plugin
http://redminecrm.com

  • New Computer
Environment:
  Redmine version                3.2.0.stable.14976
  Ruby version                   2.2.1-p85 (2015-02-26) [i686-linux]
  Rails version                  4.2.5
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.8.10
  Git                            2.1.4
  Filesystem                     
Redmine plugins:
  no plugin installed

I am at the step where I have the new redmine running and installed with a default Database and no plugins, I am going to follow this "how to" [[http://www.redmine.org/projects/redmine/wiki/RedmineUpgrade]].

My question is on the plugins, I am not sure I will need them in the future so should I install them on the system and on the 3.2 default database, then import my 2.3 Database and run

bundle exec rake db:migrate RAILS_ENV=production
then
bundle exec rake redmine:plugins:migrate RAILS_ENV=production
?

Or
Should I update each plugins seperately?

Do you have another suggestion ? :)

Thanks a lot for your advices,
Should I


Replies (1)

RE: Upgrading redmine from 2.3 to 3.2 - how to ? - Added by Ben Blanco over 8 years ago

Hi Jerome,

if you're not going to use those plugins anymore, I'd uninstall (ie. following each plugins' uninstall instructions) them before dumping+importing+migrating the db on your new server.

if you're still going to use the plugins, then just dump the db, copy it over to new server, drop default redmine_db, import your sql dump. Put the plugins in place. Then run first the redmine app's rake db, followed by the plugins rake:db, and you should be all good.

    (1-1/1)