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
Pawan Jain
Pawan Jain6mo ago
@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 (sales@novu.co) 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
Prathap Belli
Prathap Belli6mo ago
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.