Create
cancel
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

Create repo in Bitbucket fails - Handler dispatch failed; nested exception is java.lang.Error: java.

I'm running Jira, Bitbucket and Confluence with Docker Compose, following this example:

https://community.atlassian.com/t5/Jira-articles/Running-Atlassian-server-product-on-Docker/ba-p/1209665

I've changed the docker-compose.yml file, to add local directories as data volumes for each of the applications - e.g.:

    volumes:
    - D:/DevTools/BitbucketData:/var/atlassian/application-data/bitbucket 

All seems well, and can create projects etc in Jira and Bitbucket. When I come to create a repository in Bitbucket, however, I get the following error (full screen): 

Handler dispatch failed; nested exception is java.lang.Error: java.io.IOException: No such file or directory

 

The repository creation works ok if I use a Docker named volume, however, e.g.:

...

  volumes:
    - bitbucketVolume:/var/atlassian/application-data/bitbucket

volumes:
  bitbucketVolume:

 

Any ideas why that would be the case? I prefer to use the absolute directory path, rather than the named volume, to simplify data backup.

The host machine is running Windows 10, Docker 19.03.12. It is Bitbucket Server v7.6.0 (the current latest tag on Docker hub).

1 answer

Have you by chance had any luck getting this fixed? I am also running into the same error/issue with bitbucket in docker. I host it on linux and have the application data folder hosted on a windows machine I mount to via docker-compose. Everything works except being able to make new repositories.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
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,717 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