Open iohann95 opened 7 months ago
Hi @iohann95 -san, Thanks for your report!
I'm looking into this issue right now.
Well, we couldn't reproduce this issue. To reproduce this, we set java options in "docker/docker-compose.yml" as shown below.
JAVA_OPTS: '
-Dsolr.secureComms=secret
-Dsolr.sharedSecret=secret
-Dfile.encoding=UTF-8
-Dmail.testmessage.send=true
-Dmessaging.broker.url="failover:(nio://audit-log-browser-activemq:61616)?timeout=3000&jms.useCompression=true"
'
But ACS started correctly.
It looks like you are using Docker Compose to deploy ACS. Could you give me the docker-compose.yml file or tell me your ACS architecture?
Good afternoon!
Thank you for taking a look on this case.
This is my ACS configuration.
Let me know if you want more information, or even a video recording of the error, or if you want send me a message on my discord @hrrs_95
alfresco:
build:
context: ./alfresco
args:
ALFRESCO_TAG: ${ALFRESCO_CE_TAG}
DB: postgres
SOLR_COMMS: secret
mem_limit: 7488m
restart: on-failure
depends_on:
- postgres
environment:
JAVA_TOOL_OPTIONS: "
-Dencryption.keystore.type=JCEKS
-Dencryption.cipherAlgorithm=DESede/CBC/PKCS5Padding
-Dencryption.keyAlgorithm=DESede
-Dencryption.keystore.location=/usr/local/tomcat/shared/classes/alfresco/extension/keystore/keystore
-Dmetadata-keystore.password=mp6yc0UD9e
-Dmetadata-keystore.aliases=metadata
-Dmetadata-keystore.metadata.password=oKIWzVdEdA
-Dmetadata-keystore.metadata.algorithm=DESede
"
JAVA_OPTS : '
-Ddb.username=alfresco
-Ddb.password=alfresco
-Ddb.driver=org.postgresql.Driver
-Ddb.url=jdbc:postgresql://postgres:5432/alfresco
-Dalfresco_user_store.adminpassword=209c6174da490caeb422f3fa5a7ae634
-Dsystem.preferred.password.encoding=bcrypt10
-Dsolr.host=solr6
-Dsolr.port=8983
-Dsolr.port.ssl=8983
-Dsolr.secureComms=secret
-Dsolr.baseUrl=/solr
-Dindex.subsystem.name=solr6
-Dsolr.sharedSecret=o8kofnkgwvs
-Dalfresco.host=${SERVER_NAME}
-Dalfresco.port=443
-Dapi-explorer.url=https://${SERVER_NAME}:443/api-explorer
-Dalfresco.protocol=https
-Dshare.host=${SERVER_NAME}
-Dshare.port=443
-Dshare.protocol=https
-Daos.baseUrlOverwrite=https://${SERVER_NAME}/alfresco/aos
-Dmessaging.broker.url="failover:(nio://activemq:61616)?timeout=3000&jms.useCompression=true"
-Ddeployment.method=DOCKER_COMPOSE
-Dcsrf.filter.enabled=false
-Dopencmis.server.override=true
-Dopencmis.server.value=https://${SERVER_NAME}:443
-DlocalTransform.core-aio.url=http://transform-core-aio:8090/
-Dcsrf.filter.enabled=false
-Dalfresco.restApi.basicAuthScheme=true
-XX:+UseG1GC -XX:+UseStringDeduplication
-Dgoogledocs.enabled=true
-Xms6976m -Xmx6976m
-XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80
-Dmail.host=smtp.gmail.com
-Dmail.port=587
-Dmail.username=**********REDACTED**********
-Dmail.from.enabled=true
-Dmail.from.default=**********REDACTED**********
-Dmail.password=**********REDACTED**********
-Dmail.protocol=smtp
-Dmail.encoding=UTF-8
-Dmail.smtp.auth=true
-Dmail.smtp.starttls.enable=true
-Dmail.testmessage.send=true
-Dmail.testmessage.to=**********REDACTED**********
-Dmail.testmessage.subject="TEST SERVER"
-Dmail.testmessage.text="SERVER STARTED UP"
-Daudit.enabled=true
-Daudit.rm.enabled=true
-Daudit.alfresco-access.sub-actions.enabled=true
-Daudit.alfresco-access.enabled=true
-Daudit.filter.alfresco-access.default.enabled=true
-Daudit.filter.alfresco-access.transaction.type="cm:folder;cm:content;st:site;~cm:person"
-Daudit.filter.alfresco-access.default.user="~System;~null;.*"
-Daudit.filter.alfresco-access.transaction.user="~System;~null;.*"
'
volumes:
- ./data/alf-repo-data:/usr/local/tomcat/alf_data
- ./logs/alfresco:/usr/local/tomcat/logs
@iohann95 -san, Thanks for the additional information.
I've deployed ACS 7.1 with the same options but the bug is not reproduced. Then I found the post like your situation. https://hub.alfresco.com/t5/alfresco-content-services-forum/audit-dataextractor-custom-no-registered/td-p/314100
According to this, I wonder if it cannot be resolved from module side... Is AGS (Alfresco Governance Services) installed in your environment?
OK, I've succeeded to reproduce it. The reproduction step is shown below.
The codes to reproduce is here
I'll report this issue to Hyland Support...
Yes I do have AGS, I forgot to mention it.
Thank you very much!
Hello. Thanks for this great add-on.
When I define on my ACS "mail.testmessage.send=true" (So that Alfresco send an e-mail every time the system starts up) the plugin fails to be deployed. It works OK when it's not defined or it's "false"
I tested on ACS 7.2 and 7.3 and the behavior is the same.