Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solr create collection command needs -force #8

Open
grugnog opened this issue May 23, 2019 · 0 comments
Open

Solr create collection command needs -force #8

grugnog opened this issue May 23, 2019 · 0 comments

Comments

@grugnog
Copy link

grugnog commented May 23, 2019

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant