Thumbnail file for attachment **.png does not exist

The attachment of Many Files is lost. The backstage log print as bellow.

I enter  into "/data/home/data32/thumbnails/" ,and I can't find the directory"102611398" of this files. and the  folders are eight digits without nine digits.

 

at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.FileNotFoundException: Thumbnail file for attachment bizprodmng_VMӲ��ӱ���.png is '/data/home/data32/thumbnails/102611398/thumb_bizprodmng_VMӲ��ӱ���.png'. But this file does not exist.
at com.atlassian.confluence.pages.thumbnail.DefaultThumbnailManager.getThumbnailData(DefaultThumbnailManager.java:89)
at com.atlassian.confluence.importexport.resource.ThumbnailDownloadResourceManager$ThumbnailInputStreamSource.getInputStream(ThumbnailDownloadResourceManager.java:70)
at com.atlassian.confluence.importexport.resource.ThumbnailDownloadResourceReader.getStreamForReading(ThumbnailDownloadResourceReader.java:53)
... 105 more
2016-1-7 19:14:57 org.apache.catalina.core.StandardWrapperValve invoke
����: Servlet.service() for servlet file-server threw exception
java.lang.RuntimeException: java.io.FileNotFoundException: Thumbnail file for attachment PSBP�ں�ɨ�豨��.JPG is '/data/home/data32/thumbnails/102611398/thumb_PSBP�ں�ɨ�豨��.JPG'. But this file does not exist.
at com.atlassian.confluence.importexport.resource.ThumbnailDownloadResourceReader.getStreamForReading(ThumbnailDownloadResourceReader.java:57)
at com.atlassian.confluence.servlet.download.AttachmentDownload.getStreamForDownload(AttachmentDownload.java:165)

 

 

 

image2016-1-7 19:40:12.png

image2016-1-7 19:56:41.png

2 answers

Have you reviewed the troubleshooting page at https://confluence.atlassian.com/display/CONFKB/Images+and+Thumbnails+Troubleshooting

Also have you by any chance recently upgraded or made any configuration changes that could have affected your JVM?

I have reviewed the troubleshooting page and I am sure that the JVM does have the "-Djava.awt.headless=true" specified. Now the biggest problem is that " Thumbnail file for attachment 1.jpg is '/home/admin/data/home/data32/thumbnails/102098990/thumb_1.jpg'. but this file does not exist." when I enter into the "/home/admin/data/home/data32/thumbnails/" directory,I can find many many child folder ,but I can't find any folder with nine digits (for example /102098990).They are only eight Numbers (for example /10294053) .I want to know attachment file how to store ,and the naming rules of storage location. Is it possible the generated folder lost or the number of the folder is restricted?

 

And I find the log show this as below,

Please help me to see what is problem

2016-01-09 15:51:36,371 ERROR [http-8090-8] [confluence.pages.thumbnail.DefaultThumbnailManager] getThumbnailsFolder Containing folders /data/home/data32/thumbnails/104628363 for the attachment ÆÁÄ»¿ìÕÕ 2016-01-09 ÏÂÎç3.33.41.png could not be created
2016-01-09 15:51:36,433 ERROR [http-8090-8] [core.util.thumbnail.Thumber] storeImage Error encoding the thumbnail image
java.io.FileNotFoundException: /data/home/data32/thumbnails/104628363/thumb_ÆÁÄ»¿ìÕÕ 2016-01-09 ÏÂÎç3.33.41.png (No such file or directory)

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,233 views 23 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