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
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,064 views 5 10
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