• Got error while while upgrading, sadly didn't log it.
    Later when i tryied to start i go error in log:

    net.js:1233
    throw new Error('Not running');
    ^
    Error: Not running
    at Server.close (net.js:1233:11)
    at shutdown (/usr/nodebb/app.js:374:36)
    at process.<anonymous> (/usr/nodebb/app.js:174:3)
    at process.EventEmitter.emit (events.js:95:17)
    at process._fatalException (node.js:272:26)
    3 restarts in 10 seconds, most likely an error on startup. Halting.


  • Run ./nodebb stop then ./nodebb dev

    Paste the crash message.


  • Launching NodeBB in "development" mode.
    To run the production build of NodeBB, please use "forever".
    More Information: https://docs.nodebb.org/en/latest/running/index.html

    NodeBB v0.7.0 Copyright (C) 2013-2014 NodeBB Inc.
    This program comes with ABSOLUTELY NO WARRANTY.
    This is free software, and you are welcome to redistribute it under certain conditions.
    For the full license, please visit: http://www.gnu.org/copyleft/gpl.html

    Clustering enabled: Spinning up 1 process(es).

    24/5 07:46 [14580] - info: Time: Sun May 24 2015 07:46:42 GMT-0400 (EDT)
    24/5 07:46 [14580] - info: Initializing NodeBB v0.7.0
    24/5 07:46 [14580] - verbose: * using configuration stored in: /usr/nodebb/config.json
    24/5 07:46 [14580] - verbose: * using redis store at 127.0.0.1:6379
    24/5 07:46 [14580] - verbose: * using themes stored in: /usr/nodebb/node_modules
    24/5 07:46 [14580] - verbose: [notifications.init] Registering jobs.
    24/5 07:46 [14580] - error: Error: Cannot find module 'cookie-signature'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/usr/nodebb/node_modules/csurf/index.js:16:12)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    Error: Cannot find module 'cookie-signature'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/usr/nodebb/node_modules/csurf/index.js:16:12)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    24/5 07:46 [14580] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    24/5 07:46 [14580] - info: [app] Database connection closed.

    net.js:1233
    throw new Error('Not running');
    ^
    Error: Not running
    at Server.close (net.js:1233:11)
    at shutdown (/usr/nodebb/app.js:374:36)
    at process.<anonymous> (/usr/nodebb/app.js:174:3)
    at process.EventEmitter.emit (events.js:95:17)
    at process._fatalException (node.js:272:26)
    [cluster] Child Process (14580) has exited (code: 7, signal: null)

    I assume some plugin cause this error, how can i disable them without running application?

    EDIT: Ok i've disabled plugins with ./nodebb reset plugins but still have this error


  • Ok i've fixed this with npm install cookie-signature

Suggested Topics

| |