Skip to content

Solr create collection command needs -force #8

@grugnog

Description

@grugnog

The documented command fails:

» kubectl --context minikube -n ckan-cloud exec $SOLRCLOUD_POD_NAME -- \
>     bin/solr create_collection -c ${CKAN_NAMESPACE} -d ckan_default -n ckan_default
WARNING: Creating cores as the root user can cause Solr to fail and is not advisable. Exiting.
         If you started Solr as root (not advisable either), force core creation by adding argument -force
command terminated with exit code 1

When running it with force, however it proceeds normally:

kubectl --context minikube -n ckan-cloud exec $SOLRCLOUD_POD_NAME -- bin/solr create_collection -c ${CKAN_NAMESPACE} -d ckan_default -n ckan_default -force

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions