Confluence loosing png attachments

I got a really frustrating issue with attachments.

PNG files start to disappear from Confluence pages. When you edit a page, there's no idication of an embedded image anymore, however, when viewing the source of the page the links are there.

Given the idiotic way confluence stores files in filesystem mode, I may be wrong, but from what it seems the numbered directory containing the attachment is missing from /attachments folder and the attachment table in the database also has no entries for the filenames.

Both logs have no problems detected.

This seem to happen only to .png images, and from the filename like image-date-something.png, they were copy-pasted to the page from elsewhere.

I doubt the attachments were deleted by the users.

I'm having trouble selling the ugly solution to the customers beside that, and now with Confluence deleting pictures from people's work I spent so much time convincing...well, I'm in hot liquid, and that is not water.

Why does this piece of crap deletes pictures and how to stop that?

3 answers

0 vote
Peter Koczan Atlassian Team Nov 14, 2012

Hi,

I am really sorry to hear that you have such an experience with Confluence, however let me assure you that this is surely not the intended way the product should work.

I suspect the problem to be caused by a third-party plugin, but the case itself surely needs further investigation, thus first check if you have any non-Atlassian plugin installed that deals with attachments (a good catch would be the Attachment Checkout Plugin) and if possible, disable all of them and see if the problem comes back.

Otherwise, it would be advisable to open a support request at http://support.atlassian.com where we could analyse your logs and setup to find possible causes.

Cheers,

Peter

I know that Jira, another Atlassian quality product, have problems with database indexing. Can Confluence suffer from the same desease?

Peter Koczan Atlassian Team Nov 14, 2012

Hi,

It is possible that specific Confluence versions have issues with indexing, however I am unaware of any general issue concerning JIRA database indexing. Could you link the source of this information or a bug report so that I may be able to find additional data on it?

Regards,

Peter

and we pay $8k/year for this...

Peter Koczan Atlassian Team Nov 20, 2012

Hi,

I suggest that you open a support ticket at http://support.atlassian.com, where you can share your logs and instance information with one of our engineers who will be happy to assist you. Please refer to this page for more information on requesting technical support for Confluence.

Kind regards,

Peter

I think I found the problem. Some genius at Atlassian decided it is neat to add : separate times to the name of the png when you copy paste an image. Windows filenames cannot have this symbol, so most of the time it is stored in that file hiearcy Confluence is having on the drive, but probably at some point the file is temporarily saved to disk, and windows just can't save it. Thus we get a dev/NULLed attachment.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,891 views 25 10
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