Upgrade to built in installer on Stash 3.1

We're currently running Atlassian Stash 2.8.2 and I have just downloaded the installer for 3.1. From version 3.1 there is a bin file similar to JIRA and Confluence and I would love to switch across to this install method rather than using the zip file method however when I try to do the upgrade using the bin file it seems to want to do a fresh install. Below is the console output:

[root@wpujra0201 stash]# ./atlassian-stash-3.1.0-x32.bin
testing JVM in /usr ...
testing JVM in /usr/lib/jvm/jre ...
testing JVM in /usr/lib/jvm/jre-1.6.0 ...
testing JVM in /usr/lib/jvm/jre-1.6.0-openjdk ...
testing JVM in /usr/lib/jvm/jre-openjdk ...
Unpacking JRE ...
Starting Installer ...

This will install Stash 3.1.0 on your computer.
OK [o, Enter], Cancel [c]

Where should Stash be installed?

[/opt/atlassian/stash/3.1.0]
/opt/stash/install
It appears that the target installation directory is not empty. Please choose an empty or new directory path.
Where should Stash be installed?

Any suggestions how I can get this to upgrade rather than do a fresh install?
Thanks!

1 answer

1 accepted

1 vote
Timothy Chin Community Champion Jun 26, 2014

Er.. Rename your existing installation folder? On normall installations, the only thing to make sure that is updated is the bin/setenv.sh file.

Thanks Tim, I just wasn't sure if there was a way to get the installer to pick it up and do the whole update itself. I renamed the existing install folder and pointed it to the home directory when it asked for it and it worked great.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,986 views 1 5
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