Docker 7.1.0-M1 - FTP passive mode problem, argument not taken into account

cancel
Showing results for 
Search instead for 
Did you mean: 
sperrenotcantin
Member II

Docker 7.1.0-M1 - FTP passive mode problem, argument not taken into account

Hello Smiley Happy,
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.

3 Replies
abhinavmishra14
Advanced

Re: Docker 7.1.0-M1 - FTP passive mode problem, argument not taken into account

There are indicators (see below) that it is still fully supported. 

https://github.com/Alfresco/alfresco-community-repo/blob/master/repository/src/main/java/org/alfresc...

https://github.com/Alfresco/alfresco-community-repo/blob/master/repository/src/main/resources/alfres...

https://github.com/Alfresco/alfresco-community-repo/blob/master/repository/src/main/resources/alfres...

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
        "

 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)
sperrenotcantin
Member II

Re: Docker 7.1.0-M1 - FTP passive mode problem, argument not taken into account

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.

sperrenotcantin
Member II

Re: Docker 7.1.0-M1 - FTP passive mode problem, argument not taken into account

Sorry, it's better in english Smiley LOL

 

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.