# Fix:upgrade elasticsearch from 6.2.2 to 7.11 in mac docker compose ,and "unsupported version: \[6.4.3\] minimal compatible version is: \[6.8.0\]"

**URL:** <https://discuss.elastic.co/t/fix-upgrade-elasticsearch-from-6-2-2-to-7-11-in-mac-docker-compose-and-unsupported-version-6-4-3-minimal-compatible-version-is-6-8-0/187328>\
**Category:** Elasticsearch\
**Created:** [June 25, 2019, 12:22pm UTC](https://discuss.elastic.co/t/fix-upgrade-elasticsearch-from-6-2-2-to-7-11-in-mac-docker-compose-and-unsupported-version-6-4-3-minimal-compatible-version-is-6-8-0/187328 "2019-06-25T12:22:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![unkown](https://avatars.discourse-cdn.com/v4/letter/u/d2c977/32.png) [@unkown](https://discuss.elastic.co/u/unkown)\
**Post date:** [June 25, 2019, 12:22pm UTC](https://discuss.elastic.co/t/fix-upgrade-elasticsearch-from-6-2-2-to-7-11-in-mac-docker-compose-and-unsupported-version-6-4-3-minimal-compatible-version-is-6-8-0/187328/1 "2019-06-25T12:22:50Z")

</div>

upgrade elasticsearch from 6.2.2 to 7.11 in mac docker  
run test  
docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" [docker.elastic.co/elasticsearch/elasticsearch:7.1.1](http://docker.elastic.co/elasticsearch/elasticsearch:7.1.1)

[mac run error]  
[linux ok]

error：  
{"type": "server", "timestamp": "2019-06-25T10:50:36,031+0000", "level": "WARN", "component": "o.e.t.TcpTransport", "cluster.name": "docker-cluster", "node.name": "674aa7d83d8c", "cluster.uuid": "YH7XE3uzRPiJlVqfyh4ehA", "node.id": "VvFND4eZRBCGxsEfVjhAJw", "message": "exception caught on transport layer [Netty4TcpChannel{localAddress=/172.17.0.2:9300, remoteAddress=/172.17.0.1:42938}], closing connection" ,  
"stacktrace": ["java.lang.IllegalStateException: Received message from unsupported version: [6.4.3] minimal compatible version is: [6.8.0]",  
"at org.elasticsearch.transport.InboundMessage.ensureVersionCompatibility(InboundMessage.java:137) ~[elasticsearch-7.1.1.jar:7.1.1]",  
"at org.elasticsearch.transport.InboundMessage.access$000(InboundMessage.java:39) ~[elasticsearch-7.1.1.jar:7.1.1]",  
"at org.elasticsearch.transport.InboundMessage$Reader.deserialize(InboundMessage.java:76) ~[elasticsearch-7.1.1.jar:7.1.1]",  
"at org.elasticsearch.transport.TcpTransport.messageReceived(TcpTransport.java:917) ~[elasticsearch-7.1.1.jar:7.1.1]",  
"at org.elasticsearch.transport.TcpTransport.inboundMessage(TcpTransport.java:753) [elasticsearch-7.1.1.jar:7.1.1]",

....

fix:  
in old deployment :

1. docker-compose up -d
2. docker-compose down -v

-v, --volumes Remove named volumes declared in the `volumes`  
section of the Compose file and anonymous volumes  
attached to containers.

then run ok.

---

<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 23, 2019, 12:22pm UTC](https://discuss.elastic.co/t/fix-upgrade-elasticsearch-from-6-2-2-to-7-11-in-mac-docker-compose-and-unsupported-version-6-4-3-minimal-compatible-version-is-6-8-0/187328/2 "2019-07-23T12:22:55Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
