Commit 7ae72e65116433d9e8655f735263d7fdb974c8e1
Exists in
master
and in
4 other branches
Merge pull request #4323 from axilleas/update_docs
Create uploads dir otherwise backup fails. Fix #4304
Showing
1 changed file
with
12 additions
and
3 deletions
Show diff stats
doc/update/5.1-to-5.2.md
... | ... | @@ -52,17 +52,26 @@ sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production |
52 | 52 | ### 6. Update Init script |
53 | 53 | |
54 | 54 | ```bash |
55 | +cd /home/git/gitlab | |
55 | 56 | sudo rm /etc/init.d/gitlab |
56 | -sudo curl --output /etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlabhq/5-2-stable/lib/support/init.d/gitlab | |
57 | +sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab | |
57 | 58 | sudo chmod +x /etc/init.d/gitlab |
58 | 59 | ``` |
59 | 60 | |
60 | -### 6. Start application | |
61 | +### 7. Create uploads directory | |
62 | + | |
63 | +```bash | |
64 | +cd /home/git/gitlab | |
65 | +sudo -u git -H mkdir public/uploads | |
66 | +sudo chmod -R u+rwX public/uploads | |
67 | +``` | |
68 | + | |
69 | +### 8. Start application | |
61 | 70 | |
62 | 71 | sudo service gitlab start |
63 | 72 | sudo service nginx restart |
64 | 73 | |
65 | -### 7. Check application status | |
74 | +### 9. Check application status | |
66 | 75 | |
67 | 76 | Check if GitLab and its environment are configured correctly: |
68 | 77 | ... | ... |