Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7956b63b
Commit
7956b63b
authored
Aug 18, 2020
by
Rehab Hassanein
Committed by
Tom Atkins
Aug 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add troubleshooting for dangling commits
parent
b6d5b8b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
doc/administration/raketasks/check.md
doc/administration/raketasks/check.md
+19
-0
No files found.
doc/administration/raketasks/check.md
View file @
7956b63b
...
...
@@ -135,3 +135,22 @@ The LDAP check Rake task will test the bind DN and password credentials
(if configured) and will list a sample of LDAP users. This task is also
executed as part of the
`gitlab:check`
task, but can run independently.
See
[
LDAP Rake Tasks - LDAP Check
](
ldap.md#check
)
for details.
## Troubleshooting
The following are solutions to problems you might discover using the Rake tasks documented
above.
### Dangling commits
`gitlab:git:fsck`
can find dangling commits. To fix them, try
[
manually triggering housekeeping
](
../housekeeping.md#manual-housekeeping
)
for the affected project(s).
If the issue persists, try triggering
`gc`
via the
[
Rails Console
](
../troubleshooting/navigating_gitlab_via_rails_console.md#starting-a-rails-console-session
)
:
```
ruby
p
=
Project
.
find_by_path
(
"project-name"
)
Projects
::
HousekeepingService
.
new
(
p
,
:gc
).
execute
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment