It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Damir Koscicaric Apr 03, 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

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 Apr 05, 2019 • edited

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

Yeah, you are right :-)

0 votes
Dave Theodore [Coyote Creek Consulting] Community Leader Apr 03, 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 Apr 03, 2019 • edited

>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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

1,938 views 1 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you