diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-28 21:55:13 -0700 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-28 21:55:13 -0700 |
commit | 7ae72e65116433d9e8655f735263d7fdb974c8e1 (patch) | |
tree | 797ff920571402df951e657f80685b7b20a6ed97 | |
parent | d0779d61d34334d56b2e5131faca8758ee928a74 (diff) | |
parent | ddc57ece6bac4acb904035c1927f8b74f1d632ac (diff) | |
download | gitlab-ce-7ae72e65116433d9e8655f735263d7fdb974c8e1.tar.gz |
Merge pull request #4323 from axilleas/update_docs
Create uploads dir otherwise backup fails. Fix #4304
-rw-r--r-- | doc/update/5.1-to-5.2.md | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/doc/update/5.1-to-5.2.md b/doc/update/5.1-to-5.2.md index 3f874555f49..23de2d99c58 100644 --- a/doc/update/5.1-to-5.2.md +++ b/doc/update/5.1-to-5.2.md @@ -52,17 +52,26 @@ sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production ### 6. Update Init script ```bash +cd /home/git/gitlab sudo rm /etc/init.d/gitlab -sudo curl --output /etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlabhq/5-2-stable/lib/support/init.d/gitlab +sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab sudo chmod +x /etc/init.d/gitlab ``` -### 6. Start application +### 7. Create uploads directory + +```bash +cd /home/git/gitlab +sudo -u git -H mkdir public/uploads +sudo chmod -R u+rwX public/uploads +``` + +### 8. Start application sudo service gitlab start sudo service nginx restart -### 7. Check application status +### 9. Check application status Check if GitLab and its environment are configured correctly: |