-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Gitea crashes at start: pthread_create failed #6031
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
Comments
Do you have code search enabled? |
I have not done any configuration yet, just downloaded the binary and tried to run it. Do you mean |
yes |
So, no; the auto-generated config has only |
Could be related to this issue? |
Is this reliably reproducible on every launch of Gitea? Or does it happen randomly? |
Probably. So I need to make a custom build with
On every launch on certain system. |
@bodqhrohro I tested it on Ubuntu 14.04 through docker, and it works. |
I started seeing the same error when trying to use git push to push up changes over ssh with gitea 1.7.4. The error is still present with 1.8. I had not experienced any problems doing git push before 1.7.4. Gitea version (or commit ref): 1.8 The service is running OK according to systemd. |
@TraceyC77 did you use sqlite database? |
I'm using MySQL.
|
@TraceyC77 I'm not sure if this is the cause of your issue but it's certainly bad to have Gitea using that old a git version. Clearly you still have git 1.8 installed somewhere. I remember reading about git 1.8 on centos before causing trouble however I can't find the issue that had this right now. |
I got some time to look into this a little further. My gitea service is on a cPanel server, which late last year added its own git repo UI. There had been these two git binaries, but removing the older one did not resolve the issue. I don't use the cPanel git repo feature, I only use gitea for my repos. My gitea server used to work perfectly until recently. When I looked for git binaries, there was
After removing the non-cPanel provided git with "yum remove git" and restarting the gitea service I got:
If I reinstall the CentOS provided git with "yum install git" I'm back to the original error I've looked through the logs and config and really can't find anything to nail this down further. I'm willing to provide more information if requested. |
@TraceyC77 Can you check if the cpanel git is a binary or something like a shell-script wrapper? If that is the case, @lunny's idea about having the path of |
@typeless We need a PR to do that. |
Both git files are binaries. The second git binary is not suspicious at all on a cPanel server, this is expected. As I had mentioned, cPanel added its own git server capabilities.
It turns out that wasn't the problem. My gitea server is now working properly, so I wanted to share what I did to solve it in case it helps @bodqhrohro
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
[x]
):Description
Screenshots
The text was updated successfully, but these errors were encountered: