Commit 68436e964fa1220c3fa040fa501324a729eabb70
1 parent
49a51599
Exists in
spb-stable
and in
3 other branches
Add one line upgrade command.
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
doc/update/upgrader.md
... | ... | @@ -40,3 +40,10 @@ To make sure you didn't miss anything run a more thorough check with: |
40 | 40 | sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production |
41 | 41 | |
42 | 42 | If all items are green, then congratulations upgrade is complete! |
43 | + | |
44 | + | |
45 | +### One line upgrade command | |
46 | + | |
47 | +You've read through the entire guide, and probably did all the steps manually. Here is a one liner for convenience, the next time you upgrade: | |
48 | + | |
49 | + cd /home/git/gitlab; sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production; sudo service gitlab stop; sudo -u git -H ruby script/upgrade.rb -y; sudo service gitlab start; sudo service nginx restart; sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production | ... | ... |