I recently upgraded Bitbucket from V5.16.1 to V6.6.1 and during the upgrade process the installer got to "extracting files" and just froze. I ran the installer 3 times with the same result of it freezing on "extracting files".
It turns out that the whole service had installed and been upgraded, just the UI of the installer froze and clearly something was running in the background.
Has anyone experienced this before or know any ways to mitigate this in the future.
FYI - the upgrade was tested in our sandpit environment and ran smoothly.
We ran into this problem in our staging environment. I noticed the stuck node was doing a lot of waiting and chown processes. I assumed it was trying to re-own the files in the shared directory. Our environment has a couple nodes with some considerable latency issues. We only had the problem on the nodes in staging with high nfs latency. The other nodes ran smoothly. We got around this on those "stuck" nodes by unmounting the shared nfs directory and hand-carving the directory contents on the node before the upgrade, then tearing it all down and re-establishing the shared nfs directory on that node after the upgrade.
something like this:
##Build the bitbucket home directory structures or the installer will complain The home directory structure could not be recognized
##insert data from the bitbucket.properties file from the shared export
##Run the installer
##After the installer finishes
rm -rf <BITBUCKET_HOME>/shared/caches
rm -rf <BITBUCKET_HOME>/shared/analytics-logs
rm -rf <BITBUCKET_HOME>/shared/config
rm -rf <BITBUCKET_HOME>/shared/data
rm -rf <BITBUCKET_HOME>/shared/export
rm -rf <BITBUCKET_HOME>/shared/import
rm -rf <BITBUCKET_HOME>/shared/logs
rm -rf <BITBUCKET_HOME>/shared/node-status
rm -rf <BITBUCKET_HOME>/shared/plugins
rm -rf <BITBUCKET_HOME>/shared/scripts
rm -rf <BITBUCKET_HOME>/shared/search
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
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