Stash doesn't starting

Hi!

I've installed the stash demo on my Windows 7 PC and checked all the requirements:

java -version: 1.7.0_25
git --version: 1.8.3.msysgit.0

When I start Stash with start-stash.bat, the only thing it returns is:

To run STASH in the foreground, start the server with start-bash.bat /fg .

If I start it with the parameter "/fg", it returns nothing.

Thanks for your help!

5 answers

1 accepted

This widget could not be displayed.

Oh my... it was all my fault. I had the "bin" directory in my JAVA_HOME path aswell.

It's working now. Sorry and thanks for your help.

This widget could not be displayed.

Have you defined JAVA_HOME environment variable?

This widget could not be displayed.

Yes. I veryfied it in console with "echo %JAVA_HOME%". The path is correct and does not contain any white spaces.

This widget could not be displayed.

Hi Yves,

Is there anything in either the 'logs' directory or the '%STASH_HOME%/log' directory?If not you could try removing the '@echo off' line at the top of start-stash.bat and see how far the script gets (and post the output).

Cheers,

Charles

This widget could not be displayed.

Hi Charles,

Thanks for your answer. The "logs" directory and the home directory were both empty. This is the output without "@echo off":

C:\stash\bin>start-stash.bat
C:\stash\bin>set _PRG_DIR=C:\stash\bin\
C:\stash\bin>set _PRGRUNMODE=false
C:\stash\bin>if "" == "/fg" set _PRGRUNMODE=true
C:\stash\bin>if "" == "run" set _PRGRUNMODE=true
C:\stash\bin>if "false" == "true" goto EXECSTART
C:\stash\bin>echo To run STASH in the foreground, start the server with start-st
ash.bat /fg
To run STASH in the foreground, start the server with start-stash.bat /fg
C:\stash\bin>echo .
.
C:\stash\bin>echo.

C:\stash\bin>if "false" == "true" goto EXECRUNMODE
C:\stash\bin>call "C:\stash\bin\\startup.bat"

Hi Yves,

Ok, I guess you'll need to remove the '@echo off' in startup.bat too (and so on).

Charles

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,199 views 8 10
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you