Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bitbucket git LFS giving weird error message

I have worked on a git LFS via bitbucket for a while with no problem. I was working on my own but recently a trainee has joined me and we do not manage to push files from his machines.

We have been able to clone the repo on his machine (including the large files), make a few local commits with no problem. Though when it comes to pushing we have an authentication problem that says

Authentication required: Authorization error: https://bitbucket... ... Check that you have proper access to the repository

The problem is shown in the image below:

enter image description here

Note that my trainee has write access rights to the repo (in bitbucket).

Any idea of what's going on?

like image 534
arennuit Avatar asked Mar 10 '17 10:03

arennuit


1 Answers

This is a known issue: https://jira.atlassian.com/browse/BSERV-9623

Jade Skaggs suggests in one of the comments to execute

git config 'lfs.locksverify' false

for any affected repo.

This works for me. It may have unwanted side effects, though.

EDIT:

It should be noted that the warning about the authentication and authorization is just that: a warning.

You can choose to ignore it. The push does succeed.

like image 113
JeliJami Avatar answered Oct 03 '22 20:10

JeliJami