Project

General

Profile

Upgrade from 4.2.6 to 5.2.1

Added by Mauricio Silvestre 8 months ago

Hi friends I'm new with Redmine. I received a task to update a Redmine instance using Docker image from 4.2.6 to 5.1.2. I made some changes do Docker-compose, these changes works fine but I can't access the application. I understand that I need top update the database, like item 4 of this guide:

https://www.redmine.org/projects/redmine/wiki/redmineupgrade

Dstils: "Step 4 - Update the database
This step is the one that could change the contents of your database. Go to your new redmine directory, then migrate your database:

bundle exec rake db:migrate RAILS_ENV=production
If you have installed any plugins, you should also run their database migrations:

bundle exec rake redmine:plugins:migrate RAILS_ENV=production"

How I do to execute this step? I need run inside the Docker Container? I'm trying the tag 5.2.1.

Thanks in advance.


Replies (1)

RE: Upgrade from 4.2.6 to 5.2.1 - Added by C S 8 months ago

I use a modified version: https://github.com/sameersbn/docker-redmine
This Docker image carries out the update or migration automatically...

    (1-1/1)