Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions doc/update/6.0-to-7.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ sudo -u git -H bundle install --without development test postgres --deployment
# PostgreSQL installations (note: the line below states '--without ... mysql')
sudo -u git -H bundle install --without development test mysql --deployment


# Run database migrations
sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production

Expand All @@ -120,6 +119,9 @@ sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS

# Close access to gitlab-satellites for others
sudo chmod u+rwx,g+rx,o-rwx /home/git/gitlab-satellites

# Update init.d script
sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
```

## 7. Update config files
Expand All @@ -146,18 +148,12 @@ sudo -u git -H cp config/initializers/rack_attack.rb.example config/initializers
sudo cp lib/support/logrotate/gitlab /etc/logrotate.d/gitlab
```

## 8. Update Init script

```bash
sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
```

## 9. Start application
## 8. Start application

sudo service gitlab start
sudo service nginx restart

## 10. Check application status
## 9. Check application status

Check if GitLab and its environment are configured correctly:

Expand All @@ -170,7 +166,7 @@ To make sure you didn't miss anything run a more thorough check with:

If all items are green, then congratulations upgrade complete!

## 11. Update OmniAuth configuration
## 10. Update OmniAuth configuration

When using Google omniauth login, changes of the Google account required.
Ensure that `Contacts API` and the `Google+ API` are enabled in the [Google Developers Console](https://console.developers.google.com/).
Expand Down