Open link in a new tab

Content

Expand project menu

Best update method

Hopefully a simple question here, what is the best way to update from 3.0 beta to 3.0 stable?

Chris

Message actions

Hi,

let’s assume that you have used git to checkout the OpenProject 3.0 dev branch and that you’re using this code for an up and running OpenProject instance: There is a release branch for OpenProject 3.0, so you first need to checkout the release branch.

TextileConverterBlockquoteStart09339cab-f4f4-4739-85b0-d02ba1f342e6

git fetch # get the branch information
git checkout release/3.0

TextileConverterBlockquoteEnd09339cab-f4f4-4739-85b0-d02ba1f342e6

After that you may have to run missing migrations:

TextileConverterBlockquoteStart09339cab-f4f4-4739-85b0-d02ba1f342e6

bundle exec rake db:migrate

TextileConverterBlockquoteEnd09339cab-f4f4-4739-85b0-d02ba1f342e6

I assume that you’re using Apache/Passenger, so you should restart the Passenger:

TextileConverterBlockquoteStart09339cab-f4f4-4739-85b0-d02ba1f342e6

touch tmp/restart.txt

TextileConverterBlockquoteEnd09339cab-f4f4-4739-85b0-d02ba1f342e6

That should be all. Does it work for you?

Kind regards,
Hagen

Message actions

Great, it now says:
Core version
OpenProject 3.0.0 (Mysql2)

Now on to my other issues…

Thanks,
Chris