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

Bitbucket data center fails to create a repository

Maciej Musialek Jan 24, 2018


I'm currently working on setting up a bitbucket data center using the trial version of the product for a proof of concept. The issue I'm encountering is that creating a repo is failing. I'm able to set up users groups edit server setting, create projects and set permissions. I've already setup all the shared instances required by bitbucket and am still struggling to get the adding repos working. I can't find the error anywhere in logs however when I press create I get

{projectName}\{projectRepo} could not be created

Could someone point me in the direction of solving this issue or let me know where I can find error logs from such problems?



2 answers

2 votes
Dave Theodore [Coyote Creek Consulting] Community Leader Jan 24, 2018

First, I would suggest verifying that you followed all of the instructions on the setup docs. Data Center is quite a bit more complicated to set up than Server. Don't skip any steps.

My guess is that it has something to do with your shared storage volume. I would verify that the shared storage volume is mounted to the shared/ directory per the docs. I would then verify that the user that Bitbucket runs as can write to the volume.  

If those tests pass, I would look at Git. First, check the Supported Platforms page for the version you are running (pro tip: google search for "bitbucket <version number> supported platforms" ) The range of supported Git versions for your version of Bitbucket will be listed there. If you're running a variant of RedHat linux, it may be challenging to find an RPM of Git that you need for your linux distro.  We see this problem often enough that we have a CentOS6 and CentOS7 rpm-build server so we can make our own packages easily. It's easy to get the srpm that you need, install rpm-build and roll your own if you need to. 

I hope that helps get you unstuck.

Craig Castle-Mead Community Leader Feb 18, 2018

Agree with Dave's thought of it being a storage/permissions issue. Users/groups/projects are all stored in the DB, but a repository needs to write to your shared storage.


0 votes
Christian Glockner Atlassian Team Jan 29, 2018


Further to Dave's answer, I'd try to create the repo and then look at the Bitbucket Server logs in <BitbucketHome>/log/atlassian-bitbucket.log file to see which error occurs.



Premier Support Engineer


Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

3,030 views 1 20
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