TryQuiet / quiet

A private, p2p alternative to Slack and Discord built on Tor & IPFS
https://www.tryquiet.org
GNU General Public License v3.0
1.98k stars 86 forks source link

"ipfs-repo-migrations package does not have all migration" error on downgrade 18.7 -> 16 #1172

Open holmesworcester opened 1 year ago

holmesworcester commented 1 year ago

I cannot downgrade from Quiet 0.18.7-alpha.1 to Quiet 16.0.0 (AppImage, Debian, ChromeOS) because of this error:

InvalidValueError: The ipfs-repo-migrations package does not have all migration to migrate from version 11 to 12

Steps to reproduce:

  1. Create Quiet community in 16
  2. Upgrade to 18
  3. Switch back to 16

Expected: it works Actual: I get the above error.

Note: most users won't be downgrading, so we can maybe ignore this problem, but it does impact our testing of Quiet.

kowalski commented 1 year ago

Unfortunately I don't think there is a way to downgrade ipfs storage files. The only thing that we could do to heal from such situtaion is to wipe local ipfs data them and fetch it back other peers in community. Is this acceptable?

holmesworcester commented 1 year ago

Will try this.