Skip to content

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

@alekdimitrov

Description

@alekdimitrov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions