Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Bitbucket Installer V6.6.1 freezes on "extracting files"

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

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
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

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 ...

1,903 views 0 7
Read article

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