Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Git was not found on the PATH for Bitbucket. Install Git 2.11.0+, and restart Bitbucket.

Hello All,

I am trying to install Bitbucket in Mac machine. I am getting below error.

"Git was not found on the PATH for Bitbucket. Install Git 2.11.0+, and restart Bitbucket".

Installed Git version 2.21.0

added following property in bitbucket.properties and restarted the server still it is showing the same error

plugin.bitbucket-git.path.executable=/usr/local/bin/git

Thanks in advance,

Manikanta 

1 answer

1 accepted

0 votes
Answer accepted

@Mani 

 

Hi Mani

which Bitbucket version are you running

 

Had a look to 

https://confluence.atlassian.com/bitbucketserver/bitbucket-server-config-properties-776640155.html

and it seems to a kind of leftover 

With the new path searching performed by DefaultGitBinaryHelper, setting a default value here is unnecessary, as the plugin will quickly discard the value. This is left here purely for documenting how to set an explicit path.

From my point of view the easiest approach would be to ensure that the PATH variable of the runtime user you use for bitbucket contains the path to the directory your git binary is located

 

Cheers

Kurt

Hi @Kurt Klinner ,

Thanks for the reply.

I have installed 6.7.2 version.

Thanks in advance,

Manikanta

@Mani 

Let me know if changing the PATH variable solves your issue

 

Cheers

Kurt

Hi @Kurt Klinner

Issue got resolved after restarting the system.

Thanks,

Manikanta

@Mani 

Hi Manikanta

Great to hear that.

Would be great if you could set this issue to answered (so that others get an idea)

 

Cheers

Kurt

Suggest an answer

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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,912 views 0 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you