Unable to Push to Bitbucket Server Repository

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

要約

問題

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.

更新日時: September 26, 2025

さらにヘルプが必要ですか?

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