Document previews and thumbnails not rendering for HTML, text, and Office docs

Keywords: Alfresco - VMware Marketplace - Technical issue - Application configuration

bndiagnostic ID: 12abebaa-418f-0885-dfa7-46cd26c983f9

bndiagnostic output:

? Connectivity: Found possible issues
? Apache: Found possible issues
https://docs.bitnami.com/general/faq/administration/use-firewall/
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/

bndiagnostic failure reason: The tool could not find any issue

Description:
Upload office docs or create new plaintext or HTML document within Alfresco. The preview tries to render a PDF file for all file types. This very same issue seems to be reported periodically and then disappear.

This appears to be the relevant exception in catalina.out:

2022-04-19 23:30:10,835 ERROR [web.scripts.RepositoryContainer] [http-nio-8080-exec-2] Server error (03190055)
org.springframework.extensions.webscripts.WebScriptException: 03190007 Wrapped Exception (with status template): 03190054 Failed to execute script ‘classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js’: 03190053 Content conversion failed:
reader: ContentAccessor[ contentUrl=store://2022/4/19/22/51/06f354fa-e7bf-43c2-bd01-82d026558a4a.bin, mimetype=text/html, size=2489, encoding=UTF-8, locale=en_GB]
writer: ContentAccessor[ contentUrl=store://2022/4/19/23/30/e14b6f61-12f1-455d-9f93-ab8bc91c3fc8.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=en_US]
options: {}
at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1139)
at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:202)
at org.alfresco.repo.web.scripts.RepositoryContainer.lambda$transactionedExecute$2(RepositoryContainer.java:548)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:450)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:539)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:663)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:699)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:412)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:308)
at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:399)
at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:210)
at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:131)
at org.alfresco.repo.web.scripts.AlfrescoWebScriptServlet.service(AlfrescoWebScriptServlet.java:43)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.springframework.extensions.webscripts.servlet.SecurityHeadersFilter.doFilter(SecurityHeadersFilter.java:177)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.alfresco.web.app.servlet.ClearSecurityContextFilter.doFilter(ClearSecurityContextFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:382)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:895)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1732)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: org.alfresco.scripts.ScriptException: 03190054 Failed to execute script ‘classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js’: 03190053 Content conversion failed:
reader: ContentAccessor[ contentUrl=store://2022/4/19/22/51/06f354fa-e7bf-43c2-bd01-82d026558a4a.bin, mimetype=text/html, size=2489, encoding=UTF-8, locale=en_GB]
writer: ContentAccessor[ contentUrl=store://2022/4/19/23/30/e14b6f61-12f1-455d-9f93-ab8bc91c3fc8.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=en_US]
options: {}
at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:214)
at org.alfresco.repo.processor.ScriptServiceImpl.execute(ScriptServiceImpl.java:219)
at org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:181)
at org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:109)
at org.springframework.extensions.webscripts.AbstractWebScript.executeScript(AbstractWebScript.java:1376)
at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:146)
… 43 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 03190053 Content conversion failed:
reader: ContentAccessor[ contentUrl=store://2022/4/19/22/51/06f354fa-e7bf-43c2-bd01-82d026558a4a.bin, mimetype=text/html, size=2489, encoding=UTF-8, locale=en_GB]
writer: ContentAccessor[ contentUrl=store://2022/4/19/23/30/e14b6f61-12f1-455d-9f93-ab8bc91c3fc8.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=en_US]
options: {}
at org.alfresco.repo.content.transform.AbstractLocalTransform.retryWithDifferentMimetype(AbstractLocalTransform.java:230)
at org.alfresco.repo.content.transform.AbstractLocalTransform.transformWithDebug(AbstractLocalTransform.java:164)
at org.alfresco.repo.content.transform.AbstractLocalTransform.transform(AbstractLocalTransform.java:120)
at org.alfresco.repo.rendition2.LocalSynchronousTransformClient.transform(LocalSynchronousTransformClient.java:126)
at org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable$1.doWork(AbstractTransformationRenderingEngine.java:456)
at org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable$1.doWork(AbstractTransformationRenderingEngine.java:1)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:602)
at org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable.call(AbstractTransformationRenderingEngine.java:445)
at org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable.call(AbstractTransformationRenderingEngine.java:1)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
… 1 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 03190052 Content conversion failed:
reader: ContentAccessor[ contentUrl=store:///opt/bitnami/tomcat/temp/Alfresco/LocalPipelineTransformer_intermediate_html_1045799102407905324.txt, mimetype=text/plain, size=2084, encoding=UTF-8, locale=en_US]
writer: ContentAccessor[ contentUrl=store://2022/4/19/23/30/e14b6f61-12f1-455d-9f93-ab8bc91c3fc8.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=en_US]
options: {}
at org.alfresco.repo.content.transform.AbstractLocalTransform.retryWithDifferentMimetype(AbstractLocalTransform.java:230)
at org.alfresco.repo.content.transform.AbstractLocalTransform.transformWithDebug(AbstractLocalTransform.java:164)
at org.alfresco.repo.content.transform.AbstractLocalTransform.transform(AbstractLocalTransform.java:120)
at org.alfresco.repo.content.transform.LocalPipelineTransform.transformImpl(LocalPipelineTransform.java:119)
at org.alfresco.repo.content.transform.AbstractLocalTransform.transformWithDebug(AbstractLocalTransform.java:159)
… 11 more
Caused by: org.alfresco.error.AlfrescoRuntimeException: 03190051 libreoffice returned a 500 status All in One Transformer - this OfficeManager is currently stopped http://localhost:8090/transform targetExtension=pdf sourceEncoding=UTF-8 sourceMimetype=text/plain sourceExtension=txt targetMimetype=application/pdf
at org.alfresco.repo.content.transform.RemoteTransformerClient.request(RemoteTransformerClient.java:193)
at org.alfresco.repo.content.transform.RemoteTransformerClient.request(RemoteTransformerClient.java:99)
at org.alfresco.repo.content.transform.LocalTransformImpl.transformImpl(LocalTransformImpl.java:193)
at org.alfresco.repo.content.transform.AbstractLocalTransform.transformWithDebug(AbstractLocalTransform.java:159)

Could you please take a look at this other post?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.