Hi. We wanted to test a recovery mode procedure for confluence, to have adm access to the app in case of domain failure. Following information in these links:
Restore Passwords To Recover Admin User Rights | Confluence Data Center 10.2 | Atlassian Documentation
Configuring System Properties | Confluence Data Center 10.2 | Atlassian Documentation
we tried inserting the following to the helm chart to trigger recovery mode and generate temp admin account:
Hi @Mateusz Lewandowski ,
An unique recovery admin username is created when you activate recovery mode. You need to that username and your password added in the property file.
You can find the username in atlassian-confluence-security.log file.
Tt will be something like below in the log file.
Recovery admin username: '{username}'
The issue is that the flag -Datlassian.recovery.password= never makes it to config map (ss attached). I think we are passing this value incorrectly in the helm chart.
Add the property without the quotes "" and then restart the application
Example:
additionalJvmArgs: - -Dcom.sun.management.jmxremote - -Dcom.sun.management.jmxremote.port=8099<br><span> - </span><span>-Datlassian.recovery.password=<strong>abcd1234</strong></span><br>
You can refer below link on how to add the propertieshttps://confluence.atlassian.com/adminjiraserver0820/setting-properties-and-options-on-startup-1095777714.html#Settingpropertiesandoptionsonstartup-Kubernetes(DCHelmCharts)
It looks like you're new here. Sign in or register to get started.