diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-20 17:34:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-20 17:34:42 +0300 |
commit | 9f46488805e86b1bc341ea1620b866016c2ce5ed (patch) | |
tree | f9748c7e287041e37d6da49e0a29c9511dc34768 /doc/administration/repository_checks.md | |
parent | dfc92d081ea0332d69c8aca2f0e745cb48ae5e6d (diff) |
Add latest changes from gitlab-org/gitlab@13-0-stable-ee
Diffstat (limited to 'doc/administration/repository_checks.md')
-rw-r--r-- | doc/administration/repository_checks.md | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/doc/administration/repository_checks.md b/doc/administration/repository_checks.md index a647bc82660..6d9ab723d2f 100644 --- a/doc/administration/repository_checks.md +++ b/doc/administration/repository_checks.md @@ -1,14 +1,14 @@ # Repository checks -> [Introduced][ce-3232] in GitLab 8.7. +> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/3232) in GitLab 8.7. -Git has a built-in mechanism, [`git fsck`][git-fsck], to verify the +Git has a built-in mechanism, [`git fsck`](https://git-scm.com/docs/git-fsck), to verify the integrity of all data committed to a repository. GitLab administrators can trigger such a check for a project via the project page under the admin panel. The checks run asynchronously so it may take a few minutes before the check result is visible on the project admin page. If the -checks failed you can see their output on the admin log page under -'repocheck.log'. +checks failed you can see their output on in the [`repocheck.log` +file.](logs.md#repochecklog) NOTE: **Note:** It is OFF by default because it still causes too many false alarms. @@ -31,17 +31,11 @@ panel. ## What to do if a check failed If the repository check fails for some repository you should look up the error -in `repocheck.log`: +in the [`repocheck.log` file](logs.md#repochecklog) on disk: -- in the [admin panel](logs.md#repochecklog) -- or on disk, see: - - `/var/log/gitlab/gitlab-rails` for Omnibus installations - - `/home/git/gitlab/log` for installations from source +- `/var/log/gitlab/gitlab-rails` for Omnibus installations +- `/home/git/gitlab/log` for installations from source If the periodic repository check causes false alarms, you can clear all repository check states by navigating to **Admin Area > Settings > Repository** (`/admin/application_settings/repository`) and clicking **Clear all repository checks**. - ---- -[ce-3232]: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/3232 "Auto git fsck" -[git-fsck]: https://git-scm.com/docs/git-fsck "git fsck documentation" |