# Error after upgrading from 1.5 to 1.7.5 during script execution

**URL:** <https://discuss.elastic.co/t/error-after-upgrading-from-1-5-to-1-7-5-during-script-execution/57628>\
**Category:** Elasticsearch\
**Created:** [August 9, 2016, 9:09pm UTC](https://discuss.elastic.co/t/error-after-upgrading-from-1-5-to-1-7-5-during-script-execution/57628 "2016-08-09T21:09:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![biggert](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/biggert/32/3912_2.png) [@biggert](https://discuss.elastic.co/u/biggert)\
**Post date:** [August 9, 2016, 9:09pm UTC](https://discuss.elastic.co/t/error-after-upgrading-from-1-5-to-1-7-5-during-script-execution/57628/1 "2016-08-09T21:09:19Z")

</div>

After upgrading from ES 1.5 to ES 1.7.5, my inline scripted update no longer work. Everything else seems to work except for things involving scripts.

Here's the exception I'm getting:

> POST test/doc/1/\_update  
> {  
> "lang": "groovy",  
> "script": "ctx.\_source.poop = "asdf""
> 
> }  
> {  
> "error": "ElasticsearchIllegalArgumentException[failed to execute script]; nested: GroovyScriptCompilationException[MultipleCompilationErrorsException[startup failed:\nIO Exception attempting to load global transforms:/usr/share/elasticsearch/lib/groovy-all-2.4.0.jar (No such file or directory)\n\n1 error\n]]; ",  
> "status": 400  
> }

When I go look at that directory, I see groovy-all-2.4.4.jar; not groovy-all-2.4.0.jar. I installed ES from the debian repo here: [http://packages.elasticsearch.org/elasticsearch/1.7/debian](http://packages.elasticsearch.org/elasticsearch/1.7/debian).

Anything else I can try to alleviate this issue?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:29pm UTC](https://discuss.elastic.co/t/error-after-upgrading-from-1-5-to-1-7-5-during-script-execution/57628/2 "2017-07-05T22:29:00Z")

</div>


