Upgrade form 7.0.8 to 7.1.3 MongoDB error 63

After Upgrade form 7.0.8 to 7.1.3 on one node I got this error

ERROR: Unable to connect to MongoDB. Is it running and the configuration correct?
Details: Command execution failed on MongoDB server with error 86 (IndexKeySpecsConflict): ‘An existing index has the same name as the requested index. When index names are not specified, they are auto generated and
can cause conflicts. Please refer to our documentation. Requested index: { v: 2, key: { session_id: 1 }, name: “session_id_1” }, existing index: { v: 2, unique: true, key: { session_id: 1 }, name: “session_id_1” }’
on server graylog02:27017. The full response is {“ok”: 0.0, “errmsg”: “An existing index has the same name as the requested index. When index names are not specified, they are auto generated and can cause conflicts
. Please refer to our documentation. Requested index: { v: 2, key: { session_id: 1 }, name: “session_id_1” }, existing index: { v: 2, unique: true, key: { session_id: 1 }, name: “session_id_1” }”, “code”: 86, “c
odeName”: “IndexKeySpecsConflict”, “$clusterTime”: {“clusterTime”: {“$timestamp”: {“t”: 1781795122, “i”: 46}}, “signature”: {“hash”: {“$binary”: {“base64”: “T8+lK3ZNzWEct1xQJSvrk5Lpbcc=”, “subType”: “00”}}, “keyId”:
7599999846371557382}}, “operationTime”: {“$timestamp”: {“t”: 1781795122, “i”: 46}}}

Before that I upgraded MongodDB to 8.2.11 from 8.0.x.

The second Graylog node still works on 7.0.8.

How can I fix this MongoDB error?

Thanks in advance,

Dietmar

Hey @schurd,

If you have mixed Graylog versions within your cluster such as 7.0 and 7.1 then these kinds of issues can occur.

Did you upgrade the leader node first?