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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

2,589 views 1 9
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