Open link in a new tab

Content

Expand project menu

Reinstall & Migrate Database

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

Message actions

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

Message actions

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

Message actions

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