After I updated from 2.1.1 to 2.2.0 I see this error when trying to use scripts.
{"type":"illegal_argument_exception","reason":"Unable to find on disk file script [closest_listing] using lang [groovy]"}
closest_lisitng.groovy is the script located at /etc/elasticsearch/scripts
Was working fine on 2.1.1.
Any ideas?