When I open certain pages with attached images in 'Edit' mode, I find that the images are replaced by 'Unknown Attachment' placeholder text even though they've been physically attached to the page.
The funny thing is that if I proceed to save the page, the images are permanently replaced by the 'Unknown Attachment' placeholder text in View mode. The only way to retrieve them in this case is to revert the page to its previous version, and reattach the images before saving the page.
What could be causing this?
Hello there! Great to have you in our community, @Sean_Braganza.
What I got from your description, is that page attachments in specific pages become the “Unknown Attachment”.
I have seen this issue a few times and there is a chance that you are being affected by the following bug:
We could try to turn collaborative editing off and on. After that, we could check if the issue is still present. Here is how to proceed.
- Click the Cog icon in the top right corner
- Select General Configuration
- Select Collaborative editing
- Click Change Mode
- Select Off
- Click Change Mode again
- Select On
- Check if the issue is still present
For further investigation, would it be possible for you to give us a little more information? Here is a concise list of questions to help us better understand this situation:
- Is this affecting other types of attachments
- Do the affected attachments have special characters in their names?
- When did you first face this issue?
- Which version of Confluence are you running?
Let us hear from you, Sean! Looking forward to your reply.
Thanks for your response, Diego.
Turning collaborative editing on and off seemed to have no effect on the issue whatsoever. Regarding your questions:
1. No, so far it only seems to be affecting images.
2. No special characters in the name. Initially we were of the impression that solely PNG images were being affected, but this doesn't seem to be the case.
3. The issue began many months ago, somewhere around April - May, after we upgraded Confluence from 5.x.x to 6.x.x. That was the time we started missing a few missing images but it wasn't very prominent.
Last week we updated Confluence to 7.0.1, following which we started facing issues with our local server. The machine's memory modules were replaced, and that's when we started noticing more and more 'unknown attachments'.
This makes me feel that the 'unknown attachments' issue is caused by a servers-de problem more than anything, but I wouldn't know how exactly.
4. As I said, version 7.0.1.
Thanks for keeping the thread alive, @seanbCry !
I will now try to address some of the answers you brought to the table. Let us begin.
“Turning collaborative editing on and off seemed to have no effect on the issue whatsoever.”
Are you referring to already problematic images (missing images) or even newly added images (after the off-on procedure) are affected?
“3. The issue began many months ago, somewhere around April - May, after we upgraded Confluence from 5.x.x to 6.x.x. That was the time we started missing a few missing images but it wasn't very prominent.”
We could try to re-index your instance and check if the images are still missing. There are two types of re-indexing. One that does not require restarting the instance and a more “complete” one. Here is the documentation for both:
One important note is that rebuilding the index from scratch requires instance downtime. Also, while the re-index via the interface (no restart needed) does not require downtime, you and your users will experience a degraded performance as a result of the process being executed. So it is highly advisable to also schedule downtime for this procedure as well.
Let us hear from you, Sean!
Hi @Sean_Braganza - was your "unknown attachment" issue resolved by re-indexing?
We are currently facing the exact same issue (Server 7.2.0): images that were attached and displayed in pages become "unknown attachment" when opening the editor.
This seems to happen randomly: not all pages are affected and initially we wrote it off as a user error (we have just converted from another tool and thought we had overlooked a few pages in the process).
Our issue is still unresolved. We have been working with Atlassian support and they have been most helpful.
After some research, we have just agreed that the most likely cause for our issue is that we have used the unsupported plugin (https://confluence.atlassian.com/confkb/how-to-copy-or-rename-a-space-in-confluence-169578.html).
But there is no way to confirm this and it is worrying if you guys have not been using the unsupported plugin.
We can fix each issue manually in the affected pages but it would be a hopeless task if it just keeps appearing for some other reason...
For me the problem appeared when a user tried to upload a file with "ö" in the name and the file became an "unknown attachment". Removing the attachment and then renaming the file and removing ö from the name seemed to mitigate the problem.
It's not consistent however – there are another files, both doc and pdf, with ö in the name that's showing correctly and I could also retrieve the failed attachment from the page history or the Attachments page.
Still on 7.3.3, now upgrading to 7.4.
Hello! We are experiencing a similar issue. I will use the editor and publish the page with the images. Now when we go back (sometimes months later) and edit the title of the page all the attachments will then says ? unknown attachment.
We use Scroll viewport on one of our sites and we don't on the other. This issue has been in the viewport instance mostly.
Atlassian has fixed the "unknown attachment" issue as bug, see https://jira.atlassian.com/browse/CONFSERVER-55928
In 7.7.3 and 7.8.0 the issue should not occur but existing pages with the issue will have to be fixed manually.
- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events