Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,446
Community Members
 
Community Events
165
Community Groups

Getting an error when pushing to a repo on Bitbucket v7.6.9

Hello,

There are 4 different folders in a folder and files in them.
sample content
folder/
folder/folder1/test.py
folder/folder1/README.md
folder/folder1/metafile.yml
folder/folder2/test.py
folder/folder2/README.md
folder/folder2/metafile.yml

If I upload the files one by one, there is no problem, but when I try to upload them all at once, I get the following error.

$ git push origin test_push
Counting objects: 123, done.
Delta compression using up to 16 threads.
Compressing objects: 100% (57/57), done.
Writing objects: 100% (123/123), 116.73 KiB | 116.73 MiB/s, done.
Total 123 (delta 78), reused 110 (delta 65)
remote: usage: git index-pack [-v] [-o <index-file>] [--keep | --keep=<msg>] [--verify] [--strict] (<pack-file> | --stdin [--fix-thin] [<pack-file>])
error: remote unpack failed: index-pack abnormal exit
To ssh://bitbucket-local.com:7999/test/test.git
! [remote rejected] test_push -> test_push (unpacker error)
error: failed to push some refs to 'ssh://git@bitbucket-local.com:7999/test/test.git

Bitbucket logs
Git hooks have not been called. Please verify that the hooks are configured correctly - see confluence atlassian  / display/BITBUCKETSERVERKB/Git+hook+scripts+are+not+executing?utm_campaign=in-app-help&utm_medium=in-app-help&utm_source=stash for details

I tried almost all the solutions on the internet but I couldn't find the solution. What steps should we take to fix this error?

 

 

1 answer

Are you able to access the logs on the Bitbucket server? Can you post the log here?

Suggest an answer

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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,214 views 2 9
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