How to see progress of Bitbucket Server "Migrating home directory" ?

Hi,

I am performing test upgrade/migration work on a Bitbucket Server instance. As part of this I have changed the path of BITBUCKET-HOME.

Now after restarting Bitbucket Server (5.5.0) I see the message "Migrating home directory" on the Web UI which has now been showing for around 2 hours.

The HOME directory is rather large ~200GB. 

I would like to ask if anyone knows how long this usually takes or how I can tell the progress of it. I can't see any obvious messages in atlassian-bitbucket.log.

I have learnt my lesson to try to keep BITBUCKET-HOME the same in the future!

Any help much appreciated!

1 answer

Hi Philip,

 

How much time did it actually took for you to complete the actual migration to complete. Its seems I am facing the same issue you described in this thread ?

Hi Avinash,

in our case although the Web UI was showing the animation, absolutely nothing was happening and the start-up was actually stuck (we checked and found no updates to either filesystem or database).

It appears that in our case the problem was related to the one described here:

https://confluence.atlassian.com/bitbucketserverkb/bitbucket-data-center-node-hangs-on-startup-initializing-spring-context-833924674.html

... and the problem was to do with netapp filer (shared volume) settings / properties. Unfortunately I do not know any more details about the exact cause and solution. If you make any discoveries on this perhaps you can share?

When I have installed another Bitbucket Data Center recently, this problem did not happen, and the "Migrating home directory" text appears for around 20 seconds and then the start-up continues.

I am no longer convinced that changing the path of BITBUCKET-HOME is relevant to this, but personally I think it is still a good idea to avoid changing the path (when you swap out local HOME/shared with the mount of the shared volume).

Hope that is helpful,

Philip

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

710 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot