[Other doc versions]
This page describes how to recover administrator access to Stash 2.11+. For releases prior to that, please refer to Restoring the Stash Administrator's Password.
As an administrator, you find yourself locked out of Stash and unable to log in. This situation can arise when all users are managed externally from Stash, and Stash becomes unable to access those user directories for some reason, including:
The lockout recovery process for Stash is:
<Stash installation directory>
setenv.baton Windows) and add the "
-Datlassian.recovery.password=temporarypassword" argument to the
JVM_SUPPORT_RECOMMENDED_ARGSproperty. The property value must be non-blank, and should look like this when you've done that:
temporarypassword", but you can use your own value.
setenv.sh, and restart Stash as usual.