Commit ddc57ece6bac4acb904035c1927f8b74f1d632ac

Authored by Axilleas Pipinellis
1 parent b1bdd829

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,17 +52,26 @@ sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
52 ### 6. Update Init script 52 ### 6. Update Init script
53 53
54 ```bash 54 ```bash
  55 +cd /home/git/gitlab
55 sudo rm /etc/init.d/gitlab 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 sudo chmod +x /etc/init.d/gitlab 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 sudo service gitlab start 71 sudo service gitlab start
63 sudo service nginx restart 72 sudo service nginx restart
64 73
65 -### 7. Check application status 74 +### 9. Check application status
66 75
67 Check if GitLab and its environment are configured correctly: 76 Check if GitLab and its environment are configured correctly:
68 77