Pages can not be copied or images not loaded on a page
Platform Notice: Cloud and Data Center - This article applies equally to both cloud and data center platforms.
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
Summary
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
1
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:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/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.
Solution
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.
Was this helpful?