Skip to content

After cloning I get only pointers to files #4911

@eliasnas

Description

@eliasnas

I am trying to clone a repository which includes submodules that include packages of type GIT LFS. I am doing so in two ways, and failing in both:

  1. I create a new folder and run git-lfs install and then I run the cloning command, at the end I don't get the full sized packages, just pointers.

  2. After cloning I run git-lfs install and then git-lfs pull inside the folder of one submodule called pytm_win. In this case the pulling starts with this message: "Downloading LFS objects" and I get stuck at 0% for a while, and then I get these errors:
    batch request: exec request failed on channel 0: exit status 255
    Failed to fetch some objects from '<The server URL>'

I am trying to do so on Windows Server 2012 R2, and other team members who work on the same server cloned the whole packages successfully, so I am not sure if it is a problem with the client or the server itself.

When running git lfs env inside the submodule pytm_win this is the output:

git-lfs/3.1.2 (GitHub; windows amd64; go 1.17.6)
git version 2.31.1.windows.1

Endpoint=<The server URL> (auth=none)
SSH=<The server URL>
LocalWorkingDir=D:\Workarea\Users\eliasnas\GIT\PyTM\titan-pytm-tests\.pytm_framework\dist\pytm_win
LocalGitDir=D:\Workarea\Users\eliasnas\GIT\PyTM\titan-pytm-tests\.git\modules\.pytm_framework\modules\dist\pytm_win
LocalGitStorageDir=D:\Workarea\Users\eliasnas\GIT\PyTM\titan-pytm-tests\.git\modules\.pytm_framework\modules\dist\pytm_win
LocalMediaDir=D:\Workarea\Users\eliasnas\GIT\PyTM\titan-pytm-tests\.git\modules\.pytm_framework\modules\dist\pytm_win\lfs\objects
LocalReferenceDirs=
TempDir=D:\Workarea\Users\eliasnas\GIT\PyTM\titan-pytm-tests\.git\modules\.pytm_framework\modules\dist\pytm_win\lfs\tmp
ConcurrentTransfers=8
TusTransfers=false
BasicTransfersOnly=false
SkipDownloadErrors=false
FetchRecentAlways=false
FetchRecentRefsDays=7
FetchRecentCommitsDays=0
FetchRecentRefsIncludeRemotes=true
PruneOffsetDays=3
PruneVerifyRemoteAlways=false
PruneRemoteName=origin
LfsStorageDir=D:\Workarea\Users\eliasnas\GIT\PyTM\titan-pytm-tests\.git\modules\.pytm_framework\modules\dist\pytm_win\lfs
AccessDownload=none
AccessUpload=none
DownloadTransfers=basic,lfs-standalone-file,ssh
UploadTransfers=basic,lfs-standalone-file,ssh
GIT_EXEC_PATH=C:/Program Files/Git/mingw64/libexec/git-core
GIT_LFS_PATH=C:\Users\eliasnas\AppData\Local\Programs\Git LFS
GIT_SSH=C:\Program Files\Git\usr\bin\ssh.exe
git config filter.lfs.process = "git-lfs filter-process"
git config filter.lfs.smudge = "git-lfs smudge -- %f"
git config filter.lfs.clean = "git-lfs clean -- %f"

I would like to know if anybody has some suggestions to solve this issue.

Thanks in advance,
Elias

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions