bitbucket wont start due to plugin errors after a server reboot

Hi this morning we had issues on our server and it had to be force rebooted, I'm not sure if some corruption has accrued but i can't now get bitbucket to start up again.

I get errors that plugins couldn't be started. I have tried removing the plugins directory from the home directory so bitbucket would re-build then but i get the same errors.

here is a link to the log file: View Log File.

Id be grateful if anyone had any ideas of how to help with this.

Many thanks



1 answer

Hi Daniel,

Try the following:

  1. Stop BitBucket.

  2. Backup and remove the following directories. They will be rebuilt when Stash starts again.
    1. $BitBucket_HOME/plugins/.bundled-plugins/
    2. $BitBucket_HOME/plugins/.osgi-cache/
  3. Add the following start-up argument -Datlassian.plugins.enable.wait=300
    1. See configuring BitBucket on start-up documentation for the appropriate method to add start-up arguments for your operating system and start-up method:
  4. Start BitBucket

If that still doesn't work:

  • If you're running any AV on the server, try disabling it or adding an exclusion for the <BitBucket-home> and <BitBucket-install> directories.
  • Treat it as a performance issue and see if you can work out where the resource contention is while starting BitBucket which is causing the delay and timeout of the plugin extraction.

Let me know the results and we'll go from there.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,946 views 7 10
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