Preliminary checklist
Expected Behavior
I am starting to see an error in DDEV, after a restart. The web site says: "Error message - An error occurred while searching, try again later."
And if I try to connect to it with Drush, where my "Default Solr collection" (core?) is called my_core:
"msg":"SolrCore 'my_core' is not available due to init failure: ",
After deleting the collection with Drush (drush search-api-solr:delete-collection solr_server) and both core and collection are empty:
No collections available Go and create one
No cores available Go and create one
... in the Solr admin GUI (https://mysite.ddev.site:8943), it shows this error message at the top:
SolrCore Initialization Failures
my_core: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
Please check your logs for more information
The solution seems to be to start fresh, by deleting core and collection, and then also delete the core by visiting this URL:
https://mysite.ddev.site:8943/solr/admin/cores?action=UNLOAD&core=my_core&deleteInstanceDir=true
... and recreate the config with drush search-api-solr:upload-configset --numShards=1 solr_server.
Though, that might not always result in a working environment, and in the end, the only method that fixes, it is uninstalling the DDEV Solr add-on, and re-installing it.
Actual Behavior
It fails to init.
Steps To Reproduce
No response
Anything else?
No response
Preliminary checklist
Expected Behavior
I am starting to see an error in DDEV, after a restart. The web site says: "Error message - An error occurred while searching, try again later."
And if I try to connect to it with Drush, where my "Default Solr collection" (core?) is called
my_core:After deleting the collection with Drush (
drush search-api-solr:delete-collection solr_server) and both core and collection are empty:... in the Solr admin GUI (https://mysite.ddev.site:8943), it shows this error message at the top:
The solution seems to be to start fresh, by deleting core and collection, and then also delete the core by visiting this URL:
https://mysite.ddev.site:8943/solr/admin/cores?action=UNLOAD&core=my_core&deleteInstanceDir=true
... and recreate the config with
drush search-api-solr:upload-configset --numShards=1 solr_server.Though, that might not always result in a working environment, and in the end, the only method that fixes, it is uninstalling the DDEV Solr add-on, and re-installing it.
Actual Behavior
It fails to init.
Steps To Reproduce
No response
Anything else?
No response