Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
7ae72e65
Commit
7ae72e65
authored
Jun 28, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4323 from axilleas/update_docs
Create uploads dir otherwise backup fails. Fix #4304
parents
d0779d61
ddc57ece
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
doc/update/5.1-to-5.2.md
doc/update/5.1-to-5.2.md
+12
-3
No files found.
doc/update/5.1-to-5.2.md
View file @
7ae72e65
...
@@ -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
### 6. Update Init script
### 6. Update Init script
```
bash
```
bash
cd
/home/git/gitlab
sudo rm
/etc/init.d/gitlab
sudo rm
/etc/init.d/gitlab
sudo
c
url
--output
/etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlabhq/5-2-stable/lib/support/init.d/gitlab
sudo c
p
lib/support/init.d/gitlab /etc/init.d/gitlab
sudo chmod
+x /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 gitlab start
sudo service nginx restart
sudo service nginx restart
###
7
. Check application status
###
9
. Check application status
Check if GitLab and its environment are configured correctly:
Check if GitLab and its environment are configured correctly:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment