Reconfigure Stash service after upgrade?

Hi,

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?

 

Thanks

2 answers

0 vote
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 vote

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: https://confluence.atlassian.com/display/STASH/Running+Stash+as+a+Windows+service 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: https://confluence.atlassian.com/display/STASH/Install+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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

23,101 views 26 12
Join discussion

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