Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket Server not running on Ubuntu 16.04

Oliver Stock March 19, 2019

Git has beeen upgraded using ppa:git-core/ppa to 2.21 and now Bitbucket Server doesn't start anymore. I've removed git and the source and then installed the latest available version of git on Ubuntu 16.04LTS:

  • You are using Git 2.7.4. The minimum supported version is 2.11.0. Upgrade to Git 2.11.0+ and restart Bitbucket.

 

How can I obtain such a git version between 2.11 and 2.21 on Ubuntu Server 16.04?

3 answers

1 accepted

2 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.
March 19, 2019

Hi,

you need Git 2.20.0+ (as latest supported by documentation - https://confluence.atlassian.com/bitbucketserver/supported-platforms-776640981.html)

How to install Git with specific version you can find here - https://www.digitalocean.com/community/tutorials/how-to-install-git-on-ubuntu-16-04

Hope it help.

Oliver Stock March 19, 2019

Thanks, the second link did the trick

0 votes
Kamal Kailasa Babu May 17, 2019

2.20.+ works for me ;)

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.
May 17, 2019

Yes, 2.20.0+ is supported, but not 2.21.0+ in date of this problem. Important is second dot in version number.

So simple - if application support specific version which is not as latest in repo then I need to use steps to install specific version.

Thats all ... nothing else

Like Kamal Kailasa Babu likes this
Kamal Kailasa Babu May 17, 2019

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

 

I am requesting you to go through the above document.

Regards,

Kamal

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.
May 17, 2019

Did you read his post from beginning or not? 

Git has beeen upgraded using ppa:git-core/ppa to 2.21 and now Bitbucket Server doesn't start anymore. I've removed git and the source and then installed the latest available version of git on Ubuntu 16.04LTS:

And his question on end of post?

How can I obtain such a git version between 2.11 and 2.21 on Ubuntu Server 16.04?

Oliver's question was for Bitbucket 6.1 - with latest version of Git 2.20+. Look at supported platforms for that version.

So Bitbucket in that version doesn't know about version of Git 2.21 so it show error message with older build number. Yes. it's not perfect and it's confusion, but when they developed it there wasn't version 2.21.

I don't understand what is your problem when you are responding to 2 months old question. He was asking hot to install specific version and not latest one.

Like Kamal Kailasa Babu likes this
0 votes
Kamal Kailasa Babu May 17, 2019

this is the most easy way to solve this i guess http://lifeonubuntu.com/upgrading-ubuntu-to-use-the-latest-git-version/

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.
May 17, 2019

That's not solution if application doesn't support latest version as I mention in my answer - and that was exactly this problem.
.

Kamal Kailasa Babu May 17, 2019

the document will tell you a easy way to upgrade git to the latest version in ubuntu 16-04

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.
May 17, 2019

But Bitbucket doesn't support latest versions of Git. :-) That's a reason why @Oliver Stock got that error.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events