-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 9.1.0, 9.1.1, 9.2.0, 9.2.2, 9.3.2
-
Component/s: Accessibility
-
5
-
Severity 2 - Major
-
35
Issue Summary
Enabling Maintenance Mode + Recovery Mode (as described in Restore Passwords to Recover Admin User Rights results in all login attempts failing, including those for the Recovery Admin user. The error displayed is:
"Something went wrong. Refresh the page and try again."
This effectively makes Confluence entirely inaccessible.
This is reproducible on Data Center: Yes
Steps to Reproduce
- Enable Maintenance Mode in Confluence.
- Enable Recovery Mode by setting the required property in confluence.cfg.xml as per Atlassian's recovery guide.
- Restart Confluence.
- Attempt to log in using the Recovery Admin or any other user (admin or non-admin).
Expected Results
- The generated Recovery Admin user should be able to log in to perform administrative actions.
Actual Results
- All login attempts (including those from the Recovery Admin) fail with the error:
"Something went wrong. Refresh the page and try again.":

Workaround
Disable Maintenance Mode and restore access (Outside the UI):
Option 1:
- Modify the confluence.cfg.xml file in the Shared Home directory:
- From: <property name="access.mode">READ_ONLY</property>
- To: <property name="access.mode">READ_WRITE</property>
- Restart Confluence.
Option 2 (Database) - Take a backup before any modifications:
- Run the following SQL query:
SELECT * FROM BANDANA WHERE BANDANACONTEXT = '_GLOBAL' AND BANDANAKEY = 'atlassian.confluence.settings';
- Copy the entire BANDANAVALUE
- Find <maintenanceBannerMessageOn>true</maintenanceBannerMessageOn>
- Change it to <maintenanceBannerMessageOn>false</maintenanceBannerMessageOn>
- Run the following query to update the BANDANAVALUE:
UPDATE BANDANA SET BANDANAVALUE = '<Paste the entire BANDANAVALUE after the modification>' WHERE BANDANACONTEXT = '_GLOBAL' AND BANDANAKEY = 'atlassian.confluence.settings';
- Restart Confluence.
Note that we have a Feature Request to Allow for different ways to put Confluence into Read Only Mode before startup:
- mentioned in
-
Page Loading...