Commit e6eaa5c176164b2496f6226461dd214cdc3c8159
1 parent
035a3ded
Exists in
master
and in
15 other branches
Add update documentation
Showing
2 changed files
with
32 additions
and
0 deletions
Show diff stats
README.md
... | ... | @@ -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! | ... | ... |