Skip to content

NodeBB Crashing?

Solved Technical Support
4 3 2.6k 1
  • 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.

  • 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


  • nodebb start not working but nodebb dev does

    Unsolved Technical Support
    4
    0 Votes
    4 Posts
    2k Views
    <baris>B
    https://github.com/NodeBB/NodeBB/issues/10086
  • 1 Votes
    9 Posts
    7k Views
    F
    @scottalanmiller So unfortunately none of the versions worked with our database any more. We even tried 1.11.2 and went back to 1.10.2 on mongodb 3.2 as well. Now, we've updated mongodb to 3.4 and picked up an old database backup to migrate from 3.2 to 3.4 on the latest nodebb (1.11.2). Its working properly now. However, a warning for people on older versions of mongodb when updating to 1.11.x onward.
  • 0 Votes
    1 Posts
    2k Views
    D
    Hi I m trying the Nodebb free trial . Love the forums. Could you please help with basic set up for dev on windows, like what javascript IDE I should use and repository set up etc. I haven't done proper development for so many years, last IDE I used was eclipse I guess I want to override some stuff, like Changing text 'New topic' to 'Submit' I understand plugin the only way to do as I m on nodebb cloud ? Also how do I install my own plugins ? Hope I can get some help with these, thanks much for your time Thanks guys!
  • Nodebb -> nodemailer Nodebb restarts, when trying to send emails

    Unsolved Technical Support
    1
    0 Votes
    1 Posts
    2k Views
    W
    Since some weeks, possibly after upgrading to 1.4.5 the modemailer causes nodebb to restart. Does anybody else have that problem? Here are the log entries: 27/4 06:36:52 [19664] - error: TypeError: this.message.messageId is not a function at MailComposer.compile (/home/forum/nodebb/node_modules/nodemailer/node_modules/mailcomposer/lib/mailcomposer.js:90:18) at module.exports (/home/forum/nodebb/node_modules/nodemailer/node_modules/mailcomposer/lib/mailcomposer.js:7:35) at Nodemailer.<anonymous> (/home/forum/nodebb/node_modules/nodemailer/lib/nodemailer.js:286:24) at Nodemailer._processPlugins (/home/forum/nodebb/node_modules/nodemailer/lib/nodemailer.js:352:16) at Nodemailer.sendMail (/home/forum/nodebb/node_modules/nodemailer/lib/nodemailer.js:280:10) at Object.Emailer.sendViaFallback (/home/forum/nodebb/src/emailer.js:136:21) at /home/forum/nodebb/src/emailer.js:114:14 at fn (/home/forum/nodebb/node_modules/async/lib/async.js:746:34) at /home/forum/nodebb/node_modules/async/lib/async.js:1213:16 at /home/forum/nodebb/node_modules/async/lib/async.js:166:37 at /home/forum/nodebb/node_modules/async/lib/async.js:706:43 at /home/forum/nodebb/node_modules/async/lib/async.js:167:37 at Immediate.<anonymous> (/home/forum/nodebb/node_modules/async/lib/async.js:1206:34) at runCallback (timers.js:666:20) at tryOnImmediate (timers.js:639:5) at processImmediate [as _immediateCallback] (timers.js:611:5) 27/4 06:36:52 [19664] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
  • 0 Votes
    6 Posts
    5k Views
    Pramvir RatheeP
    @julian it persists even after disabling it Yes the problem was with plugin, but my data did not got imported completly, after 57k topics now its impoting only 1 topic in 1 minute. What should i do now ?

Looks like your connection to NodeBB Community was lost, please wait while we try to reconnect.