@phenomlab said in lot of memory consumption for nodebb:
@DownPW a rebuild of the emoji should fix that issue i think. I might be wrong.
nope doesn't work.
@phenomlab said in lot of memory consumption for nodebb:
@DownPW a rebuild of the emoji should fix that issue i think. I might be wrong.
nope doesn't work.
@baris said in lot of memory consumption for nodebb:
@DownPW, try again with https://github.com/NodeBB/NodeBB/commit/db291ecde11acac6671e551a3855b6e9e52cc86d, don't forget to restart after applying the change. Let me know if you get other crashes.
This fix seems to be working @baris
No nodebb crash and restart now , just these messages :
TypeError: Cannot read properties of undefined (reading 'image')
at Object.buildEmoji (/home/xxxxxxxxxxx/nodebb/node_modules/nodebb-plugin-emoji/build/lib/parse.js:67:15)
at parse (/home/xxxxxxxxxxx/nodebb/node_modules/@nodebb/nodebb-plugin-reactions/library.js:35:21)
at ReactionsPlugin.getPostReactions [as method] (/home/xxxxxxxxxxx/nodebb/node_modules/@nodebb/nodebb-plugin-reactions/library.js:136:24)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async fireMethod (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:224:11)
at async Object.fireFilterHook [as filter] (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:255:12)
at async Hooks.fire (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:192:17)
at async Posts.getPostsByPids (/home/xxxxxxxxxxx/nodebb/src/posts/index.js:49:15)
at async Topics.getTopicPosts (/home/xxxxxxxxxxx/nodebb/src/topics/posts.js:47:18)
at async Promise.all (index 0)
TypeError: Cannot read properties of undefined (reading 'image')
at Object.buildEmoji (/home/xxxxxxxxxxx/nodebb/node_modules/nodebb-plugin-emoji/build/lib/parse.js:67:15)
at parse (/home/xxxxxxxxxxx/nodebb/node_modules/@nodebb/nodebb-plugin-reactions/library.js:35:21)
at ReactionsPlugin.getPostReactions [as method] (/home/xxxxxxxxxxx/nodebb/node_modules/@nodebb/nodebb-plugin-reactions/library.js:136:24)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async fireMethod (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:224:11)
at async Object.fireFilterHook [as filter] (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:255:12)
at async Hooks.fire (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:192:17)
at async Posts.getPostsByPids (/home/xxxxxxxxxxx/nodebb/src/posts/index.js:49:15)
at async Topics.getTopicPosts (/home/xxxxxxxxxxx/nodebb/src/topics/posts.js:47:18)
at async Promise.all (index 0)
TypeError: Cannot read properties of undefined (reading 'image')
at Object.buildEmoji (/home/xxxxxxxxxxx/nodebb/node_modules/nodebb-plugin-emoji/build/lib/parse.js:67:15)
at parse (/home/xxxxxxxxxxx/nodebb/node_modules/@nodebb/nodebb-plugin-reactions/library.js:35:21)
at ReactionsPlugin.getPostReactions [as method] (/home/xxxxxxxxxxx/nodebb/node_modules/@nodebb/nodebb-plugin-reactions/library.js:136:24)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async fireMethod (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:224:11)
at async Object.fireFilterHook [as filter] (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:255:12)
at async Hooks.fire (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:192:17)
at async Posts.getPostsByPids (/home/xxxxxxxxxxx/nodebb/src/posts/index.js:49:15)
at async Topics.getTopicPosts (/home/xxxxxxxxxxx/nodebb/src/topics/posts.js:47:18)
at async Promise.all (index 0)
TypeError: Cannot read properties of undefined (reading 'image')
at Object.buildEmoji (/home/xxxxxxxxxxx/nodebb/node_modules/nodebb-plugin-emoji/build/lib/parse.js:67:15)
at parse (/home/xxxxxxxxxxx/nodebb/node_modules/@nodebb/nodebb-plugin-reactions/library.js:35:21)
at ReactionsPlugin.getPostReactions [as method] (/home/xxxxxxxxxxx/nodebb/node_modules/@nodebb/nodebb-plugin-reactions/library.js:136:24)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async fireMethod (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:224:11)
at async Object.fireFilterHook [as filter] (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:255:12)
at async Hooks.fire (/home/xxxxxxxxxxx/nodebb/src/plugins/hooks.js:192:17)
at async Posts.getPostsByPids (/home/xxxxxxxxxxx/nodebb/src/posts/index.js:49:15)
at async Topics.getTopicPosts (/home/xxxxxxxxxxx/nodebb/src/topics/posts.js:47:18)
at async Promise.all (index 0)
It's better. Many thanks to you !!
I will come back to you if necessary
@phenomlab said in lot of memory consumption for nodebb:
don't forget that your server is using a systemctl daemon for nodebb, so stopping and restarting from the command line won't help as it's already running under another PID
Nope I delete the nodebb daemon for manual starting
yes I have stop and start nodebb after applying that change but fix doesn't work
I have test to stop, buiild and restart = doesn't work. Same thing
Here the log @baris :
2024-11-13T22:54:00.304Z [4567/63935] - error: uncaughtException: Cannot read properties of null (reading 'topic')
TypeError: Cannot read properties of null (reading 'topic')
at notifyUids (/home/xxxxxxxxxxx/nodebb/src/socket.io/helpers.js:31:23)
at batch.processArray.interval (/home/xxxxxxxxxxx/nodebb/src/socket.io/helpers.js:23:9)
at exports.processArray (/home/xxxxxxxxxxx/nodebb/src/batch.js:97:9)
at Object.wrapperCallback [as processArray] (/home/xxxxxxxxxxx/nodebb/src/promisify.js:46:11)
at SocketHelpers.notifyNew (/home/xxxxxxxxxxx/nodebb/src/socket.io/helpers.js:22:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 12)
at async Promise.all (index 0)
at async postTids (/home/xxxxxxxxxxx/nodebb/src/topics/scheduled.js:46:2)
at async Scheduled.handleExpired (/home/xxxxxxxxxxx/nodebb/src/topics/scheduled.js:29:2) {"date":"Wed Nov 13 2024 23:54:00 GMT+0100 (Central European Standard Time)","error":{},"exception":true,"os":{"loadavg":[1.8,1.26,1.52],"uptime":8930.83},"process":{"argv":["/usr/local/bin/node","/home/xxxxxxxxxxx/nodebb/app.js"],"cwd":"/home/xxxxxxxxxxx/nodebb","execPath":"/usr/local/bin/node","gid":1000,"memoryUsage":{"arrayBuffers":30691261,"external":33347788,"heapTotal":230100992,"heapUsed":206517768,"rss":328486912},"pid":63935,"uid":1000,"version":"v18.19.1"},"stack":"TypeError: Cannot read properties of null (reading 'topic')\n at notifyUids (/home/xxxxxxxxxxx/nodebb/src/socket.io/helpers.js:31:23)\n at batch.processArray.interval (/home/xxxxxxxxxxx/nodebb/src/socket.io/helpers.js:23:9)\n at exports.processArray (/home/xxxxxxxxxxx/nodebb/src/batch.js:97:9)\n at Object.wrapperCallback [as processArray] (/home/xxxxxxxxxxx/nodebb/src/promisify.js:46:11)\n at SocketHelpers.notifyNew (/home/xxxxxxxxxxx/nodebb/src/socket.io/helpers.js:22:14)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Promise.all (index 12)\n at async Promise.all (index 0)\n at async postTids (/home/xxxxxxxxxxx/nodebb/src/topics/scheduled.js:46:2)\n at async Scheduled.handleExpired (/home/xxxxxxxxxxx/nodebb/src/topics/scheduled.js:29:2)","trace":[{"column":23,"file":"/home/xxxxxxxxxxx/nodebb/src/socket.io/helpers.js","function":"notifyUids","line":31,"method":null,"native":false},{"column":9,"file":"/home/xxxxxxxxxxx/nodebb/src/socket.io/helpers.js","function":"batch.processArray.interval","line":23,"method":"interval","native":false},{"column":9,"file":"/home/xxxxxxxxxxx/nodebb/src/batch.js","function":"exports.processArray","line":97,"method":"processArray","native":false},{"column":11,"file":"/home/xxxxxxxxxxx/nodebb/src/promisify.js","function":"Object.wrapperCallback [as processArray]","line":46,"method":"wrapperCallback [as processArray]","native":false},{"column":14,"file":"/home/xxxxxxxxxxx/nodebb/src/socket.io/helpers.js","function":"SocketHelpers.notifyNew","line":22,"method":"notifyNew","native":false},{"column":5,"file":"node:internal/process/task_queues","function":"process.processTicksAndRejections","line":95,"method":"processTicksAndRejections","native":false},{"column":null,"file":null,"function":"async Promise.all","line":null,"method":"all","native":false},{"column":null,"file":null,"function":"async Promise.all","line":null,"method":"all","native":false},{"column":2,"file":"/home/xxxxxxxxxxx/nodebb/src/topics/scheduled.js","function":"async postTids","line":46,"method":null,"native":false},{"column":2,"file":"/home/xxxxxxxxxxx/nodebb/src/topics/scheduled.js","function":"async Scheduled.handleExpired","line":29,"method":"handleExpired","native":false}]}
2024-11-13T22:54:00.305Z [4567/63935] - error: TypeError: Cannot read properties of null (reading 'topic')
at notifyUids (/home/xxxxxxxxxxx/nodebb/src/socket.io/helpers.js:31:23)
at batch.processArray.interval (/home/xxxxxxxxxxx/nodebb/src/socket.io/helpers.js:23:9)
at exports.processArray (/home/xxxxxxxxxxx/nodebb/src/batch.js:97:9)
at Object.wrapperCallback [as processArray] (/home/xxxxxxxxxxx/nodebb/src/promisify.js:46:11)
at SocketHelpers.notifyNew (/home/xxxxxxxxxxx/nodebb/src/socket.io/helpers.js:22:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 12)
at async Promise.all (index 0)
at async postTids (/home/xxxxxxxxxxx/nodebb/src/topics/scheduled.js:46:2)
at async Scheduled.handleExpired (/home/xxxxxxxxxxx/nodebb/src/topics/scheduled.js:29:2)
2024-11-13T22:54:00.306Z [4567/63935] - info: [app] Shutdown (SIGTERM/SIGINT/SIGQUIT) Initialised.
2024-11-13T22:54:00.310Z [4567/63935] - info: [app] Web server closed to connections.
2024-11-13T22:54:00.430Z [4567/63935] - error: TypeError: Cannot read properties of null (reading 'user')
at UserNotifications.sendTopicNotificationToFollowers (/home/xxxxxxxxxxx/nodebb/src/user/notifications.js:217:62)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 0)
2024-11-13T22:54:00.448Z [4567/63935] - info: [app] Live analytics saved.
2024-11-13T22:54:00.538Z [4567/63935] - error: MongoExpiredSessionError: Cannot use a session that has ended
at applySession (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sessions.js:656:16)
at Connection.command (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection.js:285:53)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sdam/server.js:205:18
at Object.callback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:322:13)
at ConnectionPool.processWaitQueue (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:540:33)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:205:37
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
2024-11-13T22:54:00.538Z [4567/63935] - error: MongoExpiredSessionError: Cannot use a session that has ended
at applySession (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sessions.js:656:16)
at Connection.command (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection.js:285:53)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sdam/server.js:205:18
at Object.callback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:322:13)
at ConnectionPool.processWaitQueue (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:540:33)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:205:37
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
2024-11-13T22:54:00.538Z [4567/63935] - error: MongoExpiredSessionError: Cannot use a session that has ended
at applySession (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sessions.js:656:16)
at Connection.command (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection.js:285:53)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sdam/server.js:205:18
at Object.callback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:322:13)
at ConnectionPool.processWaitQueue (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:540:33)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:205:37
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
2024-11-13T22:54:00.538Z [4567/63935] - error: MongoExpiredSessionError: Cannot use a session that has ended
at applySession (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sessions.js:656:16)
at Connection.command (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection.js:285:53)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sdam/server.js:205:18
at Object.callback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:322:13)
at ConnectionPool.processWaitQueue (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:540:33)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:205:37
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
2024-11-13T22:54:00.538Z [4567/63935] - error: MongoExpiredSessionError: Cannot use a session that has ended
at applySession (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sessions.js:656:16)
at Connection.command (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection.js:285:53)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sdam/server.js:205:18
at Object.callback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:322:13)
at ConnectionPool.processWaitQueue (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:540:33)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:205:37
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
2024-11-13T22:54:00.538Z [4567/63935] - error: MongoExpiredSessionError: Cannot use a session that has ended
at applySession (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sessions.js:656:16)
at Connection.command (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection.js:285:53)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sdam/server.js:205:18
at Object.callback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:322:13)
at ConnectionPool.processWaitQueue (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:540:33)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:205:37
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
2024-11-13T22:54:00.538Z [4567/63935] - error: MongoExpiredSessionError: Cannot use a session that has ended
at applySession (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sessions.js:656:16)
at Connection.command (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection.js:285:53)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sdam/server.js:205:18
at Object.callback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:322:13)
at ConnectionPool.processWaitQueue (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:540:33)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:205:37
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
2024-11-13T22:54:00.538Z [4567/63935] - error: MongoExpiredSessionError: Cannot use a session that has ended
at applySession (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sessions.js:656:16)
at Connection.command (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection.js:285:53)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sdam/server.js:205:18
at Object.callback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:322:13)
at ConnectionPool.processWaitQueue (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:540:33)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:205:37
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
2024-11-13T22:54:00.539Z [4567/63935] - error: MongoExpiredSessionError: Cannot use a session that has ended
at applySession (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sessions.js:656:16)
at Connection.command (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection.js:285:53)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sdam/server.js:205:18
at Object.callback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:322:13)
at ConnectionPool.processWaitQueue (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:540:33)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:205:37
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
2024-11-13T22:54:00.539Z [4567/63935] - error: MongoExpiredSessionError: Cannot use a session that has ended
at applySession (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sessions.js:656:16)
at Connection.command (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection.js:285:53)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sdam/server.js:205:18
at Object.callback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:322:13)
at ConnectionPool.processWaitQueue (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:540:33)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:205:37
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
2024-11-13T22:54:00.547Z [4567/63935] - error: MongoNotConnectedError: Client must be connected before running operations
at executeOperationAsync (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/operations/execute_operation.js:23:19)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/operations/execute_operation.js:12:45
at maybeCallback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/utils.js:270:21)
at executeOperation (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/operations/execute_operation.js:12:38)
at Collection.updateOne (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/collection.js:201:57)
at module.sortedSetAdd (/home/xxxxxxxxxxx/nodebb/src/database/mongo/sorted/add.js:20:46)
at Object.wrapperCallback [as sortedSetAdd] (/home/xxxxxxxxxxx/nodebb/src/promisify.js:46:11)
at Notifications.create (/home/xxxxxxxxxxx/nodebb/src/notifications.js:159:6)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async UserNotifications.sendTopicNotificationToFollowers (/home/xxxxxxxxxxx/nodebb/src/user/notifications.js:215:20)
2024-11-13T22:54:00.549Z [4567/63935] - info: [app] Database connection closed.
2024-11-13T22:54:00.549Z [4567/63935] - info: [app] Shutdown complete.
[cluster] Child Process (63935) has exited (code: 1, signal: null)
yep @phenomlab
nodebb crash and reboot automatically
nodebb log :
2024-11-13T20:43:00.237Z [4567/8528] - error: uncaughtException: Cannot set properties of null (setting 'cid')
TypeError: Cannot set properties of null (setting 'cid')
at /home/xxxxxxxx/nodebb/src/topics/scheduled.js:146:13
at Array.map (<anonymous>)
at updateGroupPosts (/home/xxxxxxxx/nodebb/src/topics/scheduled.js:144:30)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 2)
at async postTids (/home/xxxxxxxx/nodebb/src/topics/scheduled.js:46:2)
at async Scheduled.handleExpired (/home/xxxxxxxx/nodebb/src/topics/scheduled.js:29:2) {"date":"Wed Nov 13 2024 21:43:00 GMT+0100 (Central European Standard Time)","error":{},"exception":true,"os":{"loadavg":[1.84,1.88,1.21],"uptime":1070.76},"process":{"argv":["/usr/local/bin/node","/home/xxxxxxxx/nodebb/app.js"],"cwd":"/home/xxxxxxxx/nodebb","execPath":"/usr/local/bin/node","gid":1000,"memoryUsage":{"arrayBuffers":20485142,"external":23606571,"heapTotal":169025536,"heapUsed":115896224,"rss":258347008},"pid":8528,"uid":1000,"version":"v18.19.1"},"stack":"TypeError: Cannot set properties of null (setting 'cid')\n at /home/xxxxxxxx/nodebb/src/topics/scheduled.js:146:13\n at Array.map (<anonymous>)\n at updateGroupPosts (/home/xxxxxxxx/nodebb/src/topics/scheduled.js:144:30)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Promise.all (index 2)\n at async postTids (/home/xxxxxxxxxxxxxxxx/nodebb/src/topics/scheduled.js:46:2)\n at async Scheduled.handleExpired (/home/xxxxxxxx/nodebb/src/topics/scheduled.js:29:2)","trace":[{"column":13,"file":"/home/xxxxxxxx/nodebb/src/topics/scheduled.js","function":null,"line":146,"method":null,"native":false},{"column":null,"file":null,"function":"Array.map","line":null,"method":"map","native":false},{"column":30,"file":"/home/xxxxxxxx/nodebb/src/topics/scheduled.js","function":"updateGroupPosts","line":144,"method":null,"native":false},{"column":5,"file":"node:internal/process/task_queues","function":"process.processTicksAndRejections","line":95,"method":"processTicksAndRejections","native":false},{"column":null,"file":null,"function":"async Promise.all","line":null,"method":"all","native":false},{"column":2,"file":"/home/xxxxxxxx/nodebb/src/topics/scheduled.js","function":"async postTids","line":46,"method":null,"native":false},{"column":2,"file":"/home/xxxxxxxxxxx/nodebb/src/topics/scheduled.js","function":"async Scheduled.handleExpired","line":29,"method":"handleExpired","native":false}]}
2024-11-13T20:43:00.238Z [4567/8528] - error: TypeError: Cannot set properties of null (setting 'cid')
at /home/xxxxxxxxxxx/nodebb/src/topics/scheduled.js:146:13
at Array.map (<anonymous>)
at updateGroupPosts (/home/xxxxxxxxxxx/nodebb/src/topics/scheduled.js:144:30)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 2)
at async postTids (/home/xxxxxxxxxxx/nodebb/src/topics/scheduled.js:46:2)
at async Scheduled.handleExpired (/home/xxxxxxxxxxx/nodebb/src/topics/scheduled.js:29:2)
2024-11-13T20:43:00.239Z [4567/8528] - info: [app] Shutdown (SIGTERM/SIGINT/SIGQUIT) Initialised.
2024-11-13T20:43:00.240Z [4567/8528] - info: [app] Web server closed to connections.
2024-11-13T20:43:00.453Z [4567/8528] - info: [app] Live analytics saved.
2024-11-13T20:43:00.545Z [4567/8528] - error: TypeError: Cannot read properties of null (reading 'user')
at UserNotifications.sendTopicNotificationToFollowers (/home/xxxxxxxxxxx/nodebb/src/user/notifications.js:217:62)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 0)
2024-11-13T20:43:00.573Z [4567/8528] - error: MongoExpiredSessionError: Cannot use a session that has ended
at applySession (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sessions.js:656:16)
at Connection.command (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection.js:285:53)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sdam/server.js:205:18
at Object.callback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:322:13)
at ConnectionPool.processWaitQueue (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:540:33)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:205:37
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
2024-11-13T20:43:00.573Z [4567/8528] - error: MongoExpiredSessionError: Cannot use a session that has ended
at applySession (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sessions.js:656:16)
at Connection.command (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection.js:285:53)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sdam/server.js:205:18
at Object.callback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:322:13)
at ConnectionPool.processWaitQueue (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:540:33)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:205:37
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
2024-11-13T20:43:00.573Z [4567/8528] - error: MongoExpiredSessionError: Cannot use a session that has ended
at applySession (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sessions.js:656:16)
at Connection.command (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection.js:285:53)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sdam/server.js:205:18
at Object.callback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:322:13)
at ConnectionPool.processWaitQueue (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:540:33)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:205:37
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
2024-11-13T20:43:00.573Z [4567/8528] - error: MongoExpiredSessionError: Cannot use a session that has ended
at applySession (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sessions.js:656:16)
at Connection.command (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection.js:285:53)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sdam/server.js:205:18
at Object.callback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:322:13)
at ConnectionPool.processWaitQueue (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:540:33)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:205:37
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
2024-11-13T20:43:00.573Z [4567/8528] - error: MongoExpiredSessionError: Cannot use a session that has ended
at applySession (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sessions.js:656:16)
at Connection.command (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection.js:285:53)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sdam/server.js:205:18
at Object.callback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:322:13)
at ConnectionPool.processWaitQueue (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:540:33)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:205:37
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
2024-11-13T20:43:00.573Z [4567/8528] - error: MongoExpiredSessionError: Cannot use a session that has ended
at applySession (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sessions.js:656:16)
at Connection.command (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection.js:285:53)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sdam/server.js:205:18
at Object.callback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:322:13)
at ConnectionPool.processWaitQueue (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:540:33)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:205:37
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
2024-11-13T20:43:00.573Z [4567/8528] - error: MongoExpiredSessionError: Cannot use a session that has ended
at applySession (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sessions.js:656:16)
at Connection.command (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection.js:285:53)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sdam/server.js:205:18
at Object.callback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:322:13)
at ConnectionPool.processWaitQueue (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:540:33)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:205:37
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
2024-11-13T20:43:00.573Z [4567/8528] - error: MongoExpiredSessionError: Cannot use a session that has ended
at applySession (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sessions.js:656:16)
at Connection.command (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection.js:285:53)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sdam/server.js:205:18
at Object.callback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:322:13)
at ConnectionPool.processWaitQueue (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:540:33)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:205:37
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
2024-11-13T20:43:00.573Z [4567/8528] - error: MongoExpiredSessionError: Cannot use a session that has ended
at applySession (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sessions.js:656:16)
at Connection.command (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection.js:285:53)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sdam/server.js:205:18
at Object.callback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:322:13)
at ConnectionPool.processWaitQueue (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:540:33)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:205:37
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
2024-11-13T20:43:00.573Z [4567/8528] - error: MongoExpiredSessionError: Cannot use a session that has ended
at applySession (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sessions.js:656:16)
at Connection.command (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection.js:285:53)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sdam/server.js:205:18
at Object.callback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:322:13)
at ConnectionPool.processWaitQueue (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:540:33)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:205:37
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
2024-11-13T20:43:00.573Z [4567/8528] - error: MongoExpiredSessionError: Cannot use a session that has ended
at applySession (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sessions.js:656:16)
at Connection.command (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection.js:285:53)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sdam/server.js:205:18
at Object.callback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:322:13)
at ConnectionPool.processWaitQueue (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:540:33)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:205:37
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
2024-11-13T20:43:00.575Z [4567/8528] - error: GET /topic/506/topic-unique-les-films-que-vous-avez-aim%C3%A9s-et-ador%C3%A9s/232?page=9
MongoNotConnectedError: Client must be connected before running operations
at executeOperationAsync (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/operations/execute_operation.js:23:19)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/operations/execute_operation.js:12:45
at maybeCallback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/utils.js:270:21)
at executeOperation (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/operations/execute_operation.js:12:38)
at FindCursor._initialize (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cursor/find_cursor.js:55:73)
at [kInit] (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cursor/abstract_cursor.js:450:38)
at next (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cursor/abstract_cursor.js:510:32)
at FindCursor.next (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cursor/abstract_cursor.js:226:16)
at Collection.findOne (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/collection.js:267:34)
at module.isObjectFields (/home/xxxxxxxxxxx/nodebb/src/database/mongo/hash.js:184:58)
MongoNotConnectedError: Client must be connected before running operations
at executeOperationAsync (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/operations/execute_operation.js:23:19)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/operations/execute_operation.js:12:45
at maybeCallback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/utils.js:270:21)
at executeOperation (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/operations/execute_operation.js:12:38)
at FindCursor._initialize (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cursor/find_cursor.js:55:73)
at [kInit] (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cursor/abstract_cursor.js:450:38)
at next (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cursor/abstract_cursor.js:510:32)
at FindCursor.next (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cursor/abstract_cursor.js:226:16)
at [Symbol.asyncIterator] (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cursor/abstract_cursor.js:160:45)
at AsyncGenerator.next (<anonymous>) {
[Symbol(errorLabels)]: Set(0) {}
}
2024-11-13T20:43:00.589Z [4567/8528] - info: [app] Database connection closed.
2024-11-13T20:43:00.589Z [4567/8528] - info: [app] Shutdown complete.
[cluster] Child Process (8528) has exited (code: 1, signal: null)
[cluster] Spinning up another process...
Mongodb log when nodebb crash :
{"t":{"$date":"2024-11-13T21:39:00.382+01:00"},"s":"I", "c":"-", "id":20883, "ctx":"conn199","msg":"Interrupted operation as its client disconnected","attr":{"opId":71109}}
{"t":{"$date":"2024-11-13T21:39:00.382+01:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn205","msg":"Connection ended","attr":{"remote":"127.0.0.1:53864","uuid":"d974e54b-1540-4eb5-8e44-7b9acca98c3f","connectionId":205,"connectionCount":65}}
{"t":{"$date":"2024-11-13T21:39:00.382+01:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn199","msg":"Connection ended","attr":{"remote":"127.0.0.1:56740","uuid":"2ab57c25-ef4a-4930-a5cb-733d7506b713","connectionId":199,"connectionCount":64}}
{"t":{"$date":"2024-11-13T21:39:00.398+01:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn217","msg":"Connection ended","attr":{"remote":"127.0.0.1:33522","uuid":"09dfc5a6-b18f-4680-9e91-074789c992bb","connectionId":217,"connectionCount":63}}
{"t":{"$date":"2024-11-13T21:39:00.451+01:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn219","msg":"Connection ended","attr":{"remote":"127.0.0.1:33528","uuid":"6e166975-d473-4588-a283-630d8c2755e9","connectionId":219,"connectionCount":60}}
{"t":{"$date":"2024-11-13T21:39:00.451+01:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn208","msg":"Connection ended","attr":{"remote":"127.0.0.1:53882","uuid":"81d6e32c-8dc9-4c00-853f-8c6f8660ad06","connectionId":208,"connectionCount":56}}
{"t":{"$date":"2024-11-13T21:39:00.451+01:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn210","msg":"Connection ended","attr":{"remote":"127.0.0.1:53906","uuid":"5f6fc326-e0b5-4afc-b02e-2c37d480387e","connectionId":210,"connectionCount":53}}
{"t":{"$date":"2024-11-13T21:39:00.451+01:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn220","msg":"Connection ended","attr":{"remote":"127.0.0.1:33536","uuid":"cbd204fa-903b-4887-9c1e-e97f463b268c","connectionId":220,"connectionCount":59}}
{"t":{"$date":"2024-11-13T21:39:00.451+01:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn218","msg":"Connection ended","attr":{"remote":"127.0.0.1:33524","uuid":"9040e26d-0ded-4210-9a28-a023cfcb9517","connectionId":218,"connectionCount":61}}
{"t":{"$date":"2024-11-13T21:39:00.451+01:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn215","msg":"Connection ended","attr":{"remote":"127.0.0.1:33500","uuid":"15503471-930b-4ee7-ba37-0b020752ddc0","connectionId":215,"connectionCount":58}}
{"t":{"$date":"2024-11-13T21:39:00.452+01:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn206","msg":"Connection ended","attr":{"remote":"127.0.0.1:53872","uuid":"f7401cbd-8ed1-44c6-8f87-b6b8c0d5c403","connectionId":206,"connectionCount":50}}
{"t":{"$date":"2024-11-13T21:39:00.452+01:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn207","msg":"Connection ended","attr":{"remote":"127.0.0.1:53876","uuid":"29484c30-a687-40e8-b8bb-07f00953d66d","connectionId":207,"connectionCount":49}}
{"t":{"$date":"2024-11-13T21:39:00.451+01:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn216","msg":"Connection ended","attr":{"remote":"127.0.0.1:33514","uuid":"909d8be1-0e9b-439e-b7a3-c928634918e4","connectionId":216,"connectionCount":57}}
{"t":{"$date":"2024-11-13T21:39:00.453+01:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn204","msg":"Connection ended","attr":{"remote":"127.0.0.1:56778","uuid":"56d66fe5-30a3-4f18-aafd-7fe5cba615fa","connectionId":204,"connectionCount":48}}
{"t":{"$date":"2024-11-13T21:39:00.453+01:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn202","msg":"Connection ended","attr":{"remote":"127.0.0.1:56766","uuid":"2409acc5-99b3-4eaf-9fc7-7a15886c24f8","connectionId":202,"connectionCount":47}}
{"t":{"$date":"2024-11-13T21:39:00.453+01:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn203","msg":"Connection ended","attr":{"remote":"127.0.0.1:56772","uuid":"2deb2162-f73d-4e0a-8ef3-b00166d9d26e","connectionId":203,"connectionCount":46}}
{"t":{"$date":"2024-11-13T21:39:00.453+01:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn201","msg":"Connection ended","attr":{"remote":"127.0.0.1:56762","uuid":"aa1ff5f3-ab20-4adf-a8ad-268fdd6d25a6","connectionId":201,"connectionCount":45}}
{"t":{"$date":"2024-11-13T21:39:00.451+01:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn211","msg":"Connection ended","attr":{"remote":"127.0.0.1:53910","uuid":"5c27007c-f81a-4e3b-9911-b8dedf178e73","connectionId":211,"connectionCount":55}}
{"t":{"$date":"2024-11-13T21:39:00.451+01:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn213","msg":"Connection ended","attr":{"remote":"127.0.0.1:33478","uuid":"cccff696-d097-436a-8eda-df48f220119b","connectionId":213,"connectionCount":54}}
{"t":{"$date":"2024-11-13T21:39:00.452+01:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn212","msg":"Connection ended","attr":{"remote":"127.0.0.1:53920","uuid":"2a73b64d-a984-4900-98ea-69b1f062ac10","connectionId":212,"connectionCount":52}}
{"t":{"$date":"2024-11-13T21:39:00.451+01:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn214","msg":"Connection ended","attr":{"remote":"127.0.0.1:33486","uuid":"2f040299-ddcf-4e8b-afd8-a0c00238f516","connectionId":214,"connectionCount":62}}
{"t":{"$date":"2024-11-13T21:39:00.452+01:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn209","msg":"Connection ended","attr":{"remote":"127.0.0.1:53898","uuid":"73653895-10a2-43a6-9000-a321e7602ae1","connectionId":209,"connectionCount":51}}
{"t":{"$date":"2024-11-13T21:39:00.454+01:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn200","msg":"Connection ended","attr":{"remote":"127.0.0.1:56752","uuid":"75911898-3203-4e40-84d3-244c54e58699","connectionId":200,"connectionCount":44}}
An idear @baris
I see a yellow message of deconnexion and red message "Failed to fetch" or "timeout reached while waiting for fetchSockets response"
I have these error on nodebb log :
2024-11-13T18:13:00.477Z [4567/3004286] - [31merror[39m: MongoExpiredSessionError: Cannot use a session that has ended
at applySession (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sessions.js:656:16)
at Connection.command (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection.js:285:53)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/sdam/server.js:205:18
at Object.callback (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:322:13)
at ConnectionPool.processWaitQueue (/home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:540:33)
at /home/xxxxxxxxxxx/nodebb/node_modules/mongodb/lib/cmap/connection_pool.js:205:37
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
node:events:495
throw er; // Unhandled 'error' event
^
Error [ERR_IPC_CHANNEL_CLOSED]: Channel closed
at new NodeError (node:internal/errors:405:5)
at target.send (node:internal/child_process:747:16)
at process.<anonymous> (/home/xxxxxxxxxxx/nodebb/src/meta/minifier.js:118:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Emitted 'error' event on process instance at:
at node:internal/child_process:751:35
at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
code: 'ERR_IPC_CHANNEL_CLOSED'
}
@phenomlab said in Twitter Embed Solution Possible? - ns-embed & embed plugins:
@torn2 No plugin to my knowledge, which is why I wrote this
NodeBB Twitter / X embeds
Iโve had limited success with the plugin nodebb-plugin-twitter and its various forks in the sense that the embeds failed to load - hereโs an example of that ...
Sudonix | A one-stop-shop for all your technology questions (sudonix.org)
Not a plugin per-se but minimal code + css, and easy to setup.
A better solution and works perfectly
@baris said in lot of memory consumption for nodebb:
It could show up if your nodebb is crashing and starting back up, other than that it should only show up during startup.
strange.
NodeBB doesn't crash...
You don't know where it could come from @baris ??
@baris said in lot of memory consumption for nodebb:
Do you see them alive when you log into your vps and run top ?
I see this come and go regularly :
I just killed all the processes pointing to the file /home/xxxxxxx/nodebb/node_modules/sass-embedded-linux-x64/dart-sass/src/dart /home/xxxxxxx/nodebb/node_modules/sass-embedded- linux-x64/dart-sass/src/sass.snapshot
... and my RAM returned to normal directly, I had more than twenty processes...
Very strange !!!
For now, they don't seem to be coming back but I have not restart nodebb, just kill thes processes.
Nodebb works without crashes but these processes remains there all the time and consumes lot of memory...
hello @baris
possibility to adjust the the size (especially the height) of the chatroom widget ?
Could we also have specific CSS tags for customization?
many thanks
niiceeeeee !!
Thank you to the all team
Hello @baris
There is a location on github for the road map for 3.8.5 release for find date estimation ?
many thanks, again...
Strange, any log ?
Indeed it could be interesting to maintain this plugin.