Hi Guys
I have a standalone server on Cento7. Recently I noticed the error message from rocket chat in journalctl, The error happens every two minutes. It does not influence the work of rocket chat but making log hard to read.
Server Setup Information
- Version of Rocket.Chat Server: 3.1.1
- Operating System: Centos7
- Deployment Method:
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: 12.14.0
- MongoDB Version: 4.0.18
- Proxy:
- Firewalls involved: yes
Any additional Information
Jun 26 12:00:00 rocketchat[1479]: Future node.js versions will automatically exit the process
Jun 26 12:00:00 rocketchat[1479]: =================================
Jun 26 12:02:00 rocketchat[1479]: === UnHandledPromiseRejection ===
Jun 26 12:02:00 rocketchat[1479]: TypeError: Cannot read property ‘filter’ of undefined
Jun 26 12:02:00 rocketchat[1479]: at app/user-data-download/server/cronProcessDownloads.js:50:57
Jun 26 12:02:00 rocketchat[1479]: at SynchronousCursor.forEach (packages/mongo/mongo_driver.js:1102:16)
Jun 26 12:02:00 rocketchat[1479]: at Cursor. [as forEach] (packages/mongo/mongo_driver.js:882:44)
Jun 26 12:02:00 rocketchat[1479]: at loadUserSubscriptions (app/user-data-download/server/cronProcessDownloads.js:46:9)
Jun 26 12:02:00 rocketchat[1479]: at app/user-data-download/server/cronProcessDownloads.js:498:3
Jun 26 12:02:00 rocketchat[1479]: at /opt/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
Jun 26 12:02:00 rocketchat[1479]: => awaited here:
Jun 26 12:02:00 rocketchat[1479]: at Function.Promise.await (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12)
Jun 26 12:02:00 rocketchat[1479]: at app/user-data-download/server/cronProcessDownloads.js:567:2
Jun 26 12:02:00 rocketchat[1479]: at /opt/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
Jun 26 12:02:00 rocketchat[1479]: ---------------------------------
Jun 26 12:02:00 rocketchat[1479]: Errors like this can cause oplog processing errors.
Jun 26 12:02:00 rocketchat[1479]: Setting EXIT_UNHANDLEDPROMISEREJECTION will cause the process to exit allowing your service to automatically restart the process
Jun 26 12:02:00 rocketchat[1479]: Future node.js versions will automatically exit the process
Jun 26 12:02:00 rocketchat[1479]: