Git was not found on the PATH for Bitbucket

Hi,

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 1.8.4.3, 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 bitbucket.properties file.

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

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

What am I missing???

Thanks

Jordan

2 answers

1 accepted

This widget could not be displayed.

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)

This widget could not be displayed.

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 Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 10, 2018 in Bitbucket

What is your #1 piece of advice to new users getting started using Bitbucket?

Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...

248 views 14 2
Join discussion

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