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

starting bitbucket hangs on "migrating home directory"

running version 5.5.1 on windows 2012 server.  server was rebooted and when I start the bitbucket service, it got stuck in "migrating home directory".  been like this for several hours.  What should I do?

2 answers

@Victor Tan


Hi Victor, sound like


Can you provide more details out of the log file (the whole stacktrace for example)




Not sure if it is the same issue but I fixed it buy doing an update on the database table.


Like # people like this

@Victor Tanyou just saved my day, thanks!

Worked for me as well! Many thanks Victor! 

Worked for me too.  Thanks!  I was afraid I would need to re-install!

BTW, on Bitbucket v5.15.0 and running on Postgres, had to use the following sql command:

Like # people like this

Thanks for that one SQL line: I've been stuck for over a day!

Like Mike_Ellertson likes this

You save my day. Thanks!

Same for me, unexpected lock and this fix worked well on the upgrade from 6.1.2 to 6.9.1 of our server. Just delivered the upgrade on time, ooooh. Thanks a lot.

Worked for Bitbucket 7.2.1 after a vmware snapshot left the database locked.

after waiting for a very long time, finally got this error.


A fatal error has occurred

The following problem occurred, which prevents Atlassian Bitbucket from starting:

  • SpringMVC dispatcher [springMvc] could not be started


in the log


Error creating bean with name 'sharedHomeLockAcquirer' defined in class path resource [stash-context.xml]:

I got this error as well Victor. How did you resolve it?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Bitbucket

How do you use the Bitbucket-Jira integration? How does it help your team?

Hey everyone, over the past year, we've added several new features on how you can use Bitbucket and Jira together. We'd love to know how you'll are using the integration and how it's helping your t...

156 views 0 2
Join discussion

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