Enable script inline elasticsearch 2.3, unable to restart elasticsearch fails

POST /customer/external/1/_update?pretty
{
"script" : "ctx._source.age += 5"
}

I got this error,
"reason": "scripts of type [inline], operation [update] and lang [groovy] are disabled"

I update elasticsearch.yml with

script.inline: true
script.indexed: true

So after unable to restart elasticsearch

Hi @Pradeep_Sathyaraj,

Can you please post the exact failure you get when you restart Elasticsearch?

Daniel

Hi @danielmitterdorfer

I found the issue in the elasticsearch.yml, I enable a node and cofigure like below and started working

node.name: node-1
script.inline: true
script.indexed: true

Thanks for your reply

Hi @Pradeep_Sathyaraj,

that's great. Glad that it's working now.

Daniel

I'm facing the same issue in ES 5.2.2
Did someone face the same issue in ES 5.2.2 ?