Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2018-01-09 00:22:17 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2018-01-09 00:25:32 +0300
commite1008da2a81a1c77c63b4f28ea8cb2aa498bc372 (patch)
treee581dedba8c53b2b1ffb5b8d52da019b9bfeccbb /doc/administration/raketasks/check.md
parent17c44f2bd836c7dc5e28c3bac1f24f8b90c27a8b (diff)
Add docs for the gitlab:uploads:check rake task
Diffstat (limited to 'doc/administration/raketasks/check.md')
-rw-r--r--doc/administration/raketasks/check.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/administration/raketasks/check.md b/doc/administration/raketasks/check.md
index c39cb49b1c6..7e452ae503d 100644
--- a/doc/administration/raketasks/check.md
+++ b/doc/administration/raketasks/check.md
@@ -76,6 +76,26 @@ Example output:
![gitlab:user:check_repos output](../img/raketasks/check_repos_output.png)
+## Uploaded Files Integrity
+
+The uploads check Rake task will loop through all uploads in the database
+and runs two checks to determine the integrity of each file:
+
+1. Check if the file exist in the file system.
+1. Check if the checksum of the file in the file system matches the checksum in the database.
+
+**Omnibus Installation**
+
+```
+sudo gitlab-rake gitlab:uploads:check
+```
+
+**Source Installation**
+
+```bash
+sudo -u git -H bundle exec rake gitlab:uploads:check RAILS_ENV=production
+```
+
## LDAP Check
The LDAP check Rake task will test the bind_dn and password credentials