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
Tatuya Kamada
gitlab-ce
Commits
827a0018
Commit
827a0018
authored
Apr 19, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Keep update docs inside repo so people can submit PR
parent
3ba36df6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
0 deletions
+42
-0
doc/update/5.0-to-5.1.md
doc/update/5.0-to-5.1.md
+42
-0
No files found.
doc/update/5.0-to-5.1.md
0 → 100644
View file @
827a0018
## Release notes:
*
`unicorn`
replaced with
`puma`
*
merge request cached diff will be truncated
### 1. stop server
sudo service gitlab stop
### 2. get latest code
```
sudo -u git -H git fetch
sudo -u git -H git checkout 5-1-stable
```
### 3. Install libs, migrations etc
```
sudo -u git -H cp config/puma.rb.example config/puma.rb
sudo -u git -H bundle install --without development test postgres --deployment
sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
sudo -u git -H bundle exec rake migrate_merge_requests RAILS_ENV=production
```
### 4. Update init.d script with a new one
```
bash
# init.d
sudo rm
/etc/init.d/gitlab
sudo
curl
--output
/etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlab-recipes/5-1-stable/init.d/gitlab
sudo chmod
+x /etc/init.d/gitlab
```
### 5. Start application
sudo service gitlab start
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