BitBucket Server not starting
Asked by Chris Gill:

I downloaded BitBucker Server yesterday and it started without any error the first time. I left it running overnight and when I looked this morning, I saw that the server had stopped with a timeout error.

I tried to start it again, but it keeps failing with a timeout error. I updated the start-webapp.sh script with: JVM_SUPPORT_RECOMMENDED_ARGS="-Datlassian.plugins.enable.wait=360" but it hasn't made a difference. These are the logs I'm getting:

2020-09-15 11:26:24,736 INFO \[main\] c.a.b.i.b.BitbucketServerApplication Starting BitbucketServerApplication on PD-ORB-TSTST01 with PID 420344 (C:\\Users\\chrgil\\Atlassian\\Bitbucket\\7.5.2\\app\\WEB-INF\\classes started by chrgil in C:\\Users\\chrgil\\Atlassian\\Bitbucket\\7.5.2\\bin)  
2020-09-15 11:26:24,737 INFO \[main\] c.a.b.i.b.BitbucketServerApplication The following profiles are active: windows  
2020-09-15 11:26:25,503 INFO \[main\] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 7.5.2 (2bee18b built on Wed Sep 09 19:14:34 NZST 2020)  
2020-09-15 11:26:25,504 INFO \[main\] c.a.b.i.boot.log.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.8.0_241-b07  
2020-09-15 11:26:27,511 INFO \[main\] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 4.734 seconds (JVM running for 7.279)  
2020-09-15 11:26:32,081 INFO \[spring-startup\] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory C:\\Users\\chrgil\\Atlassian\\ApplicationData\\Bitbucket  
2020-09-15 11:26:39,856 INFO \[spring-startup\] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory C:\\Users\\chrgil\\Atlassian\\ApplicationData\\Bitbucket\\shared  
2020-09-15 11:26:42,973 WARN \[spring-startup\] com.hazelcast.instance.Node \[10.51.20.194\]:5701 \[chrgil\] \[3.12.6\] No join method is enabled! Starting standalone.  
2020-09-15 11:27:02,957 INFO \[spring-startup\] c.a.s.i.s.g.t.DefaultTranscodeServer Callback socket listening at 127.0.0.1:64281  
2020-09-15 11:27:11,912 INFO \[spring-startup\] c.a.s.i.h.s.WindowsHookScriptCommandLineFactory Found GNU bash at C:\\Users\\chrgil\\AppData\\Local\\Programs\\Git\\bin\\bash.exe  
2020-09-15 11:27:14,137 INFO \[spring-startup\] c.a.s.i.hook.DefaultHookService Hook callback socket listening on 127.0.0.1:64798  
2020-09-15 11:27:17,018 INFO \[spring-startup\] c.a.s.i.s.g.h.DefaultGitHookService Git hook callback socket listening on 127.0.0.1:64800  
2020-09-15 11:27:20,917 WARN \[FelixStartLevel\] o.e.g.b.e.i.s.ExtenderConfiguration Gemini Blueprint extensions bundle not present, annotation processing disabled.  
2020-09-15 11:27:34,902 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  
2020-09-15 11:27:35,751 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  
2020-09-15 11:27:35,821 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  
2020-09-15 11:27:35,844 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  
2020-09-15 11:27:37,926 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  
2020-09-15 11:27:38,177 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  
2020-09-15 11:27:38,179 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  
2020-09-15 11:27:38,185 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  
2020-09-15 11:27:38,185 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  
2020-09-15 11:27:38,275 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  
2020-09-15 11:27:38,276 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  
2020-09-15 11:27:38,386 INFO \[spring-startup\] c.a.b.internal.ssh.server.SshServer Starting SSH server on port 7999...  
2020-09-15 11:27:38,576 INFO \[spring-startup\] c.a.b.internal.ssh.server.SshServer Started SSH server successfully.  
2020-09-15 11:27:38,844 INFO \[spring-startup\] c.a.b.i.s.c.j.c.HealthCheckRunner New health check registered: AuthenticationCheck  
2020-09-15 11:27:38,845 INFO \[spring-startup\] c.a.b.i.s.c.j.c.HealthCheckRunner New health check registered: VersionCheck  
2020-09-15 11:27:38,852 INFO \[spring-startup\] c.a.b.i.s.i.e.DefaultIndexEventQueueProcessor Event queue processor has been started  
2020-09-15 11:27:38,852 INFO \[spring-startup\] c.a.b.i.s.c.j.c.HealthCheckRunner New health check registered: KnownIssueCheck  
2020-09-15 11:27:38,929 INFO \[spring-startup\] c.a.b.i.s.c.c.DefaultClusterJobManager Registering job for StartupChecksJob  
2020-09-15 11:27:38,947 INFO \[spring-startup\] c.a.b.i.s.c.c.DefaultClusterJobManager Registering job for ElasticsearchSynchronizeJob  
2020-09-15 11:27:38,956 INFO \[spring-startup\] c.a.b.i.s.c.j.c.HealthCheckRunner New health check registered: SearchIndexCheck  
2020-09-15 11:27:39,149 INFO \[spring-startup\] c.a.s.internal.scm.PluginScmService Bitbucket is using C:\\Users\\chrgil\\AppData\\Local\\Programs\\Git\\cmd\\git.exe version 2.28.0  
2020-09-15 11:27:54,142 INFO \[Caesium-1-3\] c.a.b.i.s.i.jobs.StartupChecksJob Running startup jobs for search  
2020-09-15 11:28:28,962 WARN \[Caesium-1-2\] c.a.a.c.h.r.RemoteHashingInstructionsReader Unable to read remote instructions with key 'uid.onewayhash'.  
2020-09-15 11:28:28,963 WARN \[Caesium-1-2\] c.a.a.c.h.BcryptAnalyticsEmailHasher No instructions for hashing could be found.  
2020-09-15 11:29:09,044 WARN \[UpmScheduler:thread-1\] com.atlassian.upm.pac.PacClientImpl Error when querying application info from MPAC: com.atlassian.marketplace.client.MpacException: org.apache.http.conn.ConnectTimeoutException: Connect to marketplace.atlassian.com:443 \[marketplace.atlassian.com/13.236.8.160, marketplace.atlassian.com/13.236.8.159, marketplace.atlassian.com/13.236.8.158\] failed: connect timed out


Answers:
author: J?rg Regiert
body: yes. Bitbucket (7.21.7) keeps not finding stuff

2022-12-01 14:03:28,717 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  
2022-12-01 14:03:29,250 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  
2022-12-01 14:03:29,325 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  
2022-12-01 14:03:29,340 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  
2022-12-01 14:03:30,220 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  
2022-12-01 14:03:30,493 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  
2022-12-01 14:03:30,495 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  
2022-12-01 14:03:30,498 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  
2022-12-01 14:03:30,499 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  
2022-12-01 14:03:30,502 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  
2022-12-01 14:03:30,503 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

any answer ? =)


Tags: bitbucket-server

server