How to move your Misskey v13, Misskey v12, or FoundKey server to Firefish
All the guides below assume you’re starting in the root of the repo directory.
Ensure you have stopped all master and worker processes of Misskey.
Ensure you have backups of the database before performing any commands.
Misskey v13 and above
Tested with Misskey v13.11.3.
If your Misskey v13 is older, we recommend updating your Misskey to v13.11.3.
Depending on the version you’re migrating from, you may have to open Postgres with psql -d your_database and run the following commands:
then quit with \q, and restart Firefish.
Note: Ignore errors of column "xxx" of relation "xxx" already exists.
If no other errors happened, your Firefish is ready to launch!
Misskey v12.119 and before
You cannot migrate back to Misskey from Firefish due to re-hashing passwords on signin with argon2. You can migrate to Sharkey, a soft fork of Misskey that uses argon2 though. You can also migrate from Firefish to FoundKey, although this is not recommended due to FoundKey being end-of-life, and may have some problems with alt-text.