InvalidIndexNameException when creating Elasticsearch index

  • Used Zammad version: 2.8
  • Used Zammad installation source: package
  • Operating system: Ubuntu 16.04

Expected behavior:

Elasticsearch builds the search index when executing ‘zammad run rake searchindex:rebuild’

Actual behavior:

I receive the following error message stating, that the index name is invalid.

drop indexes…done
create indexes…done
create pipeline (pipeline)… rake aborted!
Unable to process DELETE request to elasticsearch URL ‘http://localhost:9200/_ingest/pipeline/zammad624054646167’. Check the response and payload for detailed information:

Response:
#<UserAgent::Result:0x000055c442477f00 @success=false, @body="{“error”:“InvalidIndexNameException[[_ingest] Invalid index name [ingest], must not start with '’]”,“status”:400}", @data=nil, @code=“400”, @content_type=nil, @error=“Client Error: #<Net::HTTPBadRequest 400 Bad Request readbody=true>!”>

Steps to reproduce the behavior:

execute “zammad run rake searchindex:rebuild”

You’re missing the attachment plugin for ES.
Please follow our documentation step by step: https://docs.zammad.org/en/latest/install-elasticsearch.html

If you’re using Elasticsearch 6.x please note that this version is not supported yet.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.