NodeBB crashes after changing theme



  • Hi!

    Today i tried to change the theme via ARC.
    After trying to reload the server it didn't start.
    I'm not interested in installing the server again :(

    Are there any other possibilities?

    2014-11-18T19:47:07.670Z - error: TypeError: object is not a function
    at Object.Widget.init (/var/opt/nodebb/node_modules/nodebb-widget-essentials/library.js:44:3)
    at /var/opt/nodebb/src/plugins.js:489:23
    at /var/opt/nodebb/node_modules/async/lib/async.js:125:13
    at Array.forEach (native)
    at _each (/var/opt/nodebb/node_modules/async/lib/async.js:46:24)
    at Object.async.each (/var/opt/nodebb/node_modules/async/lib/async.js:124:9)
    at Object.Plugins.fireHook (/var/opt/nodebb/src/plugins.js:487:12)
    at Plugins.reloadRoutes (/var/opt/nodebb/src/plugins.js:135:11)
    at /var/opt/nodebb/node_modules/async/lib/async.js:656:23
    at fn (/var/opt/nodebb/node_modules/async/lib/async.js:641:34)
    TypeError: object is not a function
    at Object.Widget.init (/var/opt/nodebb/node_modules/nodebb-widget-essentials/library.js:44:3)
    at /var/opt/nodebb/src/plugins.js:489:23
    at /var/opt/nodebb/node_modules/async/lib/async.js:125:13
    at Array.forEach (native)
    at _each (/var/opt/nodebb/node_modules/async/lib/async.js:46:24)
    at Object.async.each (/var/opt/nodebb/node_modules/async/lib/async.js:124:9)
    at Object.Plugins.fireHook (/var/opt/nodebb/src/plugins.js:487:12)
    at Plugins.reloadRoutes (/var/opt/nodebb/src/plugins.js:135:11)
    at /var/opt/nodebb/node_modules/async/lib/async.js:656:23
    at fn (/var/opt/nodebb/node_modules/async/lib/async.js:641:34)
    2014-11-18T19:47:07.748Z - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    2014-11-18T19:47:07.765Z - info: [app] Database connection closed.

    net.js:1236
    throw new Error('Not running');
    ^
    Error: Not running
    at Server.close (net.js:1236:11)
    at shutdown (/var/opt/nodebb/app.js:344:36)
    at process.<anonymous> (/var/opt/nodebb/app.js:181:7)
    at process.emit (events.js:95:17)
    at process._fatalException (node.js:272:26)
    [cluster] Child Process (5510) has disconnected
    [cluster] Child Process (5510) has exited (code: 7, signal: null)
    [cluster] Spinning up another process...


  • Admin

    What version of nodebb-widget-essentials are you using and what is the nodebb version?



  • how to find it out?

    I tried to find it out by opening the README.md (nano) --> empty file!?



  • Okay,

    I tried "npm show <pkg> version" to get the version of both.

    nodebb-widget-essentials: 0.2.0
    nodebb: 0.4.3 (the strange thing here is, that I am sure I installed the latest 0.5.4 version :S )


  • Admin

    widget essentials 0.2.0 is for nodebb 0.6.0 and up.



  • ah okay... how does it come that this version is installed?... anyway, is there a way to check, which version is used by nodebb by myself?


Log in to reply
 


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