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: 

How do I install Stash as a Windows Service after upgrading an existing instance?

Bastian Schmick
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!
March 9, 2015

I followed the instructions at

https://confluence.atlassian.com/display/STASH/Running+Stash+as+a+Windows+service

but service.bat tells me that my jre path needs to point to a jdk path.

My existing local services entry is rather old and does not seem to work.

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
ThiagoBomfim
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 9, 2015

Hi Bastian,

Could you please share the exact commands being run and the error you get?

I'd like to point out that the newest Stash installer will perform the Windows Service installation automatically for you. You can follow the guidelines on the Stash upgrade guide.

I'd encourage you to use the installer for this purpose.

Best,
Thiago

ThiagoBomfim
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 9, 2015

Can you please also do an "echo of %JAVA_HOME%" and an "echo %JRE_HOME%"? Botom line: If you defined something on JAVA_HOME that _must_ point to a JDK. If you defined something on JRE_HOME it must point to a JRE.

TAGS
AUG Leaders

Atlassian Community Events