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. OpenProject Migration Question

OpenProject Migration Question

Added by Krisztian Kocsis over 9 years ago

Hi!

I want to migrate my OpenProject installation to a new server. How should I do that?
Is database import/export enough or I should do other things too (like secret key, etc.)


Replies (1)

RE: OpenProject Migration Question - Added by Oliver Günther over 9 years ago

Hey Krisztian,

Do you use a manual installation?
the following steps should be sufficient:

1. Copy the application code itself, adjust permissions

2. Remove temporary files (sessions when using file-based sessions in /tmp/*

3. Dump / Restore the database

4. Copy other folders (attachments when attachments_storage_path is set), local repositories when in use. Note that the paths must be identical at least for the repositories, since they are hard coded in the database unless using managed repositories in 5.0.

5. The secret key can either be re-used, or a new key base can be generated (e.g., with rake secret), just remember that this will invalidate all current sessions and thus I suggested removing them server-side in step 2.

6. Copy the webserver configuration

For a packaged installation, install the fresh package and copy the configuration files (config/database.yml, config/configuration.yml). as well as steps 3 - 5.

Best,
Oliver

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