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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket Server 7.13.0 for Windows Won't Start Edited

After upgrading to 7.13.0, I am having issues getting Bitbucket to fully start.  Here are some details:

  • Windows Server 2012 R2
  • Running as a Windows Service
  • JRE_HOME set to AdoptOpenJDK 8's JRE folder  (I have also tried Oracle SE JDK 8 and 11, as well as a bundled JRE of AdoptOpenJDK OpenJDK 64-Bit Server VM 1.8.0_275-b01)
  • Java VM set to corresponding version of the JRE
  • The Windows service starts and continues to run, no Event Viewer logs showing any errors.

Atlassian-bitbucket.log excerpt (some info masked/redacted):

2021-06-16 17:34:00,085 INFO [main] c.a.b.i.b.BitbucketServerApplication Starting BitbucketServerApplication v7.13.0 on SERVERNAME with PID 1308 (C:\Atlassian\Bitbucket\7.13.0\app\WEB-INF\classes started by SERVERNAME$ in C:\Atlassian\Bitbucket\7.13.0\app)
2021-06-16 17:34:00,275 INFO [main] c.a.b.i.b.BitbucketServerApplication The following profiles are active: windows
2021-06-16 17:34:05,741 INFO [main] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 7.13.0 (7d7c4fd built on Mon May 17 02:02:19 EDT 2021)
2021-06-16 17:34:05,741 INFO [main] c.a.b.i.boot.log.BuildInfoLogger JVM: AdoptOpenJDK OpenJDK 64-Bit Server VM 1.8.0_292-b10
2021-06-16 17:34:16,579 INFO [main] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 39.736 seconds (JVM running for 82.991)
2021-06-16 17:34:36,189 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory C:\Atlassian\ApplicationData\Bitbucket
2021-06-16 17:34:37,767 WARN [spring-startup] c.a.s.i.j.DefaultDataSourceConfigurationFactory Detected legacy HSQL database; using HSQL instead of H2
2021-06-16 17:34:42,189 WARN [spring-startup] c.z.hikari.util.DriverDataSource Registered driver with driverClassName=org.hsqldb.jdbcDriver was not found, trying direct instantiation.
2021-06-16 17:35:19,971 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory C:\Atlassian\ApplicationData\Bitbucket\shared
2021-06-16 17:35:33,869 WARN [spring-startup] com.hazelcast.instance.Node [MASKED-IP]:5701 [SERVERNAME$] [3.12.9] No join method is enabled! Starting standalone.
2021-06-16 17:36:45,246 INFO [spring-startup] c.a.s.i.h.s.WindowsHookScriptCommandLineFactory Found GNU bash at C:\Program Files\Git\bin\bash.exe
2021-06-16 17:36:53,055 INFO [spring-startup] c.a.s.i.hook.DefaultHookService Hook callback socket listening on 127.0.0.1:49350
2021-06-16 17:37:02,974 INFO [spring-startup] c.a.s.i.s.g.t.DefaultTranscodeServer Callback socket listening at 127.0.0.1:49373
2021-06-16 17:37:04,161 INFO [spring-startup] c.a.s.i.s.g.h.DefaultGitHookService Git hook callback socket listening on 127.0.0.1:49374
2021-06-16 17:37:12,646 WARN [FelixStartLevel] o.e.g.b.e.i.s.ExtenderConfiguration Gemini Blueprint extensions bundle not present, annotation processing disabled.
2021-06-16 17:37:58,281 WARN [spring-startup] c.a.s.i.p.s.OsgiBundledPathScanner Cannot scan directory /extension/build-status/ in bundle com.atlassian.bitbucket.server.bitbucket-frontend; it does not exist
2021-06-16 17:37:59,485 WARN [spring-startup] c.a.s.i.p.s.OsgiBundledPathScanner Cannot scan directory /com/atlassian/plugin/connect/confluence/ in bundle com.atlassian.plugins.atlassian-connect-plugin; it does not exist
2021-06-16 17:37:59,750 WARN [spring-startup] c.a.p.c.r.OsgiBundledPathScanner Cannot scan directory /page/ in bundle com.atlassian.bitbucket.server.bitbucket-policies as it does not exist
2021-06-16 17:37:59,766 WARN [spring-startup] c.a.p.c.r.StaticPluginPathScanner Cannot scan directory /static/bitbucket/internal/feature/admin/ratelimit/ in web static as it does not exist
2021-06-16 17:38:02,382 WARN [spring-startup] c.a.s.i.p.s.OsgiBundledPathScanner Cannot scan directory /com/atlassian/oauth/shared/servlet/ in bundle com.atlassian.oauth.atlassian-oauth-service-provider-plugin; it does not exist
2021-06-16 17:38:03,020 WARN [spring-startup] c.a.s.i.p.s.OsgiBundledPathScanner Cannot scan directory /bitbucket/page/setup/ in bundle com.bit-booster.bb.hooks; it does not exist
2021-06-16 17:38:03,037 WARN [spring-startup] c.a.s.i.p.s.OsgiBundledPathScanner Cannot scan directory /extension/build-status/ in bundle tac.bitbucket.languages.de_DE; it does not exist
2021-06-16 17:38:03,037 WARN [spring-startup] c.a.s.i.p.s.OsgiBundledPathScanner Cannot scan directory /com/atlassian/oauth/shared/servlet/ in bundle tac.bitbucket.languages.de_DE; it does not exist
2021-06-16 17:38:03,037 WARN [spring-startup] c.a.s.i.p.s.OsgiBundledPathScanner Cannot scan directory /extension/build-status/ in bundle tac.bitbucket.languages.fr_FR; it does not exist
2021-06-16 17:38:03,037 WARN [spring-startup] c.a.s.i.p.s.OsgiBundledPathScanner Cannot scan directory /com/atlassian/oauth/shared/servlet/ in bundle tac.bitbucket.languages.fr_FR; it does not exist
2021-06-16 17:38:03,051 WARN [spring-startup] c.a.s.i.p.s.OsgiBundledPathScanner Cannot scan directory /extension/build-status/ in bundle tac.bitbucket.languages.ja_JP; it does not exist
2021-06-16 17:38:03,051 WARN [spring-startup] c.a.s.i.p.s.OsgiBundledPathScanner Cannot scan directory /com/atlassian/oauth/shared/servlet/ in bundle tac.bitbucket.languages.ja_JP; it does not exist
2021-06-16 17:38:05,457 INFO [spring-startup] c.a.s.internal.scm.PluginScmService Bitbucket is using C:\Program Files\Git\cmd\git.exe version 2.32.0
2021-06-16 17:53:05,739 ERROR [Caesium-1-4] c.a.scheduler.core.JobLauncher Scheduled job with ID 'AutoDeclineJob' failed
java.lang.IllegalStateException: System service user does not exist.
at com.atlassian.stash.internal.user.DefaultUserService.getSystemServiceUser(DefaultUserService.java:297)
at com.atlassian.stash.internal.autodecline.DefaultAutoDeclineService.declineInactivePullRequests(DefaultAutoDeclineService.java:87)
at com.atlassian.stash.internal.autodecline.AutoDeclineJob$AutoDeclineJobRunner.runJob(AutoDeclineJob.java:84)
at com.atlassian.stash.internal.scheduling.FeatureAwareJobRunner.runJob(FeatureAwareJobRunner.java:42)
at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:134)
at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:106)
at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:90)
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.launchJob(CaesiumSchedulerService.java:435)
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeClusteredJob(CaesiumSchedulerService.java:430)
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeClusteredJobWithRecoveryGuard(CaesiumSchedulerService.java:454)
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeQueuedJob(CaesiumSchedulerService.java:382)
at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeJob(SchedulerQueueWorker.java:66)
at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeNextJob(SchedulerQueueWorker.java:60)
at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.run(SchedulerQueueWorker.java:35)
at java.lang.Thread.run(Thread.java:748)
... 52 frames trimmed

 

1 answer

1 accepted

0 votes
Answer accepted

The issue was solved by copying the bitbucket.properties file from the previous bitbucket home location to the /shared folder.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.13.0
TAGS
Community showcase
Posted in Bitbucket

Share your use cases: How do you use the Bitbucket-Jira integration? How does it help your team?

Hey everyone, over the past year, we've added several new features to how you can use Bitbucket and Jira together. We'd love to know how you'll are using the integration and how it's helping your tea...

49 views 0 1
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you