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

From wikieduonline
Jump to navigation Jump to search
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
https://confluence.atlassian.com/conf610/restore-passwords-to-recover-admin-user-rights-952622930.html
 
  
 +
== Version 7.11 ==
 +
* Datacenter 7.11: https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html
  
  
 +
Edit: <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>
  
 +
* User: <code>recovery_admin</code>
 +
* Passwd: <code>your-password</code>
  
  [[systemctl stop]] confluence
+
  [[/opt/atlassian/confluence/bin/stop-confluence.sh]]
 +
[[/opt/atlassian/confluence/bin/start-confluence.sh]]
 +
 
 +
== Version 6.10 ==
 +
* Datacenter 6.10: https://confluence.atlassian.com/conf610/restore-passwords-to-recover-admin-user-rights-952622930.html
 +
 
 +
1) Stop confluence: [[systemctl stop]] confluence
 
   
 
   
  Edit /opt/atlassian/confluence/bin/[[setenv.sh]]
+
  2) Edit /opt/atlassian/confluence/bin/[[setenv.sh]]
  
 
  User: recovery_admin  
 
  User: recovery_admin  
Line 13: Line 25:
  
 
  [[/opt/atlassian/confluence/bin/start-confluence.sh]]
 
  [[/opt/atlassian/confluence/bin/start-confluence.sh]]
 
 
== Method 2 ==
 
 
* https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html
 
 
 
 
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=123456"</code>
 
 
* User: recovery_admin
 
* Passwd: <your-password>
 
  
  
Line 31: 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: