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

Unsupported Git version found [2.21.0]. Please upgrade Git to a supported

Damir Koscicaric April 3, 2019

Hi

Currently I have installed BitBucket 5.9.1 on my Ubuntu 16.04.6 LTS

I want to upgrade it to 6.1.3

After upgrading GIT to 2.21.0 (newest version) and starting upgrade here is error:

./atlassian-bitbucket-6.1.3-x64.bin
Starting Installer ...


Unsatisfied requirement: git

Unsupported Git version found [2.21.0]. Please upgrade Git to a supported
version before installing Bitbucket.
See http://go.atlassian.com/installgit for more information.
NOTE: If you proceed without a working Git, Bitbucket won't be able to start
after installation until a working Git is found.
If you proceed without a working Git, Bitbucket won't be able to start after installation.
Are you sure you want to continue?
Yes [y, Enter], No [n]

 

try it with git 2.7.4 and same error, current 5.9.1 version works with git 2.7.4

2 answers

1 accepted

0 votes
Answer accepted
Petr Vaníček
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 4, 2019

Hi,

before every upgrade you should check supported platform page.

https://confluence.atlassian.com/bitbucketserver/supported-platforms-776640981.html

So as you can see you need 2.20.1 as newest supported version of Git.

Damir Koscicaric April 5, 2019

Bitbucket 6.2 will support 2.21.0 and release date is 12.4.2019.

I'll wait for 6.2 and then upgrade

Support platforms suggest using latest GIT but in this case it won't work. I'll wait for 6.2 and then upgrade 5.9.1 -> 6.2

Like Petr Vaníček likes this
Petr Vaníček
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 5, 2019

Yeah, you are right :-)

0 votes
Dave Theodore [Coyote Creek Consulting]
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 3, 2019

Are you sure the correct version of Git is in the $PATH of the user that Bitbucket runs as? I would become the user that Bitbucket runs as and do a `git --version` to check. If it reports the wrong version, you will need to add the path to the newer git to $PATH for that user.

Damir Koscicaric April 3, 2019

>which git
/usr/bin/git

> echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin

after I run ./atlassian-bitbucket-6.1.3-x64.bin

script finds out installed version but it's not satisfied with version, which version of git is required for bitbucket 6.1.3 ?

here is su altbitbucket;

> su atlbitbucket
atlbitbucket@git:/opt/atlassian$ git --version
git version 2.7.4

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events