Not syncing, trying to upgrade DB to V2

Hi there

My Chia 2.1.4 will not sync, with v1 db is that why? So I am trying to use CLI to ugrade it. Assuming the location is correct ie
C:\Users\XCH2\AppData\Local\Programs\Chia\resources\app.asar.unpacked\daemon> start chia.exe

However, as soon as I hit enter a window opens and closes immediately.

How and where do I “chia db upgrade” ?

Many thanks!

You need to upgrade the DB via the CLI to v2, and once that’s done you need to change the database name in the config yaml.

I’m not sure of the exact commands though.

  1. Run chia db upgrade in CLI.