Attachments missing in Confluence

I'm using Confluence 4.2.1 and I have pages where attachments are disappearing.
Attachments are stored on disk and they aren't removed physically but the records in the Attachments table in the database seem to be removed, so the attachments cannot be found by a page.

It only happens on a few pages but if so all (links to) attachments on that page are removed.
I don't think someone has deleted them by accident, because the files themselves are not removed, only the links in the database. Is there some kind of process what's causing this? A bug in Confluence?


1 answer

We have the same problem with Confluence 5.1.5. We resolved it by recreating the attachements (which were still in the attachment directory).

There is this, reported problem/workaround that may work for you. It didn't work for us though.

Thanks. I can try it but running the script or recreating the attatchments cannot be a definite solution. Until now there is only one user who reported this problem but I have about 60 spaces and hundreds of users. I expect this will be much more in the next months.
If this isn't solved by Atlassian yet, I need to look for a document management system to store important attachments.

I have contacted Atlassian Support for this but they need more information, for example from the log files. I have to wait until this problem will occur again.

I have created a trigger on the attachments table which is fired when an attachment is removed. The attachment data will be copied to a temporary table. If an attachment is removed from a space where nobody has permissions to do so, I'll get a mail of that. Then I can look in the log files for more information.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Tuesday in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

193 views 2 10
Read article

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