-
Notifications
You must be signed in to change notification settings - Fork 29
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
ru.bozaro.gitlfs.client.exceptions.RequestException: ... - 422 (status code 422) #17
Comments
It seems the error 422 you must have files larger than 2 GB. |
My largest file is 369M. Could anything else cause that error? |
I added more diagnostic information: http://dist.bozaro.ru/temporary/git-lfs-migrate.zip |
Thanks for the quick response. I forgot to say that before. I tried the new code and go the following. Is there a way to tell which file it was trying to upload?
|
I have no idea yet. I add loggin first 1Kb request/response body http://dist.bozaro.ru/temporary/git-lfs-migrate-2.zip |
That produced the following. I'm not sure if I can get at the log.
|
As I understand, "Validation Failed" means checksum or data length mismatch. In any case:
|
In the case of one, every time you sent a new version, I ran it from a new directory. I just moved the old mapdb and tried again without uploading. This looked interesting... ls -lh .git/lfs/objects/62/*/* .git/lfs/objects/62/4f/624fe1b1dcd6b0a50c96f929d59fcdabf7e3b4bb661d270f5ce794eecb38dcb0: gzip compressed data, was "unixODBC-2.3.0-el7-x86_64-install-bin.tar", from Unix, last modified: Tue Apr 15 16:10:34 2014 .git/lfs/objects/62/bd/62bd609d9b26461fcd7fcc5efe6dcbac1a1c46ff70a771a544bcf3a7a2ba00a5: gzip compressed data, from FAT filesystem (MS-DOS, OS/2, NT) .git/lfs/objects/62/fc/62fc12bee6e4d1b490d3f321e7b458600308623feafce2e0b44bf654d95c4501: gzip compressed data, was "libxml2-2.9.4-el7-ppc64le-install-bin.tar", from Unix, last modified: Mon Jun 13 17:39:47 2016 I don't know if it's as interesting as it looked to me. I recognize the first and third file. The second one is the problem child. I'm still only doing ".zip" & ".tar.gz" so I would not have expected that. The project was around a while before my involvement so I can rule out an old file in the tree. |
The problem file is eclipse-SDK-4.3.2-linux-gtk-x86_64.tar.gz from http://archive.eclipse.org/eclipse/downloads/drops4/R-4.3.2-201402211700. Guess it's nothing special. I can try creating an repo that only has that file and see if it has trouble or if it take the more of the repo to trip it up. |
I downloaded this file and it really have SHA256 62bd609d9b26461fcd7fcc5efe6dcbac1a1c46ff70a771a544bcf3a7a2ba00a5 I have no idea yet why can not upload this file :( At the moment, I can offer to add to the repository this file in any other way. For example, through a console |
I'll also see if I can get a log from the server side. It's probably worth know what's wrong there. It seems other's in our organization have had problems uploading larger files as well. I've heard of a bug with file larger than 150M. Today I saw someone say a 264M file worked but a 485M didn't. I don't believe they are using git-lfs-migrate. I don't know if you want to close this for now or if you want to let it sit while I try to contact the server team to see if they can help. I'm will to try anything if it will be useful for you. |
I haven't been able to get logs so far, but I was able to add the problem file to an empty branch in the repository. I just created an empty branch, copied in the file, tracked it, added it, committed it and pushed. git checkout --orphan test_branch Do you think the problem is only with attempting to migrate? And do you think this populated LFS enough to reliably migrate? |
To try and make the migration just work,think I can I create a temp branch, add all the files from lfs/objects and try to commit that? |
Hi. Sorry it's been a while since I've posted anything here. Our github server was recently upgraded to 2.8. It looks like that fixed our problem. The migration works and I get an error on the final push due to me missing a few large file patterns. I'm cleaning that up now. I don't think there is a bug in git-lfs-migrate to be fixed. |
I'm trying to migrate from a gerrit server to github instance. Both are inside the company firewall. When I run the tool it make a lot of progress before throwing an exception and then hanging/sitting until I CTRL-C out of.
I clone the source repository and ran the following...
The last part of the output is
Let me know if I should gather more info or if there is anything I can do to help.
The text was updated successfully, but these errors were encountered: