Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Pushing large # of commits fails with " remote unpack failed: index-pack abnormal exit"

We have been using bitbucket for a year or so. The issue we have is when pushing a large-ish number of commits (say 40-60).  When we push, the remote returns this error (edited a bit to hide internal details):

C:\mycode>git push --set-upstream origin feature/mybranch

Enumerating objects: 1387, done.
Counting objects: 100% (1351/1351), done.
Compressing objects: 100% (356/356), done.
remote: usage: git index-pack [-v] [-o <index-file>] [--keep | --keep=<msg>] [--verify] [--strict] (<pack-file> | --stdin [--fix-thin] [<pack-file>])
fatal: sha1 file '<stdout>' write error: Broken pipe
error: remote unpack failed: index-pack abnormal exit
To ssh://mybitbucket:2222/mycode.git
! [remote rejected] feature/mybranch -> feature/mybranch (unpacker error)
error: failed to push some refs to 'ssh://mybitbucket:2222/mycode.git'

If I painstakingly/manually push the commits one by one, it will work.  However this is time consuming; I should be able to push all of my local commits in one push.

I've played with some client-side settings regarding pack limits to no avail.  I feel like something is wrong on the server because of that "remote: usage: git index-pack" output?

Any ideas? Thanks!

1 answer

0 votes
Mikael Sandberg Community Leader Jan 24, 2020

Hi @John Lindwall,

Welcome to Atlassian Community.

Have you checked the disk space on your Bitbucket server? Does this only happen for one user or all your users? If only for one it could indicate that that clone is corrupted. Have you tried cloning the repository again and then push in the new one?   

Thanks for the response.  I have opened a support case for this issue with Atlassian and they are working through various investigations with me.

Disk space on the server is fine. Has happened to several different users using several different repos.

Suggest an answer

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

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

441 views 4 4
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