Top Menu

Jump to content
    Global modules

    Global modules

    • Home
    • Projects
    • Activity
    • Work packages
    • Gantt charts
    • Calendars
    • Team planners
    • Boards
    • News
    Home
    Home
Help
    Getting started
    • Introduction video
  • 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

User menu

Sign in
Forgot your password?

or sign in with your existing account

OpenProject ID Google

Side Menu

Collapse project menu

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

Content

Expand project menu
Support Installation & Updates
  1. OpenProject Community
  2. OpenProject
  3. Forums
  4. Support Installation & Updates
  5. 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...