Issue with running migration script for version 0.21.0 self host
There is a Action Required for Upgrading in release note state that You must change the path for each script individually and run it separately.
added script in // apps/api/package.json
run cd apps/api
npm run migration
its throwing error that '../../src/config' model not found.
above code is there inside script we are running apps/api/migrations/integration-scheme-update/add-primary-priority-migration.ts
FYI: npm, selfhost, local, container, kubernetes
2 Replies
@prathap
Thanks for reaching out for help with migration
I would like to mention that, Kubernetes self host support is included in our commercial self-host plan
Feel free to reach out to our sales team ([email protected]) for any question regarding commercial plan
I am assuming you have access to the code in the self hosting environment
Did you follow all the steps mentioned in this release notes for migration?
https://github.com/novuhq/novu/releases/tag/v0.21.0
yes I followed above migration steps and it thrown above error that ../../src/config' model not found.
any way we skipped migration as that migration related to remove multi provider which is not used in our case.
so we directly upgraded to 0.21.0 and then 0.22.0 everything working fine.