Commit 345694384e67dddf276ee2d9837489619f2d02e5
Exists in
spb-stable
and in
3 other branches
Merge pull request #5975 from terrywang/fix-update-doc
Fix numbering in 6.3-to-6.4.md
Showing
1 changed file
with
14 additions
and
6 deletions
Show diff stats
doc/update/6.3-to-6.4.md
... | ... | @@ -9,7 +9,9 @@ sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production |
9 | 9 | |
10 | 10 | ### 1. Stop server |
11 | 11 | |
12 | - sudo service gitlab stop | |
12 | +```bash | |
13 | +sudo service gitlab stop | |
14 | +```` | |
13 | 15 | |
14 | 16 | ### 2. Get latest code |
15 | 17 | |
... | ... | @@ -52,18 +54,24 @@ sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab |
52 | 54 | |
53 | 55 | ### 5. Start application |
54 | 56 | |
55 | - sudo service gitlab start | |
56 | - sudo service nginx restart | |
57 | +```bash | |
58 | +sudo service gitlab start | |
59 | +sudo service nginx restart | |
60 | +``` | |
57 | 61 | |
58 | -### 8. Check application status | |
62 | +### 6. Check application status | |
59 | 63 | |
60 | 64 | Check if GitLab and its environment are configured correctly: |
61 | 65 | |
62 | - sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production | |
66 | +```bash | |
67 | +sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production | |
68 | +``` | |
63 | 69 | |
64 | 70 | To make sure you didn't miss anything run a more thorough check with: |
65 | 71 | |
66 | - sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production | |
72 | +```bash | |
73 | +sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production | |
74 | +``` | |
67 | 75 | |
68 | 76 | If all items are green, then congratulations upgrade complete! |
69 | 77 | ... | ... |