Commit bc52a089c1c70afdb799f43c62ff47c4023ed8cd
1 parent
a03de3da
Exists in
master
and in
13 other branches
Consistent header size and logical ordering.
Showing
1 changed file
with
30 additions
and
30 deletions
Show diff stats
doc/update.md
@@ -29,7 +29,36 @@ sudo gitlab-ctl start | @@ -29,7 +29,36 @@ sudo gitlab-ctl start | ||
29 | 29 | ||
30 | Done! | 30 | Done! |
31 | 31 | ||
32 | -### Reverting to GitLab 6.6.x | 32 | +## Updating from GitLab 6.6.0.pre1 to 6.6.4 |
33 | + | ||
34 | +First, download the latest package from https://www.gitlab.com/downloads/ to your GitLab server. | ||
35 | + | ||
36 | +```shell | ||
37 | +# Stop unicorn and sidekiq so we can do database migrations | ||
38 | +sudo gitlab-ctl stop unicorn | ||
39 | +sudo gitlab-ctl stop sidekiq | ||
40 | + | ||
41 | +# One-time migration because we changed some directories since 6.6.0.pre1 | ||
42 | +sudo mkdir -p /var/opt/gitlab/git-data | ||
43 | +sudo mv /var/opt/gitlab/{repositories,gitlab-satellites} /var/opt/gitlab/git-data/ | ||
44 | +sudo mv /var/opt/gitlab/uploads /var/opt/gitlab/gitlab-rails/ | ||
45 | + | ||
46 | +# Install the latest package | ||
47 | +# Ubuntu: | ||
48 | +sudo dpkg -i gitlab_6.6.4-omnibus.xxx.deb | ||
49 | +# CentOS: | ||
50 | +sudo rpm -Uvh gitlab-6.6.4_xxx.rpm | ||
51 | + | ||
52 | +# Reconfigure GitLab (includes database migrations) | ||
53 | +sudo gitlab-ctl reconfigure | ||
54 | + | ||
55 | +# Start unicorn and sidekiq | ||
56 | +sudo gitlab-ctl start | ||
57 | +``` | ||
58 | + | ||
59 | +Done! | ||
60 | + | ||
61 | +## sReverting to GitLab 6.6.x | ||
33 | 62 | ||
34 | First download a GitLab 6.6.x [CE](https://www.gitlab.com/downloads/archives/) or | 63 | First download a GitLab 6.6.x [CE](https://www.gitlab.com/downloads/archives/) or |
35 | [EE (subscribers only)](https://gitlab.com/subscribers/gitlab-ee/blob/master/doc/install/packages.md) | 64 | [EE (subscribers only)](https://gitlab.com/subscribers/gitlab-ee/blob/master/doc/install/packages.md) |
@@ -63,32 +92,3 @@ sudo gitlab-rake gitlab:backup:restore BACKUP=12345 # where 12345 is your backup | @@ -63,32 +92,3 @@ sudo gitlab-rake gitlab:backup:restore BACKUP=12345 # where 12345 is your backup | ||
63 | # Start GitLab | 92 | # Start GitLab |
64 | sudo gitlab-ctl start | 93 | sudo gitlab-ctl start |
65 | ``` | 94 | ``` |
66 | - | ||
67 | -## Updating from GitLab 6.6.0.pre1 to 6.6.4 | ||
68 | - | ||
69 | -First, download the latest package from https://www.gitlab.com/downloads/ to your GitLab server. | ||
70 | - | ||
71 | -```shell | ||
72 | -# Stop unicorn and sidekiq so we can do database migrations | ||
73 | -sudo gitlab-ctl stop unicorn | ||
74 | -sudo gitlab-ctl stop sidekiq | ||
75 | - | ||
76 | -# One-time migration because we changed some directories since 6.6.0.pre1 | ||
77 | -sudo mkdir -p /var/opt/gitlab/git-data | ||
78 | -sudo mv /var/opt/gitlab/{repositories,gitlab-satellites} /var/opt/gitlab/git-data/ | ||
79 | -sudo mv /var/opt/gitlab/uploads /var/opt/gitlab/gitlab-rails/ | ||
80 | - | ||
81 | -# Install the latest package | ||
82 | -# Ubuntu: | ||
83 | -sudo dpkg -i gitlab_6.6.4-omnibus.xxx.deb | ||
84 | -# CentOS: | ||
85 | -sudo rpm -Uvh gitlab-6.6.4_xxx.rpm | ||
86 | - | ||
87 | -# Reconfigure GitLab (includes database migrations) | ||
88 | -sudo gitlab-ctl reconfigure | ||
89 | - | ||
90 | -# Start unicorn and sidekiq | ||
91 | -sudo gitlab-ctl start | ||
92 | -``` | ||
93 | - | ||
94 | -Done! |