|
These upgrade notes are general instructions for upgrading Stash. We strongly recommend that you upgrade Stash by following these steps:
To stop Stash, change directory in a terminal or command prompt to the <Stash installation directory> and run:
Windows:
bin\stop-stash.bat |
Linux and Mac:
bin/stop-stash.sh |
STASH_HOME environment variable, or in the STASH_HOME line of <Stash installation directory>/bin/setenv.bat.STASH_HOME line of <Stash installation directory>/bin/setenv.sh.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.
See the following for more information:
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.
If you are a Stash plugin developer, please refer to our Stash developer documentation.
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: