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 Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

679 views 5 9
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