Thumbnail file for attachment **.png does not exist

Jone January 7, 2016

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

0 votes
Jone January 8, 2016

 

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)

0 votes
Phill Fox
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 7, 2016

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?

Jone January 8, 2016

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?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events