Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Initial Bitbucket starting issue

tonytawk
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 28, 2019

Dears , 

  i am having the below error while  "Atlassian Bitbucket is starting up".

  Any solutions ?

LOGS:

 

   C:\Atlassian\ApplicationData\Bitbucket\log\atlassian-bitbucket.log

 

   2019-05-28 13:24:34,574 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:139)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
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:99)
at java.util.Optional.orElseThrow(Unknown Source)
at com.atlassian.stash.internal.hook.script.WindowsHookScriptCommandLineFactory.findBash(WindowsHookScriptCommandLineFactory.java:99)
... 5 common frames omitted

BROWSER :

http://localhost:7990/unavailable?next=%2Fmvc%2Fhome

 

A fatal error has occurred

The following problem occurred, which prevents Atlassian Bitbucket from starting:

  • SpringMVC dispatcher [springMvc] could not be started

2 answers

1 accepted

1 vote
Answer accepted
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 29, 2019

Hi Tony,

How did you install Bitbucket Server on this Windows machine? It looks like you used the Linux/Unix version rather than Windows.

Cheers,

Christian

Premier Support Engineer

Atlassian

tonytawk
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 30, 2019

  I used the windows installer , but the problem was that i was installing it as a service by leaving the checkbox ticked in the wizard .

  I uninstalled it and reinstalled without that choice , and all ran as expected .

  I Think this related to the security applied on my mcahine .

0 votes
Daniel Zauner
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 19, 2019

Had the same issue w/ BB server v6.2.0 (ZIP-Archive, running under win10)

Turns out, Git was missing -> installing git for Windows (use the Installer) provides a bash for BB to use and it starts just fine

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events