NodeBB Crashing?
-
One of my users was logging in and NodeBB went down. Found this in the logs:
30/5 21:34:35 [2004] - [31merror[39m: TypeError: Cannot read property 'banned' of undefined
at /opt/nodebb/src/user/bans.js:64:35
at nextTask (/opt/nodebb/node_modules/async/dist/async.js:5274:14)
at next (/opt/nodebb/node_modules/async/dist/async.js:5281:9)
at /opt/nodebb/node_modules/async/dist/async.js:906:16
at /opt/nodebb/src/user/data.js:24:4
at /opt/nodebb/node_modules/async/dist/async.js:421:16
at next (/opt/nodebb/node_modules/async/dist/async.js:5279:29)
at /opt/nodebb/node_modules/async/dist/async.js:906:16
[cluster] Child Process (2004) has exited (code: 1, signal: null)
at /opt/nodebb/src/plugins/hooks.js:127:4
[cluster] Spinning up another process...
at /opt/nodebb/node_modules/async/dist/async.js:421:16
at /opt/nodebb/node_modules/async/dist/async.js:2493:9
at /opt/nodebb/node_modules/async/dist/async.js:421:16
at replenish (/opt/nodebb/node_modules/async/dist/async.js:941:25)
at iterateeCallback (/opt/nodebb/node_modules/async/dist/async.js:931:17)
at /opt/nodebb/node_modules/async/dist/async.js:906:16
at /opt/nodebb/node_modules/async/dist/async.js:2490:13
30/5 21:34:35 [2004] - [32minfo[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised.
30/5 21:34:35 [2004] - [32minfo[39m: [app] Database connection closed.
30/5 21:34:35 [2004] - [32minfo[39m: [app] Web server closed to connections.
30/5 21:34:35 [2004] - [32minfo[39m: [app] Shutdown complete.Any ideas?
-
This post is deleted!