Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Our Confluence is having problems with the attachments. All of the current attachments can't be found. New attachments work fine.
Attachment File Not Found
The attachment you were trying to download could not be found in the attachment file store. Either the file has been deleted manually or there was an error in removing the record of the attachment from Confluence.
If this attachment is no longer required you can delete it from Confluence on the attachments page. Otherwise, you will need to attach a new copy.
I'm trying to verify if my attachment is still there using <confluence url>/admin/findspaceattachments.jsp according to this link https://confluence.atlassian.com/doc/hierarchical-file-system-attachment-storage-704578486.html
However it says that my attachment configuration is not supported by this tool even when I'm using the filesystem configuration
Not sure if I can use the script in this link to recover my attachments
Hello,
That KB is for a very old Confluence version, so it might not work on your current code.
I would recommend to first check the path that attachment is expected at inside <Confluence_home>/attachments folder (get path from URL or look for missing attachments errors in atlassian-confluence.log), if you can not find the file in the specified path then use the first part of the KB and see if you can locate the file from attachments ID. In cases where structure was changed due to migration, it could be that attachments are still in the system, but under slightly different path, if that is the case, then the script from the KB can be used in combination with DB query, as it's basically designed to locate attachments per ID and move them to the right directory.
If you can't locate any files associated with attachment ID on the disk, then you should restore the contacts of attachments directory from backup, merging them with existing and then do a full re-index and if doesn't help, re-index from scratch.
Few causes for missing attachments:
Let me know how it goes
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register Now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.