Forums

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

Bitbucket Installer V6.6.1 freezes on "extracting files"

Matt Armstrong November 22, 2019

Hi,

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.

1 answer

0 votes
Matthew Harkins
Contributor
December 12, 2019

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:

/etc/init.d/nfs stop

##Build the bitbucket home directory structures or the installer will complain The home directory structure could not be recognized
mkdir <BITBUCKET_HOME>/shared/caches
mkdir <BITBUCKET_HOME>/shared/analytics-logs
mkdir <BITBUCKET_HOME>/shared/config
mkdir <BITBUCKET_HOME>/shared/data
mkdir <BITBUCKET_HOME>/shared/export
mkdir <BITBUCKET_HOME>/shared/import
mkdir <BITBUCKET_HOME>/shared/logs
mkdir <BITBUCKET_HOME>/shared/node-status
mkdir <BITBUCKET_HOME>/shared/plugins
mkdir <BITBUCKET_HOME>/shared/scripts
mkdir <BITBUCKET_HOME>/shared/search
vi <BITBUCKET_HOME>/shared/bitbucket.properties
##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
rm <BITBUCKET_HOME>/shared/bitbucket.properties
/etc/init.d/nfs start

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events