# Upgrading from ES 7.17.8 to 8.19.8

**URL:** <https://discuss.elastic.co/t/upgrading-from-es-7-17-8-to-8-19-8/385475>\
**Category:** Elasticsearch\
**Created:** [March 17, 2026, 6:41am UTC](https://discuss.elastic.co/t/upgrading-from-es-7-17-8-to-8-19-8/385475 "2026-03-17T06:41:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![winter\_crescents](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/winter_crescents/32/146971_2.png) [@winter\_crescents](https://discuss.elastic.co/u/winter_crescents)\
**Post date:** [March 17, 2026, 6:41am UTC](https://discuss.elastic.co/t/upgrading-from-es-7-17-8-to-8-19-8/385475/1 "2026-03-17T06:41:28Z")

</div>

I have recently tried to upgrade Elasticsearch from version 7.17.8 to 8.19.8.

However, I am facing this error:  
`java.io.EOFException`  
`at org.elasticsearch.common.io.stream.InputStreamStreamInput.readByte(InputStreamStreamInput.java:49)`  
`at org.elasticsearch.common.io.stream.StreamInput.readBoolean(StreamInput.java:644)`  
`at org.elasticsearch.bootstrap.ServerArgs.(ServerArgs.java:65)`  
`at org.elasticsearch.bootstrap.Elasticsearch.initPhase1(Elasticsearch.java:139)`  
`at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:95)`

Previously with 7.17.8, there were no errors and I see something like this which was what I expected for 8.19.8 as well:  
`[mylocalnode] version[7.17.8], pid[43820], build[unknown/unknown/..], OS[..], JVM[..]`  
`[mylocalnode] JVM home [..]`  
`[mylocalnode] JVM arguments [..]`

What I have done:

- In modules, I updated x-pack-core, x-pack-security, transport-netty4 and reindex modules such that the jars are compatible to 8.19.8.
- Updated lib to use the jars that version 8.19.8 uses.
- JVM args remain the same as 7.17.8: -XX:+UseG1GC, -Delasticsearch, -Des.path.home=elasticsearch/src, -Dconfig.file=elasticsearch/src/main/resources/application.conf, -Des.path.conf=elasticsearch/src/config, -Djava.security.policy=elasticsearch/src/config/security.policy, -Dlog4j2.disable.jmx=true, -Xmx4g, -Xms4g

I am not even sure where to start debugging from as there are no errors. Does anybody have any idea? Please let me know if more information is required for this issue.

I appreciate all help!

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [March 17, 2026, 8:08am UTC](https://discuss.elastic.co/t/upgrading-from-es-7-17-8-to-8-19-8/385475/2 "2026-03-17T08:08:36Z")

</div>

> [@winter\_crescents](#):
>
> What I have done:
> 
> - In modules, I updated x-pack-core, x-pack-security, transport-netty4 and reindex modules such that the jars are compatible to 8.19.8.
> - Updated lib to use the jars that version 8.19.8 uses.
> - JVM args remain the same as 7.17.8: -XX:+UseG1GC, -Delasticsearch, -Des.path.home=elasticsearch/src, -Dconfig.file=elasticsearch/src/main/resources/application.conf, -Des.path.conf=elasticsearch/src/config, -Djava.security.policy=elasticsearch/src/config/security.policy, -Dlog4j2.disable.jmx=true, -Xmx4g, -Xms4g

This is not how to upgrade Elasticsearch. You need to completely replace the 7.17 installation with an 8.19 one.
