-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
git clone/pull stuck after enabling lfs support #2015
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
Were the hooks updated after the migration (and turning on LFS)? |
Yes, I did |
Same problem for me but gitea 1.4.0 Edit : Resolved using https://packages.endpoint.com/ to obtain a more recent git : 2.8.4 |
@Colundrum Are you sure 2.8.4 fixed it? The documentation for |
I have the same issue (git clone hangs if LFS is enabled on Gitea). On CentOS 7 too, but using git 2.12.2 from SCL repo. I'll try to get some more info. Gitea version is 1.6.0 |
Forget about my previous comment. Gitea daemon was indeed started using the 2.12.2 GIT version, but SSH sessions were not (and so, was using the default 1.8.3 version). Just added a /etc/profile.d/ snippet enabling the SCL version by default. Working now |
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. |
1.1.2
1.9.1
Database (use
[x]
):Can you reproduce the bug at https://try.gitea.io:
Log gist:
Nothing unusual
Description
The repo and config are migrated from gogs v0.11.rc.
Enable lfs support in app.ini:
LFS_START_SERVER = true
LFS_CONTENT_PATH = /home/git/data/lfs-data
LFS_JWT_SECRET = LqI8JDMWKGseM1WvKyg7FoOlj8Q7RGVYO9g963so0Lw
restart gitea:
sudo service gitea restart
Then git clone/pull will stuck:
$ git clone [email protected]:thomas/lfs-test.git
Cloning into 'lfs-test'...
^C
$ git pull
^C
...
The text was updated successfully, but these errors were encountered: