We recently had a server crash, and since then, Bitbucket has failed to start and gets stuck at Preparing Plugin Framework.
Do you happen to know what version of Bitbucket this is happening on?
I've had luck running through these steps in the past:
On each node of your datacenter cluster (or your only node if on "Server"):
shut down bitbucket
take backup of $BITBUCKET_HOME/plugins/.osgi-cache/
completely delete $BITBUCKET_HOME/plugins/.osgi-cache/
restart bitbucket
Also, I find Bitbucket works better for me when I use the latest Java JDK 11 compared to Java JDK 8. I find both Oracle JDK and OpenJDK work fine.
It's version 7.21.2, and I'm using OpenJDK 11.
I used msconfig to turn off the BitBucket services, but after backing up and deleting the /.osgi-cache/ folder, I could not reenable the services in msconfig, and the console crashed.
Scott
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ugh, this sounds like a tough situation.
At this point I would take a backup of everything (folders and database) and then try using a brand new (fresh) Bitbucket 7.21.2.
Leave the BITBUCKET_HOME as is.
If that *STILL* doesn't work and if you are still entitled to upgrades, I would try upgrading to Bitbucket 7.21.3 to see if the upgrade process repairs the situation.
NOTE: upgrading to 7.21.3 will cause changes to the database that might make downgrading back to 7.21.2 impossible, hence the importance of taking backups of everything beforehand.
2nd NOTE: I believe Bitbucket Data Center does not support Windows, and so running Bitbucket on Windows will soon be unsupported by Atlassian. Only Bitbucket Server is supported on Windows, but unfortunately Bitbucket Server will be EOL on Feb 15, 2024.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you happen to know what version of Bitbucket this is happening on?
I've had luck running through these steps in the past:
On each node of your datacenter cluster (or your only node if on "Server"):
shut down bitbucket
take backup of $BITBUCKET_HOME/plugins/.osgi-cache/
completely delete $BITBUCKET_HOME/plugins/.osgi-cache/
restart bitbucket
Also, I find Bitbucket works better for me when I use the latest Java JDK 11 compared to Java JDK 8. I find both Oracle JDK and OpenJDK work fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not seeing any glaring errors in the logs; since the services failed to enable, I believe the application became corrupt. I'm trying to reinstall it to repair the corruption.
I did backup the application folder and repository folder.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.