Lightlines
By caffeinelabs

troubleshooting-motoko-migrations

caffeinelabs2.3k installs

Fix Motoko migrations without losing live state.

What it does

Explains Motoko migration-chain failures and guides repairs without rewriting deployed history.

When to use it

Use when normal migration rules do not explain compatibility diagnostics, migration-file write failures, converted legacy state, or requests to remove the chain.

How to use it

It changes how the agent troubleshoots and repairs a project's migration chain, preserving applied migrations and expressing changes through pending or new migrations.

What you provide

  • An existing project

Latest review

What you need · 3

Requires moc version 1.11.2 or later.

Requires the mops core package version 2.5.0 or later.

Uses mops to check the migration chain against the deployed canister's stable signature.


Access · 0

No additional actions listed.