LFS: Repository or object not found
It seems that during our first test of LFS something went wrong and 3 files were not written to remote storage. Also it seems that files are identified by hash code across multiple repositories. So what happens is that we can not push this files anymore: ``` D:\Dev\Projects\website\wwwroot\video>git lfs push --all origin master 23:44:40.251951 exec-cmd.c:236 trace: resolved executable dir: C:/Program Files/Git/mingw64/bin 23:44:40.255945 git.c:671 trace: exec: git-lfs push --all origin master 23:44:40.255945 run-command.c:637 trace: run_command: git-lfs push --all origin master 23:44:40.326793 trace git-lfs: exec: git 'version' 23:44:40.401556 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'rev-parse' 'HEAD' '--symbolic-full-name' 'HEAD' 23:44:40.531292 trace git-lfs: exec: git 'config' '-l' 23:44:40.569216 trace git-lfs: Upload refs [master] to remote origin Username for 'https://gitlab.company.com': user@gmail.com Password for 'https://user@gmail.com@gitlab.company.com': 23:44:44.682830 trace git-lfs: creds: git credential fill ("https", "gitlab.company.com", "") Username for 'https://gitlab.company.com': user@gmail.com Password for 'https://user@gmail.com@gitlab.company.com': 23:44:47.882614 trace git-lfs: Filled credentials for https://gitlab.company.com/site/site.git 23:44:47.905561 trace git-lfs: HTTP: POST https://gitlab.company.com/site/site.git/info/lfs/locks/verify 23:44:48.031225 trace git-lfs: HTTP: 200 23:44:48.031225 trace git-lfs: creds: git credential approve ("https", "gitlab.company.com", "") 23:44:48.075135 trace git-lfs: HTTP: {"ours":[],"theirs":[]} Locking support detected on remote "origin". Consider enabling it with: $ git config lfs.https://gitlab.company.com/site/site.git/info/lfs.locksverify true 23:44:48.077132 trace git-lfs: tq: running as batched queue, batch size of 100 23:44:48.079131 trace git-lfs: run_command: git rev-list --stdin --objects --do-walk -- 23:44:48.087070 trace git-lfs: run_command: git cat-file --batch 23:44:48.209778 trace git-lfs: tq: sending batch of size 3 23:44:48.209778 trace git-lfs: api: batch 3 files 23:44:48.210737 trace git-lfs: creds: git credential cache ("https", "gitlab.company.com", "") 23:44:48.210737 trace git-lfs: Filled credentials for https://gitlab.company.com/site/site.git 23:44:48.212732 trace git-lfs: HTTP: POST https://gitlab.company.com/site/site.git/info/lfs/objects/batch 23:44:48.328904 trace git-lfs: HTTP: 200 23:44:48.329727 trace git-lfs: HTTP: {"objects":[{"oid":"0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6","size":35409429,"actions":{"upload":{"href":"https://gitlab.company.com/site/site- site.git/gitlab-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429","header":{"Authorization":"Basic YWxleGFuZGVyLnR1cnRzZXZpY2hAaXRtaW50LmNhOmtlcnBsdW5r","Content-Type":" application/octet-stream"}}}},{"oid":"693fceb4d51c0d84147bc490fc9d492cfe8c19903ead274757d63380ec3b8e38","size":25299453},{"oid":"69052821 23:44:48.330727 trace git-lfs: HTTP: c3390aa627079048558680f20870a03651cfe5272997a2e803e95a85","size":24383471}]} 23:44:48.331723 trace git-lfs: tq: starting transfer adapter "basic" 23:44:48.332715 trace git-lfs: HTTP: PUT https://gitlab.company.com/site/site.git/gitlab-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429 23:44:48.341704 trace git-lfs: HTTP: 404 23:44:48.342697 trace git-lfs: tq: retrying object 0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6: LFS: Repository or object not found: https://gitlab.company.com/site/site.git/gitla b-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429 Check that it exists and that you have proper access to it 23:44:48.343691 trace git-lfs: tq: enqueue retry #1 for "0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6" (size: 35409429) 23:44:48.344689 trace git-lfs: tq: sending batch of size 1 23:44:48.345689 trace git-lfs: api: batch 1 files 23:44:48.346684 trace git-lfs: creds: git credential cache ("https", "gitlab.company.com", "") 23:44:48.346684 trace git-lfs: Filled credentials for https://gitlab.company.com/site/site.git 23:44:48.347678 trace git-lfs: HTTP: POST https://gitlab.company.com/site/site.git/info/lfs/objects/batch 23:44:48.479096 trace git-lfs: HTTP: 200 23:44:48.479096 trace git-lfs: HTTP: {"objects":[{"oid":"0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6","size":35409429,"actions":{"upload":{"href":"https://gitlab.company.com/site/site- site.git/gitlab-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429","header":{"Authorization":"Basic YWxleGFuZGVyLnR1cnRzZXZpY2hAaXRtaW50LmNhOmtlcnBsdW5r","Content-Type":" application/octet-stream"}}}}]} 23:44:48.481081 trace git-lfs: tq: starting transfer adapter "basic" 23:44:48.482048 trace git-lfs: HTTP: PUT https://gitlab.company.com/site/site.git/gitlab-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429 23:44:48.490031 trace git-lfs: HTTP: 404 23:44:48.491024 trace git-lfs: tq: retrying object 0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6: LFS: Repository or object not found: https://gitlab.company.com/site/site.git/gitla b-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429 Check that it exists and that you have proper access to it 23:44:48.492021 trace git-lfs: tq: enqueue retry #2 for "0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6" (size: 35409429) 23:44:48.493017 trace git-lfs: tq: sending batch of size 1 23:44:48.493017 trace git-lfs: api: batch 1 files 23:44:48.494014 trace git-lfs: creds: git credential cache ("https", "gitlab.company.com", "") 23:44:48.494014 trace git-lfs: Filled credentials for https://gitlab.company.com/site/site.git 23:44:48.495010 trace git-lfs: HTTP: POST https://gitlab.company.com/site/site.git/info/lfs/objects/batch 23:44:48.628275 trace git-lfs: HTTP: 200 23:44:48.629286 trace git-lfs: HTTP: {"objects":[{"oid":"0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6","size":35409429,"actions":{"upload":{"href":"https://gitlab.company.com/site/site- site.git/gitlab-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429","header":{"Authorization":"Basic YWxleGFuZGVyLnR1cnRzZXZpY2hAaXRtaW50LmNhOmtlcnBsdW5r","Content-Type":" application/octet-stream"}}}}]} 23:44:48.630316 trace git-lfs: tq: starting transfer adapter "basic" 23:44:48.631277 trace git-lfs: HTTP: PUT https://gitlab.company.com/site/site.git/gitlab-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429 23:44:48.641255 trace git-lfs: HTTP: 404 23:44:48.641255 trace git-lfs: tq: retrying object 0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6: LFS: Repository or object not found: https://gitlab.company.com/site/site.git/gitla b-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429 Check that it exists and that you have proper access to it 23:44:48.643245 trace git-lfs: tq: enqueue retry #3 for "0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6" (size: 35409429) 23:44:48.644246 trace git-lfs: tq: sending batch of size 1 23:44:48.645238 trace git-lfs: api: batch 1 files 23:44:48.645238 trace git-lfs: creds: git credential cache ("https", "gitlab.company.com", "") 23:44:48.646235 trace git-lfs: Filled credentials for https://gitlab.company.com/site/site.git 23:44:48.647231 trace git-lfs: HTTP: POST https://gitlab.company.com/site/site.git/info/lfs/objects/batch 23:44:48.772061 trace git-lfs: HTTP: 200 23:44:48.772061 trace git-lfs: HTTP: {"objects":[{"oid":"0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6","size":35409429,"actions":{"upload":{"href":"https://gitlab.company.com/site/site- site.git/gitlab-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429","header":{"Authorization":"Basic YWxleGFuZGVyLnR1cnRzZXZpY2hAaXRtaW50LmNhOmtlcnBsdW5r","Content-Type":" application/octet-stream"}}}}]} 23:44:48.773962 trace git-lfs: tq: starting transfer adapter "basic" 23:44:48.774960 trace git-lfs: HTTP: PUT https://gitlab.company.com/site/site.git/gitlab-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429 23:44:48.784972 trace git-lfs: HTTP: 404 23:44:48.785932 trace git-lfs: tq: retrying object 0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6: LFS: Repository or object not found: https://gitlab.company.com/site/site.git/gitla b-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429 Check that it exists and that you have proper access to it 23:44:48.786929 trace git-lfs: tq: enqueue retry #4 for "0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6" (size: 35409429) 23:44:48.787923 trace git-lfs: tq: sending batch of size 1 23:44:48.788922 trace git-lfs: api: batch 1 files 23:44:48.789918 trace git-lfs: creds: git credential cache ("https", "gitlab.company.com", "") 23:44:48.790917 trace git-lfs: Filled credentials for https://gitlab.company.com/site/site.git 23:44:48.792915 trace git-lfs: HTTP: POST https://gitlab.company.com/site/site.git/info/lfs/objects/batch 23:44:48.929036 trace git-lfs: HTTP: 200 23:44:48.929948 trace git-lfs: HTTP: {"objects":[{"oid":"0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6","size":35409429,"actions":{"upload":{"href":"https://gitlab.company.com/site/site- site.git/gitlab-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429","header":{"Authorization":"Basic YWxleGFuZGVyLnR1cnRzZXZpY2hAaXRtaW50LmNhOmtlcnBsdW5r","Content-Type":" application/octet-stream"}}}}]} 23:44:48.931941 trace git-lfs: tq: starting transfer adapter "basic" 23:44:48.932938 trace git-lfs: HTTP: PUT https://gitlab.company.com/site/site.git/gitlab-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429 23:44:48.940924 trace git-lfs: HTTP: 404 23:44:48.940924 trace git-lfs: tq: retrying object 0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6: LFS: Repository or object not found: https://gitlab.company.com/site/site.git/gitla b-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429 Check that it exists and that you have proper access to it 23:44:48.941918 trace git-lfs: tq: enqueue retry #5 for "0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6" (size: 35409429) 23:44:48.942912 trace git-lfs: tq: sending batch of size 1 23:44:48.944907 trace git-lfs: api: batch 1 files 23:44:48.945905 trace git-lfs: creds: git credential cache ("https", "gitlab.company.com", "") 23:44:48.945905 trace git-lfs: Filled credentials for https://gitlab.company.com/site/site.git 23:44:48.946903 trace git-lfs: HTTP: POST https://gitlab.company.com/site/site.git/info/lfs/objects/batch 23:44:49.070623 trace git-lfs: HTTP: 200 23:44:49.071589 trace git-lfs: HTTP: {"objects":[{"oid":"0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6","size":35409429,"actions":{"upload":{"href":"https://gitlab.company.com/site/site- site.git/gitlab-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429","header":{"Authorization":"Basic YWxleGFuZGVyLnR1cnRzZXZpY2hAaXRtaW50LmNhOmtlcnBsdW5r","Content-Type":" application/octet-stream"}}}}]} 23:44:49.072617 trace git-lfs: tq: starting transfer adapter "basic" 23:44:49.073586 trace git-lfs: HTTP: PUT https://gitlab.company.com/site/site.git/gitlab-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429 23:44:49.081675 trace git-lfs: HTTP: 404 23:44:49.081675 trace git-lfs: tq: retrying object 0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6: LFS: Repository or object not found: https://gitlab.company.com/site/site.git/gitla b-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429 Check that it exists and that you have proper access to it 23:44:49.082679 trace git-lfs: tq: enqueue retry #6 for "0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6" (size: 35409429) 23:44:49.083677 trace git-lfs: tq: sending batch of size 1 23:44:49.084674 trace git-lfs: api: batch 1 files 23:44:49.085675 trace git-lfs: creds: git credential cache ("https", "gitlab.company.com", "") 23:44:49.086671 trace git-lfs: Filled credentials for https://gitlab.company.com/site/site.git 23:44:49.086671 trace git-lfs: HTTP: POST https://gitlab.company.com/site/site.git/info/lfs/objects/batch 23:44:49.214816 trace git-lfs: HTTP: 200 23:44:49.215813 trace git-lfs: HTTP: {"objects":[{"oid":"0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6","size":35409429,"actions":{"upload":{"href":"https://gitlab.company.com/site/site- site.git/gitlab-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429","header":{"Authorization":"Basic YWxleGFuZGVyLnR1cnRzZXZpY2hAaXRtaW50LmNhOmtlcnBsdW5r","Content-Type":" application/octet-stream"}}}}]} 23:44:49.216813 trace git-lfs: tq: starting transfer adapter "basic" 23:44:49.218808 trace git-lfs: HTTP: PUT https://gitlab.company.com/site/site.git/gitlab-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429 23:44:49.226785 trace git-lfs: HTTP: 404 23:44:49.226785 trace git-lfs: tq: retrying object 0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6: LFS: Repository or object not found: https://gitlab.company.com/site/site.git/gitla b-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429 Check that it exists and that you have proper access to it 23:44:49.227789 trace git-lfs: tq: enqueue retry #7 for "0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6" (size: 35409429) 23:44:49.228779 trace git-lfs: tq: sending batch of size 1 23:44:49.229778 trace git-lfs: api: batch 1 files 23:44:49.230779 trace git-lfs: creds: git credential cache ("https", "gitlab.company.com", "") 23:44:49.231771 trace git-lfs: Filled credentials for https://gitlab.company.com/site/site.git 23:44:49.232775 trace git-lfs: HTTP: POST https://gitlab.company.com/site/site.git/info/lfs/objects/batch 23:44:49.349041 trace git-lfs: HTTP: 200 23:44:49.350061 trace git-lfs: HTTP: {"objects":[{"oid":"0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6","size":35409429,"actions":{"upload":{"href":"https://gitlab.company.com/site/site- site.git/gitlab-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429","header":{"Authorization":"Basic YWxleGFuZGVyLnR1cnRzZXZpY2hAaXRtaW50LmNhOmtlcnBsdW5r","Content-Type":" application/octet-stream"}}}}]} 23:44:49.351036 trace git-lfs: tq: starting transfer adapter "basic" 23:44:49.352033 trace git-lfs: HTTP: PUT https://gitlab.company.com/site/site.git/gitlab-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429 23:44:49.361009 trace git-lfs: HTTP: 404 23:44:49.361009 trace git-lfs: tq: retrying object 0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6: LFS: Repository or object not found: https://gitlab.company.com/site/site.git/gitla b-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429 Check that it exists and that you have proper access to it 23:44:49.362007 trace git-lfs: tq: enqueue retry #8 for "0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6" (size: 35409429) 23:44:49.363002 trace git-lfs: tq: sending batch of size 1 23:44:49.363999 trace git-lfs: api: batch 1 files 23:44:49.364996 trace git-lfs: creds: git credential cache ("https", "gitlab.company.com", "") 23:44:49.365993 trace git-lfs: Filled credentials for https://gitlab.company.com/site/site.git 23:44:49.365993 trace git-lfs: HTTP: POST https://gitlab.company.com/site/site.git/info/lfs/objects/batch 23:44:49.498294 trace git-lfs: HTTP: 200 23:44:49.499156 trace git-lfs: HTTP: {"objects":[{"oid":"0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6","size":35409429,"actions":{"upload":{"href":"https://gitlab.company.com/site/site- site.git/gitlab-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429","header":{"Authorization":"Basic YWxleGFuZGVyLnR1cnRzZXZpY2hAaXRtaW50LmNhOmtlcnBsdW5r","Content-Type":" application/octet-stream"}}}}]} 23:44:49.500189 trace git-lfs: tq: starting transfer adapter "basic" 23:44:49.502147 trace git-lfs: HTTP: PUT https://gitlab.company.com/site/site.git/gitlab-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429 23:44:49.511162 trace git-lfs: HTTP: 404 23:44:49.512122 trace git-lfs: tq: refusing to retry "0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6", too many retries (8) LFS: Repository or object not found: https://gitlab.company.com/site/site.git/gitlab-lfs/objects/0b468e069c1909f42799b5d02d808755d7168b9b0042dde15851a129bc1748d6/35409429 Check that it exists and that you have proper access to it ``` Is there any way to prune broken files? Is there way to force push or overwrite?
issue