How do I upgrade the Redmind 2.4 version to version 3.0 under Redhat?

Added by 霄然 徐 over 1 year ago

Current version

ruby 1.8.7
redmine 2.4.0

I'm a rookie and I'm asking God for help.

Thank you all for your help.^ _ ^

Replies (2)

RE: How do I upgrade the Redmind 2.4 version to version 3.0 under Redhat? - Added by Martin Denizet (redmine.org team member) over 1 year ago

Hello,

Everything is specific to your distro/install and there is a quite detailed wiki about it but the headlines are:
  1. Backup!
  2. Update Ruby to the latest compatible (2.4 for latest release of the 3.4.x branch)
    I find that RVM is a really useful tool to get the Ruby version you need unrelated to what your distro offers
  3. Update your Redmine files, if you are not yet using svn to do so, it's probably a good occasion to do so.
  4. Install gem dependencies: bundle install --without development test
  5. Update your database: RAILS_ENV=production bundle exec rake db:migrate
  6. Test it runs: bundle exec rails s -e production
  7. If you are using Passenger, Puma, Unicorn... That's the moment to update too

If your environment seems complex, outdated and difficult to upgrade, you may consider just making a new install on a new system and migrate the data.

Cheers,

RE: How do I upgrade the Redmind 2.4 version to version 3.0 under Redhat? - Added by 霄然 徐 over 1 year ago

Thanks for you help.I'll follow your advice to practice.wish everything goes well with your work
Cheers,

(1-2/2)