Git was not found on the PATH for Stash
症状
When starting up Stash, unable to locate git on the PATH for Stash
ERROR [main] c.a.s.i.scm.PluginScmClientProvider ***************************************************************************
ERROR [main] c.a.s.i.scm.PluginScmClientProvider git was not found on the PATH for Stash. Please add git version 1.7.6 or Restart Stash.
ERROR [main] c.a.s.i.scm.PluginScmClientProvider **************************************************************************
原因
This is due to git not existing on the PATH
または
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.stash.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.stash.exception.ServerException: An error occurred while executing an external process: java.io.IOException: error=12, Cannot allocate memory
ソリューション
Please see https://answers.atlassian.com/questions/82492/stash-requires-git-1-7-6-but-git-1-7-11-is-installed
最終更新日 2012 年 11 月 21 日
Powered by Confluence and Scroll Viewport.