Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Bitbucket is failing to start - Preparing Plugin Framework

We recently had a server crash, and since then, Bitbucket has failed to start and gets stuck at Preparing Plugin Framework.

3 answers

0 votes
Julius Davies _bit-booster_com_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Nov 11, 2023

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

Julius Davies _bit-booster_com_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Nov 18, 2023 • edited

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.

0 votes
Julius Davies _bit-booster_com_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Nov 11, 2023 • edited

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.

0 votes
Bastian Stehmann
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 10, 2023

Hi @Scott Lasater ,

Do you see any errors in the log files?

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events