Missed Team ’24? Catch up on announcements here.

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

StartupChecksJob Stuck on start-bitbucket.sh

Drew Hall August 19, 2019

Using BitBucket Server 6.4.2 on an EC2 instance after a vanilla installation. No repositories created yet. After stopping BitBucket with stop-bitbucket.sh, restarting using the startup script appears to be stuck on:

INFO [Caesium-1-2] c.a.b.i.s.i.jobs.StartupChecksJob Running startup jobs for search

Have attempted multiple times and this job does not fail or timeout. Running the startup with --no-search causes this job to move into a cycle of "fail > reschedule." Original goal was to setup HTTPS, but this issue has prevented any progress on that front. 

1 answer

0 votes
SHORE Dev June 29, 2020

I've found the same problem.  We're running BitBucket Server v6.10.1 on Docker.  I recently did a `apt-get upgrade' on Ubuntu 18.04.1 and upgraded docker to v19.03.12 and I get stuck at the same place: 

INFO [Caesium-1-1] c.a.b.i.s.i.jobs.StartupChecksJob Running startup jobs for search

I disabled elastic search and found it was then stuck in the "fail -> reschedule" cycle you describe...

Did you find out what the solution to the problem was?

SHORE Dev July 2, 2020

For future reference: I'm not exactly sure what the solution to my problem was.  Some steps I performed were:

  • I deleted the search index
  • I left BitBucket running overnight
  • I rebooted the reverse proxy

I'm not sure which one of these things solved the problem.  I half suspect that there was something strange happening with the reverse proxy and I can't recall if I'd actually tried to access the BitBucket machine directly (ie. NOT through the reverse proxy).

In any case - my problem seems to be solved.  The Atlassian support were very helpful.  They also suggested that I could enable debugging logging by setting the following lines in the $BITBUCKET_HOME/shared/bitbucket.properties file and then restart Bitbucket:

logging.logger.ROOT=DEBUG
logging.logger.com.atlassian.bitbucket=DEBUG

I didn't actually need to do that in the end, but it should come in handy debugging issues in the future.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events