Issues to upgrade from 3.x to 4.x and above

Hello,

i´ve issues to uprade RocketChat from 3.x to 4.x by using snap. I alraedy have switch the track and update RC. But on starting after installation, some issues will apper and RC doesnt start. What can i do to upgrade finally to track 6? Sure, that i will install ech mayor version to 6.

Issues:

May 11 21:19:31 chat.uuuuu rocketchat-server.rocketchat-server[4654]: Error: Can’t find migration version 237

May 11 21:25:19 chat.uuuuu rocketchat-server.rocketchat-server[5087]: {“level”:40,“time”:“2023-05-11T19:25:19.634Z”,“pid”:5160,“hostname”:“chat.uuuuu”,“name”:“Migrations”,“msg”:“Not migrating, control is locked. Attempt 2/30. Trying again in 10 seconds.”}
May 11 21:25:29 chat.uuuuu rocketchat-server.rocketchat-server[5087]: {“level”:40,“time”:“2023-05-11T19:25:29.642Z”,“pid”:5160,“hostname”:“chat.uuuuu”,“name”:“Migrations”,“msg”:"Not migrating, control is locked. Attempt 3/30. Trying again in 10 secon

// May 11 21:18:30 chat.uuuuu systemd[1]: Stopping Service for snap application rocketchat-server.rocketchat-server…
May 11 21:18:30 chat.uuuuu systemd[1]: Stopped Service for snap application rocketchat-server.rocketchat-server.
May 11 21:18:36 chat.uuuuu systemd[1]: Started Service for snap application rocketchat-server.rocketchat-server.
May 11 21:18:36 chat.uuuuu rocketchat-server.rocketchat-server[3152]: node $SNAP/main.js
May 11 21:18:48 chat.uuuuu rocketchat-server.rocketchat-server[3152]: Some indexes for collection ‘rocketchat_nps_vote’ could not be created:
May 11 21:18:48 chat.uuuuu rocketchat-server.rocketchat-server[3152]: Index with name: npsId_1_identifier_1 already exists with different options
May 11 21:18:48 chat.uuuuu rocketchat-server.rocketchat-server[3152]: Some indexes for collection ‘rocketchat_integration_history’ could not be created:
May 11 21:18:48 chat.uuuuu rocketchat-server.rocketchat-server[3152]: Index with name: _updatedAt_1 already exists with different options
May 11 21:18:49 chat.uuuuu rocketchat-server.rocketchat-server[3152]: Error creating index: users → { bio: 1 } { sparse: 1 } MongoServerError: Index with name: bio_1 already exists with different options
May 11 21:18:49 chat.uuuuu rocketchat-server.rocketchat-server[3152]: at MessageStream.messageHandler (/snap/rocketchat-server/1540/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/cmap/connection.js:462:30)
May 11 21:18:49 chat.uuuuu rocketchat-server.rocketchat-server[3152]: at MessageStream.emit (events.js:400:28)
May 11 21:18:49 chat.uuuuu rocketchat-server.rocketchat-server[3152]: at MessageStream.emit (domain.js:475:12)
May 11 21:18:49 chat.uuuuu rocketchat-server.rocketchat-server[3152]: at processIncomingData (/snap/rocketchat-server/1540/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/cmap/message_stream.js:108:16)

I also recommend the Lemot WordLe Francias Puzzle game if you want to check your IQ level. don’t forget to try it at once. I hope you enjoy this.

1 Like