Top Menu

Jump to content
  • OpenProject
    • View all projects
Home
    • Work packages
    • News
    • Getting started
    • Introduction video
    • Welcome to OpenProject

      Get an overview

      Get a quick overview of project management and team collaboration with OpenProject.
      You can restart this video from the help menu

    • Help and support
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Professional support

    • Additional resources
    • Legal notice
    • Data privacy and security policy
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Create a new account
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
  • Roadmap
  • Work packages
  • Boards
  • Calendar
  • Forums
You are here:
  • Forums
  • Support Installation & Updates

Content

How to upgrade from 5.0.7 to 5.0.11

Added by Choong Leng Low almost 4 years ago

Hi,

Good Day to you. Any can point me which document that I can follow to upgrade my installation from version 5.0.7 to version 5.0.10.

My installation is OpenProject 5.0.7 (Mysql2) on Ubuntu 14.04.3 TLS.

Thanks.

Choong Leng


Replies (5)

RE: How to upgrade from 5.0.7 to 5.0.11 - Added by Oliver Günther almost 4 years ago

Hi,

do you use the packaged installation? If so, upgrading should be nothing more than running

sudo apt-get update
sudo apt-get install --only-upgrade openproject

It is not the case for the jump from 5.0.7 to 5.0.11, but as the release may contain new migrations or options to the wizard (less likely so in a patch release), you should also run

sudo openproject configure

Best,

Oliver

RE: How to upgrade from 5.0.7 to 5.0.11 - Added by Choong Leng Low almost 4 years ago

Dear Oliver,

Thanks for the reply.

My Openproject 5.0.7 was not using packaged install. I’m using manual installation.

In this case, how to do the upgrade.

Again, Thanks.

Choong Leng

RE: How to upgrade from 5.0.7 to 5.0.11 - Added by Oliver Günther almost 4 years ago

In a manual installation, you’ll need to fetch the latest release - Since you probably cloned the repository using Git, you can simply checkout the stable/5 branch, which always points to the latest released version.

Lastly, install any pending migrations and precompile assets.

RAILS_ENV="production" bundle exec rake db:migrate
RAILS_ENV="production" bundle exec rake db:seed
RAILS_ENV="production" bundle exec rake assets:precompile

RE: How to upgrade from 5.0.7 to 5.0.11 - Added by Choong Leng Low almost 4 years ago

Thanks Oliver. Get it upgraded to v5.0.13

RE: RE: How to upgrade from 5.0.7 to 5.0.11 - Added by Daniel Hügelmann over 3 years ago

Hi,

I get the following error while running assets:precompile (migrate and seed ran through):

C:/Bitnami/openproject-5.0.7-1/ruby/lib/ruby/2.1.0/dl.rb:8:in `<top (required)>’ : DL is deprecated, please use Fiddle (StandardWarning)
$(npm bin)/webpack —config webpack.config.js rake aborted!
Command failed with status (127): [$(npm bin)/webpack —config webpack.config…]
C:/Bitnami/openproject-5.0.7-1/apps/openproject/htdocs/lib/tasks/assets.rake:48: in `block (3 levels) in <top (required)>’
C:/Bitnami/openproject-5.0.7-1/apps/openproject/htdocs/lib/tasks/assets.rake:47: in `chdir’
C:/Bitnami/openproject-5.0.7-1/apps/openproject/htdocs/lib/tasks/assets.rake:47: in `block (2 levels) in <top (required)>’
Tasks: TOP => assets:precompile => assets:compile_environment => assets:webpack
(See full trace by running task with —trace)

Is there a workaround without having to fixw node (I already tried that and ran into Python / MSBuild problems).

Regards and thanks,
Daniel

  • (1 - 5/5)
Loading...