diff options
author | Michael Kozono <mkozono@gmail.com> | 2019-08-17 01:07:56 +0300 |
---|---|---|
committer | Michael Kozono <mkozono@gmail.com> | 2019-08-17 01:07:56 +0300 |
commit | 9eabc0d6fc268023db13e8dad315f99f4fe1a6da (patch) | |
tree | bc6fed5f91d4034fa60e20fb90dec918ecbe0b97 /doc | |
parent | e9cd5d41fb5ce3b51034bca96f269be8edc1cff0 (diff) | |
parent | 19db315734d54d6850b0139dda75da758b55af56 (diff) |
Merge branch 'legacy-attachments-migrate-fix' into 'master'
Migrate legacy uploads rake tasks
See merge request gitlab-org/gitlab-ce!29409
Diffstat (limited to 'doc')
-rw-r--r-- | doc/administration/logs.md | 6 | ||||
-rw-r--r-- | doc/administration/raketasks/uploads/migrate.md | 10 | ||||
-rw-r--r-- | doc/development/rake_tasks.md | 1 |
3 files changed, 17 insertions, 0 deletions
diff --git a/doc/administration/logs.md b/doc/administration/logs.md index 47abbc512e0..306d611f6bf 100644 --- a/doc/administration/logs.md +++ b/doc/administration/logs.md @@ -309,6 +309,12 @@ GraphQL queries are recorded in that file. For example: {"query_string":"query IntrospectionQuery{__schema {queryType { name },mutationType { name }}}...(etc)","variables":{"a":1,"b":2},"complexity":181,"depth":1,"duration":7} ``` +## `migrations.log` + +Introduced in GitLab 12.3. This file lives in `/var/log/gitlab/gitlab-rails/migrations.log` for +Omnibus GitLab packages or in `/home/git/gitlab/log/migrations.log` for +installations from source. + ## Reconfigure Logs Reconfigure log files live in `/var/log/gitlab/reconfigure` for Omnibus GitLab diff --git a/doc/administration/raketasks/uploads/migrate.md b/doc/administration/raketasks/uploads/migrate.md index fd8ea8d3162..86e8b763f51 100644 --- a/doc/administration/raketasks/uploads/migrate.md +++ b/doc/administration/raketasks/uploads/migrate.md @@ -103,3 +103,13 @@ sudo -u git -H bundle exec rake "gitlab:uploads:migrate[NamespaceFileUploader, S sudo -u git -H bundle exec rake "gitlab:uploads:migrate[FileUploader, MergeRequest]" ``` + +## Migrate legacy uploads out of deprecated paths + +> Introduced in GitLab 12.3. + +To migrate all uploads created by legacy uploaders, run: + +```shell +bundle exec rake gitlab:uploads:legacy:migrate +``` diff --git a/doc/development/rake_tasks.md b/doc/development/rake_tasks.md index c97e179910b..67f36eb1ab4 100644 --- a/doc/development/rake_tasks.md +++ b/doc/development/rake_tasks.md @@ -216,3 +216,4 @@ bundle exec rake routes Since these take some time to create, it's often helpful to save the output to a file for quick reference. + |