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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Service Desk

Wy are we still using email for Service Desk workflows?

...attest to the experience of an urgent approval that gets lost in the boss’s inbox and requires that special “Please Approve” email or text message. In an age where we have distributed teams...

114 views 0 2
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