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

Core auto detection not working #10

Open
gerard76 opened this issue Nov 6, 2014 · 2 comments
Open

Core auto detection not working #10

gerard76 opened this issue Nov 6, 2014 · 2 comments

Comments

@gerard76
Copy link

gerard76 commented Nov 6, 2014

If I create a core in /etc/solr/ and add it in the interface. It is gone after a solr restart.

If I skip the SOLR_HOME argument in the startup script and run everything from that example directory and put cores in example/etc/ my cores are auto detected on start of the server.

@gerard76
Copy link
Author

gerard76 commented Nov 7, 2014

Settings data_dir to: '/opt/solr-4.6.1/example/solr' solves this problem. I am guessing this is a solr issue though.

I can now create a core by copying /opt/solr-4.6.1/example/solr/collection1 to /opt/solr-4.6.1/example/solr/new_core and change the name in /opt/solr-4.6.1/example/solr/new_core/core.properties and restart solr.

@twistedgrim
Copy link

It has to do with the solr_dir being set to /opt/solr when the default location solr is installed to is /opt/solr-#version. It can be fixed by adding the 'ark' cookbook to help version the installs. Seems this repo is neglected for a bit though.

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

2 participants