Hi Everyone!
I am just trying to get this project going for a POC. But I am having trouble with solr. It keeps throwing errors. I followed the instructions stated on this read me https://github.com/Alfresco/alfresco-docker-installer but I end up getting the error below
2020-11-01 22:15:50.018 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@648ee871_Worker-27) [ ] o.a.s.t.ShardStatePublisher Unable to publish this node state. A failure condition has been met during the outbound subscription message encoding process. See the stacktrace below for further details.
java.net.UnknownHostException: alfresco
...
Please see ther solr portion of the docker-compose file below. What should the property SOLR_ALFRESCO_HOST be assigned to? alfresco is definately not a host, I see where the error is going with this.
solr6:
build:
context: ./search
args:
SEARCH_TAG: $SEARCH_CE_TAG
SOLR_HOSTNAME: solr6
ALFRESCO_HOSTNAME: localhost
ALFRESCO_COMMS: none
CROSS_LOCALE: "true"
mem_limit: 1184m
environment:
#Solr needs to know how to register itself with Alfresco
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: "-Xms928m -Xmx928m"
SOLR_OPTS: "
-XX:NewSize=336m
-XX:MaxNewSize=336m
"
volumes:
- ./data/solr-data:/opt/alfresco-search-services/data I can't figure out what is missing.
I initially followed the solution that I accepted here. That document at least got me to the point of actually reaching the login screen but I could not login because of the same exception that I posted above.
Need to move forward with this. SEND HELP!