How to upgrade DB version to 1.0.7?

After installing trudesh. in windwos, can’t launch the site error console :

Error: Please upgrade to v1.0.7 Exiting…
at C:\Users\Utilisateur\Documents\trudesk\src\migration\index.js:66:25
at C:\Users\Utilisateur\Documents\trudesk\node_modules\mongoose\lib\model.js:4659:16
at C:\Users\Utilisateur\Documents\trudesk\node_modules\mongoose\lib\utils.js:255:16
at _hooks.execPost (C:\Users\Utilisateur\Documents\trudesk\node_modules\mongoose\lib\query.js:4065:11)
at C:\Users\Utilisateur\Documents\trudesk\node_modules\kareem\index.js:135:16
at process._tickCallback (internal/process/next_tick.js:61:11)
Emitted ‘error’ event at:
at C:\Users\Utilisateur\Documents\trudesk\node_modules\mongoose\lib\model.js:4661:13
at C:\Users\Utilisateur\Documents\trudesk\node_modules\mongoose\lib\utils.js:255:16
[… lines matching original stack trace …]
at process._tickCallback (internal/process/next_tick.js:61:11)

The upgrade path for users prior to v1.0.7.
1.0.7 -> 1.0.10 -> 1.0.13 -> 1.0.15

git checkout v1.0.7
yarn build

during server start at the given version, a db migration will be performed.

1 Like

Hello @polonel, Thanks for your response.
After I set up the project correctly.
When I start the project he crashes in this line :

Windows platform detected. Downloading MongoDB Tools

I wait for a long time and nothing happens.

8/26 09:52:54 [16272] - info: Running in: development
8/26 09:52:54 [16272] - info: Server Time: Mon Aug 26 2019 09:52:54 GMT+0100 (GMT+01:00)
8/26 09:52:56 [16272] - info: Connected to MongoDB
8/26 09:52:58 [16272] - debug: Checking Default Settings…
8/26 09:52:58 [16272] - debug: Windows platform detected. Downloading MongoDB Tools

I am facing this problem also.

Could you please just tell me what do you mean by ‘a db migration will be performed’?

Does it mean that if I have created an other database this can cause this error and doing a git checkout v1.0.7 will ‘reset’ the existing database? Or anything else?

Best Loic