MongoDB 4.x supported ?
-
Hello,
does NodeBB support MongoDB 4.x ? I did a general server all-app-update and now have some issues with my node.exe instances restarting every couple of minutes and at some point they dont respawn anymore. Not sure yet if the issue is with Node 10.10.0 upgrade or Mongo 4 upgrade or nginx 1.53 upgrade
Update: forums works fine, new threads can be created and edited without issues. Just you see connection lost while node.js respawns and it reconnects after some seconds.
-
2018-09-09T10:11:48.922Z [9648] - [32minfo[39m: NodeBB is now listening on: 127.0.0.1:4569
2018-09-09T10:16:43.603Z [11388] - [31merror[39m: MongoError: cursor id 27285299524 not found
at X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:598:61
at authenticateStragglers (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:516:16)
at Connection.messageHandler (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:552:5)
at emitMessageHandler (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\connection.js:309:10)
at Socket.<anonymous> (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\connection.js:452:17)
at Socket.emit (events.js:182:13)
at addChunk (_stream_readable.js:283:12)
at readableAddChunk (_stream_readable.js:264:11)
at Socket.Readable.push (_stream_readable.js:219:10)
at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
2018-09-09T10:16:43.603Z [11388] - [32minfo[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised.
2018-09-09T10:16:43.605Z [11388] - [32minfo[39m: [app] Web server closed to connections.
2018-09-09T10:16:43.606Z [11388] - [32minfo[39m: [app] Database connection closed.
2018-09-09T10:16:43.606Z [11388] - [32minfo[39m: [app] Shutdown complete.
2018-09-09T10:16:43.621Z [5504] - [31merror[39m: MongoError: cursor id 28811112366 not found
at X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:598:61
at authenticateStragglers (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:516:16)
at Connection.messageHandler (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:552:5)
at emitMessageHandler (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\connection.js:309:10)
at Socket.<anonymous> (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\connection.js:452:17)
at Socket.emit (events.js:182:13)
at addChunk (_stream_readable.js:283:12)
at readableAddChunk (_stream_readable.js:264:11)
at Socket.Readable.push (_stream_readable.js:219:10)
at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
2018-09-09T10:16:43.625Z [5504] - [32minfo[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised.
2018-09-09T10:16:43.627Z [5504] - [32minfo[39m: [app] Web server closed to connections.
2018-09-09T10:16:43.632Z [5504] - [32minfo[39m: [app] Database connection closed.
2018-09-09T10:16:43.632Z [5504] - [32minfo[39m: [app] Shutdown complete.
[cluster] Child Process (11388) has exited (code: 1, signal: null)
[cluster] Spinning up another process...
[cluster] Child Process (5504) has exited (code: 1, signal: null)
[cluster] Spinning up another process...
2018-09-09T10:16:43.723Z [9648] - [31merror[39m: MongoError: cursor id 28796318791 not found
at X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:598:61
at authenticateStragglers (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:516:16)
at Connection.messageHandler (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:552:5)
at emitMessageHandler (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\connection.js:309:10)
at Socket.<anonymous> (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\connection.js:452:17)
at Socket.emit (events.js:182:13)
at addChunk (_stream_readable.js:283:12)
at readableAddChunk (_stream_readable.js:264:11)
at Socket.Readable.push (_stream_readable.js:219:10)
at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
2018-09-09T10:16:43.724Z [9648] - [32minfo[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised.
2018-09-09T10:16:43.732Z [9648] - [32minfo[39m: [app] Web server closed to connections.
2018-09-09T10:16:43.734Z [9648] - [32minfo[39m: [app] Database connection closed.
2018-09-09T10:16:43.734Z [9648] - [32minfo[39m: [app] Shutdown complete.
[cluster] Child Process (9648) has exited (code: 1, signal: null)
[cluster] Spinning up another process...
2018-09-09T10:16:44.114Z [9396] - [31merror[39m: MongoError: cursor id 28075153536 not found
at X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:598:61
at authenticateStragglers (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:516:16)
at Connection.messageHandler (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:552:5)
at emitMessageHandler (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\connection.js:309:10)
at Socket.<anonymous> (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\connection.js:452:17)
at Socket.emit (events.js:182:13)
at addChunk (_stream_readable.js:283:12)
at readableAddChunk (_stream_readable.js:264:11)
at Socket.Readable.push (_stream_readable.js:219:10)
at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
2018-09-09T10:16:44.114Z [9396] - [32minfo[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised.
2018-09-09T10:16:44.115Z [9396] - [32minfo[39m: [app] Web server closed to connections.
2018-09-09T10:16:44.118Z [9396] - [32minfo[39m: [app] Database connection closed.
2018-09-09T10:16:44.118Z [9396] - [32minfo[39m: [app] Shutdown complete.
[cluster] Child Process (9396) has exited (code: 1, signal: null)
[cluster] Spinning up another process...
2018-09-09T10:16:45.087Z [12300] - [32minfo[39m: Initializing NodeBB v1.10.1 https://beep.com/forum
2