Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Migration from chiliproject in 2016

Migration from chiliproject in 2016

Added by sylvain bougnoux almost 9 years ago

Hi

I am trying to migrate an old 3.8.0 chiliproject database on an ubuntu machine 14.04 (operating on virtualbox). My fault for waiting so long. I’ve followed the various migration guides - it is a nightmare :-) not a single gemfile works from the beginning (at least for v2.4;3.0;3.017;4.0;4.1;4.2). I suspect that the gems evolved so much during 3 years that new dependencies appear.

Maybe when writing
gem 'foo','>=0.17' one should write gem 'foo','=0.17' ?

Because after 3 years the gem is likely to be in v3.5 with broken compatibility. Somehow there should be an option in bundle to use the minimum specified version of all gems?

Before writing a full report on the issues I ran into, I would like to know whether I can directly switch to OPv6.0 and use the “common” migrating command:

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

or shall I follow each particular version, and in fact which ones because it is advised to use the last stable ones, ie 3.0.17 instead of 3.0, 4.0.12 instead of 4.0. Do I have to go through 2.4.03.0.17>4.0.124.1.4>4.2.95.0.19>6.0 ?

It takes a lot of time to make all these versions work (migration and server). Especially that “work” is difficult to define, eg in 2.4.0 the “menu” “Home>main project>sub project” did not work but is working in “3.0” therefore it is difficult to discriminate between database and openproject issues. My current strategy is to focus on migration and check by the end. I am currently in 4.0 (migration succeed, but the server fails with sass issues).

Thanks.

PS: my base is very simple, we only used it as a bug tracker, no news, no wiki, no gantt, no plugins… I had the hope it could have been simple.


Replies (3)

RE: Migration from chiliproject in 2016 - Added by Oliver Günther almost 9 years ago

Hi Sylvain,

ChiliProject shares most of its database migrations with OpenProject. There are a few exceptions, which are described in the following guide: https://www.openproject.org/open-source/upgrade-guides/migration-path-from-chilliproject-to-openproject/

But generally, once the database shares a common base with the migrations of OpenProject when forked from it, the steps you describe should suffice to upgrade.
It does not matter whether you migrate to OpenProject 4.2, 5.0 or 6.0., since their migrations are all on a linear path.

You can simply try that first with a SQL dump from your ChiliProject instance.

Best,
Oliver

RE: Migration from chiliproject in 2016 - Added by sylvain bougnoux almost 9 years ago

Thanks for your quick answer, I could directly migrate to 6.0 easily.

RE: Migration from chiliproject in 2016 - Added by Oliver Günther almost 9 years ago

Hey Sylvain,

great to hear. Were there any steps you had to take that weren’t clear, or were others would benefit from? I would extend the migration guide with additional information from your migration path.

Best,
Oliver

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