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
The following problem occurred, which prevents Atlassian Bitbucket from starting:
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
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 .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.