# I need to upgrade my on prem setup from docker-compose

**URL:** https://discuss.elastic.co/t/i-need-to-upgrade-my-on-prem-setup-from-docker-compose/361882
**Category:** Elasticsearch
**Tags:** docker
**Created:** [June 22, 2024, 2:08pm UTC](https://discuss.elastic.co/t/i-need-to-upgrade-my-on-prem-setup-from-docker-compose/361882 "2024-06-22T14:08:24Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![sourabh\_rawat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sourabh_rawat/32/113832_2.png) [@sourabh\_rawat](https://discuss.elastic.co/u/sourabh_rawat)
#### Post date: [June 22, 2024, 2:08pm UTC](https://discuss.elastic.co/t/i-need-to-upgrade-my-on-prem-setup-from-docker-compose/361882/1 "2024-06-22T14:08:24Z")

</div>

Hi,  
I did an on-prem setup from a docker-compose.yml. Now I wanted to upgrade to 8.14.1 from 8.6. Not able to find any simple step.  
I tried changing the version to 8.14.1 in the env file.  
After running the command docker-compose up. It gets migrated to 8.14 but I cannot log in to Kibana.

---

<div class="post-metadata">

### Author: ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)
#### Post date: [June 22, 2024, 2:17pm UTC](https://discuss.elastic.co/t/i-need-to-upgrade-my-on-prem-setup-from-docker-compose/361882/2 "2024-06-22T14:17:00Z")

</div>

You just need to update the env file as you did.

> [@sourabh\_rawat](#):
>
> After running the command docker-compose up. It gets migrated to 8.14 but I cannot log in to Kibana.

You need to check the logs of your containers, both Kibana and Elasticsearch, to see what is the issue.

Please check the logs and share them.

---

<div class="post-metadata">

### Author: ![sourabh\_rawat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sourabh_rawat/32/113832_2.png) [@sourabh\_rawat](https://discuss.elastic.co/u/sourabh_rawat)
#### Post date: [June 24, 2024, 10:42am UTC](https://discuss.elastic.co/t/i-need-to-upgrade-my-on-prem-setup-from-docker-compose/361882/3 "2024-06-24T10:42:14Z")

</div>

Can you please share the document for the upgrade using docker-compose.yml ?

---

<div class="post-metadata">

### Author: ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)
#### Post date: [June 24, 2024, 12:27pm UTC](https://discuss.elastic.co/t/i-need-to-upgrade-my-on-prem-setup-from-docker-compose/361882/4 "2024-06-24T12:27:43Z")

</div>

> [@sourabh\_rawat](#):
>
> Can you please share the document for the upgrade using docker-compose.yml ?

I don't think there is any specific documentation about it.

But this is just how docker works, if you want to update anything you need to change the image version.

So, if you create a docker-compose and you are setting the version of the image on the env file, then you need to change the version on the env file and restart your containers.

If you had nay issue you need to share the logs as asked before.

---

<div class="post-metadata">

### Author: ![sourabh\_rawat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sourabh_rawat/32/113832_2.png) [@sourabh\_rawat](https://discuss.elastic.co/u/sourabh_rawat)
#### Post date: [July 1, 2024, 5:11am UTC](https://discuss.elastic.co/t/i-need-to-upgrade-my-on-prem-setup-from-docker-compose/361882/5 "2024-07-01T05:11:24Z")

</div>

Hi,  
Please find log snippets

es01\_1 | {"@timestamp":"2024-07-01T04:36:38.119Z", "log.level": "INFO", "message":"[.ds-logs-system.system-default-2024.06.10-000002/G30oowbCTmKc1yhDBb9qVQ] update\_mapping [\_doc]", "ecs.version": "1.2.0","service.name":"ES\_ECS","event.dataset":"elasticsearch.server","process.thread.name":"elasticsearch[es01][masterService#updateTask][T#1]","log.logger":"org.elasticsearch.cluster.metadata.MetadataMappingService","trace.id":"a8ccf7d747025a340dee91a5765f6c01","elasticsearch.cluster.uuid":"iKoHahQ7Rrmgd\_pAjRD-ZQ","elasticsearch.node.id":"41Mb3kWoR4aF0W6OxOnCqw","elasticsearch.node.name":"es01","elasticsearch.cluster.name":"docker-cluster"}  
kibana\_1 | [2024-07-01T04:36:38.229+00:00][INFO][plugins.fleet] Mappings update for metrics-system.memory-default failed due to ResponseError: illegal\_argument\_exception  
kibana\_1 | Root causes:  
kibana\_1 | illegal\_argument\_exception: Mapper for [container.id] conflicts with existing mapper:  
kibana\_1 | Cannot update parameter [time\_series\_dimension] from [true] to [false]  
kibana\_1 | [2024-07-01T04:36:38.229+00:00][INFO][plugins.fleet] Triggering a rollover for metrics-system.memory-default  
kibana\_1 | [2024-07-01T04:36:39.521+00:00][INFO][plugins.fleet] Install - Starting installation of endpoint@8.14.0 from bundled  
kibana\_1 | [2024-07-01T04:36:39.534+00:00][INFO][plugins.fleet] Install - Starting installation of synthetics@1.2.1 from bundled

=====  
kibana\_1 | [2024-07-01T04:36:48.750+00:00][WARN][plugins.fleet] xpack.encryptedSavedObjects.encryptionKey is not configured, agent uninstall tokens are being stored in plain text  
kibana\_1 | [2024-07-01T04:36:48.752+00:00][INFO][plugins.securitySolution] Dependent plugin setup complete - Starting ManifestTask  
kibana\_1 | [2024-07-01T04:36:48.754+00:00][INFO][plugins.securitySolution.endpoint.policyProtections] App feature [endpoint\_policy\_protections] is enabled. Nothing to do!  
kibana\_1 | [2024-07-01T04:36:48.754+00:00][INFO][plugins.securitySolution.endpoint.policyProtections] App feature [endpoint\_protection\_updates] is enabled. Nothing to do!  
kibana\_1 | [2024-07-01T04:36:48.755+00:00][INFO][plugins.securitySolution.endpoint.agentPolicyFeatures] App feature [endpoint\_agent\_tamper\_protection] is enabled. Nothing to do!

===  
s01\_1 | {"@timestamp":"2024-07-01T04:54:09.969Z", "log.level": "WARN", "message":"caught exception while handling client http traffic, closing connection Netty4HttpChannel{localAddress=/172.18.0.3:9200, remoteAddress=/172.18.0.1:41456}", "ecs.version": "1.2.0","service.name":"ES\_ECS","event.dataset":"elasticsearch.server","process.thread.name":"elasticsearch[es01][transport\_worker][T#2]","log.logger":"org.elasticsearch.http.AbstractHttpServerTransport","elasticsearch.cluster.uuid":"iKoHahQ7Rrmgd\_pAjRD-ZQ","elasticsearch.node.id":"41Mb3kWoR4aF0W6OxOnCqw","elasticsearch.node.name":"es01","elasticsearch.cluster.name":"docker-cluster","error.type":"io.netty.handler.codec.DecoderException","error.message":"javax.net.ssl.SSLHandshakeException: Received fatal alert: unknown\_ca","error.stack\_trace":"io.netty.handler.codec.DecoderException: javax.net.ssl.SSLHandshakeException: Received fatal alert: unknown\_ca\n\tat io.netty.codec@4.1.107.Final/io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:499)\n\tat io.netty.codec@4.1.107.Final/io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290)\n\tat io.netty.transport@4.1.107.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)\n\tat io.netty.transport@4.1.107.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)\n\tat io.netty.transport@4.1.107.Final/io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)\n\tat io.netty.transport@4.1.107.Final/io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)\n\tat io.netty.transport@4.1.107.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)\n\tat io.netty.transport@4.1.107.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)\n\tat io.netty.transport@4.1.107.Final/io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)\n\tat io.netty.transport@4.1.107.Final/io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)\n\tat io.netty.transport@4.1.107.Final/io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)\n\tat io.netty.transport@4.1.107.Final/io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:689)\n\tat io.netty.transport@4.1.107.Final/io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:652)\n\tat io.netty.transport@4.1.107.Final/io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)\n\tat io.netty.common@4.1.107.Final/io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)\n\tat io.netty.common@4.1.107.Final/io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)\n\tat java.base/java.lang.Thread.run(Thread.java:1570)\nCaused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: unknown\_ca\n\tat java.base/sun.security.ssl.Alert.createSSLException(Alert.java:130)\n\tat java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117)\n\tat java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:365)\n\tat java.base/sun.security.ssl.Alert$AlertConsumer.consume(Alert.java:287)\n\tat java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:204)\n\tat java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:172)\n\tat java.base/sun.security.ssl.SSLEngineImpl.decode(SSLEngineImpl.java:736)\n\tat java.base/sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:691)\n\tat java.base/sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:506)\n\tat java.base/sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:482)\n\tat java.base/javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:679)\n\tat io.netty.handler@4.1.107.Final/io.netty.handler.ssl.SslHandler$SslEngineType$3.unwrap(SslHandler.java:310)\n\tat io.netty.handler@4.1.107.Final/io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1445)\n\tat io.netty.handler@4.1.107.Final/io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1338)\n\tat io.netty.handler@4.1.107.Final/io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1387)\n\tat io.netty.codec@4.1.107.Final/io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:529)\n\tat io.netty.codec@4.1.107.Final/io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:468)\n\t... 16 more\n"}
