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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

29,187 views 26 12
Join discussion

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