Internal Server error messages while performing Confluence XML Export

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

When performing an XML export, Confluence shows an internal server error message in the UI. Similar to the behavior described in our Browser Timeout When Attempting to Restore XML Backup Via Upload Method, the error message displayed in the UI should not be a Confluence error message. If we are seeing a Confluence error in the UI, this is not the same behavior and you'll want to consult support. 

Solution

In this situation, it is very possible that the backup is still running despite the error message in the UI. We can confirm whether or not the backup is processing by doing one of the following:

  • Search the atlassian-confluence.log file for endBackup Completed active objects backup. Example log below:

1 2 3 4 2020-11-03 17:53:04,394 WARN [http-nio-6780-exec-10] [activeobjects.confluence.backup.LoggingBackupProgressMonitor] beginBackup Begin Active objects backup, change log level to INFO for com.atlassian.activeobjects.confluence.backup for more detailed logging -- referer: http://localhost:6780/c780/admin/backup.action | url: /c780/admin/dobackup.action | traceId: 3db6caed3b0b1734 | userName: admin | action: dobackup 2020-11-03 17:53:08,063 WARN [http-nio-6780-exec-10] [activeobjects.confluence.backup.LoggingBackupProgressMonitor] endBackup Completed active objects backup. -- referer: http://localhost:6780/c780/admin/backup.action | url: /c780/admin/dobackup.action | traceId: 3db6caed3b0b1734 | userName: admin | action: dobackup
  • Monitoring the size of the <Confluence-Home>/temp/* directory. This is where the backup is temporarily stored while being written. If the size of this directory is getting bigger, the backup is being processed. 

    • The XML export file found in this directory is the same as the backup. 

Updated on March 18, 2025

Still need help?

The Atlassian Community is here for you.