# Upgrading Dremio to 3.1 Error

**URL:** <https://community.dremio.com/t/upgrading-dremio-to-3-1-error/2693>\
**Category:** Uncategorized\
**Created:** [February 4, 2019, 12:49pm UTC](https://community.dremio.com/t/upgrading-dremio-to-3-1-error/2693 "2019-02-04T12:49:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vikash\_Singh](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/vikash_singh/32/1069_2.png) [@Vikash\_Singh](https://community.dremio.com/u/Vikash_Singh)\
**Post date:** [February 4, 2019, 12:49pm UTC](https://community.dremio.com/t/upgrading-dremio-to-3-1-error/2693/1 "2019-02-04T12:49:07Z")

</div>

I have used this [https://github.com/dremio/containers/tree/master/charts/dremio](https://github.com/dremio/containers/tree/master/charts/dremio) to configure Dremio with kubernate and i have used extrnal volume disk for mount

but when i am changing image to 3.1 always getting Error,i have tried also dremio-admin upgrade from docker file but non of them work

2019-02-04 12:44:43,829 [main] INFO c.d.datastore.LocalKVStoreProvider - Stopped LocalKVStoreProvider  
2019-02-04 12:44:43,833 [main] ERROR ROOT - Dremio is exiting. Failure while starting services.  
java.lang.IllegalStateException: KVStore has an older version (3.0.6-201812082352540436-1f684f9) than the server (3.1.1-201901281837360699-30c9d74), please run the upgrade tool first  
at com.google.common.base.Preconditions.checkState(Preconditions.java:721) ~[guava-20.0.jar:na]  
at com.dremio.dac.daemon.DremioDaemon$AutoUpgrade.ensureUpgradeSupported(DremioDaemon.java:67) ~[dremio-dac-daemon-3.1.1-201901281837360699-30c9d74.jar:3.1.1-201901281837360699-30c9d74]  
at com.dremio.dac.cmd.upgrade.Upgrade.run(Upgrade.java:168) ~[dremio-dac-daemon-3.1.1-201901281837360699-30c9d74.jar:3.1.1-201901281837360699-30c9d74]  
at com.dremio.dac.cmd.upgrade.Upgrade.run(Upgrade.java:151) ~[dremio-dac-daemon-3.1.1-201901281837360699-30c9d74.jar:3.1.1-201901281837360699-30c9d74]  
at com.dremio.dac.daemon.DremioDaemon.main(DremioDaemon.java:97) ~[dremio-dac-daemon-3.1.1-201901281837360699-30c9d74.jar:3.1.1-201901281837360699-30c9d74]  
Dremio is exiting. Failure while starting services.  
java.lang.IllegalStateException: KVStore has an older version (3.0.6-201812082352540436-1f684f9) than the server (3.1.1-201901281837360699-30c9d74), please run the upgrade tool first  
at com.google.common.base.Preconditions.checkState(Preconditions.java:721)  
at com.dremio.dac.daemon.DremioDaemon$AutoUpgrade.ensureUpgradeSupported(DremioDaemon.java:67)  
at com.dremio.dac.cmd.upgrade.Upgrade.run(Upgrade.java:168)  
at com.dremio.dac.cmd.upgrade.Upgrade.run(Upgrade.java:151)  
at com.dremio.dac.daemon.DremioDaemon.main(DremioDaemon.java:97)  
Heap

---

<div class="post-metadata">

**Author:** ![ben](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/ben/32/1367_2.png) [@ben](https://community.dremio.com/u/ben)\
**Post date:** [February 4, 2019, 4:26pm UTC](https://community.dremio.com/t/upgrading-dremio-to-3-1-error/2693/2 "2019-02-04T16:26:06Z")

</div>

Hello @Vikash_Singh

It looks like the upgrade task was not run on your KVstore (Dremio’s metadata store).

The helm charts at: [https://github.com/dremio/containers/tree/master/charts/dremio](https://github.com/dremio/containers/tree/master/charts/dremio) have been modified in the last couple months. I’m wondering if you have been working with the older version of `dremio-master.yaml` that does not include the upgrade task.

Can you attach `dremio-master.yaml` along with your `dremio.conf` and `dremio-env`?

Thank you,  
Ben

---

<div class="post-metadata">

**Author:** ![Vikash\_Singh](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/vikash_singh/32/1069_2.png) [@Vikash\_Singh](https://community.dremio.com/u/Vikash_Singh)\
**Post date:** [February 5, 2019, 3:55am UTC](https://community.dremio.com/t/upgrading-dremio-to-3-1-error/2693/3 "2019-02-05T03:55:09Z")

</div>

Thanks bin,

Its solved i had used older version of master.yml ,i have added

command: ["/opt/dremio/bin/dremio-admin"]  
args:  
- “upgrade”

then its upgraded
