File attachments are not working for a particular space

All existing file attachments for a particular space are showing:

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.

 

We have have confirmed the files still exist on the physical file system. Additionally any new file attachments work normally.

Some of the files do not appear to follow the hierarchy as specified in: https://confluence.atlassian.com/doc/hierarchical-file-system-attachment-storage-704578486.html

We are currently running Confluence Server 6.3.3

 

How do we go about restoring the file attachments? We have tried rebuilding the ancestors table and the content index. 

1 answer

0 votes
Ann Worley Atlassian Team Dec 12, 2017

Thank you so much for the detailed description that includes your Confluence version and the steps you have taken up to now.

As long as the attachments are found on the file system, as you already determined, they can be moved to where Confluence "expects" them to be by using the Python script attached to this knowledge base article: How to resolve missing attachments in Confluence

I look forward to hearing how this works for your case.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

950 views 13 11
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you