git push of repo using lfs fails

Issue #13942 invalid
Bas Mevissen
created an issue

Hi, I've created a (new) testing repository with some larger binaries tracked as lfs files. I've followed the documentation from

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

$ git push Git LFS: (0 of 1 files) 5.00 MB / 5.00 MB
Authentication required: Authorization error: Check that you have proper access to the repository error: failed to push some refs to ''

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:

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 ''

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

Any idea what is going on?

Comments (16)

  1. Gabriel Marcolino staff

    Hello Bas,

    We've marked this issue as invalid since this page is for tracking known bugs and feature requests on Bitbucket. We went ahead and created a support ticket for you under your Bitbucket email. Soon a Bitbucket engineer will be contacting you.


  2. Jason Bakker

    Hmm... Not sure whether this would affect it at all, but by switching to the git credential manager for windows (I think that's what I'm doing) the problem stopped occurring. I set the following in the git config:

    git config credential.helper manager

  3. Mario Cada

    In 2.0.2 this bug is still existing, also with older versions, tested back to 1.5.6. and changed nothing! Working for hours to get my new repository on the server, no chance!

  4. Log in to comment