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

Error with Solr configuration on new setup #6

Open
julianpistorius opened this issue Jun 1, 2021 · 0 comments
Open

Error with Solr configuration on new setup #6

julianpistorius opened this issue Jun 1, 2021 · 0 comments

Comments

@julianpistorius
Copy link

I think there is a step missing in the instructions. It looks like solrconfig.xml is missing.

When I run gblstack up I see the following error:

ERROR: for gblstack_solr_1  Cannot create container for service solr: invalid mount config for type "bind": bind source path does not exist: /opt/gblstack/solr

When I create the directory /opt/gblstack/solr and run gblstack up again I see this in the logs:

solr_1    | 2021-06-01 19:42:12.819 ERROR (coreContainerWorkExecutor-2-thread-1) [   ] o.a.s.c.CoreContainer Error waiting for SolrCore to be loaded on startup => org.apache.solr.common.SolrException: Unable to create core [blacklight-core]
solr_1    |     at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1272)
solr_1    | org.apache.solr.common.SolrException: Unable to create core [blacklight-core]
solr_1    |     at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1272) ~[?:?]
solr_1    |     at org.apache.solr.core.CoreContainer.lambda$load$13(CoreContainer.java:765) ~[?:?]
solr_1    |     at com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:202) ~[metrics-core-4.0.5.jar:4.0.5]
solr_1    |     at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:?]
solr_1    |     at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:210) ~[?:?]
solr_1    |     at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
solr_1    |     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
solr_1    |     at java.lang.Thread.run(Unknown Source) [?:?]
solr_1    | Caused by: org.apache.solr.common.SolrException: Could not load conf for core blacklight-core: Error loading solr config from /var/solr/data/blacklight-core/conf/solrconfig.xml
solr_1    |     at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:96) ~[?:?]
solr_1    |     at org.apache.solr.core.CoreContainer.getConfigSet(CoreContainer.java:1300) ~[?:?]
solr_1    |     at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1247) ~[?:?]
solr_1    |     ... 7 more
solr_1    | Caused by: org.apache.solr.common.SolrException: Error loading solr config from /var/solr/data/blacklight-core/conf/solrconfig.xml
solr_1    |     at org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrConfig.java:190) ~[?:?]
solr_1    |     at org.apache.solr.core.ConfigSetService.createSolrConfig(ConfigSetService.java:108) ~[?:?]
solr_1    |     at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:90) ~[?:?]
solr_1    |     at org.apache.solr.core.CoreContainer.getConfigSet(CoreContainer.java:1300) ~[?:?]
solr_1    |     at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1247) ~[?:?]
solr_1    |     ... 7 more
solr_1    | Caused by: org.apache.solr.core.SolrResourceNotFoundException: Can't find resource 'solrconfig.xml' in classpath or '/var/solr/data/blacklight-core'
solr_1    |     at org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.java:407) ~[?:?]
solr_1    |     at org.apache.solr.core.SolrResourceLoader.openConfig(SolrResourceLoader.java:362) ~[?:?]
solr_1    |     at org.apache.solr.core.XmlConfigFile.<init>(XmlConfigFile.java:117) ~[?:?]
solr_1    |     at org.apache.solr.core.XmlConfigFile.<init>(XmlConfigFile.java:87) ~[?:?]
solr_1    |     at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:205) ~[?:?]
solr_1    |     at org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrConfig.java:182) ~[?:?]
solr_1    |     at org.apache.solr.core.ConfigSetService.createSolrConfig(ConfigSetService.java:108) ~[?:?]
solr_1    |     at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:90) ~[?:?]
solr_1    |     at org.apache.solr.core.CoreContainer.getConfigSet(CoreContainer.java:1300) ~[?:?]
solr_1    |     at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1247) ~[?:?]
solr_1    |     ... 7 more
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