Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

LFS error "failed to push some refs" troubleshooting

After installing Sourcetree on a new computer (Windows 8.1 Pro) I am getting the following error while trying to push files:

============

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin master:master
Pushing to http://wolgr@git.termaonline.com/root/3D.git
Uploading LFS objects: 0% (0/1), 0 B | 0 B/s
Uploading LFS objects: 0% (0/1), 0 B | 0 B/s, done

Fatal error: Server error: http://git.termaonline.com/root/3D.git/gitlab-lfs/objects/f26bc4fdbe520d3e6c5c622245ddbf0011a576b72b6d80e831487049f59c81bd/119567
error: failed to push some refs to 'http://wolgr@git.termaonline.com/root/3D.git'
Completed with errors, see above.

============

I have tried many solutions (reinstalling Sourcetree, GIT and LFS, deleting and cloning the repository again, running the git push command from the terminal... Nothing worked. The push operation works fine with small files, however when it comes to larger ones (requiring LFS) I am getting the error. The curious thing is that I am still able to push large files from the old machine. The sourcetree settings on both machines seem to be the same except for the Authentication Git Saved Passwords details.

On the old machine I had the following:

git.servername.com

On the new one the system automatically creates two entries:

git.servername.com

username@git.servername.com

I will appreciate any hints, suggestions on how to troubleshoot and solve this issue.

1 answer

0 votes
Mike Corsaro Atlassian Team Jun 26, 2019

Hello! Sounds like your issue might be similar to something like this?

Could you run the push command via terminal, and then run the following to see the logs?

git lfs logs last

 

Thanks!

Hi,

Thank you for the hint. After entering the "git push" command I am getting the familiar error:

K:\08_GIT\3D> git push
Uploading LFS objects: 0% (0/1), 0 B | 0 B/s, done
Fatal error: Server error: http://git.reponame.com/root/3D.git/gitlab-lfs/obj
ects/f26bc4fdbe520d3e6c5c622245ddbf0011a576b72b6d80e831487049f59c81bd/119567
error: failed to push some refs to 'http://username@git.reponame.com/root/3D.git
'

Then after entering the "git lfs logs last" I am getting the "No logs to show" message:

K:\08_GIT\3D> git lfs logs last
No logs to show

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

3,041 views 4 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you