Commit 28f40b72053fdc684c975ea32c11820b47b75e52
1 parent
affc37ad
Exists in
spb-stable
and in
3 other branches
prioritise postgres in doc/update/patch_versions.md, assume postgres in doc/update/ruby.md
Showing
2 changed files
with
4 additions
and
4 deletions
Show diff stats
doc/update/patch_versions.md
| ... | ... | @@ -38,12 +38,12 @@ Replace LATEST_TAG with the latest GitLab Shell tag you want to upgrade to, for |
| 38 | 38 | ```bash |
| 39 | 39 | cd /home/git/gitlab |
| 40 | 40 | |
| 41 | -# MySQL | |
| 42 | -sudo -u git -H bundle install --without development test postgres --deployment | |
| 43 | - | |
| 44 | 41 | #PostgreSQL |
| 45 | 42 | sudo -u git -H bundle install --without development test mysql --deployment |
| 46 | 43 | |
| 44 | +# MySQL | |
| 45 | +sudo -u git -H bundle install --without development test postgres --deployment | |
| 46 | + | |
| 47 | 47 | sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production |
| 48 | 48 | sudo -u git -H bundle exec rake assets:clean RAILS_ENV=production |
| 49 | 49 | sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production | ... | ... |
doc/update/ruby.md
| ... | ... | @@ -41,7 +41,7 @@ Just to be sure we will reinstall the gems used by GitLab. Note that the `bundle |
| 41 | 41 | ```bash |
| 42 | 42 | cd /home/git/gitlab |
| 43 | 43 | sudo -u git -H rm -rf vendor/bundle # remove existing Gem bundle |
| 44 | -sudo -u git -H bundle install --deployment --without development test postgres aws # Assuming MySQL | |
| 44 | +sudo -u git -H bundle install --deployment --without development test mysql aws # Assuming PostgreSQL | |
| 45 | 45 | ``` |
| 46 | 46 | |
| 47 | 47 | ### 6. Start GitLab | ... | ... |