I am hoping to get some help with having Bitbucket recognize the correct version of Git installed on my server. I am running CentOS 6, which came with an old version of Git (1.7.1). After installing Bitbucket Server and beginning the process of registering my installation, I get the error message ("A fatal error has occurred ... You are using Git 1.7.1. The minimum supported version is 2.2.0.)
To get around this, I installed Git 2.9.3 using yum and enabled it through .bashrc and SCL. When I query in bash for which Git version is active (which git), I get in response: /opt/rh/rh-git29/root/usr/bin/git. But even after a restart of the Bitbucket service, I still receive the error that my version of git is too old.
Additionally, my PATH variable includes the Git 2.9.3 directory.
Can anyone provide guidance on how to fix this issue?
Thanks in advance.