Stash Fails To Start on Windows, Please add git version 1.7.6 or higher to the PATH

Troubleshooting Installation

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

mysysGit is installed on Windows but Stash 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 Stash. Please add git version 1.7.6 or higher to the PATH and restart Stash.

Cause

The mysysGit installer modifies the environment variable %PATH% such that <...>\Git\cmd precedes <...>\Git\bin and Stash 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:

STASH-2536 - Getting issue details... STATUS

Resolution

Modify the %PATH% environment variable so the path <...>\Git\bin comes before <...>\Git\cmd.

Help us improve!

Unknown macro: {kbsurvey}
Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.