solr_wrapper icon indicating copy to clipboard operation
solr_wrapper copied to clipboard

Error launching Solr - Unrecognized option: -p

Open ewlarson opened this issue 1 year ago • 1 comments

Seeing an issue launching the latest Solr 9.7.0 this morning. Can anyone replicate? Using a .solr_wrapper.yml and pinning to 9.6.1 works.

ewlarson@beanburrito-5 geoblacklight_admin % bin/rails geoblacklight:solr           
A gemspec development dependency (solr_wrapper, ~> 4.0) is being overridden by a Gemfile dependency (solr_wrapper, >= 0.3).
This behaviour may change in the future. Please remove either of them, or make sure they both have the same requirement
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Bundle updated!
solr-9.7.0.tgz: |===================================================================================================================================================================================================| 100% (Time: 00:00:35 )
solr-9.7.0.tgz.sha512: |============================================================================================================================================================================================| 100% (Time: 00:00:00 )
solr-9.7.0.tgz.sha512: |============================================================================================================================================================================================| 100% (Time: 00:00:00 )
solr-9.7.0.tgz.sha512: |============================================================================================================================================================================================| 100% (Time: 00:00:00 )
bin/rails aborted!
Failed to execute solr create: Failed to parse command-line arguments due to: Unrecognized option: -p

usage: bin/solr create -c <NAME> [-d <DIR>] [-n <NAME>] [-rf <#>] [-s <#>] [-url <HOST>] [-z <HOST>]

Related: https://github.com/geobtaa/geoblacklight_admin/issues/82

ewlarson avatar Sep 12 '24 15:09 ewlarson

Yes, Solr 9.7.0 introduced several breaking changes to the CLI. #154 should fix them, if it ever is 💚

cbeer avatar Sep 12 '24 17:09 cbeer