Troubleshooting Motoko Migrations

Deep reference for when the Motoko migration chain misbehaves — upgrade compatibility errors you cannot explain, migration files you cannot write, a first migration whose OldActor is non-empty, a project converted from legacy persistence, or a request to delete/remove the migrations directory or revert to inline (with migration = ...). Load only when the rules in migrating-motoko-actors do not explain what you are seeing.

dfinity Updated

File contents

dfinity/icskills/tree/main/skills/troubleshooting-motoko-migrations commit 768099925a

Frequently asked questions

npx skillmds@latest add dfinity/troubleshooting-motoko-migrations