Incorrect lockout recovery instructions for Bitbucket

After banging my head off the desk for multiple hours I finally figured out that the instructions here https://confluence.atlassian.com/bitbucketserver/lockout-recovery-process-776640158.html are slightly incorrect.  

The file needs to be edited to add set in front of the argument or the bitbucket will fail to launch after the modification. 

set "JVM_SUPPORT_RECOMMENDED_ARGS=-Datlassian.recovery.password=temporarypassword"

 The feedback button doesn't work at the bottom of the screen either so this was the only way I could figure out to let anyone know. 

1 comment

Hi Brandon,

There should already be a line in the setenv.bat file for this environment variable, and as the article explains, you need to add the value to the line rather than putting the whole line there:

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

But anyway, I'll add some clarifications on what the line should look like on Windows.

Cheers,

Christian

Premier Support Engineer

Atlassian

Comment

Log in or Sign up to comment
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

2,367 views 9 12
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you