Pages can not be copied or images not loaded on a page

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform Notice: Server, Data Center, and Cloud By Request - This article was written for the Atlassian server and data center platforms but may also be useful for Atlassian Cloud customers. If completing instructions in this article would help you, please contact Atlassian Support and mention it.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

Images are unable to be loaded:

Or an error appears when trying to copy a page:



The following appears in the Atlassian-Confluence.log

2015-04-24 10:13:20,200 ERROR [http-bio-8090-exec-4611] [atlassian.confluence.pages.DefaultAttachmentManager] getAttachmentData Could not find data for attachment: Attachment: xxxxxxxx_xxxxxxx.jpg v.1 (xxxxxxxxxx) xxx.xxxxxxx - com.atlassian.confluence.pages.persistence.dao.filesystem.AttachmentDataFileSystemException: No such file for Attachment: xxxxxxxx_xxxxxxx.jpg v.1 (xxxxxxxxxxx) xxx.xxxxxxx

Diagnosis

If you find the following in the <Confluence Home>Attachments directory, you are affected by this issue:

/data/confluence/attachments/ver003/16/131/13631516/112/101/17601362_moved_out_of_the_way

/data/confluence/attachments/ver003/16/131/13631516/116/153/21403366_moved_out_of_the_way

/data/confluence/attachments/ver003/16/131/13631516/116/153/21403366_moved_out_of_the_way/21596180

/data/confluence/attachments/ver003/16/131/13631516/116/153/21403366_moved_out_of_the_way/21596181

/data/confluence/attachments/ver003/16/131/13631516/116/153/21403366_moved_out_of_the_way/21596182

/data/confluence/attachments/ver003/16/131/13631516/116/153/21403366_moved_out_of_the_way/21596183

/data/confluence/attachments/ver003/16/131/13631516/116/153/21403366_moved_out_of_the_way/21596180/1

/data/confluence/attachments/ver003/16/131/13631516/116/153/21403366_moved_out_of_the_way/21596181/1

/data/confluence/attachments/ver003/16/131/13631516/116/153/21403366_moved_out_of_the_way/21596182/1

/data/confluence/attachments/ver003/16/131/13631516/116/153/21403366_moved_out_of_the_way/21596183/1

/data/confluence/attachments/ver003/16/131/13631516/132/153/21403382_moved_out_of_the_way

/data/confluence/attachments/ver003/16/131/13631516/132/153/21403382_moved_out_of_the_way/21596321

/data/confluence/attachments/ver003/16/131/13631516/132/153/21403382_moved_out_of_the_way/23003571

/data/confluence/attachments/ver003/16/131/13631516/132/153/21403382_moved_out_of_the_way/23003662


Cause

 A failed attempt to move a page(s) that timed out. 

Resolution

Copying the contents from the moved_out_of_the_way directories back to the original directory, the one without moved_out_of_the_way in its path, will ensure the images display correctly.

Please note, the missing attachment script should also be able to recover those attachments. More information available here.




Last modified on Oct 14, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.