Hi there!
I am using my own custom bitbucket server for managing large files but I am getting the following error when trying to push a commit which contains LFS files.
lotte@lotte:/media/lotte/data2/deep-learning$ git push origin master
batch response: Authorization error: http://bitbucket.lars.com/scm/di/deep-learning.git/info/lfs/objects/batch
Check that you have proper access to the repository
error: failed to push some refs to 'ssh://git@10.15.56.72:7999/di/deep-learning.git'
I have already given access to the user and generated an ssh key. I have also enabled the lfs option for the repository as explained in here
This is is a more detailed output
GIT_TRACE=1 git push origin master
13:49:48.669270 git.c:344 trace: built-in: git 'push' 'origin' 'master'
13:49:48.669660 run-command.c:334 trace: run_command: 'ssh' '-p' '7999' 'git@10.15.56.72' 'git-receive-pack '\''/di/deep-learning.git'\'''
13:49:48.826746 run-command.c:334 trace: run_command: '.git/hooks/pre-push' 'origin' 'ssh://git@10.15.56.72:7999/di/deep-learning.git'
13:49:48.829168 git.c:561 trace: exec: 'git-lfs' 'pre-push' 'origin' 'ssh://git@10.15.56.72:7999/di/deep-learning.git'
13:49:48.829212 run-command.c:334 trace: run_command: 'git-lfs' 'pre-push' 'origin' 'ssh://git@10.15.56.72:7999/di/deep-learning.git'
13:49:48.833697 trace git-lfs: exec: git 'version'
13:49:48.837837 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=cat' '-c' 'filter.lfs.clean=cat' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'rev-parse' 'HEAD' '--symbolic-full-name' 'HEAD'
13:49:48.842395 trace git-lfs: exec: git 'config' '-l'
13:49:48.844936 trace git-lfs: pre-push: refs/heads/master a55b1c29e8e5a5d98f37f70857c5dc14d4106a3e refs/heads/master 5642fa6ea3d1d9a66e277efc1171c020c5736bdc
13:49:48.987305 trace git-lfs: tq: running as batched queue, batch size of 100
13:49:48.987551 trace git-lfs: run_command: git rev-list --stdin --objects --not --remotes=origin --
13:49:48.988902 trace git-lfs: run_command: git cat-file --batch
13:49:48.991631 trace git-lfs: tq: sending batch of size 1
13:49:48.991878 trace git-lfs: run_command: ssh -p 7999 -- git@10.15.56.72 git-lfs-authenticate di/deep-learning.git upload
13:49:49.115327 trace git-lfs: api: batch 1 files
13:49:49.115589 trace git-lfs: HTTP: POST http://bitbucket.lars.com/scm/di/deep-learning.git/info/lfs/objects/batch
13:49:49.323935 trace git-lfs: HTTP: 403
13:49:49.324077 trace git-lfs: api error: Authorization error: http://bitbucket.lars.com/scm/di/deep-learning.git/info/lfs/objects/batch
Check that you have proper access to the repository
batch response: Authorization error: http://bitbucket.lars.com/scm/di/deep-learning.git/info/lfs/objects/batch
Check that you have proper access to the repository
error: failed to push some refs to 'ssh://git@10.15.56.72:7999/di/deep-learning.git'