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!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login