Upgrading Dremio to 3.1 Error

I have used this 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

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 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

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