summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2019-09-11 14:47:11 +0300
committerValery Sizov <valery@gitlab.com>2019-09-11 18:46:08 +0300
commitf70a990ea60b8e78fddcb997150152817cecc075 (patch)
treef5c018e2ec42f28f57e8bf40c6023813c8c3a4d5
parente4b28b42c3b125a7836eaabf77c2fe6df4639429 (diff)
downloadgitlab-ce-13158-orphaned-project-registries.tar.gz
Backport "Remove orphaned project registries"13158-orphaned-project-registries
MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/15021
-rw-r--r--doc/administration/raketasks/geo.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/administration/raketasks/geo.md b/doc/administration/raketasks/geo.md
index 691d34ab7fa..387bc71965b 100644
--- a/doc/administration/raketasks/geo.md
+++ b/doc/administration/raketasks/geo.md
@@ -55,3 +55,20 @@ sudo gitlab-rake geo:git:housekeeping:gc
```bash
sudo -u git -H bundle exec rake geo:git:housekeeping:gc RAILS_ENV=production
```
+
+## Remove orphaned project registries
+
+Under certain conditions your project registry can contain obsolete records, you
+can remove them using the rake task `geo:run_orphaned_project_registry_cleaner`:
+
+**Omnibus Installation**
+
+```
+sudo gitlab-rake geo:run_orphaned_project_registry_cleaner
+```
+
+**Source Installation**
+
+```bash
+sudo -u git -H bundle exec rake geo:run_orphaned_project_registry_cleaner RAILS_ENV=production
+```