Alfresco Community Edition Installation Instructions

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Active Member

Alfresco Community Edition Installation Instructions

Good day everyone,

I am attempting to install Alfresco Community Edition as one of the pre-requisites for openMaint on a Debian Linux server. Unfortunately the installation instructions seem to be all over the place and deliberately cryptic.

  • I have attempted to follow their manual instructions with poor results
  • Found a slightly older version and used the bin install however the services does not restart with a reboot
  • All user created step by step guides are around 3 years old and only consists of run the install bin

My biggest issue with the script other than Tomcat and everything not restarting on reboot and systemctl apparently not having any idea what I'm talking about with a tomcat installation on the system is if I pre-install services like tomcat, java, ftp and postgres it tells me the ports are in use.

Can anyone assist or provide guidance?

4 Replies
Highlighted
Alfresco Employee

Re: Alfresco Community Edition Installation Instructions

Highlighted
Active Member

Re: Alfresco Community Edition Installation Instructions

Thanks. I'm working on this and will let you know how it goes. FYI this is longer than 30 mins.

Just sayin...

Highlighted
Active Member

Re: Alfresco Community Edition Installation Instructions


@angelborroy wrote:

Did you try this one?

https://github.com/OrderOfTheBee/beecon/blob/gh-pages/2017/assets/files/EF09/EF09-Installing-Alfresc...


No dice. After all that work was getting a repeating error in the logs and the page is continously loading a blank page:

  • ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-1] 07060023 Failed to connect or to read the response from T-Engine on http://localhost:8090/transform/config

I'm gonna wipe, start over and try something tomorrow and let you know how it works out.

Highlighted
Active Member

Re: Alfresco Community Edition Installation Instructions

I decided to start over using the Loftuxab Alfresco Ubuntu Install since I am using a Debian server.

At first I thought everything was fine.

sudo netstat -tulnp | grep 8080; sudo netstat -tulnp | grep 8443; sudo netstat -tulnp | grep 8983; sudo netstat -tulnp | grep 8984
tcp6       0      0 :::8080                 :::*                    LISTEN      3940/java
tcp6       0      0 :::8443                 :::*                    LISTEN      3940/java
tcp6       0      0 :::8983                 :::*                    LISTEN      4119/java

However I'm getting a page not found error. Looking at the logs I found the following:

11-Aug-2020 17:17:54.456 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor /opt/alfresco/tomcat/conf/Catalina/localhost/share.xml has finished in 9,630 ms
11-Aug-2020 17:17:54.457 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor /opt/alfresco/tomcat/conf/Catalina/localhost/alfresco.xml
11-Aug-2020 17:17:59.396 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
 org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/alfresco]]
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:755)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:731)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:620)
        at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1832)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: Unable to complete the scan for annotations for web application [/alfresco] due to a StackOverflowError. Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies. The class hierarchy being processed was [org.bouncycastle.asn1.ASN1Boolean->org.bouncycastle.asn1.DERBoolean->org.bouncycastle.asn1.ASN1Boolean]
        at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:2098)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2044)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1989)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1959)
        at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1913)
        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1156)
        at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:773)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:307)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5262)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
        ... 10 more

11-Aug-2020 17:17:59.397 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying configuration descriptor /opt/alfresco/tomcat/conf/Catalina/localhost/alfresco.xml
 java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/alfresco]]
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:731)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:620)
        at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1832)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

11-Aug-2020 17:17:59.398 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor /opt/alfresco/tomcat/conf/Catalina/localhost/alfresco.xml has finished in 4,940 ms
11-Aug-2020 17:17:59.400 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
11-Aug-2020 17:17:59.414 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8443"]
11-Aug-2020 17:17:59.419 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 14618 ms
11-Aug-2020 17:19:37.020 INFO [http-nio-8080-exec-37] org.apache.coyote.http11.AbstractHttp11Processor.process Error parsing HTTP request header
 Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
 java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens
        at org.apache.coyote.http11.AbstractNioInputBuffer.parseRequestLine(AbstractNioInputBuffer.java:236)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1065)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1539)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1495)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:748)

11-Aug-2020 17:19:37.021 INFO [http-nio-8080-exec-38] org.apache.coyote.http11.AbstractHttp11Processor.process Error parsing HTTP request header
 Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
 java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens
        at org.apache.coyote.http11.AbstractNioInputBuffer.parseRequestLine(AbstractNioInputBuffer.java:236)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1065)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1539)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1495)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:748)

Any assistance would be appriceated.