The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Rupert Thomas
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 1, 2020

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
FPA Support
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 29, 2021

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.

DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events