AnsweredAssumed Answered

Alfresco 4.2.d not create thumbnail for documents

Question asked by mukata69 on Sep 9, 2013
Latest reply on Sep 19, 2013 by bcsx
Dear All,

Please help.
I have a problems with Alfresco 4.2.d community edition on Ubuntu server 12.04 LTS

- I've clean install alfresco 4.2.d + pgsql9.2
- I can upload and preview documents but no thumbnails for documents(word,pdf,excel) are generated.

- Log appears as below when uploaded document files.


(sorry for my poor english)



Caused by: org.alfresco.service.cmr.repository.ContentIOException: 08090096 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store:///opt/alfresco-4.2.d/tomcat/temp/Alfresco/ComplextTransformer_intermediate_txt_2545122329981768705.pdf, mimetype=application/pdf, size=19060, encoding=UTF-8, locale=en_US]
   writer: ContentAccessor[ contentUrl=store:///opt/alfresco-4.2.d/tomcat/temp/Alfresco/FailoverTransformer_intermediate__4100293629950929643.png, mimetype=image/png, size=0, encoding=UTF-8, locale=en_US]
   options: {targetContentProperty=null, contentReaderNodeRef=null, contentWriterNodeRef=null, imageResizeOptions=ImageResizeOptions [width=100, height=100, maintainAspectRatio=true, percentResize=false, resizeToThumbnail=false, allowEnlargement=false], use=doclib,

sourceContentProperty=null, includeEmbedded=false, commandOptions=, imageAutoOrient=true}
   limits:
        at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:256)
        at org.alfresco.repo.content.transform.ComplexContentTransformer.transformInternal(ComplexContentTransformer.java:484)
        at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:211)
        … 31 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 08090092 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store:///opt/alfresco-4.2.d/tomcat/temp/Alfresco/ComplextTransformer_intermediate_txt_2545122329981768705.pdf, mimetype=application/pdf, size=19060, encoding=UTF-8, locale=en_US]
   writer: ContentAccessor[ contentUrl=store:///opt/alfresco-4.2.d/tomcat/temp/Alfresco/FailoverTransformer_intermediate_ProxyContentTransformer_670218524977774851.png, mimetype=image/png, size=0, encoding=UTF-8, locale=en_US]
   options: {targetContentProperty=null, contentReaderNodeRef=null, contentWriterNodeRef=null, imageResizeOptions=ImageResizeOptions [width=100, height=100, maintainAspectRatio=true, percentResize=false, resizeToThumbnail=false, allowEnlargement=false], use=doclib,

sourceContentProperty=null, includeEmbedded=false, commandOptions=, imageAutoOrient=true}
   limits:
        at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:256)
        at org.alfresco.repo.content.transform.FailoverContentTransformer.transformInternal(FailoverContentTransformer.java:201)
        at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:211)
        … 33 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 08090091 Failed to perform ImageMagick transformation:
Execution result:
   os:         Linux
   command:    /opt/alfresco-4.2.d/common/bin/convert /opt/alfresco-4.2.d/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_source_5527297306091732146.pdf[0] -auto-orient -resize "100x100>" /opt/alfresco-

4.2.d/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_target_8485323807410402436.png
   succeeded:  false
   exit code:  1
   out:
   err:        gs: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory
.convert.bin: Postscript delegate failed `/opt/alfresco-4.2.d/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_source_552729730609
        at org.alfresco.repo.content.transform.magick.ImageMagickContentTransformerWorker.transformInternal(ImageMagickContentTransformerWorker.java:188)
        at org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformerWorker.transform(AbstractImageMagickContentTransformerWorker.java:273)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:72)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at com.sun.proxy.$Proxy16.transform(Unknown Source)
        at org.alfresco.repo.content.transform.ProxyContentTransformer.transformInternal(ProxyContentTransformer.java:98)
        at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:211)
        … 35 more

Outcomes