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>-Datlassian.recovery.password=<your-password></code> in <code>/opt/atlassian/confluence/bin/start-confluence.sh</code>
Net line: <code>export START_CONFLUENCE_JAVA_OPTS="-Datlassian.plugins.startup.options='${@}' -Datlassian.recovery.password=YOUR_NEW_PASS"</code>
+
:Net line: <code>export START_CONFLUENCE_JAVA_OPTS="-Datlassian.plugins.startup.options='${@}' -Datlassian.recovery.password=YOUR_NEW_PASS"</code>
  
 
* User: recovery_admin
 
* User: recovery_admin

Revision as of 08:03, 3 March 2021

Version 7.11


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

Old line: -Datlassian.recovery.password=<your-password> in /opt/atlassian/confluence/bin/start-confluence.sh
Net 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: