Ghost Attachment?

Hello everybody,

this is my first question here so please be patient :)

I am trying to delete an attachment. The problem is that this attachment seems to be some kind of ghost. I can find it using the search field, and click on it and view (or in this case download) it in the search result, so it exists somewhere.



But it doesn't show up as attachment on the page it is (according to the search result URL) linked to.


If I try to insert a link to the file in the original page, the link appears but does not work (a "#" is appended to the URL).

One possible cause is that the original page it was linked to was been split into several subpages.

My main question is: How can I remove that "ghost" attachment completely from Confluence? I don't want to appear it in the search results.

Thank you in advance!


4 answers

Hmm... Seems that it's the same as -- which is displayed as related content but I didn't find before.

0 votes


Try to reindex Confluence in General Configuration in Content Indexing.

0 votes
Davin Studer Community Champion Nov 10, 2017

I've seen this happen if the attachment is in the space trash bin. I believe this was actually a bug that has been fixed. Check the space trash and if it is there purge the file from the trash.

Space Tools (bottom of nav bar) - > Content Tools -> Trash

Thank you for answering. It indeed sounds like that bug. Unfortunately I don't seem to have the permissions to empty the trash :) But I told those would have it.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 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...

1,208 views 2 13
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