server-snap
server-snap copied to clipboard
Cannot upgrade to v.6 ..An equivalent index already exists with the same name but different options.
Hi guys. I need help. I cant go to v.6. This is my error log. The system is Ubuntu with snap rocket. v. 5.4.5 is working well.
Version - 5.4.5 MongoDB - 4.4.15 / wiredTiger (oplog Enabled) Node Version - v14.19.3 Apps Engine Version - 1.36.0 The error:
'An error occurred when creating an index for collection "users: An equivalent index already exists with the same name but different options. Requested index: { v: 2, unique: true, key: { username: 1 }, name: "username_1", sparse: true }, existing index: { v: 2, unique: true, key: { username: 1 }, name: "username_1", ns: "parties.users", sparse: 1 }',
same as https://github.com/RocketChat/rocketchat-server-snap/issues/55