Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Git.exe not found by Bitbucket installer, but that's not the problem!!!


First time posting here.

Just installed PostgreSQL 11.11.1, Jira 8.13.4, Confluence 7.4.7. and Git 2.30.2. on Windows 10 on a new server class machine.  All these are working fine.

On trying to install Bitbucket 7.10.1 next, wasted about a day yesterday trying to diagnose the error "Unable to find Git! Please install Git before installing Bitbucket".  That is the error presented by the GUI when I attempt the install by double click on the installer.  I did a lot of research, Git is there, installed properly, is on the path, machine rebooted, etc.  That is not the problem.

Running out of ideas, I decided to run the installer from the command line and surprise, surprise, see pic below.  The installer is actually finding the git.exe program, in two places, but it is ignoring it because "it is world-writable and could be exploited".  Really???  Why not present that little fact on the GUI error message?

I even tried to install Bitbucket 7.11.1. in case the problem was on the previous installer but it it not, same thing happened with 7.11.1.

I followed and re-reviewed the Atlassian procedure to install Bitbucket and its Git prerequisite and I don't think I missed anything.  By the way, this installation is on a small network with no Internet access, internal use only.

Any ideas? 

Your help will be appreciated.

    Carlos R. Rodriguez



2 answers

I got this problem. Using chmod didn't resolve it. I had to edit permissions on the git installation folder to disable inheritance and add full access to SYSTEM and Administrators only. After that, it worked.

I have to say that I am disappointed with this forum.  Did not receive even one answer or suggestion to my request for assistance.  Do Atlassian folks read these???

After working on the problem for days, I found the solution myself.  The solution was to remove access rights from the Git cmd and bin folders.

Again, the Bitbucket installer is not presenting the correct feedback to the user when it fails in this situation.  I did not find any information regarding the actual problem of the git.exe being ignored, and of course no recommendations to resolve that issue.

Hey Carlos,

I am currently facing the same issue.

Could you please elaborate more on what specific access rights must be removed and it would really helpful if you could provide some video link/ document on how to do that for windows10.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

3,457 views 3 10
Read article

Atlassian Community Events