Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

No permission to access stash Edited

Internal Directory Changed from Drop down error unable to loginto Stash URL. Error you don't have permission to access stash.

1 answer

1 accepted

0 votes
Answer accepted
Moses Thomas Community Leader May 21, 2020

@Server Team   Sorry that you are experiencing such  issue  are you able to  provide  logs  in



Kind regards,


None of the users are able to access not even administrator account. For everyone it keep giving the message No permission. I think I have accidentally moved the group directory down and none of the users who are configured through LDAP are able to login. 

I am totally new to it and we actually Git installed on the server I don't see any directory name BAMBOOINSTALLDIR for the logs

Moses Thomas Community Leader May 21, 2020

@Server Team  <BAMBOOINSTALLDIR>  means the installation  directory,  since you have sensed  that you might move the directory, you would need to do the Lockout recovery process   so that you can access bit-bucket as admin and the order the directory back  as it was. 

I am unable to paste the Logs in the this window Max 20000 Characters. Yes I might have moved the directory and We have configured on Windows Machine and its not Linux. Can you please share the article on how to do the Lockout recovery on windows Machine. The one which you gave has example of Linux. 



Moses Thomas Community Leader May 21, 2020

@Server Team  It is in the link but let me past here directly

Configuring your system properties  in Windows it setenv.bat file  and the syntax in mentioned.

Thanks I find stenev.bat wanted to make sure if I am doing correct. 


rem Occasionally Atlassian Support may recommend that you set some specific JVM arguments. You can use this variable
rem below to do that.
set JVM_SUPPORT_RECOMMENDED_ARGS="-Datlassian.recovery.password=temporarypassword"


Is this correct path in Windows setenv.bat and I will restart the bamboo instance and login with temp password for repair.

@Moses Thomas I need your help in getting this resolved. I am sorry for troubling you. If you could please assist and let me know if you get a chance to look into the previous message. It is production repository I don't want to take any chances. Please help me out.

Moses Thomas Community Leader May 22, 2020

@Server Team  In the setenv.bat  just add


set CATALINA_OPTS=-Datlassian.recovery.password=abc %CATALINA_OPTS%

the user to login is  recovery_admin   you should be fine

@Moses Thomas  Thanks for your reply. I find these two options in catalina.bat


Shall I enter  at all the location.

-Datlassian.recovery.password=abc %CATALINA_OPTS%

set ACTION=stop
goto execCmd

set ACTION=configtest
goto execCmd


rem Execute Java with the applicable properties
if not "%JPDA%" == "" goto doJpda
if not "%SECURITY_POLICY_FILE%" == "" goto doSecurity
goto end
goto end
if not "%SECURITY_POLICY_FILE%" == "" goto doSecurityJpda
goto end
goto end


@Moses Thomas Sorry I missed your line for adding it in setenv.bat


I will be adding this line before the end of the batch file 

set CATALINA_OPTS=-Datlassian.recovery.password=abc %CATALINA_OPTS%

Do we need to restart the bamboo services?  

@Moses Thomas  Thank you so much for your help and support. We finally fixed the issue with your support and guidance.

Like Moses Thomas likes this
Moses Thomas Community Leader May 22, 2020

@Server Team  I am  glad, please accept answer so that other who fall into the same situation could use solution.

KInd regards,


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Bitbucket

Share your use cases: How do you use the Bitbucket-Jira integration? How does it help your team?

Hey everyone, over the past year, we've added several new features to how you can use Bitbucket and Jira together. We'd love to know how you'll are using the integration and how it's helping your tea...

37 views 0 1
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you