elk-tls-docker icon indicating copy to clipboard operation
elk-tls-docker copied to clipboard

How to upgrade the stack?

Open fanuelsen opened this issue 3 years ago • 4 comments

Hi, i was wondring how you should upgrade the elasticsearch container? It writes persistence data to the data volume, and this includes the ealsticsearch binaries. So even if you pull a newer image its still starting the old version.

fanuelsen avatar Feb 15 '22 18:02 fanuelsen

Hi, If you pull the new image, Elasticsearch will do the upgrade automatically for you.

Amine27 avatar Feb 17 '22 15:02 Amine27

I tried that but it did not upgrade the binaries. I will investigate more and report back.

fanuelsen avatar Feb 17 '22 18:02 fanuelsen

I believe that data volumes (/usr/share/elasticsearch/data) doesn't contains binaries, only data. I've used this method many times (lately to upgrade from v7.17 to v8.0) without issues.

Amine27 avatar Feb 18 '22 13:02 Amine27

This issue can be closed.

fanuelsen avatar Apr 04 '22 10:04 fanuelsen