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

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

Obss Sysadmin September 28, 2021

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

0 votes
John Lawlor September 29, 2021

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
AUG Leaders

Atlassian Community Events