You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.
Hi @Scott Lasater ,
Do you see any errors in the log files?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.