Exports to PDF, HTML, and XML Fail, but export to Word succeeds due to attachments folder configuration
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
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
Problem
Upon exporting a page to PDF the browser will take the user to a "page not found" page:
The page you were trying to reach does not exist. You may want to try a search, or browse the site to find the page you were looking for.
Space export in all formats (HTML, PDF & XML), while appears able to generate successfully cannot be downloaded - will bring user to the page not found error page.
Attempting to download a Manual XML Backup also leads to the page not found error.
Cause
Confluence cannot resolve the file path of the directories in the home folder properly if it is modified in the confluence.cfg.xml
and that the folders have been moved out of the <confluence-home>
directory.
Resolution
Revert to the original confluence.cfg.xml
and move the folders back to <confluence-home>
folder. There is a related problem being reported in CONF-8730.