Difference between revisions of "Confluence: Restore Passwords To Recover Admin User Rights"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
  
 
Edit: <code>[[/opt/atlassian/confluence/bin/start-confluence.sh]]</code>
 
Edit: <code>[[/opt/atlassian/confluence/bin/start-confluence.sh]]</code>
:Old line: <code>-Datlassian.recovery.password=<your-password></code> in <code>/opt/atlassian/confluence/bin/start-confluence.sh</code>
+
:Old line: <code>[[export]] START_CONFLUENCE_JAVA_OPTS="-Datlassian.recovery.password=<your-password></code>
 
:New line: <code>export START_CONFLUENCE_JAVA_OPTS="-Datlassian.plugins.startup.options='${@}' -Datlassian.recovery.password=YOUR_NEW_PASS"</code>
 
:New line: <code>export START_CONFLUENCE_JAVA_OPTS="-Datlassian.plugins.startup.options='${@}' -Datlassian.recovery.password=YOUR_NEW_PASS"</code>
  

Revision as of 08:06, 3 March 2021

Version 7.11


Edit: /opt/atlassian/confluence/bin/start-confluence.sh

Old line: export START_CONFLUENCE_JAVA_OPTS="-Datlassian.recovery.password=<your-password>
New line: export START_CONFLUENCE_JAVA_OPTS="-Datlassian.plugins.startup.options='${@}' -Datlassian.recovery.password=YOUR_NEW_PASS"
  • User: recovery_admin
  • Passwd: <your-password>

Version 6.10

1) Stop confluence: systemctl stop confluence

2) Edit /opt/atlassian/confluence/bin/setenv.sh
User: recovery_admin 
Pass: password in setenv.sh file
/opt/atlassian/confluence/bin/start-confluence.sh


Related terms

See also

Advertising: