4.1.0 Docker release doesn't work due to solr container
Hi,
The 4.1.0 docker release doesn't quite seem to work, there's something off with the Solr container and it causes the AS to error:
WARNING: error app failed to handle exception: org.jruby.rack.RackInitializationException: Solr checksum verification failed (schema): expected
However, if you modify the docker-compose file so that it uses archivesspace/solr:latest instead of archivesspace/solr:4.1.0 it works. The fact that this latest solr image exists separate from 4.1.0 leads me to believe you are aware of this, but didn't think it hurt to file an issue.
Thanks,
Joe
Hi Joe,
thanks for reporting this issue, an updated docker configuration package for v4.1.0 is now published here:
https://github.com/archivesspace/archivesspace/releases/tag/v4.1.0
and some updated instructions on how to upgrade when using docker have been added to our tech-docs: https://docs.archivesspace.org/administration/docker/#upgrading
looking forward to your feedback
Hi Thimios,
Interestingly, I tried this again with v4.1.1 and I'm still running into the issue. However, I've identified that this is only happening with Docker in a Mac environment. We installed v.4.1.1 on our prod RHEL server and had no issues. But on a Mac, we keep getting a Solr checksum verification failed (schema): expected error. I did notice that there's an app configuration AppConfig[:solr_verify_checksums] and if you set it to false, you no longer see the issue.
One thing I'm wondering if what's causing the issue is maybe the difference of how Macs are calculating the checksum vs. Linux. I also noticed something in the code:
def lookup_internal_checksum
ASConstants::Solr.send(@name.upcase.intern)
Which caught my eye because I recently had a problem with a separate application that was having issues in a docker container because Mac is case insensitve and Linux is not.
Or it may be something else entirely...
Thanks,
Joe