{"id":1821,"date":"2017-12-06T07:36:41","date_gmt":"2017-12-06T07:36:41","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=1821"},"modified":"2020-01-09T09:41:51","modified_gmt":"2020-01-09T09:41:51","slug":"if-you-have-forgotton-the-admin-password-of-stash","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/if-you-have-forgotton-the-admin-password-of-stash\/","title":{"rendered":"If you have forgotton the admin password of Stash"},"content":{"rendered":"<p><strong>rajeshkumar created the topic: If you have forgotton the admin password of Stash<\/strong><br \/>\nIf you have forgotton the admin password of Stash.<\/p>\n<p>1. Edit the <Stash installation directory>\\bin\\setenv.sh file (or setenv.bat on Windows) and add the &#8220;-Datlassian.recovery.password=temporarypassword&#8221; argument to the JVM_SUPPORT_RECOMMENDED_ARGS property. The property value must be non-blank,Here we are using &#8220;temporarypassword&#8221;, but you can use your own value.<\/p>\n<p>2. Start Stash.<br \/>\n3. Log in to Stash using the &#8216;recovery_admin&#8217; username and the temporary password specified in Step 1.<br \/>\n4. 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.<br \/>\n5. Confirm your ability to log in with your usual admin profile.<br \/>\n6. Shut down Stash, remove the atlassian.recovery.password argument from setenv.sh, and restart Stash as usual.<\/p>\n<p>Reference- <a href=\"http:\/\/twitter.com\/RajeshKumarIn\" target=\"_blank\" rel=\"noopener\">confluence.atlassian.com\/display\/STASH\/Lockout+recovery+process<\/a><br \/>\nRegards,<br \/>\nRajesh Kumar<br \/>\nTwitt me @ <a href=\"http:\/\/twitter.com\/RajeshKumarIn\" target=\"_blank\" rel=\"noopener\">twitter.com\/RajeshKumarIn<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8220;-Datlassian.recovery.password=temporarypassword&#8221; argument to the JVM_SUPPORT_RECOMMENDED_ARGS property. The property value must be non-blank,Here we are using &#8220;temporarypassword&#8221;, but you can use your&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[2],"tags":[406],"class_list":["post-1821","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-stash"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1821","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=1821"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1821\/revisions"}],"predecessor-version":[{"id":1822,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1821\/revisions\/1822"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=1821"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=1821"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=1821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}