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
Léo-Paul Géneau
gitlab-ce
Commits
3a277320
Commit
3a277320
authored
May 15, 2019
by
Richard Hancock
Committed by
Evan Read
May 15, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rjh/doc fixes for source install
parent
fa33b5ce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
doc/update/patch_versions.md
doc/update/patch_versions.md
+1
-1
doc/update/upgrading_from_source.md
doc/update/upgrading_from_source.md
+8
-8
No files found.
doc/update/patch_versions.md
View file @
3a277320
...
...
@@ -67,7 +67,7 @@ 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
# 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
NODE_OPTIONS
=
"--max_old_space_size=4096"
```
### 4. Update gitlab-workhorse to the corresponding version
...
...
doc/update/upgrading_from_source.md
View file @
3a277320
...
...
@@ -25,13 +25,7 @@ This section contains all the steps necessary to upgrade Community Edition or
Enterprise Edition, regardless of the version you are upgrading to. Version
specific guidelines (should there be any) are covered separately.
### 1. Stop server
```
bash
sudo
service gitlab stop
```
### 2. Backup
### 1. Backup
NOTE: If you installed GitLab from source, make sure
`rsync`
is installed.
...
...
@@ -41,6 +35,12 @@ cd /home/git/gitlab
sudo
-u
git
-H
bundle
exec
rake gitlab:backup:create
RAILS_ENV
=
production
```
### 2. Stop server
```
bash
sudo
service gitlab stop
```
### 3. Update Ruby
NOTE: Beginning in GitLab 11.6, we only support Ruby 2.5 or higher, and dropped
...
...
@@ -314,7 +314,7 @@ sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
sudo
-u
git
-H
bundle
exec
rake gettext:compile
RAILS_ENV
=
production
# Update node dependencies and recompile assets
sudo
-u
git
-H
bundle
exec
rake yarn:install gitlab:assets:clean gitlab:assets:compile
RAILS_ENV
=
production
NODE_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake yarn:install gitlab:assets:clean gitlab:assets:compile
RAILS_ENV
=
production
NODE_ENV
=
production
NODE_OPTIONS
=
"--max_old_space_size=4096"
# Clean up cache
sudo
-u
git
-H
bundle
exec
rake cache:clear
RAILS_ENV
=
production
...
...
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