diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2015-10-02 11:25:00 +0000 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2015-10-02 11:25:00 +0000 |
commit | c867c225095319684ad6ff396e4194bb1b5920d5 (patch) | |
tree | 162d4d44280ef75b0e81ef9dee64f98badd6279e | |
parent | c7e323438e97bee1ed9171897f6ff2b3d44e08cb (diff) | |
parent | a4292066f0b8dc7f0ff69b3f7a6a11424a42ad01 (diff) | |
download | gitlab-ce-c867c225095319684ad6ff396e4194bb1b5920d5.tar.gz |
Merge branch 'migration-doc-fix' into 'master'
Back and forth permission on builds/
@jacobvosmaer I missed that :(
See merge request !1500
-rw-r--r-- | doc/migrate_ci_to_ce/README.md | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/migrate_ci_to_ce/README.md b/doc/migrate_ci_to_ce/README.md index 46ce0fe98c0..1cb1bc2e762 100644 --- a/doc/migrate_ci_to_ce/README.md +++ b/doc/migrate_ci_to_ce/README.md @@ -182,6 +182,7 @@ will need this file later. ``` # On your CI server: # Omnibus +sudo chown gitlab-ci:gitlab-ci /var/opt/gitlab/gitlab-ci/builds sudo gitlab-ci-rake backup:create # Source @@ -228,6 +229,7 @@ be no CI data yet because you turned CI on the GitLab server off earlier. ``` # On your GitLab server: # Omnibus +sudo chown git:git /var/opt/gitlab/gitlab-ci/builds sudo gitlab-rake ci:migrate # Source @@ -342,7 +344,12 @@ The fix for this is to update to Omnibus 7.14 first and then update it to 8.0. #### Permission denied when accessing /var/opt/gitlab/gitlab-ci/builds To fix that issue you have to change builds/ folder permission before doing final backup: ``` -chown -R gitlab-ci:gitlab-ci /var/opt/gitlab/gitlab-ci/builds +sudo chown -R gitlab-ci:gitlab-ci /var/opt/gitlab/gitlab-ci/builds +``` + +Then before executing `ci:migrate` you need to fix builds folder permission: +``` +sudo chown git:git /var/opt/gitlab/gitlab-ci/builds ``` #### Problems when importing CI database to GitLab |