Unable to Push to Bitbucket Server Repository

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

問題

Pushing a commit to a Bitbucket Server repository fails with the following error:

> git push
Counting objects: 137, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (109/109), done.
Writing objects: 100% (110/110), 12.76 KiB, done.
Total 110 (delta 77), reused 0 (delta 0)
error: RPC failed; result=22, HTTP code = 500
fatal: The remote end hung up unexpectedly
fatal: recursion detected in die handler
Everything up-to-date

And the following is visible in the atlassian-bitbucket.log:

2013-04-17 16:14:55,825 ERROR [http-bio-7990-exec-75] admin 974x4683x1 1vtghb2 203.217.61.114,172.16.0.25 "POST /scm/API/reponame.git/git-receive-pack HTTP/1.1" c.a.s.i.s.g.web.GitSmartExitHandler Request for repo 'Reponame' of project 'API' from '192.168.1.10' failed: write process '/usr/bin/git http-backend ' caused an exception

診断

From the command line, run the following command in your repository:

git fsck 

原因

The repository has been corrupted.

ソリューション

Re-clone the repository in another location and make sure that there are no other issues by running the git fsck command again.

 

Last modified on Mar 18, 2016

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.