If you have forgotton the admin password of Stash

By | December 6, 2017

rajeshkumar created the topic: If you have forgotton the admin password of Stash
If you have forgotton the admin password of Stash.

1. Edit the \bin\setenv.sh file (or setenv.bat on Windows) and add the “-Datlassian.recovery.password=temporarypassword” argument to the JVM_SUPPORT_RECOMMENDED_ARGS property. The property value must be non-blank,Here we are using “temporarypassword”, but you can use your own value.

2. Start Stash.
3. Log in to Stash using the ‘recovery_admin’ username and the temporary password specified in Step 1.
4. Repair your Stash configuration.You may reset the admin password as well. We strongly recommend that you do not perform other actions while Stash is in recovery mode.
5. Confirm your ability to log in with your usual admin profile.
6. Shut down Stash, remove the atlassian.recovery.password argument from setenv.sh, and restart Stash as usual.

Reference- confluence.atlassian.com/display/STASH/Lockout+recovery+process
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn