Bitbucket Fails To Start on Windows, Please add git version 1.7.6 or higher to the PATH
プラットフォームについて: 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 は除く
症状
mysysGit is installed on Windows but Bitbucket Server fails to start with the following message:
2012-07-10 14:31:33,656 ERROR [main] c.a.s.i.scm.PluginScmClientProvider git was not found on the PATH for Bitbucket Server. Please add git version 1.7.6 or higher to the PATH and restart Bitbucket Server.原因
The mysysGit installer modifies the environment variable %PATH% such that <...>\Git\cmd precedes <...>\Git\bin and Bitbucket Server is currently configured to check for Git using "git version" which calls <...>\Git\cmd\git.cmd and fails. The following bug has been raised to correct the call:
BSERV-2536 - msysgit installed on Windows, still get "git was not found on the PATH for Stash"
ソリューション
Modify the %PATH% environment variable so the path <...>\Git\bin comes before <...>\Git\cmd.
この内容はお役に立ちましたか?