Open sergiobaiao opened 1 year ago
Please, can you provide additional data to reproduce the issue.
What operative system are you using? From what folder are you running the tool? What Docker version are you using? What is the sequence of commands you type?
Anything would help.
Oracle Linux 8.4
I`ve created a /docker/alfresco-installer folder Docker version 23.0.0, build e92dd87 $ docker run -it -v $(pwd):/generated angelborroy/alfresco-installer
I just changed the folder permissions to 777 and it seems to have worked. But now i cannot login to alfresco with the password i provided. Even if i leave the default password it cannot login
How many RAM is allocated to Docker?
16GB
When everything is up & ready, what is the output of the command "docker ps"?
docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 830e0cf48528 nginx:stable-alpine "/docker-entrypoint.…" 26 seconds ago Up 18 seconds 0.0.0.0:80->80/tcp, :::80->80/tcp alfresco-installer-proxy-1 ac822512aa3f alfresco/alfresco-content-app:3.1.0 "/docker-entrypoint.…" 26 seconds ago Up 20 seconds 8080/tcp alfresco-installer-content-app-1 508ec04b7ae7 alfresco-installer-alfresco "catalina.sh run -se…" 26 seconds ago Up 21 seconds 0.0.0.0:2121->2121/tcp, :::2121->2121/tcp, 8000/tcp, 8080/tcp, 0.0.0.0:2433-2434->2433-2434/tcp, :::2433-2434->2433-2434/tcp, 10001/tcp alfresco-installer-alfresco-1 11c9363f103b alfresco/alfresco-transform-core-aio:3.0.0 "/bin/sh -c 'java $J…" 26 seconds ago Up 24 seconds 8090/tcp alfresco-installer-transform-core-aio-1 7dbee8357c5b alfresco/alfresco-activemq:5.17.1-jre11-rockylinux8 "/bin/sh -c './init.…" 26 seconds ago Up 23 seconds 5672/tcp, 61613/tcp, 61616/tcp, 0.0.0.0:8161->8161/tcp, :::8161->8161/tcp alfresco-installer-activemq-1 f2d1c81e8e59 alfresco-installer-solr6 "/bin/sh -c '$DIST_D…" 26 seconds ago Up 24 seconds 8983/tcp, 10001/tcp alfresco-installer-solr6-1 2af3cd8abb3b alfresco-installer-ocrmypdf "/usr/sbin/sshd -D" 26 seconds ago Up 23 seconds 22/tcp alfresco-installer-ocrmypdf-1 6de39e8b04c3 alfresco-installer-share "/usr/local/tomcat/s…" 26 seconds ago Up 23 seconds 8000/tcp, 8080/tcp alfresco-installer-share-1 328f085136af angelborroy/alfresco-tengine-ocr:1.0.0 "/bin/sh -c 'java $J…" 26 seconds ago Up 24 seconds 8090/tcp alfresco-installer-transform-ocr-1
It looks like all the services all up & ready and required amount of RAM is in place.
May you verify if your problem is described in this video? https://www.youtube.com/watch?v=Dfd4bISsV-Y
When logging in to content app it show this:
and on share:
all containers are running ok:
the only thing i could find was in the end of start.sh:
May you share generated files ".env" and "docker-compose.yml"?
ALFRESCO_CE_TAG=7.3.0 SEARCH_CE_TAG=2.0.5.1 SHARE_TAG=7.3.0.1 ACA_TAG=3.1.0 POSTGRES_TAG=14.4 MARIADB_TAG=10.5 TRANSFORM_ENGINE_TAG=3.0.0 ACTIVEMQ_TAG=5.17.1-jre11-rockylinux8
SERVER_NAME=localhost
cat docker-compose.yml
version: "2"
services: alfresco: build: context: ./alfresco args: ALFRESCO_TAG: ${ALFRESCO_CE_TAG} DB: postgres SOLR_COMMS: secret mem_limit: 7488m depends_on:
./data/ocr/output:/ocr_output
ports:
2434:2434
transform-core-aio: image: alfresco/alfresco-transform-core-aio:${TRANSFORM_ENGINE_TAG} mem_limit: 2048m environment: JAVA_OPTS: " -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80 -Dserver.tomcat.threads.max=12 -Dserver.tomcat.threads.min=4 -Dlogging.level.org.alfresco.transform.common.TransformerDebug=ERROR "
share: build: context: ./share args: SHARE_TAG: ${SHARE_TAG} SERVER_NAME: ${SERVER_NAME} mem_limit: 1872m environment: REPO_HOST: "alfresco" REPO_PORT: "8080" CSRF_FILTER_REFERER: "http://localhost:80/.*" CSRF_FILTER_ORIGIN: "http://localhost:80" JAVA_OPTS: " -Xms1744m -Xmx1744m -Dalfresco.context=alfresco -Dalfresco.protocol=http -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80 " volumes:
./logs/share:/usr/local/tomcat/logs
postgres: image: postgres:${POSTGRES_TAG} mem_limit: 1872m environment:
./logs/postgres:/var/log/postgresql
solr6: build: context: ./search args: SEARCH_TAG: ${SEARCH_CE_TAG} SOLR_HOSTNAME: solr6 ALFRESCO_HOSTNAME: alfresco ALFRESCO_COMMS: secret CROSS_LOCALE: "true" DISABLE_CONTENT_INDEXING: "false" mem_limit: 3744m environment:
SOLR_ALFRESCO_HOST: "alfresco"
SOLR_ALFRESCO_PORT: "8080"
#Alfresco needs to know how to call solr
SOLR_SOLR_HOST: "solr6"
SOLR_SOLR_PORT: "8983"
#Create the default alfresco and archive cores
SOLR_CREATE_ALFRESCO_DEFAULTS: "alfresco,archive"
SOLR_JAVA_MEM: "-Xms3488m -Xmx3488m"
SOLR_OPTS: "
-XX:NewSize=1616m
-XX:MaxNewSize=1616m
-Dalfresco.secureComms.secret=w7gdywcny69
"
volumes:
./data/solr-data:/opt/alfresco-search-services/data
activemq: image: alfresco/alfresco-activemq:${ACTIVEMQ_TAG} mem_limit: 1g ports:
./data/activemq-data:/opt/activemq/data
content-app: image: alfresco/alfresco-content-app:${ACA_TAG} mem_limit: 256m environment: APP_BASE_SHARE_URL: "http://${SERVER_NAME}:80/#/preview/s" depends_on:
alfresco
proxy: image: nginx:stable-alpine mem_limit: 128m depends_on:
80:80
ocrmypdf: build: ./ocrmypdf mem_limit: 512m hostname: ocrmypdf volumes:
./data/ocr/output:/ocr_output
transform-ocr: image: angelborroy/alfresco-tengine-ocr:1.0.0 mem_limit: 1536m environment: JAVA_OPTS: " -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80 -Dserver.tomcat.threads.max=4 -Dserver.tomcat.threads.min=1 "
i've made some changes on the docker-compose.yml file. Instead of building, i used the default images from alfresco. After replacing the build fields for the image from alfresco default's community-docker-compose.yml, it worked. But i don't know if i will miss the addons after doing this or if this will give me problems.
Hi, I have the same problem. I can't login on /localhost/share. Please I need your help. Thank
Most of the errors are related to permissions.
To avoid the permission denied (/generated) I created a user by forcing the uid/gid before running alfresco-installer.
I extracted the fixes here:
sudo chown -R 33007 data/solr-data
sudo chown -R 999 data/postgres-data
sudo chown -R 999 logs/postgres
sudo chown -R 33000 data/alf-repo-data
sudo chown -R 33000 logs/alfresco
sudo chown -R 33007 data/solr-data
Thank, I try it now.
Please... uid/gid of the user will be same as the docker group or will just have 501 ?
I tried but I have the same problems.
I tried but I have the same problems.
Dear all,
I've tried to get Alfresco running for 3 days now and I'm now close to give up and look for another tool.
I first tested Alfresco from the regular site. It worked, but I did not understand why there is just no volume management taken into account 🤷♂️ Anyway, after this first disappointment, I went to this docker-compose installer but still struggling for jours to get it work. I've tried almost everything but I'm still stuck at login windows, my admin credentials not being accepted. Not a surprise because I see a bunch of Java exceptions in container logs. First issue was about Postgres not being able to create alfresco database. Was not able to solve the permission issue (btw I don't understand how that could happen), then I switched desperately to MariaDB that went up clean but still not able to connect. I've the following error looping endless :
alfresco_solr6 container
ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@5d332969_Worker-40) [ ] o.a.s.t.AbstractTracker [alfresco / ACL@706871301 / IT #1694077190000] Tracking failure.
At that point, I just have no idea how I could investigate further... Any clue would be appreciated.
Running on Ubuntu 20.04.6 LTS / 32 Gb RAM
# Docker Image versions
ALFRESCO_CE_TAG=7.4.1
SEARCH_CE_TAG=2.0.8
SHARE_TAG=7.4.1
ACA_TAG=4.1.0
POSTGRES_TAG=14.4
MARIADB_TAG=10.5
TRANSFORM_ENGINE_TAG=4.0.0
ACTIVEMQ_TAG=5.17.1-jre11-rockylinux8
# Server properties
SERVER_NAME=[privacy]
Hi there,
Every single time i run the container i get this message at the end:
Error alfresco-docker-installer
EACCES: permission denied, open '/generated/.env'
Tried to run as root, with sudo, nothing changes. Can you help?