Strapi Cloud Migration: Lessons Learned Migrating v4 to v5
When you look at the official documentation, the migration steps from Strapi v4 to v5 feel straightforward:
“Make a backup, run the script and simply deploy.” And technically, that’s true...
But in practice, moving a live project on Strapi Cloud involves a lot of little decisions, edge cases, and “gotchas” that the docs can’t possibly cover in detail.
At NOTUM Technologies , we’ve guided several projects through this upgrade, and here are the key lessons we learned along the way.
1. Backups Are More Than a Checkbox
Creating a backup is obvious, but two details really matter:
2. The Migration Script Does Its Job, But Review Carefully
The official upgrade script is a great starting point, but it takes a cautious approach:
3. API Changes Are Where Most Work Happens
The biggest shift between v4 and v5 is in the API responses:
If you need time to refactor, Strapi provides compatibility options:
These flags buy you breathing room, but we recommend planning the full refactor sooner rather than later.
4. Test in a Staging Environment First
Running the migration locally is important, but we discovered some issues only surfaced in a hosted environment. Our approach:
Recommended by LinkedIn
This step saved us from surprises that never appeared on local.
5. Deployment Errors Aren’t Always Errors
One unexpected challenge: sometimes Strapi Cloud marks a deployment as failed because the health check times out, even though the app is actually running fine.
Our process:
This simple check helped avoid unnecessary panic and rollbacks.
6. Migration Is Also a Code Audit
The upgrade script gets you across the line, but the real value of the migration is in the review process:
Migration is a great opportunity to clean house, not just to “make it work again.”
Final Thoughts
Strapi v5 brings important improvements, but migration isn’t just about running a script; it’s about planning, testing, and taking the opportunity to improve your codebase.
The official documentation gives you a solid foundation. The lessons above are what we learned in the real world: back up smartly, review lifecycles, handle API changes carefully, and always test in a staging environment.
With the right preparation, moving to v5 is not only manageable but also a chance to strengthen your project for the future.
Do you have a question about the v4 to v5 migration? Drop it in the comments.
Big thanks to Gábor Filip Ónodi-Pető for writing this article 🙌
2x exited founder. Now fractional CMO.
6moFor those who like videos, we made a detailed video about this migration https://www.youtube.com/watch?v=bT8LpxiW1QQ&lc=Ugxhwv6dp3O2i81sFFl4AaABAg
Great content as always, well done Jiri Mouka - Strapi guy 👏