Skip to content

error launching Solr 9.7+, looks for config directory in wrong place, one dir up #160

@jrochkind

Description

@jrochkind

It appears to me that solr_wrapper cannot be run with solr 9.7+. At first I thought my problem might be #155, but the error message is different -- and #154, suggested to fix $155, was indeed merged on Sep 24, and seems to be included on solr_wrapper 4.1.0+.

However, when I try to use solr_wrapper to start solr latest 9.8.1, I get this:

Failed to execute solr create: Option '-url': Deprecated for removal since 9.7: Use -s instead (RuntimeError)
Option '-url': Deprecated for removal since 9.7: Use -s instead
Specified configuration directory /Users/jrochkind/code/solr/conf not found!
. Further information may be available in /var/folders/_1/89lqv5550mx2tggl22z27_p18516fz/T/solr-9.8.1/server/logs

I'm not sure if the -url stuff is a misidrection, that's just a warning about deprecation (although prob should also be fixed), but the real failure is /Users/jrochkind/code/solr/conf not found!?

  • That is the wrong place to be looking for ./solr/conf, it's going up a directory
  • .solr_wrapper is at /Users/jrochkind/code/blacklight_8_11_app/.solr_wrapper.yml, and specifies collection: dir: solr/conf/
  • I am running bundle exec solr_wrapper from /Users/jrochkind/code/blacklight_8_11_app/
  • So it ought to be looking at /Users/jrochkind/code/blacklight_8_11_app/solr/conf (a directory that is present), not at /Users/jrochkind/code/solr/conf

Not sure if this is a separate/new problem?

Let's see the last solr I can install succesfully

  • 9.7.1 -- can't install with solr_wrapper, due to fingerprint mismatch, different problem
  • 9.7.0 -- reproduces problem, can't start
  • 9.6.1 -- does not reproduce, installs and boots fine

So this does seem to be related to something different that changed in 9.7.0.

Has anyone else succesfully run solr_wrapper with solr 9.7+? @ewlarson any experiences to report, are you having the same probelm?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions