Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-10135

Git LFS + mirrors + SSH does not work

    XMLWordPrintable

Details

    Description

      Cloning a repository that has LFS content, via SSH, via a mirror, from a personal repository does not work:

      $ git clone ssh://git@bitbucket-mirror.example.com:7999/stash/~username/lfstest.git
      Cloning into 'lfstest'...
      remote: Counting objects: 28, done.
      remote: Compressing objects: 100% (23/23), done.
      remote: Total 28 (delta 4), reused 0 (delta 0)
      Receiving objects: 100% (28/28), done.
      Resolving deltas: 100% (4/4), done.
      Downloading test.bin (2.1 MB)
      Error downloading object: test.bin (78293b8): Smudge error: Error downloading test.bin (78293b872e58736d462ddd040762955ad995be18e1ff2154345413a782d14110): batch request: Bitbucket cannot not execute "proxy 8204 git-lfs-authenticate /~username/lfstest download". The command is not supported as entered.
      
      Ensure you are using a supported SCM, check the syntax and try again.: exit status 1
      
      Errors logged to /private/tmp/lfstest/.git/lfs/objects/logs/20170906T110757.721406214.log
      Use `git lfs logs last` to view the log.
      error: external filter 'git-lfs filter-process' failed
      fatal: ben.bin: smudge filter lfs failed
      warning: Clone succeeded, but checkout failed.
      You can inspect what was checked out with 'git status'
      and retry the checkout with 'git checkout -f HEAD'
      

      Workarounds

      • Clone from the primary (i.e. the upstream)
      • Clone using a HTTP URL

       

      Update:

      We have confirmed that this issue affects all repositories on mirrors, not just personal repositories.

      Attachments

        Issue Links

          Activity

            People

              behumphreys Ben Humphreys
              behumphreys Ben Humphreys
              Votes:
              3 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: