From 046647a74689f8bce86b119c63fa49dfc0756639 Mon Sep 17 00:00:00 2001 From: Marin Jankovski Date: Tue, 27 May 2014 14:25:34 +0200 Subject: [PATCH] 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 72a94f6..f8d2d9e 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 -- libgit2 0.21.2