Git was not found Bitbucket

Hello, I get an error after trying to upgrade from Stash 3.10 to Bitbucket 4.14.11

The following problem occurred, which prevents Atlassian Bitbucket from starting:
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 am running RHEL. Bitbucket should be running under bitbucket user.

I have found and read all related topics, but non of them has actual answer.

[root@server1]# git --version
git version 2.9.3
[root@server1]# which git
[root@server1]# su bitbucket
[bitbucket@server1]$ git --version
git version 2.9.3
[bitbucket@server1]$ which git
[bitbucket@server1]$ echo $PATH


1 answer

1 accepted

Funny, Stash was working without this link

ln -s /opt/rh/rh-git29/root/usr/bin/git /usr/bin/git

solution Source 

Suggest an answer

Log in or Join to answer
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...

661 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot