summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJarka Košanová <jarka@gitlab.com>2019-08-13 10:30:32 +0200
committerJarka Košanová <jarka@gitlab.com>2019-08-16 07:52:30 +0200
commit19db315734d54d6850b0139dda75da758b55af56 (patch)
tree9cf00e191c70f9661fae2a2f63cd4c0cbf09da67 /doc
parent0297f1c2b862edbe8015874913ebbab1393706e4 (diff)
downloadgitlab-ce-19db315734d54d6850b0139dda75da758b55af56.tar.gz
Add rake tasks for migrating leacy uploadslegacy-attachments-migrate-fix
- move uploads created by AttachmentUploader - handle also files created for legacy_diff_notes
Diffstat (limited to 'doc')
-rw-r--r--doc/administration/logs.md6
-rw-r--r--doc/administration/raketasks/uploads/migrate.md10
-rw-r--r--doc/development/rake_tasks.md1
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.
+