-
Notifications
You must be signed in to change notification settings - Fork 160
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Our Sourcebot instance has a couple of repositories that appear in error in the UI.
After looking at the logs, I can see the following error message:
[backend] | 2025-08-06T15:04:50.961Z �[32minfo�[39m: [repo-manager] Fetching group/project...
[backend] | 2025-08-06T15:04:50.968Z �[31merror�[39m: [repo-manager] Failed to sync repository gitlab.mycompany.net/group/project (id: 345) after 3 attempts. Error: Error: Failed to fetch repository /data/repos/345: fatal: not a git repository (or any parent up to mount point /)
[backend] | Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
[backend] |
[backend] | 2025-08-06T15:04:50.973Z �[32minfo�[39m: [repo-manager] Repo index job for repo group/project (id: 345, jobId: 1049966) failed with error: Error: Failed to fetch repository /data/repos/345: fatal: not a git repository (or any parent up to mount point /)
[backend] |
[backend] | Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
If I look in the data/repos/345
, it's effectively missing files and appear to not be a Git repository. But why?
/data/repos/345 # ls -al
total 28
drwxr-xr-x 2 nobody nobody 4096 Jul 1 08:15 .
drwxr-xr-x 777 nobody nobody 20480 Jul 31 07:43 ..
-rw-r--r-- 1 nobody nobody 0 Jul 1 08:15 FETCH_HEAD
The GitLab repository exists and is accessible from the token used.
Apparently the files haven't been modified since July 1st. I wonder if something wrong happened at that time and since then it's not able to "recover" from it?
Maybe in case of such error, Sourcebot could force to clear and start over for this repo?
I tried the "Retry index" button in the UI but it didn't help.
To reproduce
I don't know :|
Sourcebot deployment information
Sourcebot version (e.g. v3.0.1): 4.6.1
Additional information
No response
abraverm
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working