Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-23 16:15:22 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-23 16:15:22 +0400
commitcc0d550f4792b355f3bf0abe5bea67a99b26f596 (patch)
tree557904672ecb10411e041f58c4bb2346e311b183 /doc
parent25d793eac5a85c83985a59f1e80be59cb4882457 (diff)
Add docs for upgrader script
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/update/upgrader.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/update/upgrader.md b/doc/update/upgrader.md
new file mode 100644
index 00000000000..27dedf7d045
--- /dev/null
+++ b/doc/update/upgrader.md
@@ -0,0 +1,28 @@
+# GitLab upgrader
+
+GitLab Upgrader - ruby script that allows you easily upgrade GitLab to latest minor version.
+Ex. it can update your application from 6.4 to latest GitLab 6 version (like 6.5.1).
+You still need to create backup and manually restart GitLab but all other operations can be done by upgrade tool.
+
+### 0. Backup
+
+ cd /home/git/gitlab
+ sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
+
+### 1. Stop server
+
+ sudo service gitlab stop
+
+### 2. Run gitlab upgrade tool
+
+ cd /home/git/gitlab
+ sudo -u git -H ruby script/upgrade.rb
+
+ # it also supports -y option to avouid user input
+ # sudo -u git -H ruby script/upgrade.rb -y
+
+
+### 3. Start application
+
+ sudo service gitlab start
+ sudo service nginx restart