documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Complete migration from V3 to V4 of Strapi

Open pateljoel opened this issue 2 years ago • 2 comments

Summary

Hi there,

Is there a migration from V3 to V4 on Strapi? I can't find any fully complete guides on migrating everything over, it seems that it is either non existent or incomplete.

Why is it needed?

Moving a huge codebase and can't find any complete guides or easy to follow tutorials.

Suggested solution(s)

Document the complete V3 to V4 migration guides with either images, pictures or videos demonstrating this process.

Related issue(s)/PR(s)

No response

pateljoel avatar May 20 '22 15:05 pateljoel

totally agree, strapi v4 seems like a beta without a complete and comprehensible migration guide.

Docs are still saying:

🚧 Migration guides

This section is still a work in progress and will continue to be updated and improved. In the meantime, feel free to ask for help on the forum (opens new window)or on the community Discord (opens new window).

I am especially missing the database migration scripts, since the changes very huge and manual migration is nearly impossible.

andorfermichael avatar May 25 '22 08:05 andorfermichael

Migration scripts are in beta and located here: https://github.com/strapi/migration-scripts

derrickmehaffy avatar May 25 '22 18:05 derrickmehaffy

Hello @pateljoel and @andorfermichael I wanted to update this issue with the current state of migration resources:

  • There is a YouTube collection by our DevRel team
  • The SQL->SQL migration script is considered stable, the MongoDB to SQL is still considered in beta. Scripts can be found here.

If you have any additional feedback we are always interested to hear how we can improve the documentation.

stb13579 avatar Nov 09 '22 17:11 stb13579

For a complete list of all of our migration resources, you can also see this article here: https://support.strapi.io/support/solutions/articles/67000709822-strapi-v3-to-v4-migration-resources

derrickmehaffy avatar Nov 09 '22 18:11 derrickmehaffy

Closing this issue as v3 → v4 migration is covered in Strapi Dev Docs + on the various resources mentioned by Derrick.

pwizla avatar Sep 15 '23 14:09 pwizla