07-13-2020 04:03 AM
I am installing alfresco 6.2 using docker installation but i am facing some issues on the command prompt terminal
Repository Script Processor for extension js
alfresco-pdf-renderer_1 | 2020-07-13 06:21:32.758 INFO 1 --- [nio-8090-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 19446 ms
proxy_1 | 2020/07/13 06:35:03 [error] 7#7: *2 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.18.0.1, server: , request: "GET /share/page/ HTTP/1.1", upstream: "http://172.18.0.3:8080/share/page/", host: "localhost:8080"
proxy_1 | 172.18.0.1 - - [13/Jul/2020:06:35:03 +0000] "GET /share/page/ HTTP/1.1" 504 569 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"
proxy_1 | 2020/07/13 06:37:35 [error] 7#7: *4 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.18.0.1, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "http://172.18.0.2:8080/favicon.ico", host: "localhost:8080", referrer: "http://localhost:8080/share/page/"
proxy_1 | 172.18.0.1 - - [13/Jul/2020:06:37:35 +0000] "GET /favicon.ico HTTP/1.1" 504 569 "http://localhost:8080/share/page/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"
Gracefully stopping... (press Ctrl+C again to force)
ERROR: Aborting.
And while opening http//localhost:8080/share/page i am getting :
504 Gateway Time-out
nginx/1.16.0
I am attaching images of terminal as well as docker for better understanding of the issue
@EddieMay @angelborroy please see into this.
07-13-2020 05:27 AM
Good Morning
Could you visit http://127.0.0.1:8080/share/page and see if that changes anything?
07-13-2020 05:41 AM
07-13-2020 05:52 AM
Hhm
Then could you upload a screenshot of the "alfresco" and "proxy" portion of you docker-compose file?
07-13-2020 08:36 AM
Alfresco part:
alfresco:
image: alfresco/alfresco-content-repository-community:6.2.0-ga
mem_limit: 1500m
environment:
JAVA_OPTS: "
-Ddb.driver=org.postgresql.Driver
-Ddb.username=alfresco
-Ddb.password=alfresco
-Ddb.url=jdbcostgresql://postgres:5432/alfresco
-Dsolr.host=solr6
-Dsolr.port=8983
-Dsolr.secureComms=none
-Dsolr.base.url=/solr
-Dindex.subsystem.name=solr6
-Dshare.host=127.0.0.1
-Dshare.port=8080
-Dalfresco.host=localhost
-Dalfresco.port=8080
-Daos.baseUrlOverwrite=http://localhost:8080/alfresco/aos
-Dmessaging.broker.url=\"failovernio://activemq:61616)?timeout=3000&jms.useCompression=true\"
-Ddeployment.method=DOCKER_COMPOSE
-Dlocal.transform.service.enabled=true
-DlocalTransform.pdfrenderer.url=http://alfresco-pdf-renderer:8090/
-DlocalTransform.imagemagick.url=http://imagemagick:8090/
-DlocalTransform.libreoffice.url=http://libreoffice:8090/
-DlocalTransform.tika.url=http://tika:8090/
-DlocalTransform.misc.url=http://transform-misc:8090/
-Dlegacy.transform.service.enabled=true
-Dalfresco-pdf-renderer.url=http://alfresco-pdf-renderer:8090/
-Djodconverter.url=http://libreoffice:8090/
-Dimg.url=http://imagemagick:8090/
-Dtika.url=http://tika:8090/
-Dtransform.misc.url=http://transform-misc:8090/
-Dcsrf.filter.enabled=false
-Xms1500m -Xmx1500m
"
Proxy part:
proxy:
image: alfresco/acs-community-ngnix:1.0.0
mem_limit: 128m
depends_on:
- alfresco
ports:
- 8080:8080
links:
- alfresco
- share
@Jendert Please have a look.
07-13-2020 08:54 AM
This is the real content in my installed docker-compose.yml file:
Alfresco part:
alfresco:
build:
context: ./alfresco
args:
ALFRESCO_TAG: ${ALFRESCO_CE_TAG}
DB: postgres
API_EXPLORER_TAG: ${API_EXPLORER_TAG}
mem_limit: 3392m
environment:
JAVA_OPTS : '
-Ddb.username=alfresco
-Ddb.password=alfresco
-Ddb.driver=org.postgresql.Driver
-Ddb.url=jdbcostgresql://postgres:5432/alfresco
-Dsolr.host=solr6
-Dsolr.secureComms=none
-Dsolr.baseUrl=/solr
-Dindex.subsystem.name=solr6
-Dalfresco.host=localhost
-Dalfresco.port=80
-Dshare.host=localhost
-Dshare.port=80
-Daos.baseUrlOverwrite=http://localhost/alfresco/aos
-Ddeployment.method=DOCKER_COMPOSE
-Dcsrf.filter.enabled=false
-Dalfresco.restApi.basicAuthScheme=true
-Dmessaging.subsystem.autoStart=false
-Dauthentication.protection.enabled=false
-XX:+UseG1GC -XX:+UseStringDeduplication
-Xms2880m -Xmx2880m
'
Proxy Part:
proxy:
image: nginx:stable-alpine
mem_limit: 128m
depends_on:
- alfresco
- solr6
- share
- content-app
@Jendert This is my installation alfresco and proxy part please have a look.
07-13-2020 09:37 AM
Give a try to this tool: https://github.com/Alfresco/alfresco-docker-installer
07-14-2020 12:12 AM
@Jendert Waiting for your reply.
07-14-2020 04:02 AM
Good Morning @akash251998 ,
I am very sorry, I had to consult some help of my own.
So one thing I noticed in the second docker-compose file you posted was that Share is listening on port 80 instead of 8080. So try and visit http://localhost:80/share/page
Other than that I unfortunately wasn't able to reproduce your error.
Also can I ask where you got the second file from? Because the first one was the same I am using, which works, that threw me a bit.
It also can be a good idea to start from scratch in a clean environment, to rule out any installation errors.
If nothing else works let me know step by step what you did and I'll try and reproduce the error that way...
I hope this was of any help...
Let me know how it goes
07-14-2020 04:35 AM
I am trying the installation using this procedure:https://www.alfresco.com/thank-you/thank-you-downloading-alfresco-community-edition
I am following the same process :-
I got the above file at the location: c:\users\admin\docker-compose\docker-compose.yml but i install docker again and followed the same procedure but this time i am not getting any docker-compose.yml.
Is there any another tested procedure for that. Any help will be appreciated because i am trying the installation since 15 days but no luck. Please help if possible i am stucked.
As i am getting the same issue 504 Gateway Timed Out while opening :- http://localhost:8080/share/page
Explore our Alfresco products with the links below. Use labels to filter content by product module.