Closed rudesome closed 3 years ago
unfortunately we don't support rollbacks if there are database migrations in between versions. you can check what the migration 210 does here and by looking into into I'd say it is safe to unlock manually. to do so, shutdown rocket.chat, go to mongo shell and run the following:
db.migrations.update({ _id: 'control' }, { $set: { locked: false, version: 209 } });
after that you can spin up "latest" again and you should be fine.
after pulling in the new release 3.9.0-rc1 and reverting back to "latest" or earlier i get the following error:
i checked in mongodb in the 'migrations' collection:
{ "_id" : "control", "locked" : true, "version" : 210, "buildAt" : "2020-11-20T02:26:03.782Z", "lockedAt" : ISODate("2020-11-25T20:06:57.100Z") }
version 210 is defined.. what else is expected to be 210?