Forums

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

Unable to access some repos after upgrade from 5.16.10 to 7.21.6 - Bitbucket Data Center

Naushad Naleer December 23, 2022

Hi, we recently upgraded Bitbucket Data Center from version 5.16.10 to 7.21.6. We are unable to access some repos on Bitbucket UI (chrome), access to many other repos are working fine. 

I get the error 

'/usr/bin/git ls-tree -z -l refs/heads/master: --' exited with code 0

I can clone this repo using ssh.

Any help will be highly appreciated.

 

Thank you,

Naushad.

1 answer

1 accepted

0 votes
Answer accepted
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 23, 2022

Hi Naushad,

Which version of git are you using on the Bitbucket Server side?

Cheers,
Christian
Premier Support Engineer
Atlassian

Naushad Naleer December 23, 2022

We use git version 2.36.3 on both Bitbucket nodes

Also I can access the branches, commits etc on the UI. 

When I click on 'source' (on left hand side) - that's when the error comes.

Thanks for your help

Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 23, 2022

Bitbucket Server 7.21.6 only supports git up to version 2.35.x, so downgrade your git install, most likely this will resolve this problem.

Cheers,

Christian
Premier Support Engineer
Atlassian

Naushad Naleer December 23, 2022

Thanks Christian, I downgraded git to 2.24.4 and the problem is resolved.

Mia Paulin
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 11, 2023

@mention That entire line of code is saying the program ended.  If you run that command, whatever you are running with close out(exited with code 0 is kind of like saying system.exit(0) in Java.  It ends the program)

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events