You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Access Solr container via make shell solr and run make init -f /usr/local/bin/actions.mk. This will enable authentication for Solr Cloud mode and create a collection named default that will use _default config set.
However, the collection is never created: when I access the solr admin panel, I see no cores and no collections, and communication with Solr SearchAPI in Drupal cannot be established.
I believe this is due to the fact that init_solr first sets up a new authentication with user:pass, and then goes on to call the solr-API via curl without user:pass:
I believe the call that sets up authentication should either be made after creating cores/collections, or the respective curl-calls should be provided the newly created credentials.
The text was updated successfully, but these errors were encountered:
I'm trying to hook this solr-container up to a Drupal-instance, using https://github.com/wodby/docker4drupal.
I followed the steps outlined at https://wodby.com/docs/1.0/stacks/drupal/local/#solr-search-api, where it mentions:
However, the collection is never created: when I access the solr admin panel, I see no cores and no collections, and communication with Solr SearchAPI in Drupal cannot be established.
I believe this is due to the fact that
init_solr
first sets up a new authentication with user:pass, and then goes on to call the solr-API via curl without user:pass:solr/bin/init_solr
Lines 13 to 24 in 02379f8
When I run
make init -f /usr/local/bin/actions.mk
in the solr-container, then execute the curl-call for listing collections manually, I get this:I believe the call that sets up authentication should either be made after creating cores/collections, or the respective curl-calls should be provided the newly created credentials.
The text was updated successfully, but these errors were encountered: