Closed pkikawa closed 4 years ago
getting the same message when editing collection
See https://github.com/densho/ddr-local/issues/268
This happens when using the current DDR with an old Elasticsearch server e.g. 2.4. I can't fix having the wrong server but ddr-local
commit 9d16e3d
for package ddrlocal-rc_4.0.0-rc3~deb9
should catch the RequestErrors
so the program doesn't crash. Records in the local Elasticsearch will not be updated of course.
error when creating collection RequestError(400, u'invalid_type_name_exception', {u'status': 400, u'error': {u'rootcause': [{u'reason': u"Document mapping type name can't start with ''", u'type': u'invalid_type_name_exception'}], u'type': u'invalid_type_nameexception', u'reason': u"Document mapping type name can't start with ''"}})
rc3
rc3
What does this mean?
We're seeing this error in ddrlocal-rc_4.0.0-rc3~deb9 package
I set up a fresh Debian 9 VM, installed ddrlocal-rc_4.0.0-rc3~deb9_amd64.deb
on it, pointed it at another VM that's running Elasticsearch 7, and was able to successfully create a collection.
NOTE: DDR no longer works with Elasticsearch 2.4
NOTE: You need to set up an Elasticsearch 7.4 server, then edit /etc/ddr/ddrlocal-local.cfg
on the VM, setting [local] docstore_host
to point to the new ES7.
Turns out to be configuration issue.
clicking on new collection throws this failure message, though the collection is successfully created and is listed in thew webui. collection_creation.zip
4.0.0-rc1 entiat