Commit d25bc257666c9949b6f62414368c09e83df9d6f1
Exists in
spb-stable
and in
2 other branches
Merge branch 'gitlab_shell_in_upgrader_guide' into 'master'
Gitlab shell in upgrader guide Fixes #1214
Showing
1 changed file
with
11 additions
and
2 deletions
Show diff stats
doc/update/upgrader.md
| ... | ... | @@ -34,13 +34,22 @@ __GitLab Upgrader is available only for GitLab version 6.4.2 or higher__ |
| 34 | 34 | Check if GitLab and its environment are configured correctly: |
| 35 | 35 | |
| 36 | 36 | sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production |
| 37 | - | |
| 37 | + | |
| 38 | 38 | To make sure you didn't miss anything run a more thorough check with: |
| 39 | 39 | |
| 40 | 40 | sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production |
| 41 | - | |
| 41 | + | |
| 42 | 42 | If all items are green, then congratulations upgrade is complete! |
| 43 | 43 | |
| 44 | +### (optional) 5. Application status check fails | |
| 45 | + | |
| 46 | +If the `gitlab:check` task reports an old version of gitlab-shell and recommends upgrading, upgrade gitlab-shell by running: | |
| 47 | + | |
| 48 | +``` | |
| 49 | +cd /home/git/gitlab-shell | |
| 50 | +sudo -u git -H git fetch | |
| 51 | +sudo -u git -H git checkout v1.9.4 | |
| 52 | +``` | |
| 44 | 53 | |
| 45 | 54 | ### One line upgrade command |
| 46 | 55 | ... | ... |