I've been installing upgrades of Stash using the provided .zip downloads for Windows. I was wondering what the process is for migrating from that [kind of] installation process to the installer provided? I searched docs without success.
I am running Stash as a service, and 64 bit, and Windows system environment variables are set.
Any pointers would be appreciated.
FYI Here's what happened - I hope my experience helps others. I'm on Windows 2012R2 using MySQL.
I deleted the contents of the zip file Stash installation directory, uninstalled Java JDK and JRE and removed the Windows service using sc.
I ran the installer as administrator, chose my previous paths for installation dir and Stash Home (repo). It installed fine, said it was installing the service, but no service was created and there were no errors during the installation. I followed another help area in Stash and got a service set up. I also set the service to start as the new atlstash user, and for it to be a delayed start (I've found this gives mysql and other services time to start up properly).
I do not remember if I had to modify the executables to run the 64 bit versions like you do in the zip install, but the 64 bit versions are in place.
I set my system environment variables to the new JRE path (JAVA_HOME and JRE_HOME). My previous system environment variables for STASH_HOME did not need modifications. I found in previous versions that if running as a service these environment variables make life a lot easier.
In the previous zip installation, I had created a different user for Stash to run as per its instructions. I now had to remove that user and apply permissions to the Stash installation and STASH_HOME directory for the atlstash user which the installer created.
After that, so far smooth sailing. I might add that this is all running in a VMware environment, so my backup and revert plan was a snapshot, making this a very low-risk process.
Thanks for your help in the transition.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
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 ...
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!
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