denshoproject / ddr-local

Web UI used for interacting with DDR collections and entities on a local machine.
Other
3 stars 0 forks source link

RequestError when setting Signatures #271

Closed sarabeckman closed 4 years ago

sarabeckman commented 4 years ago

When trying to set signature for either an object or the the collection in ddrlocal-rc_4.0.0-rc3~deb9. I get a Request Error in the git status but the signature does get set.

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 ''"}})

gjost commented 4 years ago

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 set collection and entity signatures. 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.