-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
search indexer broken: ...exer/code/indexer.go:128:func2() [E] Codes indexer handler: index error for repo 29: fork/exec /usr/bin/git: argument list too long #28584
Comments
Which index type are you using? |
Does this answer your question? or is there another setting. I think we went for the default here REPO_INDEXER_ENABLED = true |
same here Search broken... Same settings... |
Any recommendations for large repos for indexing tools? |
I guess no until the bug could be fixed. |
So, no 3rd party integrations like elastic? |
Elastic search is supported, but the problem is git command line has length limitation but the file names are too much. |
Looking forward the fix on this issue. Any workaround ?
|
Looks like you have a different error log from this issue. |
Description
the search indexer is not working. the gitea.log gets filled with error messages:
2023/12/22 11:27:05 ...dules/git/command.go:291:Run() [D] git.Command.RunDir(/home/git/gitea-repositories/think-cell/code.git): /usr/bin/git -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c filter.lfs.smudge= -c filter.lfs.clean= ls-tree --full-tree -l df61ef8421d86acd35e2a2f98341646c03b87a3f -- .gitignore .gitmodules [[[[ followed by a endless list of files, part of the repository]]]]
2023/12/22 11:27:33 ...exer/code/indexer.go:128:func2() [E] Codes indexer handler: index error for repo 29: fork/exec /usr/bin/git: argument list too long
Also when we try to search in the repository we receive a 500 error message
Gitea Version
1.21.3 (and earlier)
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.39.2
Operating System
Debian 6.1.67-1
How are you running Gitea?
we run the latest downloadable version.
Database
None
The text was updated successfully, but these errors were encountered: