Commit 705c495eded552bc6e67856a26e4bdd59778c4c7
1 parent
c5718036
Exists in
master
and in
4 other branches
Remove outdated steps from 6.2-to-6.3.md
Showing
1 changed file
with
5 additions
and
22 deletions
Show diff stats
doc/update/6.2-to-6.3.md
| ... | ... | @@ -34,14 +34,7 @@ sudo -u git -H git checkout v1.7.9 # Addresses multiple critical security vulner |
| 34 | 34 | |
| 35 | 35 | The Gitlab-shell config changed recently, so check for config file changes and make `/home/git/gitlab-shell/config.yml` the same as https://github.com/gitlabhq/gitlab-shell/blob/master/config.yml.example |
| 36 | 36 | |
| 37 | -### 4. Install additional packages | |
| 38 | - | |
| 39 | -```bash | |
| 40 | -# Add support for lograte for better log file handling | |
| 41 | -sudo apt-get install logrotate | |
| 42 | -``` | |
| 43 | - | |
| 44 | -### 5. Install libs, migrations, etc. | |
| 37 | +### 4. Install libs, migrations, etc. | |
| 45 | 38 | |
| 46 | 39 | ```bash |
| 47 | 40 | cd /home/git/gitlab |
| ... | ... | @@ -59,29 +52,19 @@ sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production |
| 59 | 52 | sudo -u git -H bundle exec rake cache:clear RAILS_ENV=production |
| 60 | 53 | ``` |
| 61 | 54 | |
| 62 | -### 6. Update config files | |
| 55 | +### 5. Update config files | |
| 63 | 56 | |
| 64 | 57 | TIP: to see what changed in gitlab.yml.example in this release use next command: |
| 65 | 58 | |
| 66 | 59 | ``` |
| 67 | 60 | git diff 6-2-stable:config/gitlab.yml.example 6-3-stable:config/gitlab.yml.example |
| 68 | -git diff 6-1-stable:config/gitlab.yml.example 6-3-stable:config/gitlab.yml.example # if you upgrading from 6-1 | |
| 69 | 61 | ``` |
| 70 | 62 | |
| 71 | 63 | * Make `/home/git/gitlab/config/gitlab.yml` same as https://github.com/gitlabhq/gitlabhq/blob/6-3-stable/config/gitlab.yml.example but with your settings. |
| 72 | 64 | * Make `/home/git/gitlab/config/unicorn.rb` same as https://github.com/gitlabhq/gitlabhq/blob/6-3-stable/config/unicorn.rb.example but with your settings. |
| 73 | 65 | * Copy rack attack middleware config |
| 74 | 66 | |
| 75 | -```bash | |
| 76 | -sudo -u git -H cp config/initializers/rack_attack.rb.example config/initializers/rack_attack.rb | |
| 77 | -``` | |
| 78 | -* Set up logrotate | |
| 79 | - | |
| 80 | -```bash | |
| 81 | -sudo cp lib/support/logrotate/gitlab /etc/logrotate.d/gitlab | |
| 82 | -``` | |
| 83 | - | |
| 84 | -### 7. Update Init script | |
| 67 | +### 6. Update Init script | |
| 85 | 68 | |
| 86 | 69 | ```bash |
| 87 | 70 | sudo rm /etc/init.d/gitlab |
| ... | ... | @@ -89,12 +72,12 @@ sudo curl --output /etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlabhq/6 |
| 89 | 72 | sudo chmod +x /etc/init.d/gitlab |
| 90 | 73 | ``` |
| 91 | 74 | |
| 92 | -### 8. Start application | |
| 75 | +### 7. Start application | |
| 93 | 76 | |
| 94 | 77 | sudo service gitlab start |
| 95 | 78 | sudo service nginx restart |
| 96 | 79 | |
| 97 | -### 9. Check application status | |
| 80 | +### 8. Check application status | |
| 98 | 81 | |
| 99 | 82 | Check if GitLab and its environment are configured correctly: |
| 100 | 83 | ... | ... |