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: 

Moving STASH_HOME out of the installation directory

Paul Ellis
March 17, 2013

Hi,

The person that installed our Stash implementation made STASH_HOME the same as the stash installation directory. I'm trying to move it out to a separate location but have run into some problems.

I moved the directories and file mentioned in https://confluence.atlassian.com/display/STASH/Stash+home+directory from /opt/atlassian/stash into /opt/atlassian/application-data/stash and changed the value of STASH_HOME in setenv.sh. When I tried to restart Stash the process crashed before it wrote anything to any log file. Am I missing anything obvious? When I put the files back where they came from the server starts again. (I'm doing this on our dev installation!).

We are using Ubuntu Server.

Thanks,

Paul

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Paul Ellis
March 17, 2013

I have found the problem! We have version 1.3, the lib folder has to stay in the installation directory - the page I mentioned before does say 'As from 2.1' but I missed that.

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.
March 17, 2013

Great to hear Paul. Nice one.

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.
March 17, 2013

Hi Paul,

There shouldn't be any problems with that. I've got a bad feeling it might be related to $STASH_HOME/bin/git-hooks which isn't documented. You might want to move that as well and try again. If that's it I'll make sure we update the documentation.

If that doesn't work what happens when you run 'stash-stash.sh' with '-fg' so that the logging goes to the console?

Cheers,

Charles

TAGS
AUG Leaders

Atlassian Community Events