You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
Expected Behavior
Ability to preview files in all formats in share
Current Behavior
When I used alfresco sdk 4.0.0 and deployed the project in docker, the project started successfully, but files such as doc, docx, xls, etc. could not be previewed.
Possible Solution
I used "run.sh build_start" to start my project. The following error was thrown during the startup of the project. It should be that my docker does not specify officeHome, but I don't know how to configure libreoffice in docker.
I will be very grateful for any reply. 2019-04-17 09:04:14,707 ERROR [transform.magick.AbstractImageMagickContentTransformerWorker] [localhost-startStop-1] ImageMagickContentTransformerWorker not available: 03170018 Failed to perform ImageMagick transformation: esign-acs_1 | Execution result: esign-acs_1 | os: Linux esign-acs_1 | command: ./ImageMagick/bin/convert /usr/local/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_init_source_12970711759246868090.gif -strip -quiet /usr/local/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_init_target_11096608728223487641.png esign-acs_1 | succeeded: false esign-acs_1 | exit code: 1 esign-acs_1 | out: esign-acs_1 | err: Cannot run program "./ImageMagick/bin/convert": error=2, No such file or directory esign-acs_1 | 2019-04-17 09:04:14,722 ERROR [transform.pdfrenderer.AlfrescoPdfRendererContentTransformerWorker] [localhost-startStop-1] Remote Alfresco PDF Renderer is not available for transformations. Execution result: esign-acs_1 | os: Linux esign-acs_1 | command: ./alfresco-pdf-renderer --version esign-acs_1 | succeeded: false esign-acs_1 | exit code: 1 esign-acs_1 | out: esign-acs_1 | err: Cannot run program "./alfresco-pdf-renderer": error=2, No such file or directory esign-acs_1 | 2019-04-17 09:04:14,725 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete esign-acs_1 | 2019-04-17 09:04:14,725 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'OOoJodconverter' subsystem, ID: [OOoJodconverter, default] esign-acs_1 | 2019-04-17 09:04:14,797 ERROR [repo.content.JodConverterSharedInstance] [localhost-startStop-1] Unexpected error in configuring or starting the JodConverter library.The following error is shown for informational purposes only. esign-acs_1 | java.lang.IllegalArgumentException: officeHome must exist and be a directory
Steps to Reproduce (for bugs)
generate a new project use bellow command :
first: mvn archetype:generate -Dfilter=org.alfresco:
second: choose 2 (all in one)
third: choose 4.0.0
run the project use commond: run.sh build_start
3.after project started, access http://localhost:8180/share then login with admin admin
open any doc or docx file, it would can not be previewed
Context
Your Environment
Alfresco SDK version used: alfresco adk 4.0.0
Output of command 'mvn -version': apache-maven-3.6.0
I'm submitting a ... (check one with "x")
Expected Behavior
Ability to preview files in all formats in share
Current Behavior
When I used alfresco sdk 4.0.0 and deployed the project in docker, the project started successfully, but files such as doc, docx, xls, etc. could not be previewed.
Possible Solution
I used "run.sh build_start" to start my project. The following error was thrown during the startup of the project. It should be that my docker does not specify officeHome, but I don't know how to configure libreoffice in docker.
I will be very grateful for any reply.
2019-04-17 09:04:14,707 ERROR [transform.magick.AbstractImageMagickContentTransformerWorker] [localhost-startStop-1] ImageMagickContentTransformerWorker not available: 03170018 Failed to perform ImageMagick transformation: esign-acs_1 | Execution result: esign-acs_1 | os: Linux esign-acs_1 | command: ./ImageMagick/bin/convert /usr/local/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_init_source_12970711759246868090.gif -strip -quiet /usr/local/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_init_target_11096608728223487641.png esign-acs_1 | succeeded: false esign-acs_1 | exit code: 1 esign-acs_1 | out: esign-acs_1 | err: Cannot run program "./ImageMagick/bin/convert": error=2, No such file or directory esign-acs_1 | 2019-04-17 09:04:14,722 ERROR [transform.pdfrenderer.AlfrescoPdfRendererContentTransformerWorker] [localhost-startStop-1] Remote Alfresco PDF Renderer is not available for transformations. Execution result: esign-acs_1 | os: Linux esign-acs_1 | command: ./alfresco-pdf-renderer --version esign-acs_1 | succeeded: false esign-acs_1 | exit code: 1 esign-acs_1 | out: esign-acs_1 | err: Cannot run program "./alfresco-pdf-renderer": error=2, No such file or directory esign-acs_1 | 2019-04-17 09:04:14,725 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete esign-acs_1 | 2019-04-17 09:04:14,725 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'OOoJodconverter' subsystem, ID: [OOoJodconverter, default] esign-acs_1 | 2019-04-17 09:04:14,797 ERROR [repo.content.JodConverterSharedInstance] [localhost-startStop-1] Unexpected error in configuring or starting the JodConverter library.The following error is shown for informational purposes only. esign-acs_1 | java.lang.IllegalArgumentException: officeHome must exist and be a directory
Steps to Reproduce (for bugs)
first: mvn archetype:generate -Dfilter=org.alfresco:
second: choose 2 (all in one)
third: choose 4.0.0
3.after project started, access http://localhost:8180/share then login with admin admin
Context
Your Environment
Additional information
The text was updated successfully, but these errors were encountered: