The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Stash doesn't starting

YvesH
June 24, 2013

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
YvesH
June 24, 2013

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.

1 vote
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 24, 2013

Have you defined JAVA_HOME environment variable?

0 votes
YvesH
June 24, 2013

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"

cofarrell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 24, 2013

Hi Yves,

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

Charles

0 votes
cofarrell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 24, 2013

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

0 votes
YvesH
June 24, 2013

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events