BitBucket Page is not getting started.How to fix it?
Asked by Kalpesh Parmar:

log file

021-03-08 13:22:18,238 INFO \[main\] o.s.boot.SpringApplication  
. ____ _ __ _ _  
/\\\\ / ___'_ __ _ _(_)_ __ __ _ \\ \\ \\ \\  
( ( )\\___ \| '_ \| '_\| \| '_ \\/ _\` \| \\ \\ \\ \\  
\\\\/ ___)\| \|_)\| \| \| \| \| \|\| (_\| \| ) ) ) )  
' \|____\| .__\|_\| \|_\|_\| \|_\\__, \| / / / /  
=========\|_\|==============\|___/=/_/_/_/  
:: Spring Boot :: (v2.3.3.RELEASE)

<br />

2021-03-08 13:22:18,523 INFO \[main\] c.a.b.i.b.BitbucketServerApplication Starting BitbucketServerApplication v7.10.1 on INBDQ2LT50QCPV2 with PID 18392 (C:\\Atlassian\\Bitbucket\\7.10.1\\app\\WEB-INF\\classes started by atlbitbucket in C:\\Atlassian\\Bitbucket\\7.10.1\\app)  
2021-03-08 13:22:18,524 INFO \[main\] c.a.b.i.b.BitbucketServerApplication The following profiles are active: windows  
2021-03-08 13:22:20,274 INFO \[main\] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 7.10.1 (802918f built on Tue Feb 16 09:21:24 IST 2021)  
2021-03-08 13:22:20,274 INFO \[main\] c.a.b.i.boot.log.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.8.0_281-b09  
2021-03-08 13:22:23,967 INFO \[main\] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 9.614 seconds (JVM running for 12.658)  
2021-03-08 13:22:33,436 INFO \[spring-startup\] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory C:\\Atlassian\\ApplicationData\\Bitbucket  
2021-03-08 13:22:44,404 INFO \[spring-startup\] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory C:\\Atlassian\\ApplicationData\\Bitbucket\\shared  
2021-03-08 13:22:48,401 WARN \[spring-startup\] com.hazelcast.instance.Node \[192.168.1.132\]:5701 \[atlbitbucket\] \[3.12.9\] No join method is enabled! Starting standalone.  
2021-03-08 13:22:52,049 INFO \[spring-startup\] c.a.s.i.l.SetHierarchyIdsChange No repositories exist; no hierarchy IDs need to be set  
2021-03-08 13:23:08,969 INFO \[spring-startup\] c.a.s.i.u.u.CreateSystemUserUpgradeTask Successfully created system service user  
2021-03-08 13:23:24,437 WARN \[spring-startup\] o.s.w.c.s.XmlWebApplicationContext Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hookScriptCommandLineFactory': Invocation of init method failed; nested exception is java.lang.IllegalStateException: Could not find GNU bash; hook scripts will not work  
2021-03-08 13:23:24,521 INFO \[spring-startup\] c.a.s.internal.home.HomeLockAcquirer Releasing lock on C:\\Atlassian\\ApplicationData\\Bitbucket\\shared  
2021-03-08 13:23:24,675 INFO \[spring-startup\] c.a.s.internal.home.HomeLockAcquirer Releasing lock on C:\\Atlassian\\ApplicationData\\Bitbucket  
2021-03-08 13:23:24,680 ERROR \[spring-startup\] c.a.j.s.w.s.JohnsonDispatcherServlet SpringMVC dispatcher \[springMvc\] could not be started  
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hookScriptCommandLineFactory': Invocation of init method failed; nested exception is java.lang.IllegalStateException: Could not find GNU bash; hook scripts will not work  
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160)  
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:879)  
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551)  
at javax.servlet.GenericServlet.init(GenericServlet.java:158)  
at java.lang.Thread.run(Unknown Source)  
... 17 frames trimmed  
Caused by: java.lang.IllegalStateException: Could not find GNU bash; hook scripts will not work  
at com.atlassian.stash.internal.hook.script.WindowsHookScriptCommandLineFactory.lambda$findBash$0(WindowsHookScriptCommandLineFactory.java:100)  
at java.util.Optional.orElseThrow(Unknown Source)  
at com.atlassian.stash.internal.hook.script.WindowsHookScriptCommandLineFactory.findBash(WindowsHookScriptCommandLineFactory.java:100)  
... 5 common frames omitted  
2021-03-08 13:24:46,063 WARN \[http-nio-7990-exec-10\] c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing \[hazelcastFilter\]; no Spring WebApplicationContext is available


Answers:
author: Eddie Webbinaro
body: [@Kalpesh Parmar](/t5/user/viewprofilepage/user-id/4294340) , please outline your goals a bit, what are you attempting, what is expected. Are you going off any documents, sample projects or tutorials? Is this for bitbucket cloud or server?  

<br />

I am not sure what a Spring boot error is related to bitbucket pages (static hosting)


Tags: bitbucket-server

server