Elasticsearch restart causes error unable to find script [q_checkitem] in cluster state

Hi,
After Elasticsearch cluster containers restarted we get resource not found exception when a search is attempted.

{
  "error" : {
    "root_cause" : [
      {
        "type" : "resource_not_found_exception",
        "reason" : "unable to find script [q_checkitem] in cluster state"
      }
    ],
    "type" : "resource_not_found_exception",
    "reason" : "unable to find script [q_checkitem] in cluster state"
  },
  "status" : 404
}

If I restart elasticsearch as well as logstash containers the error disappears.

Any help greatly appreciated.

Does restarting mean, that you are starting a completely different cluster, that has no access on the previous data anymore? if that is the case, then there is also no access on the previous cluster state that contains all the scripts.

Can you explain the process of restart in context of your Elasticsearch cluster in more detail?

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