A fatal error has occurred when i am starting Bitbucket server 5.1.0

The error that i see:

  • The following problem occurred, which prevents Atlassian Bitbucket from starting: You are using Git 1.9.1. The minimum supported version is 2.2.0. Upgrade to Git 2.2.0+ and restart Bitbucket.

I have already updated Git to 2.13.0 and restarted Bitbucket, but the error is not disappeared.

What is the problem?

Thank you.

1 answer

1 vote

Hi Maxim,

Is the newer version of git installed in a location that's in $PATH, and is that version the first one found in $PATH?

If you have the newer version of git in a different location, you can force Bitbucket Server to use that one instead. Just add the plugin.bitbucket-git.path.executable property to Bitbucket Server's configuration and restart Bitbucket Server.

Cheers,

Christian

Premier Support Engineer

Atlassian

Hi Christian,

I have the newest version of git on my linux server it located in usr/bin/git

Did I understand correctly that I need to create a plugin.bitbucket-git.path.executable file in /opt/atlassian/bitbucket/5.1.0/bin or /var/atlassian/application-data/bitbucket/shared/config

Hi Maxim,

You'll need to add the plugin.bitbucket-git.path.executable entry in the bitbucket.properties file and point that entry to the location of the git executable. More details on that are in the documentation I linked to above.

Cheers

Christian

Premier Support Engineer

Atlassian

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

241 views 3 7
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you