Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Repositories Showing as Empty after Migration


Our server which was hosting our bitbucket instance has become unusably slow, so we are migrating everything off of it to a new server. We have managed to migrate the database to a new SQL instance, and copied the home directory and reinstalled bitbucket on the new server as well. Logins are working, and we can see the branches and names of repositories. However whenever we try and access any repository, all we get is the

"You have an empty repository

To get started you will need to run these commands in your terminal.

New to Git? Learn the basic Git commands

Configure Git for the first time"

Unfortunately I am not an end user for the software, so know nothing about Git itself. I have checked the permissions for the home folder and it seems correct.

I am completely stuck!

1 answer

0 votes

Hi Paul,

The most likely cause of the problem is that either the data from the home directory (in particular from the shared directory in it) wasn't copied properly or there is a permission issue that's preventing the user Bitbucket Server is running as from accessing the repositories.



Premier Support Engineer


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,920 views 10 16
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