Clicking on user settings crashes NodeBB

Bug Reports
  • When the "Settings" route is selected from the user page, user/testuser, NodeBB crashes. Before crashing, it hangs and a forum update notification appears:

    Screen Shot 2015-05-29 at 12.07.29 AM.png

    29/5 05:04 [13511] - info: NodeBB Ready
    29/5 05:04 [13511] - info: Enabling 'trust proxy'
    29/5 05:04 [13511] - info: NodeBB is now listening on: 0.0.0.0:4567
    29/5 05:04 [13511] - error: TypeError: Object #<Object> has no method 'push'
        at /home/ubuntu/NodeBB/node_modules/nodebb-plugin-shoutbox/library.js:103:12
        at /home/ubuntu/NodeBB/node_modules/templates.js/lib/templates.js:160:12
        at fs.js:272:14
        at Object.oncomplete (fs.js:108:15)
    TypeError: Object #<Object> has no method 'push'
        at /home/ubuntu/NodeBB/node_modules/nodebb-plugin-shoutbox/library.js:103:12
        at /home/ubuntu/NodeBB/node_modules/templates.js/lib/templates.js:160:12
        at fs.js:272:14
        at Object.oncomplete (fs.js:108:15)
    29/5 05:04 [13511] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    29/5 05:04 [13511] - info: [app] Database connection closed.
    29/5 05:04 [13511] - info: [app] Web server closed to connections.
    29/5 05:04 [13511] - info: [app] Shutdown complete.
    [cluster] Child Process (13511) has exited (code: 1, signal: null)
    [cluster] Spinning up another process...
    29/5 05:04 [13513] - error: TypeError: Object #<Object> has no method 'push'
        at /home/ubuntu/NodeBB/node_modules/nodebb-plugin-shoutbox/library.js:103:12
        at /home/ubuntu/NodeBB/node_modules/templates.js/lib/templates.js:160:12
        at fs.js:272:14
        at Object.oncomplete (fs.js:108:15)
    TypeError: Object #<Object> has no method 'push'
        at /home/ubuntu/NodeBB/node_modules/nodebb-plugin-shoutbox/library.js:103:12
        at /home/ubuntu/NodeBB/node_modules/templates.js/lib/templates.js:160:12
        at fs.js:272:14
        at Object.oncomplete (fs.js:108:15)
    29/5 05:04 [13513] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    29/5 05:04 [13513] - info: [app] Database connection closed.
    29/5 05:04 [13513] - info: [app] Web server closed to connections.
    29/5 05:04 [13513] - info: [app] Shutdown complete.
    [cluster] Child Process (13513) has exited (code: 1, signal: null)
    [cluster] Spinning up another process...
    

    Information
    Appeared on

    with Persona 08d0c04f47c7e6045030b4dd9a74833a1fff1aa3.

  • Loops like a shout box plugin issue. Try disabling it with ./nodebb reset plugin="nodebb-plugin-shoutbox" and test again.

  • @Schamper ^
    @a_5mith Good catch. Solved.

  • @Guiri said:

    @Schamper ^
    @a_5mith Good catch. Solved.

    It's a known bug for shoutbox - it's not for v0.7.x. If you want to use shoutbox, go back to v0.6.x.

  • His Github issue states he's working on a rewrite, but I don't see any newer code in master.

  • @Firelad said:

    If you want to use shoutbox, go back to v0.6.x.

    If you could not give advice that would break someones Forum that would be great. You can not downgrade from one major version back to another.

  • @a_5mith said:

    @Firelad said:

    If you want to use shoutbox, go back to v0.6.x.

    If you could not give advice that would break someones Forum that would be great. You can not downgrade from one major version back to another.

    I know, downgrade is impossible. You don't have to tell me that.

  • @Firelad said:

    I know, downgrade is impossible. You don't have to tell me that.

    Then it shouldn't be recommended as a fix. 🙂

  • @a_5mith said:

    Then it shouldn't be recommended as a fix. 🙂

    Yep!


Suggested Topics