Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
SOLR core not created #1249
Tell us about your setup
Tell us about your
name: mysite recipe: drupal8 config: webroot: ./public_html xdebug: true php: 7.1 proxy: appserver: - mysite.lndo.site - mysite.192.168.100.*.xip.io mailhog: - mail.mysite.lndo.site solr: - solr.lndo.site:8983 services: database: type: mysql:5.7 creds: database: local_mysite mailhog: type: mailhog hogfrom: - appserver solr: type: solr:7.1 core: solr config: conf: ./public_html/modules/contrib/search_api_solr/solr-conf/7.x
Tell us generally about your bug
Error CREATEing SolrCore 'new_core': Unable to create core [new_core] Caused by: Can't find resource 'solrconfig.xml' in classpath or '/opt/solr/server/solr/new_core'
Tell us more
I had a quite similar problem. But with solr 6.3 its working. I would suggest to not directly use the solr-config from search_api module as it will be overridden on updating the module.
Just copy it into a directory like /misc/solr6/conf in your repo and modify the config:
I'm using Lando v3.0.0-rc.1 on Mac OS HighSierra with Drupal 7 and current Search-API-Module.
We've got some nice tests and an example to verify this now.
Note that these examples and tests are against RC2 which is yet to be released so its worth waiting for that before you verify on your own