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]$
Funny, Stash was working without this link
ln -s /opt/rh/rh-git29/root/usr/bin/git /usr/bin/git
solution Source
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.