Description
Hi - my installation has upgraded from 5.4 to the 6 (we’re using the ‘latest’ Docker image) and since doing so is returning the at the bottom of this post.
Attempting to rollback to 5.4.4 give the error
Error: Can't find migration version 286
Any thoughts on what could be causing this? Google only seems to throw up results from 2018.
Thanks
Server Setup Information
- Version of Rocket.Chat Server: 6.0
- Operating System: Docker/Amazon ECS
- Deployment Method: Docker
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: 14.21.2
- MongoDB Version: 5.0.14
- Proxy: Docker
- Firewalls involved:
Any additional Information
23/03/2023, 14:44:06 {"level":40,"time":"2023-03-23T14:44:06.188Z","pid":1,"hostname":"ip-172-31-37-108.eu-west-2.compute.internal","name":"Migrations","msg":"Not migrating, control is locked. Attempt 1/30. Trying again in 10 seconds."} rocketchat-latest
23/03/2023, 14:43:56 {"level":40,"time":"2023-03-23T14:43:56.179Z","pid":1,"hostname":"ip-172-31-37-108.eu-west-2.compute.internal","name":"Migrations","msg":"Not migrating, control is locked. Attempt 0/30. Trying again in 10 seconds."} rocketchat-latest
23/03/2023, 14:43:53 {"level":40,"time":"2023-03-23T14:43:53.788Z","pid":1,"hostname":"ip-172-31-37-108.eu-west-2.compute.internal","name":"VoIPService","msg":"Voip is not enabled. Cant start the service"} rocketchat-latest
23/03/2023, 14:43:52 MessageType.render is deprecated. Use MessageType.message instead. livechat_webrtc_video_call rocketchat-latest
23/03/2023, 14:43:49 strict mode: use allowUnionTypes to allow union type keyword at "#/properties/value" (strictTypes) rocketchat-latest
23/03/2023, 14:43:40 Error creating index: livechat_priority -> { name: 1 } { rocketchat-latest
23/03/2023, 14:43:40 unique: true, rocketchat-latest
23/03/2023, 14:43:40 partialFilterExpression: { '$and': [ [Object], [Object] ] } rocketchat-latest
23/03/2023, 14:43:40 } MongoServerError: 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, unique: true, key: { name: 1 }, name: "name_1", partialFilterExpression: { $and: [ { name: { $exists: true } }, { name: { $gt: "" } } ] } }, existing index: { v: 2, unique: true, key: { name: 1 }, name: "name_1" } rocketchat-latest
23/03/2023, 14:43:40 at Connection.onMessage (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/cmap/connection.js:230:30) rocketchat-latest
23/03/2023, 14:43:40 at MessageStream.<anonymous> (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/cmap/connection.js:61:60) rocketchat-latest
23/03/2023, 14:43:40 at MessageStream.emit (events.js:400:28) rocketchat-latest
23/03/2023, 14:43:40 at MessageStream.emit (domain.js:475:12) rocketchat-latest
23/03/2023, 14:43:40 at processIncomingData (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/cmap/message_stream.js:125:16) rocketchat-latest
23/03/2023, 14:43:40 at MessageStream._write (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/cmap/message_stream.js:33:9) rocketchat-latest
23/03/2023, 14:43:40 at writeOrBuffer (internal/streams/writable.js:358:12) rocketchat-latest
23/03/2023, 14:43:40 at MessageStream.Writable.write (internal/streams/writable.js:303:10) rocketchat-latest
23/03/2023, 14:43:40 at Socket.ondata (internal/streams/readable.js:731:22) rocketchat-latest
23/03/2023, 14:43:40 at Socket.emit (events.js:400:28) rocketchat-latest
23/03/2023, 14:43:40 at Socket.emit (domain.js:475:12) rocketchat-latest
23/03/2023, 14:43:40 at addChunk (internal/streams/readable.js:293:12) rocketchat-latest
23/03/2023, 14:43:40 at readableAddChunk (internal/streams/readable.js:267:9) rocketchat-latest
23/03/2023, 14:43:40 at Socket.Readable.push (internal/streams/readable.js:206:10) rocketchat-latest
23/03/2023, 14:43:40 at TCP.onStreamRead (internal/stream_base_commons.js:188:23) rocketchat-latest
23/03/2023, 14:43:40 at TCP.callbackTrampoline (internal/async_hooks.js:130:17) { rocketchat-latest
23/03/2023, 14:43:40 ok: 0, rocketchat-latest
23/03/2023, 14:43:40 code: 86, rocketchat-latest
23/03/2023, 14:43:40 codeName: 'IndexKeySpecsConflict', rocketchat-latest
23/03/2023, 14:43:40 '$clusterTime': { rocketchat-latest
23/03/2023, 14:43:40 clusterTime: new Timestamp({ t: 1679582616, i: 1 }), rocketchat-latest
23/03/2023, 14:43:40 signature: { rocketchat-latest
23/03/2023, 14:43:40 hash: new Binary(Buffer.from("cd57e7e76f0ddedb9c8beb9dbc19c7c32717563b", "hex"), 0), rocketchat-latest
23/03/2023, 14:43:40 keyId: new Long("7186307793261953030") rocketchat-latest
23/03/2023, 14:43:40 } rocketchat-latest
23/03/2023, 14:43:40 }, rocketchat-latest
23/03/2023, 14:43:40 operationTime: new Timestamp({ t: 1679582616, i: 1 }), rocketchat-latest
23/03/2023, 14:43:40 [Symbol(errorLabels)]: Set(0) {} rocketchat-latest
23/03/2023, 14:43:40 } rocketchat-latest
23/03/2023, 14:43:38 LocalStore: store created at rocketchat-latest
23/03/2023, 14:43:38 LocalStore: store created at rocketchat-latest
23/03/2023, 14:43:38 LocalStore: store created at