Description
I try to migrate from 3.18.7 to 4.8.1. A backup was performed in 3.17 and tested. But when trying to restore to a fresh install on 4.8.1 , the rocketchat-server crashes.
Server Setup Information
- Version of Rocket.Chat Server:
- Operating System: Ubuntu 20.04 5.4.0-121-generic
- Deployment Method:snap
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: v12.22.1
- MongoDB Version: 3.6.14
- Proxy: nginx
- Firewalls involved: No
Any additional Information
it shows this error:
2022-07-01T18:18:55Z rocketchat-server.rocketchat-server[3190]: LocalStore: store created at
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: /snap/rocketchat-server/1520/programs/server/node_modules/fibers/future.js:280
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: throw(ex);
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: ^
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: errorClass [Error]: [You must set “numRequestsAllowed” property in rateLimiter for REST API endpoint]
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: at APIClass.addRateLimiterRuleForRoutes (app/api/server/api.js:263:10)
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: at APIClass.addRoute (app/api/server/api.js:336:9)
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: at module (app/api/server/v1/users.js:368:8)
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: at fileEvaluate (packages/modules-runtime.js:336:7)
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: at Module.require (packages/modules-runtime.js:238:14)
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: at Module.moduleLink [as link] (/snap/rocketchat-server/1520/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22)
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: at module (app/api/server/index.ts:1:21)
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: at fileEvaluate (packages/modules-runtime.js:336:7)
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: at Module.require (packages/modules-runtime.js:238:14)
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: at Module.moduleLink [as link] (/snap/rocketchat-server/1520/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22)
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: at module (app/apps/server/communication/rest.js:1:181)
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: at fileEvaluate (packages/modules-runtime.js:336:7)
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: at Module.require (packages/modules-runtime.js:238:14)
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: at Module.moduleLink [as link] (/snap/rocketchat-server/1520/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22)
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: at module (app/apps/server/communication/index.js:1:321)
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: at fileEvaluate (packages/modules-runtime.js:336:7)
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: at Module.require (packages/modules-runtime.js:238:14)
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: at Module.moduleLink [as link] (/snap/rocketchat-server/1520/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22)
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: at module (app/apps/server/orchestrator.js:1:1126)
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: at fileEvaluate (packages/modules-runtime.js:336:7)
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: at Module.require (packages/modules-runtime.js:238:14)
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: at Module.moduleLink [as link] (/snap/rocketchat-server/1520/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22) {
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: isClientSafe: true,
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: error: ‘You must set “numRequestsAllowed” property in rateLimiter for REST API endpoint’,
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: reason: undefined,
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: details: undefined,
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: errorType: ‘Meteor.Error’
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3190]: }
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3259]: pkill: pidfile not valid
2022-07-01T18:18:56Z rocketchat-server.rocketchat-server[3259]: Try `pkill --help’ for more information.
2022-07-01T18:18:56Z systemd[1]: snap.rocketchat-server.rocketchat-server.service: Control process exited, code=exited, status=1/FAILURE
2022-07-01T18:18:56Z systemd[1]: snap.rocketchat-server.rocketchat-server.service: Failed with result ‘exit-code’.
2022-07-01T18:18:56Z systemd[1]: snap.rocketchat-server.rocketchat-server.service: Scheduled restart job, restart counter is at 7.
2022-07-01T18:18:56Z systemd[1]: Stopped Service for snap application rocketchat-server.rocketchat-server.
2022-07-01T18:18:56Z systemd[1]: Started Service for snap application rocketchat-server.rocketchat-server.