I started to install v7.0.0 community edition and it's my third day into it and still I am at war with it. So much of complex things to be done.
Can't Alfresco create a ready to use VM for it having everything in place and a user just start using it and get straight to the business of building solution on it?
I am just wondering how difficult it would be for Alfresco team to do that and how much efforts? 1 Day I believe for an expert on Alfresco deployment. But it can save thousands of man hours of users who are new to it and want to get into it.
Regards,
Devanshu
You have three options to work with alfresco post ACS6.x
1- Container based deployments, use docker + docker-compose to spin up running instances quickly: https://github.com/Alfresco/acs-deployment/blob/master/docker-compose/community-docker-compose.yml
Refer this documentation as well: https://docs.alfresco.com/content-services/latest/install/containers/docker-compose/
Checkout this repository for more info: https://github.com/Alfresco/acs-deployment
2- Use ansible if containers are not an option for you, checkout this documentation: https://docs.alfresco.com/content-services/latest/install/ansible/
3- Manual installation (only if you 1, and 2nd are not options). Alfresco no longer provides executables to setup alfresco since after acs5.2.x. There are no VMs either as far as i know, not sure about any third party though. If you google, you may find some for example : https://bitnami.com/stack/alfresco/virtual-machine
Here is a step by step post on installing acs7 community if want to install manually: https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html
Thanks @abhinavmishra14 for the reply. Will check out the third option of your blog to seek help in my ongoing installation.
Tried as mentioned in your guide.
I get error
Unable to start JodConverter library. The following error is shown for informational purposes only.
on terminal windows, when I run following command:
java -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80 -DPDFRENDERER_EXE="/usr/local/alfresco-community70/alfresco-pdf-renderer/alfresco-pdf-renderer" -DLIBREOFFICE_HOME="/usr/local/alfresco-community70/libreoffice" -DIMAGEMAGICK_ROOT="/usr/local/alfresco-community70/imagemagick" -DIMAGEMAGICK_DYN="/usr/local/alfresco-community70/imagemagick" -DIMAGEMAGICK_EXE="/usr/local/alfresco-community70/imagemagick/convert" -DIMAGEMAGICK_CODERS="/usr/local/alfresco-community70/imagemagick/modules-Q16/coders" -DIMAGEMAGICK_CONFIG="/usr/local/alfresco-community70/imagemagick/config-Q16" -DACTIVEMQ_URL="failovertcp://localhost:61616)?timeout=3000" -jar /usr/local/alfresco-community70/bin/alfresco-transform-core-aio-boot-2.4.0.jar
Note that, the folder name "/imagemagick/modules-Q16/coders" and "/imagemagick/config-Q16" are correct in my case. And by default ImageMagick 6.9.10-68 Q16 x86_64 2021-10-14 is installed in my Centos 7 VM and by default libreoffice7.2 got installed in my system.
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.4.5)
2021-11-14 12:44:51.664 INFO 7371 --- [ main] org.alfresco.transformer.Application : Starting Application v2.4.0 using Java 11.0.13 on localhost.alfrescoserver with PID 7371 (/usr/local/alfresco-community70/bin/alfresco-transform-core-aio-boot-2.4.0.jar started by centos in /home/centos)
2021-11-14 12:44:51.668 INFO 7371 --- [ main] org.alfresco.transformer.Application : No active profile set, falling back to default profiles: default
2021-11-14 12:44:58.536 INFO 7371 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8090 (http)
2021-11-14 12:44:58.575 INFO 7371 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2021-11-14 12:44:58.575 INFO 7371 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.45]
2021-11-14 12:44:58.899 INFO 7371 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2021-11-14 12:44:58.899 INFO 7371 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 6913 ms
2021-11-14 12:45:02.455 WARN 7371 --- [ main] o.a.pdfbox.pdmodel.font.PDType1Font : Using fallback font LiberationSans for base font Symbol
2021-11-14 12:45:02.457 WARN 7371 --- [ main] o.a.pdfbox.pdmodel.font.PDType1Font : Using fallback font LiberationSans for base font ZapfDingbats
2021-11-14 12:45:06.611 INFO 7371 --- [ main] o.a.j.office.ProcessPoolOfficeManager : ProcessManager implementation is LinuxProcessManager
2021-11-14 12:45:06.751 WARN 7371 --- [ProcessThread-0] o.a.jodconverter.office.OfficeProcess : profile dir '/tmp/.jodconverter_socket_host-127.0.0.1_port-8100' already exists; deleting
2021-11-14 12:45:06.793 ERROR 7371 --- [ProcessThread-0] o.a.jodconverter.office.OfficeProcess : could not delete profileDir: Failed to list contents of /tmp/.jodconverter_socket_host-127.0.0.1_port-8100
2021-11-14 12:45:06.793 INFO 7371 --- [ProcessThread-0] o.a.jodconverter.office.OfficeProcess : Using original OpenOffice command: [/usr/local/alfresco-community70/libreoffice/program/soffice.bin, -accept=socket,host=127.0.0.1,port=8100;urp;, -env:UserInstallation=file:///tmp/.jodconverter_socket_host-127.0.0.1_port-8100, -headless, -nocrashreport, -nodefault, -nofirststartwizard, -nolockcheck, -nologo, -norestore]
2021-11-14 12:45:06.794 INFO 7371 --- [ProcessThread-0] o.a.jodconverter.office.OfficeProcess : starting process with acceptString 'socket,host=127.0.0.1,port=8100,tcpNoDelay=1' and profileDir '/tmp/.jodconverter_socket_host-127.0.0.1_port-8100'
2021-11-14 12:45:06.883 INFO 7371 --- [ProcessThread-0] o.a.jodconverter.office.OfficeProcess : started process; pid = 7413
2021-11-14 12:45:08.283 ERROR 7371 --- [ main] o.a.t.e.JodConverterSharedInstance : Unable to start JodConverter library. The following error is shown for informational purposes only.
org.artofsolving.jodconverter.office.OfficeException: failed to start and connect
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(ManagedOfficeProcess.java:62) ~[alfresco-jodconverter-core-3.0.1.12.jar!/:3.0.1.12]
at org.artofsolving.jodconverter.office.PooledOfficeManager.start(PooledOfficeManager.java:96) ~[alfresco-jodconverter-core-3.0.1.12.jar!/:3.0.1.12]
at org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.start(ProcessPoolOfficeManager.java:60) ~[alfresco-jodconverter-core-3.0.1.12.jar!/:3.0.1.12]
at org.alfresco.transformer.executors.JodConverterSharedInstance.afterPropertiesSet(JodConverterSharedInstance.java:359) ~[alfresco-transform-libreoffice-2.4.0.jar!/:2.4.0]
at org.alfresco.transformer.executors.LibreOfficeJavaExecutor.createJodConverter(LibreOfficeJavaExecutor.java:134) ~[alfresco-transform-libreoffice-2.4.0.jar!/:2.4.0]
at org.alfresco.transformer.executors.LibreOfficeJavaExecutor.<init>(LibreOfficeJavaExecutor.java:119) ~[alfresco-transform-libreoffice-2.4.0.jar!/:2.4.0]
at org.alfresco.transformer.AIOCustomConfig.aioTransformRegistry(AIOCustomConfig.java:94) ~[classes!/:2.4.0]
at org.alfresco.transformer.AIOCustomConfig$$EnhancerBySpringCGLIB$$c94ce7de.CGLIB$aioTransformRegistry$0(<generated>) ~[classes!/:2.4.0]
at org.alfresco.transformer.AIOCustomConfig$$EnhancerBySpringCGLIB$$c94ce7de$$FastClassBySpringCGLIB$$5652ef1f.invoke(<generated>) ~[classes!/:2.4.0]
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) ~[spring-core-5.3.6.jar!/:5.3.6]
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-5.3.6.jar!/:5.3.6]
at org.alfresco.transformer.AIOCustomConfig$$EnhancerBySpringCGLIB$$c94ce7de.aioTransformRegistry(<generated>) ~[classes!/:2.4.0]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:486) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1334) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1177) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:564) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:524) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1380) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1300) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:657) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1413) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:601) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:524) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944) ~[spring-beans-5.3.6.jar!/:5.3.6]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) ~[spring-context-5.3.6.jar!/:5.3.6]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.6.jar!/:5.3.6]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144) ~[spring-boot-2.4.5.jar!/:2.4.5]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:782) ~[spring-boot-2.4.5.jar!/:2.4.5]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:774) ~[spring-boot-2.4.5.jar!/:2.4.5]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439) ~[spring-boot-2.4.5.jar!/:2.4.5]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:339) ~[spring-boot-2.4.5.jar!/:2.4.5]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1340) ~[spring-boot-2.4.5.jar!/:2.4.5]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1329) ~[spring-boot-2.4.5.jar!/:2.4.5]
at org.alfresco.transformer.Application.main(Application.java:68) ~[classes!/:2.4.0]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) ~[alfresco-transform-core-aio-boot-2.4.0.jar:2.4.0]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) ~[alfresco-transform-core-aio-boot-2.4.0.jar:2.4.0]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) ~[alfresco-transform-core-aio-boot-2.4.0.jar:2.4.0]
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88) ~[alfresco-transform-core-aio-boot-2.4.0.jar:2.4.0]
Caused by: java.util.concurrent.ExecutionException: org.artofsolving.jodconverter.office.OfficeException: could not establish connection
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:na]
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:205) ~[na:na]
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(ManagedOfficeProcess.java:60) ~[alfresco-jodconverter-core-3.0.1.12.jar!/:3.0.1.12]
... 59 common frames omitted
Caused by: org.artofsolving.jodconverter.office.OfficeException: could not establish connection
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStartProcessAndConnect(ManagedOfficeProcess.java:141) ~[alfresco-jodconverter-core-3.0.1.12.jar!/:3.0.1.12]
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.access$000(ManagedOfficeProcess.java:29) ~[alfresco-jodconverter-core-3.0.1.12.jar!/:3.0.1.12]
at org.artofsolving.jodconverter.office.ManagedOfficeProcess$1.run(ManagedOfficeProcess.java:56) ~[alfresco-jodconverter-core-3.0.1.12.jar!/:3.0.1.12]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[na:na]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]
at java.base/java.lang.Thread.run(Thread.java:829) ~[na:na]
Caused by: org.artofsolving.jodconverter.office.OfficeException: office process died with exit code 77
at org.artofsolving.jodconverter.office.ManagedOfficeProcess$6.attempt(ManagedOfficeProcess.java:135) ~[alfresco-jodconverter-core-3.0.1.12.jar!/:3.0.1.12]
at org.artofsolving.jodconverter.office.Retryable.execute(Retryable.java:34) ~[alfresco-jodconverter-core-3.0.1.12.jar!/:3.0.1.12]
at org.artofsolving.jodconverter.office.Retryable.execute(Retryable.java:24) ~[alfresco-jodconverter-core-3.0.1.12.jar!/:3.0.1.12]
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStartProcessAndConnect(ManagedOfficeProcess.java:139) ~[alfresco-jodconverter-core-3.0.1.12.jar!/:3.0.1.12]
... 7 common frames omitted
2021-11-14 12:45:08.797 INFO 7371 --- [ main] o.m.pooled.jms.JmsPoolConnectionFactory : Provided ConnectionFactory implementation is JMS 2.0+ capable.
2021-11-14 12:45:08.949 INFO 7371 --- [ main] o.a.transformer.messaging.MessagingInfo : JMS client is ENABLED - ACTIVEMQ_URL ='failovertcp://localhost:61616)?timeout=3000'
2021-11-14 12:45:10.121 INFO 7371 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2021-11-14 12:45:12.329 INFO 7371 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 3 endpoint(s) beneath base path '/actuator'
2021-11-14 12:45:12.832 INFO 7371 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8090 (http) with context path ''
2021-11-14 12:45:13.108 INFO 7371 --- [ main] org.alfresco.transformer.Application : Started Application in 28.904 seconds (JVM running for 31.896)
2021-11-14 12:45:13.572 INFO 7371 --- [ main] org.alfresco.transformer.Application : --------------------------------------------------------------------------------------------------------------------------------------------------------------
2021-11-14 12:45:13.572 INFO 7371 --- [ main] org.alfresco.transformer.Application : If the Alfresco software was purchased under a paid Alfresco license, the terms of the paid license agreement
2021-11-14 12:45:13.572 INFO 7371 --- [ main] org.alfresco.transformer.Application : will prevail. Otherwise, the software is provided under terms of the GNU LGPL v3 license.
2021-11-14 12:45:13.572 INFO 7371 --- [ main] org.alfresco.transformer.Application : See the license at http://www.gnu.org/licenses/lgpl-3.0.txt. or in /LICENSE.txt
2021-11-14 12:45:13.572 INFO 7371 --- [ main] org.alfresco.transformer.Application : This transformer uses ImageMagick from ImageMagick Studio LLC. See the license at http://www.imagemagick.org/script/license.php or in /ImageMagick-license.txt
2021-11-14 12:45:13.572 INFO 7371 --- [ main] org.alfresco.transformer.Application : This transformer uses LibreOffice from The Document Foundation. See the license at https://www.libreoffice.org/download/license/ or in /libreoffice.txt
2021-11-14 12:45:13.573 INFO 7371 --- [ main] org.alfresco.transformer.Application : This transformer uses Tika from Apache. See the license at http://www.apache.org/licenses/LICENSE-2.0. or in /Apache\ 2.0.txt
2021-11-14 12:45:13.573 INFO 7371 --- [ main] org.alfresco.transformer.Application : This transformer uses ExifTool by Phil Harvey. See license at https://exiftool.org/#license. or in /Perl-Artistic-License.txt
2021-11-14 12:45:13.573 INFO 7371 --- [ main] org.alfresco.transformer.Application : This transformer uses alfresco-pdf-renderer which uses the PDFium library from Google Inc. See the license at https://pdfium.googlesource.com/pdfium/+/master/LICENSE or in /pdfium.txt
2021-11-14 12:45:13.573 INFO 7371 --- [ main] org.alfresco.transformer.Application : This transformer uses libraries from Apache. See the license at http://www.apache.org/licenses/LICENSE-2.0. or in /Apache\\ 2.0.txt\nAdditional libraries used:
2021-11-14 12:45:13.573 INFO 7371 --- [ main] org.alfresco.transformer.Application : * htmlparser http://htmlparser.sourceforge.net/license.html
2021-11-14 12:45:13.573 INFO 7371 --- [ main] org.alfresco.transformer.Application : --------------------------------------------------------------------------------------------------------------------------------------------------------------
2021-11-14 12:45:13.573 INFO 7371 --- [ main] org.alfresco.transformer.Application : Starting application components... Done
2021-11-14 12:45:16.829 INFO 7371 --- [ActiveMQ Task-1] o.a.a.t.failover.FailoverTransport : Successfully connected to tcp://localhost:61616
If you notice the error:
- [ProcessThread-0] o.a.jodconverter.office.OfficeProcess : profile dir '/tmp/.jodconverter_socket_host-127.0.0.1_port-8100' already exists; deleting
2021-11-14 12:45:06.793 ERROR 7371 --- [ProcessThread-0] o.a.jodconverter.office.OfficeProcess : could not delete profileDir: Failed to list contents of /tmp/.jodconverter_socket_host-127.0.0.1_port-8100
2021-11-14 12:45:06.793 INFO 7371 --- [ProcessThread-0] o.a.jodconverter.office.OfficeProcess : Using original OpenOffice command: [/usr/local/alfresco-community70/libreoffice/program/soffice.bin, -accept=socket,host=127.0.0.1,port=8100;urp;, -env:UserInstallation=file:///tmp/.jodconverter_socket_host-127.0.0.1_port-8100, -headless, -nocrashreport, -nodefault, -nofirststartwizard, -nolockcheck, -nologo, -norestore]
2021-11-14 12:45:06.794 INFO 7371 --- [ProcessThread-0] o.a.jodconverter.office.OfficeProcess : starting process with acceptString 'socket,host=127.0.0.1,port=8100,tcpNoDelay=1' and profileDir '/tmp/.jodconverter_socket_host-127.0.0.1_port-8100'
2021-11-14 12:45:06.883 INFO 7371 --- [ProcessThread-0] o.a.jodconverter.office.OfficeProcess : started process; pid = 7413
2021-11-14 12:45:08.283 ERROR 7371 --- [ main] o.a.t.e.JodConverterSharedInstance : Unable to start JodConverter library. The following error is shown for informational purposes only. org.artofsolving.jodconverter.office.OfficeException: failed to start and connect
It seems a jodconvertor instance is already running on port 8100 on your vm and when you start the tr service, it also tried to start another instance on same port. Try killing any existing processes running on 8100.
Note that the versions you have mentioned for Imagemagick and Libreoffice is not something tested.
ImageMagick v7.0.1 - https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html#download-imagemagick LibreOffice v6.3.5 - https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html#download-libreoffice
Check the support platform documentation here. I would recommend to use what is documented in supported platform official docs.
In addition to docker compose deployment, there are Alfresco Community VM's from Bitnami on the Google and AWS clouds. You can just create it from marketplaces.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.