Exporting Confluence on Read-Only is throwing Something went wrong message

XMLWordPrintable

    • 5
    • Severity 3 - Minor
    • 2

      Issue Summary

      If Confluence is on read-only mode and we attempt to export the site or spaces, it fails without any significant error message.

      This is reproducible on Data Center: (yes)

      Steps to Reproduce

      1. Navigate to the General Configuration >> Maintenance page and set Confluence on read-only mode;
      2. Go to the Backup and Restore page and select the option to export a site;
      3. Click on the Back up button to export;
      4. Confirm the export;

      Expected Results

      Confluence will create the backup export file;

      Actual Results

      The following message is thrown on the screen and no files are created:

      If we enable the DEBUG log for the com.atlassian.confluence.impl.backuprestore class, it shows the following entries when we attempt the export:

      atlassian-confluence.log
      2024-02-22 15:27:23,487 WARN [backuprestore-site-backup:thread-8] [activeobjects.confluence.backup.LoggingBackupProgressMonitor] beginBackup Begin Active objects backup, change log level to INFO for com.atlassian.activeobjects.confluence.backup for more detailed logging.
       -- url: /rest/api/backup-restore/backup/site | userName: username | referer: baseURL/plugins/servlet/backup-and-restore/backup | traceId: cbf35gc1e37c16e3
      2024-02-22 15:27:25,839 WARN [backuprestore-site-backup:thread-8] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions:\n  ->[null]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT,readOnly (Session #849989749)
       -- url: /rest/api/backup-restore/backup/site | userName: username | referer: baseURL/plugins/servlet/backup-and-restore/backup | traceId: cbf35gc1e37c16e3
      

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Unassigned
            Reporter:
            Renata Bueno
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: