-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Error when cloning: Smudge error #7416
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
It seems v1.9 fixed that. |
When version 1.9 will be released. |
Basically the error is saying that LFS was unable to download the file. I think there are a number of possible reasons for this. However from your response it's not easy to determine which one of these is definitely responsible. The most scary for you should be the situation that these LFS files are not in your repository. I think it's worth ensuring that they are and if not get someone who does have them to do a git lfs push --all (see here I have a pr open that will allow you to look at your repo and try to find all of the possible LFS pointers your repo has and compare them with the LFS files it knows about and those you can access allowing you to match these up and fix errors. It's not necessarily Gitea's fault that this has happened if it has but converse of #732 (i.e. if you could merge LFS adding prs from forks) might have caused it. On 1.9 that should no longer happen but I seriously apologize if you were affected by that - all I can say is that getting LFS right is not as easy as it first appears. |
A good test might be to try |
i executed The strange thing is that on my pc most of the times clone is done successfully, but my colleague gets smudge error almost every time. |
It might be worth them trying the fetch all technique - it could be that the repository still doesn't have all the objects but you have the missing ones. Are you cloning over SSH or HTTP? It would be helpful to see the logs when these failures happen. |
HTTP was used for cloning. He tried fetch all and got this error in lsf\logs(file attached):
|
Ok that implies you have some LFS files missing from your repo - the Gitea logs would be more helpful however. I don't really know how this has happened. I suspect the underlying issue #732 is to blame. You need to from your computer, that has all the objects, do a |
I'm not sure that files are missing, because on my pc fresh clone most of times works ok. I attached gitea logs: I tried
|
Thanks for the Gitea log it looks like this could be a mysql connector issue! Someone else recently reported something similar.
|
Any idea what can be done to resolve this issue with mysql connector? |
Ah it was you who reported it... |
Yes it was me, but i didn't found solution to it and i was not sure if these errors are connected. |
If you look at your log you get some authentication errors in the middle of these errors - I wonder if the db connection failure is causing authentication to fail. |
My credentials are saved in git client, so probably db connection is to blame for authentication fail. |
But we're not the first people to come across this issue and I wonder if following the techniques here might fix this: restic/restic#791 |
I have set MaxUserPort to 65535 and TcpTimedWaitDelay to 30. Now it's working ok. |
Awesome. |
Thank you very much |
[x]
):Description
When cloning repository i get error on downloading file tracked in lfs. Clone does not fail every time, but when it does it has always different file as a reason.
Error downloading object: Flash/lib/greensock.swc (1b0c435): Smudge error: Error downloading Flash/lib/greensock.swc (1b0c43569cad83be13b26dc11253aa696c42a8797d57a95983b3fde97bdbcf5d): batch response: Repository or object not found: http://hostname:3000/company/product.git/info/lfs/objects/batch
Check that it exists and that you have proper access to it
The text was updated successfully, but these errors were encountered: