Git was not found on the PATH for Bitbucket


I am currently in the process of Installing Bitbucket Server on our Windows Server 2012 R2 machine.

I have installed Git 2.6.3-64-bit and installed Bitbucket-4.1.0-x64.

I have installed Git in our "D:\Development\Git" directory

Bitbucket is installed in "D:\BitBucket" and the Bitbucket data directory is "D:\BitBucket_ApplicationData".


I am getting the error message "Git was not found on the PATH for Bitbucket. Install Git 1.8.0+, excluding, 2.0.2, 2.0.3, and restart Bitbucket."

I have seen that you can tell Bitbucket where the Git binary files are in the file.

 image2015-11-19 10:58:50.png

I have then saved this file in the "D:\Development\BitBucket_ApplicationData\shared\" directory.

What am I missing???



2 answers

1 accepted

Can you check your System Variables if git is there? Try opening a dos prompt console and type "git" to test.

If you're on windows, you may need to add git's home directory to your path (for the user that will run bitbucket)

I found that the installation created a new user called 'atlbitbucket' and used this as the 'AtlassianBitbucket' service user. This user does not have Git either in it's path or indeed installed. I have set up a new bitbucket user, installed Git for them and then set them as the logon for the service and all now works.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,759 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you