Skip to content

Commit 9f2f72e

Browse files
author
Nicolas Rodriguez
committed
Update migration guide to inform about #287
1 parent acd69d0 commit 9f2f72e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Diff for: howtos/migrate/index.md

+23
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,29 @@ Go to *Administration -> Redmine Git Hosting -> Config Checks* and check that ev
5757

5858
***
5959

60+
<div class="alert alert-danger" role="alert"><strong>Warning!&nbsp;During the migration some repositories paths/url may become inconsistent !</strong></div>
61+
62+
The main case is sub-projects's main repository who changes from
63+
64+
```repository/mainproject/subrepo.git``` to
65+
66+
```repository/mainproject/subproject/subrepo.git```.
67+
68+
This is due to [https://github.com/jbox-web/redmine_git_hosting/issues/199](https://github.com/jbox-web/redmine_git_hosting/issues/199).
69+
70+
Unfortunately those repositories cannot be handled by the migration script.
71+
72+
You will have to :
73+
74+
* move them manually in gitolite to their new location (overwriting the empty new .git directory if exists)
75+
* adjust manually the paths in the ```gitolite.conf``` file (check for duplicate entries)
76+
* correct the database ```repositories.url``` and ```repositories.root_url``` fields to point to the correct location
77+
* inform your users about the change
78+
79+
I'm really sorry for the disadvantages.
80+
81+
***
82+
6083
#### Step by Step migration from **0.6 version (or older) to v0.7.10**
6184
***
6285

0 commit comments

Comments
 (0)