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
diff options
context:
space:
mode:
Diffstat (limited to 'doc/update/5.0-to-5.1.md')
-rw-r--r--doc/update/5.0-to-5.1.md24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/update/5.0-to-5.1.md b/doc/update/5.0-to-5.1.md
index ba56507dd81..628d8bc7dfa 100644
--- a/doc/update/5.0-to-5.1.md
+++ b/doc/update/5.0-to-5.1.md
@@ -1,18 +1,19 @@
# From 5.0 to 5.1
## Warning
+
GitLab 5.1 is affected by critical security vulnerability CVE-2013-4490.
-## Release notes:
+## Release notes
-* `unicorn` replaced with `puma`
-* merge request cached diff will be truncated
+- `unicorn` replaced with `puma`
+- merge request cached diff will be truncated
-### 1. Stop server
+## 1. Stop server
sudo service gitlab stop
-### 2. Get latest code
+## 2. Get latest code
```bash
cd /home/git/gitlab
@@ -20,7 +21,7 @@ sudo -u git -H git fetch
sudo -u git -H git checkout 5-1-stable
```
-### 3. Update gitlab-shell
+## 3. Update gitlab-shell
```bash
cd /home/git/gitlab-shell
@@ -33,8 +34,7 @@ sudo -u git -H cp config.yml.example config.yml
sudo -u git -H vi config.yml
```
-
-### 4. Install libs, migrations etc
+## 4. Install libs, migrations etc
```bash
cd /home/git/gitlab
@@ -47,7 +47,7 @@ sudo -u git -H bundle exec rake migrate_merge_requests RAILS_ENV=production
sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production
```
-### 5. Update init.d script with a new one
+## 5. Update init.d script with a new one
```bash
# init.d
@@ -56,9 +56,9 @@ sudo curl --output /etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlab-rec
sudo chmod +x /etc/init.d/gitlab
```
-### 6. Mysql grant privileges
+## 6. MySQL grant privileges
-Only if you are using mysql:
+Only if you are using MySQL:
```bash
mysql -u root -p
@@ -66,6 +66,6 @@ mysql> GRANT LOCK TABLES ON `gitlabhq_production`.* TO 'gitlab'@'localhost';
mysql> \q
```
-### 7. Start application
+## 7. Start application
sudo service gitlab start