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

Git was not found Bitbucket

Danske Bank Atlassian Support January 9, 2018

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 1.8.4.3, 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
/opt/rh/rh-git29/root/usr/bin/git
[root@server1]# su bitbucket
[bitbucket@server1]$ git --version
git version 2.9.3
[bitbucket@server1]$ which git
/opt/rh/rh-git29/root/usr/bin/git
[bitbucket@server1]$ echo $PATH
/opt/rh/rh-git29/root/usr/bin:/opt/rh/rh-git29/root/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin
[bitbucket@server1]$

 

1 answer

1 accepted

0 votes
Answer accepted
Danske Bank Atlassian Support January 9, 2018

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 Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events