# After 2.2 update scripts not working

**URL:** <https://discuss.elastic.co/t/after-2-2-update-scripts-not-working/40992>\
**Category:** Elasticsearch\
**Created:** [February 4, 2016, 5:51pm UTC](https://discuss.elastic.co/t/after-2-2-update-scripts-not-working/40992 "2016-02-04T17:51:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brian/32/54874_2.png) [@brian](https://discuss.elastic.co/u/brian)\
**Post date:** [February 4, 2016, 5:51pm UTC](https://discuss.elastic.co/t/after-2-2-update-scripts-not-working/40992/1 "2016-02-04T17:51:59Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![jasontedor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasontedor/32/66992_2.png) [@jasontedor](https://discuss.elastic.co/u/jasontedor)\
**Post date:** [February 4, 2016, 7:48pm UTC](https://discuss.elastic.co/t/after-2-2-update-scripts-not-working/40992/2 "2016-02-04T19:48:34Z")

</div>

A post was merged into an existing topic: [After upgrade from ES-2.1.1 to ES-2.2.0 groovy scripting is broken](https://discuss.elastic.co/t/after-upgrade-from-es-2-1-1-to-es-2-2-0-groovy-scripting-is-broken/40977)

---

<div class="post-metadata">

**Author:** ![jasontedor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasontedor/32/66992_2.png) [@jasontedor](https://discuss.elastic.co/u/jasontedor)\
**Post date:** [February 4, 2016, 7:48pm UTC](https://discuss.elastic.co/t/after-2-2-update-scripts-not-working/40992/3 "2016-02-04T19:48:34Z")

</div>


