diff --git a/doc/update/5.0-to-5.1.md b/doc/update/5.0-to-5.1.md index f9fbeaf787026e9e1f9c13b22147cc92c490d342..d3abe4629713afdb4e17b4b2cdbb1bfc412c067e 100644 --- a/doc/update/5.0-to-5.1.md +++ b/doc/update/5.0-to-5.1.md @@ -16,7 +16,15 @@ sudo -u git -H git checkout 5-1-stable ``` -### 3. Install libs, migrations etc +### 3. Update gitlab-shell + +``` +cd /home/git/gitlab-shell +sudo -u git -H git fetch +sudo -u git -H git checkout v1.3.0 +``` + +### 4. Install libs, migrations etc ``` sudo rm tmp/sockets/gitlab.socket @@ -29,7 +37,7 @@ sudo -u git -H bundle exec rake migrate_merge_requests RAILS_ENV=production ``` -### 4. Update init.d script with a new one +### 5. Update init.d script with a new one ```bash # init.d @@ -38,6 +46,6 @@ sudo curl --output /etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlab-rec sudo chmod +x /etc/init.d/gitlab ``` -### 5. Start application +### 6. Start application sudo service gitlab start