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

 

Daniel.

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.

Cheers,

Branden

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
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

28,059 views 26 12
Join discussion

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