Locked out of Confluence

Roei Kessler
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 22, 2020

I'm trying to migrate my server from cloud to on-premise. After importing all the data I can't login to the confluence server. I have followed the instruction on how to enter the recovery password but it doesn't seem to be working.

This is what I have added to the setenv.sh file

CATALINA_OPTS="-Datlassian.recovery.password=1qaz@WSX ${CATALINA_OPTS}"


The confluence is running on as a container.

Anyone has encountered this issue?

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 24, 2020

Hello Roei,

Welcome to Atlassian Community, and thanks for raising this with us.

When you say that Confluence is running on a container, is this in Docker, or something else? Can you show me exactly the commands you used in the container to update setenv.sh?

An example in Docker might be like this:

docker run -e JVM_SUPPORT_RECOMMENDED_ARGS=-Datlassian.recovery.password=admin -v /host/data/confluence:/var/atlassian/application-data/confluence --name="confluence" -d -p 8090:8090 -p 8091:8091 atlassian/confluence-server

Otherwise, you may also be able to recover your rights using the database recovery method, which you can find in the Confluence 6.* documentation below:

Looking forward to hearing from you soon!

Take care,


Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events