Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-13942

git push of repo using lfs fails

    XMLWordPrintable

Details

    Description

      Hi,
      I've created a (new) testing repository with some larger binaries tracked as lfs files. I've followed the documentation from https://www.atlassian.com/git/tutorials/git-lfs#creating-new-repository

      Adding and committing the files locally goes fine. However, the push to the bitbucket.org server fails:

      $ git push
      Git LFS: (0 of 1 files) 5.00 MB / 5.00 MB
      Authentication required: Authorization error: https://bitbucket.org/%7B%7D/%7Bceab775b-2209-4f4e-8edc-d884a5397085%7D/info/lfs/object/verify?upload_id=e435ab36-e3fe-414b-b896-2c32402f6ea1\\
      Check that you have proper access to the repository
      error: failed to push some refs to 'https://basmevissen@bitbucket.org/emcodev/test_git_lfs.git'

      I've made the repo public in an attempt to solve my auth errors, but that did not really help:

      $ git push
      Git LFS: (0 of 1 files) 5.00 MB / 5.00 MB
      Fatal error: Server error: https://bitbucket.org/%7B%7D/%7Bceab775b-2209-4f4e-8edc-d884a5397085%7D/info/lfs/object/verify?upload_id=8841f4a1-28d6-4091-9c9e-f8f625358d11

      Errors logged to /home/bas/Workspace/emcodev/test_git_lfs/.git/lfs/objects/logs/20170305T164905.768079534.log
      Use git lfs logs last to view the log.
      error: failed to push some refs to 'https://basmevissen@bitbucket.org/emcodev/test_git_lfs.git'

      Host info:
      Centos 7 x86_64
      git-lfs/2.0.0 (GitHub; linux amd64; go 1.8; git 540e90b)
      git version 1.8.3.1

      Any idea what is going on?

      Attachments

        Activity

          People

            Unassigned Unassigned
            9533ff2e8885 basmevissen
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: