Skip to content
Snippets Groups Projects
Commit 3a277320 authored by Richard Hancock's avatar Richard Hancock Committed by Evan Read
Browse files

Rjh/doc fixes for source install

parent fa33b5ce
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
Loading
Loading
@@ -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.
 
Loading
Loading
@@ -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
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment