org.eclipse.jgit.util.FS fatal: Could not switch to <git installation>/git/etc/ No such file or directory
プラットフォームについて: 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 は除く
問題
Following entries constantly repeat in Bitbucket server logs
org.eclipse.jgit.util.FS fatal: Could not switch to '<git>/etc/' No such file or directoryまたは
org.eclipse.jgit.util.FS Exception caught during execution of command '[git, config, --system, --edit]' in '/usr/local/bin', return code '128', error message 'fatal: Could not switch to '<git>/etc/': No such file or directory原因
This is related to an issue that happens with JGit when git is compiled from source and appears in RedHat flavors of Linux.
You can read more on it at :https://bugs.eclipse.org/bugs/show_bug.cgi?id=476639
ソリューション
Create the missing directory reported in log e.g. /usr/local/git/etc/
更新日時: September 25, 2025
この内容はお役に立ちましたか?
さらにヘルプが必要ですか?
アトラシアン コミュニティをご利用ください。