From 046647a74689f8bce86b119c63fa49dfc0756639 Mon Sep 17 00:00:00 2001 From: Marin Jankovski Date: Tue, 27 May 2014 14:25:34 +0200 Subject: Add directions on how to upgrade gitlab-shell in the upgrader guide. --- doc/update/upgrader.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/doc/update/upgrader.md b/doc/update/upgrader.md index 72a94f67b3c..f8d2d9e749c 100644 --- a/doc/update/upgrader.md +++ b/doc/update/upgrader.md @@ -34,13 +34,23 @@ __GitLab Upgrader is available only for GitLab version 6.4.2 or higher__ Check if GitLab and its environment are configured correctly: sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production - + To make sure you didn't miss anything run a more thorough check with: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production - + If all items are green, then congratulations upgrade is complete! +### (optional) 5. Application status check fails + +If `gitlab:check` task reports old version of gitlab-shell and recommends upgrading, upgrade gitlab-shell by running: + +``` +cd /home/git/gitlab-shell +sudo -u git -H git fetch +sudo -u git -H git checkout v1.9.4 + +``` ### One line upgrade command -- cgit v1.2.1 From cee88509a382d93468982d33bee33a2dd08eb389 Mon Sep 17 00:00:00 2001 From: Marin Jankovski Date: Tue, 27 May 2014 16:30:00 +0200 Subject: Fix typo in text. --- doc/update/upgrader.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/update/upgrader.md b/doc/update/upgrader.md index f8d2d9e749c..0a1ad099dac 100644 --- a/doc/update/upgrader.md +++ b/doc/update/upgrader.md @@ -43,13 +43,12 @@ If all items are green, then congratulations upgrade is complete! ### (optional) 5. Application status check fails -If `gitlab:check` task reports old version of gitlab-shell and recommends upgrading, upgrade gitlab-shell by running: +If the `gitlab:check` task reports an old version of gitlab-shell and recommends upgrading, upgrade gitlab-shell by running: ``` cd /home/git/gitlab-shell sudo -u git -H git fetch sudo -u git -H git checkout v1.9.4 - ``` ### One line upgrade command -- cgit v1.2.1