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

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Migration from Chiliproject to OpenProject

Migration from Chiliproject to OpenProject

Added by Niels Przybilla almost 10 years ago

Hi,

we want to migrato to openproejct. We tried this way: https://community.openproject.org/topics/226

We have: ChiliProject v3.8.0 running.

I follow:
https://community.openproject.org/projects/14/wiki/From_Chilliproject_to_OpenProject
When installing 2.4.0 with ruby 2.1.5 after bundle install; npm install
When running:
RAILS_ENV=“production” bundle exec rake db:migrate
I have an error as follows:
AddUserFirstLoggedInAndImpairedFields: migrated (0.3953s) = LocalizeEmailHeaderAndFooter: migrating ===
rake aborted!
StandardError: An error has occurred, all later migrations canceled:
private method `write_attribute’ called for #Setting:0x000000095b0780/home/openproject/.rvm/gems/ruby-2.1.5/gems/activemodel-3.2.21/lib/active_model/attribute_methods.rb:404:in `method_missing’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/attribute_methods.rb:149:in `method_missing’
/home/openproject/openproject/db/migrate/20120319095930_localize_email_header_and_footer.rb:41:in `up’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:370:in `up’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:410:in `block (2 levels) in migrate’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:410:in `block in migrate’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/connection_adapters/abstract/connection_pool.rb:129:in `with_connection’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:389:in `migrate’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:528:in `migrate’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:720:in `block (2 levels) in migrate’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:777:in `call’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:777:in `ddl_transaction’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:719:in `block in migrate’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:700:in `each’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:700:in `migrate’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:570:in `up’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:551:in `migrate’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/railties/databases.rake:193:in `block (2 levels) in <top (required)>’
/home/openproject/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `eval’
/home/openproject/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `

’
NoMethodError: private method `write_attribute’ called for #Setting:0x000000095b0780
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activemodel-3.2.21/lib/active_model/attribute_methods.rb:404:in `method_missing’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/attribute_methods.rb:149:in `method_missing’
/home/openproject/openproject/db/migrate/20120319095930_localize_email_header_and_footer.rb:41:in `up’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:370:in `up’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:410:in `block (2 levels) in migrate’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:410:in `block in migrate’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/connection_adapters/abstract/connection_pool.rb:129:in `with_connection’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:389:in `migrate’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:528:in `migrate’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:720:in `block (2 levels) in migrate’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:777:in `call’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:777:in `ddl_transaction’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:719:in `block in migrate’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:700:in `each’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:700:in `migrate’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:570:in `up’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/migration.rb:551:in `migrate’
/home/openproject/.rvm/gems/ruby-2.1.5/gems/activerecord-3.2.21/lib/active_record/railties/databases.rake:193:in `block (2 levels) in <top (required)>’
/home/openproject/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `eval’
/home/openproject/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `

’
Tasks: TOP => db:migrate
(See full trace by running task with —trace)

Any ideas ?

Best wishes

Niels


Replies (1)

RE: Migration from Chiliproject to OpenProject - Added by mab internet over 9 years ago

Hi Niels,

Did you manage to solve the problem? I also had some while installing OP2.4 but finally made it. I am now facing other issues with the migration from OP 2.4 to OP3.0. I would like to have some feedback from your side.
The migration from OP3.0 to OP4.2 seems quite simple after the workaround of the problems from 2.4 to 3.0.

Cheers
Luis

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