Commit 00fedb242e8fa2a599a9dbbd906335cc1548f906
Exists in
master
and in
15 other branches
Merge branch 'update_docs' into 'master'
Update Docs
Showing
2 changed files
with
32 additions
and
0 deletions
Show diff stats
README.md
| @@ -29,6 +29,8 @@ sudo gitlab-ctl reconfigure | @@ -29,6 +29,8 @@ sudo gitlab-ctl reconfigure | ||
| 29 | sudo lokkit -s http -s ssh | 29 | sudo lokkit -s http -s ssh |
| 30 | ``` | 30 | ``` |
| 31 | 31 | ||
| 32 | +For update instructions, see [the update guide](doc/update.md). | ||
| 33 | + | ||
| 32 | ## How to manage an Omnibus-installed GitLab | 34 | ## How to manage an Omnibus-installed GitLab |
| 33 | 35 | ||
| 34 | ### Start/stop GitLab | 36 | ### Start/stop GitLab |
| @@ -0,0 +1,30 @@ | @@ -0,0 +1,30 @@ | ||
| 1 | +# Updating GitLab via omnibus-gitlab | ||
| 2 | + | ||
| 3 | +## Updating from GitLab 6.6.0.pre1 to 6.6.4 | ||
| 4 | + | ||
| 5 | +First, download the latest package from https://www.gitlab.com/downloads/ to your GitLab server. | ||
| 6 | + | ||
| 7 | +```shell | ||
| 8 | +# Stop unicorn and sidekiq so we can do database migrations | ||
| 9 | +sudo gitlab-ctl stop unicorn | ||
| 10 | +sudo gitlab-ctl stop sidekiq | ||
| 11 | + | ||
| 12 | +# One-time migration because we changed some directories since 6.6.0.pre1 | ||
| 13 | +sudo mkdir -p /var/opt/gitlab/git-data | ||
| 14 | +sudo mv /var/opt/gitlab/{repositories,gitlab-satellites} /var/opt/gitlab/git-data/ | ||
| 15 | +sudo mv /var/opt/gitlab/uploads /var/opt/gitlab/gitlab-rails/ | ||
| 16 | + | ||
| 17 | +# Install the latest package | ||
| 18 | +# Ubuntu: | ||
| 19 | +sudo dpkg -i gitlab_6.6.4-omnibus.xxx.deb | ||
| 20 | +# CentOS: | ||
| 21 | +sudo rpm -Uvh gitlab-6.6.4_xxx.rpm | ||
| 22 | + | ||
| 23 | +# Reconfigure GitLab (includes database migrations) | ||
| 24 | +sudo gitlab-ctl reconfigure | ||
| 25 | + | ||
| 26 | +# Start unicorn and sidekiq | ||
| 27 | +sudo gitlab-ctl start | ||
| 28 | +``` | ||
| 29 | + | ||
| 30 | +Done! |