-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
git lfs pushed files are empty #10665
Comments
The solution is: The server didn't have access to the lfs directory and was swallowing the exception / warning / error. I would suggest the exception about not being able to access the lfs directory should show up somewhere :) |
I was about to say that your logs looked a bit sparse... Looking at the code error should have been passed to the client at least - which is also incorrect because these errors might need sanitising. Sigh I guess I'll have to go through and add logging to this. |
Oh yeah I remember git-lfs may keep hitting the server if it gets a 500! So returning 500 for a permanent error will cause badness. |
Thank you very much! @zeripath |
[x]
):Description
I try to push files from a client repository that has LFS enabled. LFS is enabled on the server and the push succeeds. Also the settings page of the repository lists the files as stored in the repository with their correct sizes.
However, on the next
the files are empty or result in a 500 error. The 500 is, because the files are not there.
Screenshots
The text was updated successfully, but these errors were encountered: