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
2571cde7
Commit
2571cde7
authored
Aug 11, 2017
by
Jan Bruckner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix formatting of patch_versions.md
[skip ci]
parent
c62ae6cf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
+7
-11
doc/update/patch_versions.md
doc/update/patch_versions.md
+7
-11
No files found.
doc/update/patch_versions.md
View file @
2571cde7
...
@@ -56,21 +56,17 @@ sudo -u git -H bundle clean
...
@@ -56,21 +56,17 @@ sudo -u git -H bundle clean
# Run database migrations
# Run database migrations
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
### 4. Compile GetText PO files
# Compile GetText PO files
# Internationalization was added in `v9.2.0` so these commands are only
Internationalization was added
in
`
v9.2.0
`
so these commands are only
# required for versions equal or major to it.
required
for
versions equal or major to it.
```
bash
sudo
-u
git
-H
bundle
exec
rake gettext:pack
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake gettext:pack
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake gettext:po_to_json
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake gettext:po_to_json
RAILS_ENV
=
production
```
# Clean up assets and cache
# Clean up assets and cache
sudo
-u
git
-H
bundle
exec
rake yarn:install gitlab:assets:clean gitlab:assets:compile cache:clear
RAILS_ENV
=
production
NODE_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake yarn:install gitlab:assets:clean gitlab:assets:compile cache:clear
RAILS_ENV
=
production
NODE_ENV
=
production
```
```
###
5
. Update gitlab-workhorse to the corresponding version
###
4
. Update gitlab-workhorse to the corresponding version
```
bash
```
bash
cd
/home/git/gitlab
cd
/home/git/gitlab
...
@@ -78,7 +74,7 @@ cd /home/git/gitlab
...
@@ -78,7 +74,7 @@ cd /home/git/gitlab
sudo
-u
git
-H
bundle
exec
rake
"gitlab:workhorse:install[/home/git/gitlab-workhorse]"
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake
"gitlab:workhorse:install[/home/git/gitlab-workhorse]"
RAILS_ENV
=
production
```
```
###
6
. Update gitlab-shell to the corresponding version
###
5
. Update gitlab-shell to the corresponding version
```
bash
```
bash
cd
/home/git/gitlab-shell
cd
/home/git/gitlab-shell
...
@@ -88,14 +84,14 @@ sudo -u git -H git checkout v`cat /home/git/gitlab/GITLAB_SHELL_VERSION` -b v`ca
...
@@ -88,14 +84,14 @@ sudo -u git -H git checkout v`cat /home/git/gitlab/GITLAB_SHELL_VERSION` -b v`ca
sudo
-u
git
-H
sh
-c
'if [ -x bin/compile ]; then bin/compile; fi'
sudo
-u
git
-H
sh
-c
'if [ -x bin/compile ]; then bin/compile; fi'
```
```
###
7
. Start application
###
6
. Start application
```
bash
```
bash
sudo
service gitlab start
sudo
service gitlab start
sudo
service nginx restart
sudo
service nginx restart
```
```
###
8
. Check application status
###
7
. 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