<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumb in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/failed-to-execute-script-classpath-alfresco-templates-webscripts/m-p/494449#M40556</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;My installation uses :&lt;BR /&gt;- Alfresco Content Services Community: 23.4.0&lt;BR /&gt;- Alfresco Repository: 23.4.0.67&lt;BR /&gt;- Alfresco Share: 23.4.0.46&lt;/P&gt;&lt;P&gt;Transform-core is running :&lt;/P&gt;&lt;P&gt;Root rayleigh:[/opt] &amp;gt; ps auwx | grep transform-core&lt;BR /&gt;root 4967 0.0 0.0 5668 2752 ? S nov.02 0:00 su - tomcat -c nohup /usr/lib/jvm/java-17-openjdk-amd64/bin/java -DLIBREOFFICE_HOME=/usr/lib/libreoffice -jar /opt/alfresco-transform-core-aio-5.1.6.jar&lt;BR /&gt;tomcat 4971 0.1 3.6 10049844 603316 ? Ssl nov.02 14:13 /usr/lib/jvm/java-17-openjdk-amd64/bin/java -DLIBREOFFICE_HOME=/usr/lib/libreoffice -jar /opt/alfresco-transform-core-aio-5.1.6.jar&lt;/P&gt;&lt;P&gt;PDF rendering seems to run as expected. Image rendering has worked in the past. I have tried to import new image without trouble, only a few&amp;nbsp;thumbnails are not created.&lt;/P&gt;&lt;P&gt;I have seen your script, but I don't what I have to do...&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;JB&lt;/P&gt;</description>
    <pubDate>Mon, 10 Nov 2025 17:12:14 GMT</pubDate>
    <dc:creator>jkb</dc:creator>
    <dc:date>2025-11-10T17:12:14Z</dc:date>
    <item>
      <title>Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/failed-to-execute-script-classpath-alfresco-templates-webscripts/m-p/494418#M40552</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a working Alfresco installation on a Devuan server. This installation ran fine and for a few days, s&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;ome documents can no longer be viewed.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;In alfresco's log (with debug flag), I only obtain :&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;2025-11-07 08:37:57,727 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [http-nio-8080-exec-5] Startup of 'Search' subsystem, ID: [Search, managed, solr6] complete&lt;BR /&gt;2025-11-07 08:38:26,007 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [http-nio-8080-exec-3] Local transforms (transformers: 47 transforms: 4136 t-engines: 1 files: 1) are enabled&lt;BR /&gt;2025-11-07 08:38:26,008 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [http-nio-8080-exec-3] Starting 'Transformers' subsystem, ID: [Transformers, default]&lt;BR /&gt;2025-11-07 08:38:26,027 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [http-nio-8080-exec-3] Startup of 'Transformers' subsystem, ID: [Transformers, default] complete&lt;BR /&gt;2025-11-07 08:38:33,194 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [pool-7-thread-1] 1 jpg jpg Schema_Jeu_danche.jpg 218.2 KB Local:imagemagick&lt;BR /&gt;2025-11-07 08:38:33,195 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [pool-7-thread-1] 1 startPage="0"&lt;BR /&gt;2025-11-07 08:38:33,195 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [pool-7-thread-1] 1 resizeWidth="960"&lt;BR /&gt;2025-11-07 08:38:33,195 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [pool-7-thread-1] 1 alphaRemove="true"&lt;BR /&gt;2025-11-07 08:38:33,195 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [pool-7-thread-1] 1 autoOrient="true"&lt;BR /&gt;2025-11-07 08:38:33,196 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [pool-7-thread-1] 1 endPage="0"&lt;BR /&gt;2025-11-07 08:38:33,196 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [pool-7-thread-1] 1 resizeHeight="960"&lt;BR /&gt;2025-11-07 08:38:33,196 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [pool-7-thread-1] 1 allowEnlargement="false"&lt;BR /&gt;2025-11-07 08:38:33,196 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [pool-7-thread-1] 1 maintainAspectRatio="true"&lt;BR /&gt;2025-11-07 08:38:33,196 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [pool-7-thread-1] 1 workspace://SpacesStore/193704f3-a0d7-413d-b704-f3a0d7013d13&lt;BR /&gt;2025-11-07 08:38:33,437 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [pool-7-thread-1] 1 Finished in 242 ms&lt;BR /&gt;2025-11-07 08:38:33,742 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-2] Exception from executeScript: 10070001 Wrapped Exception (with status template): 10070038 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 10070037 10070036 A rendition of name: {&lt;A href="http://www.alfresco.org/model/content/1.0}imgpreview" target="_blank" rel="noopener"&gt;http://www.alfresco.org/model/content/1.0}imgpreview&lt;/A&gt; should have been created for source node: workspace://SpacesStore/193704f3-a0d7-413d-b704-f3a0d7013d13&lt;BR /&gt;org.springframework.extensions.webscripts.WebScriptException: 10070001 Wrapped Exception (with status template): 10070038 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 10070037 10070036 A rendition of name: {&lt;A href="http://www.alfresco.org/model/content/1.0}imgpreview" target="_blank" rel="noopener"&gt;http://www.alfresco.org/model/content/1.0}imgpreview&lt;/A&gt; should have been created for source node: workspace://SpacesStore/193704f3-a0d7-413d-b704-f3a0d7013d13&lt;BR /&gt;at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1139) ~[spring-webscripts-9.4.jar:9.4]&lt;BR /&gt;at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:202) ~[alfresco-remote-api-23.4.0.67.jar:23.4.0.67]&lt;BR /&gt;at org.alfresco.repo.web.scripts.RepositoryContainer.lambda$transactionedExecute$2(RepositoryContainer.java:553) ~[alfresco-remote-api-23.4.0.67.jar:23.4.0.67]&lt;BR /&gt;at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:452) ~[alfresco-repository-23.4.0.67.jar:23.4.0.67]&lt;BR /&gt;at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:544) ~[alfresco-remote-api-23.4.0.67.jar:23.4.0.67]&lt;BR /&gt;at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:685) ~[alfresco-remote-api-23.4.0.67.jar:23.4.0.67]&lt;BR /&gt;at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:721) ~[alfresco-remote-api-23.4.0.67.jar:23.4.0.67]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I have tried to add a new file and&amp;nbsp;thumbnail and review are generated without error. I don't understand why some previews are not available (but thumbnails were created).&lt;/P&gt;&lt;P&gt;How can I solve this issue ?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;JKB&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2025 07:47:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/failed-to-execute-script-classpath-alfresco-templates-webscripts/m-p/494418#M40552</guid>
      <dc:creator>jkb</dc:creator>
      <dc:date>2025-11-07T07:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumb</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/failed-to-execute-script-classpath-alfresco-templates-webscripts/m-p/494434#M40554</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before all, What Alfresco version&amp;nbsp; are you using? And ATS versión (if you&amp;nbsp; are using)?&lt;/P&gt;&lt;P&gt;Have you seen preview of these documents with errors anytime and now It doesn't work or you never saw it?&lt;/P&gt;&lt;P&gt;Preview and thumbnail are diferent renditions of a node. First one is a pdf representarion of the content and the other is an imagen representation.&lt;/P&gt;&lt;P&gt;Maybe you pdf conversion for this documents simply does not work.&lt;/P&gt;&lt;P&gt;Could you try to execute this script with the ID of a node in which you can not see the preview and try to reload it?&lt;/P&gt;&lt;P&gt;var doc = search.findNode('&amp;lt;nodoref&amp;gt;');&lt;BR /&gt;var assocname = 'pdf';&lt;BR /&gt;var node = doc.childAssocs['rn:rendition'].filter(function(assoc){&lt;BR /&gt;return assoc.name == assocname;&lt;BR /&gt;})[0];&lt;/P&gt;&lt;P&gt;if(node){&lt;BR /&gt;logger.log(node.remove());&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Sat, 08 Nov 2025 16:21:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/failed-to-execute-script-classpath-alfresco-templates-webscripts/m-p/494434#M40554</guid>
      <dc:creator>roberto_gamiz</dc:creator>
      <dc:date>2025-11-08T16:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumb</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/failed-to-execute-script-classpath-alfresco-templates-webscripts/m-p/494449#M40556</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;My installation uses :&lt;BR /&gt;- Alfresco Content Services Community: 23.4.0&lt;BR /&gt;- Alfresco Repository: 23.4.0.67&lt;BR /&gt;- Alfresco Share: 23.4.0.46&lt;/P&gt;&lt;P&gt;Transform-core is running :&lt;/P&gt;&lt;P&gt;Root rayleigh:[/opt] &amp;gt; ps auwx | grep transform-core&lt;BR /&gt;root 4967 0.0 0.0 5668 2752 ? S nov.02 0:00 su - tomcat -c nohup /usr/lib/jvm/java-17-openjdk-amd64/bin/java -DLIBREOFFICE_HOME=/usr/lib/libreoffice -jar /opt/alfresco-transform-core-aio-5.1.6.jar&lt;BR /&gt;tomcat 4971 0.1 3.6 10049844 603316 ? Ssl nov.02 14:13 /usr/lib/jvm/java-17-openjdk-amd64/bin/java -DLIBREOFFICE_HOME=/usr/lib/libreoffice -jar /opt/alfresco-transform-core-aio-5.1.6.jar&lt;/P&gt;&lt;P&gt;PDF rendering seems to run as expected. Image rendering has worked in the past. I have tried to import new image without trouble, only a few&amp;nbsp;thumbnails are not created.&lt;/P&gt;&lt;P&gt;I have seen your script, but I don't what I have to do...&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;JB&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2025 17:12:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/failed-to-execute-script-classpath-alfresco-templates-webscripts/m-p/494449#M40556</guid>
      <dc:creator>jkb</dc:creator>
      <dc:date>2025-11-10T17:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumb</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/failed-to-execute-script-classpath-alfresco-templates-webscripts/m-p/494481#M40561</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I misunderstood your problem. I think you could see documents thumbnail but not previews on some documents.&lt;/P&gt;&lt;P&gt;Most times when have found a behavior like yours the problem was in the generation ans store of doclib rendition. ¿Is there any error mensagge in the transformation log?&lt;/P&gt;&lt;P&gt;The script I shared is going to let you delete a rendition associated to a document so you can regenerate it to test if is a generation probelm. In the case of thumbnail images you have to change the line var assocname = 'pdf'; to var assocname = 'doclib';&lt;/P&gt;&lt;P&gt;You have several methods to execute the script within the repository. You can install JavaScripConsole Addon. This addon is now included and manteined in OOTBee Support Tools. If you can not or want not deploy the add on you can upload a js file to Data Dictionary &amp;gt; Scripts and then execute it using a rule associated to an temporal folder.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2025 11:01:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/failed-to-execute-script-classpath-alfresco-templates-webscripts/m-p/494481#M40561</guid>
      <dc:creator>roberto_gamiz</dc:creator>
      <dc:date>2025-11-12T11:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumb</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/failed-to-execute-script-classpath-alfresco-templates-webscripts/m-p/494499#M40565</link>
      <description>&lt;P&gt;Yes. I see thumbnails but not previews.&lt;/P&gt;&lt;P&gt;For example :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.jpg" style="width: 999px;"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/12938i55D87F3E00EB5CB1/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="2.jpg" alt="2.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.jpg" style="width: 872px;"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/12939i5554F22ACABAFD0F/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="1.jpg" alt="1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Second image runs as expected and I can see preview.&lt;/P&gt;&lt;P&gt;In log, I have an error:&lt;/P&gt;&lt;P&gt;2025-11-12T18:55:23,222 [] ERROR [extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-10] Exception from executeScript: 10120001 Wrapped Exception (with status template): 10120038 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 10120037 10120036 A rendition of name: {&lt;A href="http://www.alfresco.org/model/content/1.0}imgpreview" target="_blank"&gt;http://www.alfresco.org/model/content/1.0}imgpreview&lt;/A&gt; should have been created for source node: workspace://SpacesStore/193704f3-a0d7-413d-b704-f3a0d7013d13&lt;BR /&gt;org.springframework.extensions.webscripts.WebScriptException: 10120001 Wrapped Exception (with status template): 10120038 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 10120037 10120036 A rendition of name: {&lt;A href="http://www.alfresco.org/model/content/1.0}imgpreview" target="_blank"&gt;http://www.alfresco.org/model/content/1.0}imgpreview&lt;/A&gt; should have been created for source node: workspace://SpacesStore/193704f3-a0d7-413d-b704-f3a0d7013d13&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;JB&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2025 18:03:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/failed-to-execute-script-classpath-alfresco-templates-webscripts/m-p/494499#M40565</guid>
      <dc:creator>jkb</dc:creator>
      <dc:date>2025-11-12T18:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumb</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/failed-to-execute-script-classpath-alfresco-templates-webscripts/m-p/494577#M40577</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;These errors comes from alfresco repository logs, isnt it? There is no error on the transformation log that you can see?&lt;/P&gt;&lt;P&gt;In case you want to use the script I send you to delete asociated rendition to the content you need to use "var assocname = 'imgpreview'" as you are previewing image files not documents.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;REgards&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2025 11:29:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/failed-to-execute-script-classpath-alfresco-templates-webscripts/m-p/494577#M40577</guid>
      <dc:creator>roberto_gamiz</dc:creator>
      <dc:date>2025-11-14T11:29:40Z</dc:date>
    </item>
  </channel>
</rss>

