New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New installer #382

Open
n-rodriguez opened this Issue Mar 13, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@n-rodriguez
Member

n-rodriguez commented Mar 13, 2015

Current db migrations are far too complex and don't ease plugin installation.

@n-rodriguez n-rodriguez self-assigned this Mar 13, 2015

@n-rodriguez n-rodriguez added this to the v1.1.0 milestone Mar 13, 2015

@nicesw123

This comment has been minimized.

Show comment
Hide comment
@nicesw123

nicesw123 Mar 15, 2015

Hi Nicolas,

some things to consider...

Looking at it from a distance, there are maby 3 main scenarios that could be identified:

  1. Setup of a brand new redmine, with redmine git hosting plugin
  2. Upgrading an existing system (redmine db, gitolite with git repositories) to a new version of redmine and/or new version of redmine git hosting plugin. (Doing this on the same existing server)
  3. Migration of an existing system (redmine db, gitolite with git repositories) to a new server; possibly upgrading at the same time.

The 3rd variant is probably the most general. It requires:

  • backups of the redmine mysql database
  • backups of the redmine uploads
  • backups of the git repositories

Then one would bring up a whole new server and install redmine and redmine git hosting plugin (possibly doing an upgrade to a new version). This is like variant 1 (simple brand new install). But additionally:
Then one would need to load the backups: the old database, old uploads and old git repositories.
Then one would need to run migration scripts (and massage gitolite (ref)!!), to get these old database and old repos, to run with the new install (if one is upgrading to a new version).

nicesw123 commented Mar 15, 2015

Hi Nicolas,

some things to consider...

Looking at it from a distance, there are maby 3 main scenarios that could be identified:

  1. Setup of a brand new redmine, with redmine git hosting plugin
  2. Upgrading an existing system (redmine db, gitolite with git repositories) to a new version of redmine and/or new version of redmine git hosting plugin. (Doing this on the same existing server)
  3. Migration of an existing system (redmine db, gitolite with git repositories) to a new server; possibly upgrading at the same time.

The 3rd variant is probably the most general. It requires:

  • backups of the redmine mysql database
  • backups of the redmine uploads
  • backups of the git repositories

Then one would bring up a whole new server and install redmine and redmine git hosting plugin (possibly doing an upgrade to a new version). This is like variant 1 (simple brand new install). But additionally:
Then one would need to load the backups: the old database, old uploads and old git repositories.
Then one would need to run migration scripts (and massage gitolite (ref)!!), to get these old database and old repos, to run with the new install (if one is upgrading to a new version).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment