Closed joshdentremont closed 3 months ago
It seems like the issue might actually be in generating the configs via docker compose exec -T drupal-dev with-contenv bash -lc "for_all_sites create_solr_core_with_default_config"
If I don't build my drupal image from 3.2.7 it keeps generating 4.3.3 solr configs, even though I have 4.3.4 installed. Once I update the drupal image, it will generate the right configs, but then they don't allow me to index with the 3.2.7 solr image.
If I roll back solr to 3.2.4 but leave Drupal at 3.2.7 and generate them, it works ok, and I can then update solr to 3.2.7 again and things seem to work fine.
If I generate them with solr at 3.2.7 it looks like they generate fine (the files are all there), but then indexing fails.
Apparently the issue is that the core was not being recreated. Restarting the solr container between removing the old core and regenerating the new one seems to fix it. I will put in a PR to update the instructions.
After switching to 3.2.7 and pulling in the newest solr configs my solr fails to index. If I roll back to 3.2.4 the index works again.
I updated from 3.2.4 to 3.2.7 and the index worked. I then updated my Drupal modules which gave me search_api_solr 4.3.4. This update told me I needed new configs, so I deleted them and recreated them using the instructions here: https://islandora.github.io/documentation/installation/docker/site-template/updating/#solr
Once I had done that, the index fails with the message "Couldn't index items. Check the logs for details."
If I roll back to buildkit 3.2.4, the index works again. I suspect it's something in the 3.2.6 build, but I can't see what would cause this.
The error message in the logs is huge, but starts like this: