ysael
07/15/2025, 2:07 PM< 4.2.0, but current server version is 4.2.0","stack":["Error: Unable to run this version of Medplum server. Pending post-deploy migration v11 requires server at version 4.1.12 <= version < 4.2.0, but current server version is 4.2.0"," at migrate (/usr/src/medplum/packages/server/dist/database.js:205:23)"," at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"," at async runMigrations (/usr/src/medplum/packages/server/dist/database.js:141:9)"," at async initDatabase (/usr/src/medplum/packages/server/dist/database.js:78:9)"," at async /usr/src/medplum/packages/server/dist/app.js:195:9"," at async initApp (/usr/src/medplum/packages/server/dist/app.js:142:5)"," at async main (/usr/src/medplum/packages/server/dist/index.js:34:17)"]}
I ran "Run Pending Data Migration" as a super admin, and it reports as completed successfully, but I still get the same error afterward.
Is there a step I'm missing? I've never had issues with upgrades in the past.
Thanks in advance!
Ysaelnathan-watkins-unityai
07/15/2025, 2:33 PM4.1.12 before 4.2.x before 4.3.x. Their [version policy](https://www.medplum.com/docs/compliance/versions#minor-versions-xy0) indicates minor versions cannot be skipped. I don't see anything about running latest patch version before minor version upgrade, but [this](https://github.com/medplum/medplum/blob/ec24e0880e33fad1fa57780d16fb8b0c60e95fff/packages/server/src/migrations/data/data-version-manifest.json#L42-L49) (and the resulting log you're getting) seems to indicate 4.1.12 is required before 4.2.xysael
07/15/2025, 3:16 PMysael
07/15/2025, 3:35 PMrahul1
07/15/2025, 6:58 PM