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. Reinstall & Migrate Database

Reinstall & Migrate Database

Added by Trev Thorpe over 9 years ago

My current OP installation is 4.0.5 and I was planning to perform an upgrade.

Given the fact that there are package installations, and I am running Debian Wheezy, I am curious about taking the following course of action:

  • build new server
  • package installation of OP 5.x
  • copy/move current OP db to that new server, and point 5.x to it

The upgrades are failing at a variety of levels, RUBY, GIT etc.. etc.. and I would like to eliminate that headache and use the package installer, and of course, the easy to use update path now that comes with it.

Thoughts? Items I need be concerned about? Documentation for such a process perhaps?

Thanks in advance,

Trev


Replies (3)

RE: Reinstall & Migrate Database - Added by Cyril Rohr over 9 years ago

Hello,

Such a migration should be pretty simple, assuming you have a dump of your current database:

1. Install mysql-server on your new server, and import the dump of your existing database in it. Note the database credentials.

2. Install the openproject package on your new server. When running the openproject configure step, be sure to select “Use an existing database” in the installation wizard, and enter your database credentials.

At any point, you can run openproject reconfigure to change any of the values asked by the installer, which will then update your openproject installation accordingly.

Finally, do you have existing SVN or GIT repositories already? If so, copy them as well on your new server and enter the path to those folders when the installer asks for them.

Please let us know if you find any issues.

Cyril

RE: Reinstall & Migrate Database - Added by Trev Thorpe over 9 years ago

Thanks Cyril,

Reading over the installation and upgrade options, I felt as though that would be pretty straight forward to accomplish.

That said, I also do not have the SVN or GIT repos setup on my 4.0.5 server. I don’t expect that to be an issue as the packaged installer builds those if I do not have them.

Thanks again, much appreciated,

Trev

RE: Reinstall & Migrate Database - Added by Oliver Günther over 9 years ago

Hey Trev,

in the installer wizard, you have two separate dialogs that ask for setting up Subversion and Git integration. You can simply select Skip for both and no dependencies will be installed and no SCM integration will be performed

Best,
Oliver

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