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

Repositories Showing as Empty after Migration

Paul Janicki December 7, 2020

Hi,

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
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 8, 2020

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.

Cheers,

Christian

Premier Support Engineer

Atlassian

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
5.12.1
TAGS
AUG Leaders

Atlassian Community Events