Commit 1c35df6b authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch 'docs-astrachan-add-copy-paste-for-config-update' into 'master'

Docs update config with a copy/paste option

See merge request gitlab-org/gitlab!37780
parents f3caeb39 e1364532
...@@ -141,7 +141,15 @@ keeping in mind the task name in this case is `gitlab:uploads:migrate_to_local`. ...@@ -141,7 +141,15 @@ keeping in mind the task name in this case is `gitlab:uploads:migrate_to_local`.
To migrate uploads from object storage to local storage: To migrate uploads from object storage to local storage:
1. Disable both `direct_upload` and `background_upload` under `uploads` settings in `gitlab.rb`. 1. Disable both `direct_upload` and `background_upload` under `uploads` settings in `gitlab.rb`:
```ruby
gitlab_rails['uploads_object_store_direct_upload'] = false
gitlab_rails['uploads_object_store_background_upload'] = false
```
Save the file and [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure).
1. Run the Rake task: 1. Run the Rake task:
**Omnibus Installation** **Omnibus Installation**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment