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

Incorrect lockout recovery instructions for Bitbucket

Brandon Hill Nov 29, 2017

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

Christian Glockner Atlassian Team Nov 30, 2017

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 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

1,964 views 1 19
Read article

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