The instructions on this page describe how to upgrade Stash from a previous version.

Please read the Supported platforms page for the full list of supported platforms for Stash.

On this page:

Related pages:

Upgrade notes

These upgrade notes are general instructions for upgrading Stash. We strongly recommend that you upgrade Stash by following these steps:

1. Stop Stash!

To stop Stash, change directory in a terminal or command prompt to the <Stash installation directory> and run:

2. Back up your Stash data!
3. Download and install Stash as usual

In particular, you must redefine the Stash home directory. See the following for more information:

If you made custom changes to the configuration of your existing Stash installation, for example for the port or context path, you will have to make these changes for the new installation as well.

4. Start Stash

See the following for more information:

Upgrading from Stash 1.0.x to 1.1

SSH

When you restart Stash after upgrading to 1.1, Stash will automatically enable SSH access to your repositories, on the default port of 7999.

If you want to change the port, or are hosted behind a proxy or firewall, you may also need to change the SSH base URL so the clone URL's in Stash are correct. See the SSH admin instructions.

Developing for Stash

If you are a Stash plugin developer, please refer to our Stash developer documentation.

Checking for known issues and troubleshooting the Stash upgrade

If something is not working correctly after you have completed the steps above to upgrade your Stash installation, please check for known Stash issues and try troubleshooting your upgrade as described below: