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

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
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>
Net 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>
  
* User: recovery_admin
+
* User: <code>recovery_admin</code>
* Passwd: <your-password>
+
* Passwd: <code>your-password</code>
  
 +
[[/opt/atlassian/confluence/bin/stop-confluence.sh]]
 +
[[/opt/atlassian/confluence/bin/start-confluence.sh]]
  
 
== Version 6.10 ==
 
== Version 6.10 ==
Line 28: Line 30:
 
* Global Permissions Overview https://confluence.atlassian.com/conf73/global-permissions-overview-991928500.html#GlobalPermissionsOverview-confadmin
 
* Global Permissions Overview https://confluence.atlassian.com/conf73/global-permissions-overview-991928500.html#GlobalPermissionsOverview-confadmin
  
* [[Jira, restore password]] https://confluence.atlassian.com/jira/retrieving-the-jira-administrator-192836.html?_ga=2.117440777.1428124709.1593320299-1980951556.1561525377
+
* [[Jira, restore password]]
  
 
== See also ==
 
== See also ==

Latest revision as of 17:11, 4 March 2021

Version 7.11[edit]


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
/opt/atlassian/confluence/bin/stop-confluence.sh
/opt/atlassian/confluence/bin/start-confluence.sh

Version 6.10[edit]

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[edit]

See also[edit]

Advertising: