04-27-2020 08:42 AM
Hello, I am using ACS 6.0.2.
I found that some of the uploaded Docx files can be previewed and some are not. I made a minimal set that reproduces it. The okng.zip in the link below contains two Docx files.
okng.zip
The only difference between ok.docx and ng.docx is the presence or absence of the top one letter. Both are about 20KB in size.
I can preview ok.docx, but ng.docx fails content conversion(I put the log in the zip file).
When I ran the soffice.bin command directly, both were able to convert to PDF as below.
alfresco-content-services-community-full/libreoffice/program/soffice.bin --headless --convert-to pdf ok.docx
alfresco-content-services-community-full/libreoffice/program/soffice.bin --headless --convert-to pdf ng.docx
It seems that there is a problem via socket.
Is there such a case?
Best regards,
ryo
05-04-2020 04:56 PM
Hi, Eddy.
Thank you for trying to reproduce my problem.
My installation was done by alfresco-content-services-community-full-installer-6.0.2.1-ea-linux-x64.bin.
The reason why it fails to convert was the contained libreoffice 5.2.1.2 in the environment is bit old. So I updated it to 6.4.3.2 and it solved my problems.
Best,
ryo
04-30-2020 05:00 PM
Has anyone ever failed to convert such a small file?
05-04-2020 12:14 PM
Hi @ryo39,
I've just uploaded your sample files w/o issue - see screenshot.
I'm running Community 6.2 on a Mac - see below:
Alfresco Share v6.2.0 (r7791ffba8f0b22f1ef9fa25ba17400c4657068e3-b9, Aikau 1.0.101.19, Spring Surf 6.2.0,
Spring WebScripts 7.10, Freemarker 2.3.28, Rhino 1.7.11, Yui 2.9.0-alfresco-20141223) Alfresco Community v6.2.0 (r05dbaf43-b368) schema 13001
2020-05-04 16:07:22,590 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [ajp-nio-127.0.0.1-8009-exec-1] Startup of 'Transformers' subsystem, ID: [Transformers, default] complete 2020-05-04 16:07:23,807 INFO [org.alfresco.repo.content.transform.FailoverContentTransformer] [pool-2-thread-2] Transformation was successful 2020-05-04 16:07:23,853 INFO [org.alfresco.repo.content.transform.FailoverContentTransformer] [pool-2-thread-2] Transformation was successful 2020-05-04 16:07:24,080 INFO [org.alfresco.repo.content.transform.FailoverContentTransformer] [pool-2-thread-1] Transformation was successful 2020-05-04 16:07:24,109 INFO [org.alfresco.repo.content.transform.FailoverContentTransformer] [pool-2-thread-1] Transformation was successfulI can both preview and open the documents.
05-04-2020 04:56 PM
Hi, Eddy.
Thank you for trying to reproduce my problem.
My installation was done by alfresco-content-services-community-full-installer-6.0.2.1-ea-linux-x64.bin.
The reason why it fails to convert was the contained libreoffice 5.2.1.2 in the environment is bit old. So I updated it to 6.4.3.2 and it solved my problems.
Best,
ryo
05-05-2020 05:08 AM
hi @ryo39,
Great news that you resolved the issue - also, thanks for reporting how you fixed it, useful to everyone.
Cheers,
Explore our Alfresco products with the links below. Use labels to filter content by product module.