Hello ,
I have just created a docker compose in version 7.1.0-M1, problem the alfresco stack does not support the two variables "-Dftp.dataPortFrom=4321
-Dftp.dataPortTo=4322"
My FTP server starts up fine in active mode on the port I provide as 2121.
Here are my variables that I send in my "JAVA_OPTS" environment:
"-Dftp.enabled=true
-Dftp.port=2121
-Dftp.externalAddress=${EXTERNAL_ADDRESS}
-Dftp.dataPortFrom=4321
-Dftp.dataPortTo=4322"
Thanks in advance for your help.
There are indicators (see below) that it is still fully supported.
Do you get any error ?
For sanity i did tried at my end and all containers run just fine.
JAVA_OPTS: " -Ddb.driver=org.postgresql.Driver -Ddb.username=alfresco -Ddb.password=alfresco -Ddb.url=jdbc:postgresql://postgres:5432/alfresco -Dsolr.host=solr6 -Dsolr.port=8983 -Dsolr.http.connection.timeout=1000 -Dsolr.secureComms=secret -Dsolr.sharedSecret=secret -Dsolr.base.url=/solr -Dindex.subsystem.name=solr6 -Dshare.host=127.0.0.1 -Dshare.port=8080 -Dalfresco.host=localhost -Dalfresco.port=8080 -Daudit.enabled=true -Daudit.alfresco-access.enabled=true -Daudit.filter.alfresco-access.default.enabled=true -Daudit.alfresco-access.sub-actions.enabled=true -Daudit.filter.alfresco-access.transaction.user=\"~System;~null;.*\" -Daudit.filter.alfresco-access.transaction.action=\"~.*;null\" -Daos.baseUrlOverwrite=http://localhost:8080/alfresco/aos -Dmessaging.broker.url=\"failover:(nio://activemq:61616)?timeout=3000&jms.useCompression=true\" -Ddeployment.method=DOCKER_COMPOSE -DlocalTransform.core-aio.url=http://transform-core-aio:8090/ -Dcsrf.filter.enabled=false -Dftp.enabled=true -Dftp.port=2121 -Dftp.externalAddress=10.120.20.11 -Dftp.dataPortFrom=4321 -Dftp.dataPortTo=4322 -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80 "
De mon end, les containers fonctionne également correctement, un serveur ftp se lance correctement sur le port 2121, mais impossible d'effectuer une connection en mode passive.
Les deux arguments : "
-Dftp.dataPortFrom=4321
-Dftp.dataPortTo=4322" ne sont pas pris en compte et ça n'active pas le mode passive.
Il me fourni un port aléatoire entre 30000 et 60000 qui ne correspond pas à 4321 ou 4322.
Sorry, it's better in english
From my end, the containers also work correctly, an ftp server launches correctly on port 2121, but impossible to make a connection in passive mode.
The two arguments: "
-Dftp.dataPortFrom=4321
-Dftp.dataPortTo=4322" are not taken into account and it does not activate the passive mode.
It gives me a random port between 30000 and 60000 which does not correspond to 4321 or 4322.
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.