Skip to content
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

JFrog Artifactory git-lfs upload failure #23

Open
dbiner opened this issue Nov 2, 2016 · 4 comments
Open

JFrog Artifactory git-lfs upload failure #23

dbiner opened this issue Nov 2, 2016 · 4 comments

Comments

@dbiner
Copy link

dbiner commented Nov 2, 2016

Hi,

by testing git-lfs-migrate.jar on your repository by using Artifactory as lfs-server the process runs through but no data is uploaded to Artifactory.
I used the following script

#!/bin/bash
java -jar java/git-lfs-migrate.jar \
     -s git-lfs-migrate.git \
     -d git-lfs-migrate-converted.git \
     -l http://<user>:<pwd>@<server>/artifactory/api/lfs/<lfs-repo> \
     "*.md" "*.jar"

and the output was

[main] INFO git.lfs.migrate.Main - LFS server: OK
[main] INFO git.lfs.migrate.Main - Reading full objects list...
[main] INFO git.lfs.migrate.Main -   found: 1
[main] INFO git.lfs.migrate.Main -   found: 601
[main] INFO git.lfs.migrate.Main - Found objects: 601
[main] INFO git.lfs.migrate.Main - Converting object without dependencies in 2 threads...
[pool-2-thread-2] INFO git.lfs.migrate.Main -   processed: 1/140, uploaded: 0/0
[main] INFO git.lfs.migrate.Main -   processed: 140/140, uploaded: 17/17
[main] INFO git.lfs.migrate.Main - Converting graph in single thread...
[main] INFO git.lfs.migrate.Main -   completed: 1/461
[main] INFO git.lfs.migrate.Main -   completed: 461/461
[main] INFO git.lfs.migrate.Main - Recreating refs...
[main] INFO git.lfs.migrate.Main -   convert ref: 2145c973f03617cd07361717785fd58604c94419 -> c176ab2c82ee7a780d2c193a70e8fa79ac2e9f89 (HEAD)
[main] INFO git.lfs.migrate.Main -   convert ref: 31edfcd65064468d35e66f4018c3c91af728601d -> 43430174791681f653fb7fe0651e929ae0a0eecd (refs/heads/globs)
[main] INFO git.lfs.migrate.Main -   convert ref: 2145c973f03617cd07361717785fd58604c94419 -> c176ab2c82ee7a780d2c193a70e8fa79ac2e9f89 (refs/heads/master)
[main] INFO git.lfs.migrate.Main -   convert ref: 5e19ff822c082878c5217af5dd95e15abe15ae76 -> 556239f2cf1f3357f239b1055fc4e3ebb8ec67fd (refs/pull/15/head)
[main] INFO git.lfs.migrate.Main -   convert ref: 7186b36f2d69c756e9ae8fdde9eb07d2ad53d8f7 -> ba0e59f7f2e28e647c14fa9fecb7f85a410844cd (refs/pull/16/head)
[main] INFO git.lfs.migrate.Main -   convert ref: 5c7486fb65b0ada289b481ce7262d7945b1d5994 -> 4b461df37747873ca75036e992d4622c0beea83d (refs/pull/19/head)
[main] INFO git.lfs.migrate.Main -   convert ref: 3125deb04614b6b5a2d4607794d92b282a2c32f3 -> 176a60a55d62f0be03343da5ae789f4e2e26491f (refs/pull/22/head)
[main] INFO git.lfs.migrate.Main -   convert ref: bd2a5582dfa38143efadb9e75dbb6b658adb53fd -> 0c38a82f20a7b28398130998eee32327098258aa (refs/pull/22/merge)
[main] INFO git.lfs.migrate.Main -   convert ref: 7b44b48351d3422a6a30b6c4d6086387a200b794 -> eeb20695c4fececf9be7984823c2d39be8d23b31 (refs/pull/6/head)
[main] INFO git.lfs.migrate.Main -   convert ref: ea0e304cc0ccdef4f21213a4167fb2337f65a069 -> 8991fd979168f213a094c3e6c20fcbd4f8e865cc (refs/pull/7/head)
[main] INFO git.lfs.migrate.Main -   convert ref: 6c3cd1def3c4877022e29d0a0de4a6ec0485874e -> 2d6bcf34b69ef2bc5e3c86445809854387565c09 (refs/pull/9/head)
[main] INFO git.lfs.migrate.Main -   convert ref: 005e6e010617e37be2bf25eeeddf50bac8f09a6a -> a6b9aafcf637a51496d174531f2a1cb06288de6c (refs/tags/0.0.1)
[main] INFO git.lfs.migrate.Main -   convert ref: 2a64aa0c7796b5fa324ab7ccfb049685b52bdf67 -> a06ba123abccada0e5c691b6ef2c4e16cd73f1d7 (refs/tags/0.0.10)
[main] INFO git.lfs.migrate.Main -   convert ref: 52fcfa20c8b14b99f001812cd93e5ea1eb476408 -> 676d0bea5c721ad57d115251a5f8e48cc5c9193e (refs/tags/0.0.11)
[main] INFO git.lfs.migrate.Main -   convert ref: 7b6a43f12116f81dafb85cc03b1a622cfbb36362 -> ff54ae8f856128747c0a9b53725f2cef5349b19a (refs/tags/0.0.12)
[main] INFO git.lfs.migrate.Main -   convert ref: fce590df6f4f86b03f42de4a69a7d1a40fd06fc0 -> e63e71506bbf737f43810a9311184446e4a2b09e (refs/tags/0.0.13)
[main] INFO git.lfs.migrate.Main -   convert ref: d2fd13d26c2cfd2e81936221bc4d04e982172a34 -> b18354ec9137522b11305f13e34c146168fcc13e (refs/tags/0.0.14)
[main] INFO git.lfs.migrate.Main -   convert ref: 61243791234be1cb92ad45ed3961ccea8ca6bbc0 -> 095fefc0bef3da728a289bc606507db21d515415 (refs/tags/0.0.15)
[main] INFO git.lfs.migrate.Main -   convert ref: ebc13e8293ff20b77a19e2d212e48435b6a1035a -> f733468cf7c1d1881dd1ede33a90f83b0862b668 (refs/tags/0.0.2)
[main] INFO git.lfs.migrate.Main -   convert ref: bdddc4246b3e31b3a645e1973ff59679c407a5f1 -> 657fe828f8c5385ada6a0a80919f3757689912ef (refs/tags/0.0.3)
[main] INFO git.lfs.migrate.Main -   convert ref: dbac21c2c1a0c6d600ee5bde6e60c7f510d3f82b -> 6a1a1a6b21f4b2207a21d5b2732e8ace1f2ee78b (refs/tags/0.0.4)
[main] INFO git.lfs.migrate.Main -   convert ref: 36f2fab6edddbd9703b41ca7b0c2251fd575da0b -> 8d847b4878447a42901012e893e8a4903cd034af (refs/tags/0.0.5)
[main] INFO git.lfs.migrate.Main -   convert ref: 04701dba2a82f59df9415ebdae96f772253e725b -> 048695c95064bc8f72034c95dc9fefbb8ab5c192 (refs/tags/0.0.6)
[main] INFO git.lfs.migrate.Main -   convert ref: 724e0d35deac4209755e00103c10b42408b049b4 -> 4dd2059afd59e9f26a8f2b0731c050c4988ebe4f (refs/tags/0.0.7)
[main] INFO git.lfs.migrate.Main -   convert ref: d2e19aa87cace25936becf4cbac15cc16ce4df79 -> 984383f01c3d3aeeee49e0bf4b0008bc68afa173 (refs/tags/0.0.8)
[main] INFO git.lfs.migrate.Main -   convert ref: ba899229359132c6d8f51a7d207e392a2f883211 -> d934b46ca5928b38757bbece7370e0d0c75f95f9 (refs/tags/0.0.9)
[main] INFO git.lfs.migrate.Main -   convert ref: 7e7cccccb1022c77ad5cb07fe3fd996d26a30fd5 -> 46c4f55918d35a1dea2dcb5c1a1814a12431ef3a (refs/tags/0.1.0)
[main] INFO git.lfs.migrate.Main -   convert ref: 61243791234be1cb92ad45ed3961ccea8ca6bbc0 -> 095fefc0bef3da728a289bc606507db21d515415 (refs/tags/0.1.1)
[main] INFO git.lfs.migrate.Main -   convert ref: 6c3cd1def3c4877022e29d0a0de4a6ec0485874e -> 2d6bcf34b69ef2bc5e3c86445809854387565c09 (refs/tags/0.2.0)
[main] INFO git.lfs.migrate.Main -   convert ref: 357092b16879390d69ba0c1a1e4481a10831f2de -> e103cfe2a0da872a92b4a4acc7cad314ebf75ed4 (refs/tags/0.2.1)
[main] INFO git.lfs.migrate.Main -   convert ref: 10b441e662f1cf02f3899db1da281457c5af44cc -> 7925efb628965e4a0e5fe6b1229769fd5402a6e3 (refs/tags/0.2.2)
[main] INFO git.lfs.migrate.Main -   convert ref: cd0c7829dafa0dabffb0c4eb32ca6f790e142338 -> c0dbac11c8524a9975aa40f2634c9179c7367061 (refs/tags/0.2.3)
[main] INFO git.lfs.migrate.Main -   convert ref: 2145c973f03617cd07361717785fd58604c94419 -> c176ab2c82ee7a780d2c193a70e8fa79ac2e9f89 (refs/tags/0.2.4)
[main] INFO git.lfs.migrate.Main - Convert time: 1431

I tried to use the GitHub lfs-test-server which worked without problems (all lfs objects where uploaded). For both lfs-servers, the outputs of git-lfs-migrate.jar are the same.
Sadly I did not find a way to increase the verbosity to get more information.

@SeaOfCowards
Copy link

SeaOfCowards commented Dec 13, 2016

Hi,
got the very same problem.
The output looks similar, saying that everything was uploaded but no files are actually listed in artifactory.

@bozaro
Copy link
Owner

bozaro commented Dec 14, 2016

I downloaded Artifactory trial. I will try to fix this issue in the near future.

@bozaro
Copy link
Owner

bozaro commented Dec 16, 2016

Looks like JFrog Artifactory has incorrect Git LFS server implementation: git-as-svn/git-lfs-java#4

I send a report to JFrog via "Report a Bug" service (https://www.jfrog.com/support-service/support/).

Also I will implement limited workaround for issue in this weekend.

@bozaro
Copy link
Owner

bozaro commented Dec 16, 2016

Now git-lfs-migrate does not consider all of the files have already uploaded into Artifactory.
But unfortunatelly it require DELETE permission for reupload already uploaded files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants