添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
逆袭的沙滩裤  ·  New LFS content is ...·  5 天前    · 
耍酷的生菜  ·  Git ...·  1 周前    · 
玩手机的西红柿  ·  Problem getting ...·  2 月前    · 
爱吹牛的香烟  ·  Some git-lfs tracked ...·  2 月前    · 
聪明伶俐的松鼠  ·  Help flags ...·  2 月前    · 
礼貌的哑铃  ·  【异常】java: Internal ...·  1 月前    · 
跑龙套的单杠  ·  兵事网-逆刃刀·  2 月前    · 

A Git backup job fails with the error: 10264 36c4 06/28 07:25:45 9776970 CGitCmdUtils::ShouldIgnoreError(211) - [[git-lfs-push] failed with [error: failed to fetch some objects from 'https://dev.azure.com/company/projectA.git/info/lfs']]"

Article ID: 83346

Article Type: Troubleshooting

Last Modified:

Git backup jobs fail.

Symptoms

A Git backup jobs fail with the following error message in the Command Center: 10264 36c4 06/28 07:25:45 9776970 CGitCmdUtils::ShouldIgnoreError(211) - [[git-lfs-push] failed with [error: failed to fetch some objects from ' https://dev.azure.com/company/projectA.git/info/lfs ']]"

Causes

Git backup jobs fail while fetching Large File Storage (LFS) objects from Git.

Resolution

  • Make sure that  Git & Git LFS are using recent versions (3.4.1 and higher). To check the versions of Git and Git LFS, run the commands: git lfs -version git --version
  • To create a local bare repository, and to fetch and push all LFS objects to/from the remote repository, run the following commands on the access node: git clone -bare https://Token:< Access >@dev.azure.com/Company/Projects/_git/ProjectA cd ProjectA git config http.version HTTP/1.1 git lfs fetch --all https://Token:< Access Token >@dev.azure.com/Company/Projects/_git/ProjectA git lfs push --all https://Token:< Access Token >@dev.azure.com/Company/Projects/_git/ProjectA Replace < Access Token > with your PAT and validate that the Git LFS commands do not fail. If the repositories were migrated from another source, it's possible that the LFS objects were not properly copied or pushed. Therefore, the “ git lfs fetch –all ” command could fail with the error: “[404] LFS object not found”. This error means that the server does not have some LFS objects. If the source repository is somewhere where all the LFS objects are intact , running the “ git lfs push --all https://Token:< Access Token >@dev.azure.com/Company/Projects/_git/ProjectA " command with the appropriate repository URL can fix this.
  • If the highest file size is 1GB, then configure buffer size to 1GB. To set the buffer size for Git POST operationsto the maximum file size available in the repository, run the commands: git config --global http.postBuffer 1024000000 git config --system http.postBuffer 1024000000
  • 1 Commvault Way, Tinton Falls, NJ 07724 Sitemap | Legal Notices | Trademarks | Privacy Policy
    2022 Commvault | All Rights Reserved.