NodeBB Crashing?

Solved Technical Support
  • One of my users was logging in and NodeBB went down. Found this in the logs:

    30/5 21:34:35 [2004] - error: 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] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    30/5 21:34:35 [2004] - info: [app] Database connection closed.
    30/5 21:34:35 [2004] - info: [app] Web server closed to connections.
    30/5 21:34:35 [2004] - info: [app] Shutdown complete.

    Any ideas?

  • I think this is already fixed, update to 1.5.1 if you haven't already.

  • @baris Seems to not be happening anymore after updating to 1.5.1

  • This post is deleted!

Suggested Topics