alfresco-docker-template icon indicating copy to clipboard operation
alfresco-docker-template copied to clipboard

Solr6 start error

Open pida42 opened this issue 7 years ago • 1 comments

I got the following error when I tried to run alfresco-solr6/201707-GA :-/

ERROR: for cloud_solr6_1  Cannot start service solr6: oci runtime error: container_linux.go:262: starting container process caused "exec: \"./run.sh\": permission denied"

ERROR: for solr6  Cannot start service solr6: oci runtime error: container_linux.go:262: starting container process caused "exec: \"./run.sh\": permission denied"

For me fixed by changing file keensoft/alfresco-docker-template/blob/master/alfresco-solr6/201707-GA/Dockerfile lines from:

RUN set -x && chown -RL solr:solr $SOLR_DIR

to:

RUN set -x && \
    chown -RL solr:solr $SOLR_DIR && \
    chmod +x $SOLR_DIR/run.sh

pida42 avatar Jul 26 '17 14:07 pida42