server-snap icon indicating copy to clipboard operation
server-snap copied to clipboard

Cannot upgrade to v.6 ..An equivalent index already exists with the same name but different options.

Open alekdimitrov opened this issue 2 years ago • 1 comments

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 }',

alekdimitrov avatar May 01 '23 15:05 alekdimitrov

same as https://github.com/RocketChat/rocketchat-server-snap/issues/55

CvH avatar May 02 '23 10:05 CvH