Git was not found on the PATH for Bitbucket Server

お困りですか?

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

コミュニティに質問

症状

When starting up Bitbucket Server, unable to locate git on the PATH for Bitbucket Server

ERROR [main]  c.a.s.i.scm.PluginScmClientProvider ***************************************************************************
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 Restart Bitbucket Server.
ERROR [main]  c.a.s.i.scm.PluginScmClientProvider **************************************************************************

原因

原因 1

This is due to git not existing on the PATH

原因 2

This may happen in a non-compatible OS. Please review the Supported Platforms page to make sure you're using a supported OS.

原因 3

It could be caused by Forking JVM: error=12. If you see either of the following errors a few lines above, please follow the resolution on that page.

 

WARN  [Spring executor 3]  c.a.s.i.s.g.l.GitBinaryLookupImpl /usr/bin/git is not a Git executable: com.atlassian.bitbucket.exception.ServerException: An error occurred while executing an external process: java.io.IOException: error=12, Cannot allocate memory
WARN  [Spring executor 3]  c.a.s.i.s.g.l.GitBinaryLookupImpl /usr/bin/git is not a Git executable: com.atlassian.bitbucket.exception.ServerException: An error occurred while executing an external process: java.io.IOException: error=12, Cannot allocate memory

 

ソリューション

原因 2

For SunOS it was observed this may happen when using Java 8. Using Java 7 instead helped solving the problem.

 

 

 

 

 

 

 

 

 


最終更新日 2018 年 11 月 2 日

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

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