Commit 046647a74689f8bce86b119c63fa49dfc0756639
1 parent
3bdf0e29
Exists in
spb-stable
and in
2 other branches
Add directions on how to upgrade gitlab-shell in the upgrader guide.
Showing
1 changed file
with
12 additions
and
2 deletions
Show diff stats
doc/update/upgrader.md
@@ -34,13 +34,23 @@ __GitLab Upgrader is available only for GitLab version 6.4.2 or higher__ | @@ -34,13 +34,23 @@ __GitLab Upgrader is available only for GitLab version 6.4.2 or higher__ | ||
34 | Check if GitLab and its environment are configured correctly: | 34 | Check if GitLab and its environment are configured correctly: |
35 | 35 | ||
36 | sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production | 36 | sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production |
37 | - | 37 | + |
38 | To make sure you didn't miss anything run a more thorough check with: | 38 | To make sure you didn't miss anything run a more thorough check with: |
39 | 39 | ||
40 | sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production | 40 | sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production |
41 | - | 41 | + |
42 | If all items are green, then congratulations upgrade is complete! | 42 | If all items are green, then congratulations upgrade is complete! |
43 | 43 | ||
44 | +### (optional) 5. Application status check fails | ||
45 | + | ||
46 | +If `gitlab:check` task reports 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 | + | ||
53 | +``` | ||
44 | 54 | ||
45 | ### One line upgrade command | 55 | ### One line upgrade command |
46 | 56 |