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

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

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.

Cause

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 - Getting issue details... STATUS

Resolution

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

Last modified on Mar 30, 2016

Was this helpful?

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