Reconfigure Stash service after upgrade?


I would like to confirm if after Stash upgrade, we should re-configure Stash windows service to point to the new installation directory (Same as new installation)?

Also Is there any other post-upgrade configuration that should I need to consider?



2 answers

0 votes
Timothy Chin Community Champion Sep 15, 2014

No. You should not need to do that. But as a practice, I normally also remove the service and let the installer re-install the service.

0 votes

Hi Soumia,

You should only strictly follow the Upgrade guide. No reconfiguration of the Windows service is required. No post-upgrade configuration task is required aside from the Step #4 which an update on any custom configuration is required (we recommend doing that before you start the new version).

Let us know if you run into any issues.

Best regards,
Thiago Bomfim
Atlassian Support - DevTools

Hi Thiago, Actually, I have just tested the upgrade in my test server, and it seems that the upgrade from an archive file do not update the Stash Windows service. I had to remove the old service and create a new service using the instructions here: I didn't tested with Stash installer. Thanks,

Hi Soumia, You are right. That's why our documentation has been updated so everyone would use the installer instead. We have a documentation on Installing Stash from an archive file: If you execute that procedure, on step #8 configuring Stash as a service on Linux and Windows is part of what is required.

Hi, I just tried upgrading Stash 3.3.0 to 3.6.0 on a windows server and the service still points to 3.3.0 which is the version that gets started. I'm a bit surprised that it doesn't take care of updating the service even if it says it will update it. I double checked the registry in HKEY_LOCAL_MACHINE and the path to executable is still the old one. After manually changing the path in the registry it still doesn't work. Stash 3.3.0 is the one that gets started, very strange.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

314 views 0 12
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