From a7ad09543ef415967b3d6ea25781601697f95571 Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Tue, 30 Apr 2013 09:29:30 +0200 Subject: move the update guides from the wiki into the repo --- doc/update/4.1-to-4.2.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 doc/update/4.1-to-4.2.md (limited to 'doc/update/4.1-to-4.2.md') diff --git a/doc/update/4.1-to-4.2.md b/doc/update/4.1-to-4.2.md new file mode 100644 index 00000000000..15fea593560 --- /dev/null +++ b/doc/update/4.1-to-4.2.md @@ -0,0 +1,34 @@ +# From 4.1 to 4.2 + +### 1. Stop server & resque + + sudo service gitlab stop + +### 2. Update code & db + +```bash +# Get latest code +sudo -u gitlab git fetch + +sudo -u gitlab git checkout 4-2-stable + +# Install libs +sudo -u gitlab bundle install --without development test postgres --deployment + +# update db +sudo -u gitlab bundle exec rake db:migrate RAILS_ENV=production + +``` + + +### 3. Check GitLab's status + +```bash +sudo -u gitlab -H bundle exec rake gitlab:check RAILS_ENV=production +``` + + + +### 4. Start all + + sudo service gitlab start -- cgit v1.2.1