Forum crashes when going to Admin > Users > Registration Queue



  • Not exactly sure what's going on here. Finally got a stable install set up on Digital Ocean after much fiddling, however every-time I go to access the registration queue for new users the entire thing crashes. 😐

    Can anyone help? I've got the error read out from my log file below. Not sure what's happening because it seems to be writing out a scheduled shut down at the end and there's no indication that one of the plugins I'm using is the source of the problem. 😞

    I've now got the nodebb-plugin-newuser-approval plugin now installed so hopefully I'll be able to authorise users with that. But I'll get my other admins to help me test it out and see how we go. Would still be nice to have the built in user management functional. 🙂

    22/8 23:56 [8193] - ^[[31merror^[[39m: TypeError: Cannot read property 'frequency' of undefined
        at Request._callback (/root/src/user/approval.js:148:41)
        at Request.self.callback (/root/node_modules/request/request.js:198:22)
        at Request.emit (events.js:110:17)
        at Request.<anonymous> (/root/node_modules/request/request.js:1057:14)
        at Request.emit (events.js:129:20)
        at IncomingMessage.<anonymous> (/root/node_modules/request/request.js:1003:12)
        at IncomingMessage.emit (events.js:129:20)
        at _stream_readable.js:908:16
        at process._tickDomainCallback (node.js:381:11)
    TypeError: Cannot read property 'frequency' of undefined
        at Request._callback (/root/src/user/approval.js:148:41)
        at Request.self.callback (/root/node_modules/request/request.js:198:22)
        at Request.emit (events.js:110:17)
        at Request.<anonymous> (/root/node_modules/request/request.js:1057:14)
        at Request.emit (events.js:129:20)
        at IncomingMessage.<anonymous> (/root/node_modules/request/request.js:1003:12)
        at IncomingMessage.emit (events.js:129:20)
        at _stream_readable.js:908:16
        at process._tickDomainCallback (node.js:381:11)
    22/8 23:56 [8193] - ^[[32minfo^[[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    22/8 23:56 [8193] - ^[[32minfo^[[39m: [app] Database connection closed.
    22/8 23:56 [8193] - ^[[32minfo^[[39m: [app] Web server closed to connections.
    22/8 23:56 [8193] - ^[[32minfo^[[39m: [app] Shutdown complete.
    

    Thanks. 🙂 Hopefully there isn't a super noob mistake in my set up. This is my first time running a NodeBB forum and also my first time deploying a full Node.js app sooooo yeah. I probably screwed something up but pointers would be great. 👍


  • Admin

    I fixed that bug this morning on latest master. Are you on stable we can backport that fix for you


  • Admin



  • Yeah I'm running the latest stable. 0.7.3 a back-port would be great 🙂

    'Which blows up your forum if they entered the registration queue'

    Well said! 😄


Log in to reply
 


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