NodeBB won't start after upgrade



  • 0_1539845513760_c2dadba5-8d48-4b84-8fd9-85bd6a810b5b-image.png

    And then immediately it states that NodeBB is not running.

    0_1539846085639_3d01a3bc-c9de-4376-9c4e-6f3c7fcd6881-image.png

    0_1539846176983_89e4aa9e-dd52-4f9b-9fd3-5aeb5f352c25-image.png

    When I load my site, it just states:

    0_1539846233522_f3fc660b-6823-49de-8624-9644345df82e-image.png



  • This is the Nodebb Log

    • at _combinedTickCallback (internal/process/next_tick.js:77:11)
      at Immediate._tickCallback (internal/process/next_tick.js:104:9)
      at runCallback (timers.js:672:20)
      at tryOnImmediate (timers.js:645:5)
      at processImmediate [as _immediateCallback] (timers.js:617:5)
      [cluster] Child Process (6699) has exited (code: 1, signal: null)
      [cluster] Spinning up another process...
      [cluster] Child Process (6693) has exited (code: 1, signal: null)
      [cluster] Spinning up another process...
      2018-10-18T07:08:50.033Z [6731] - info: Initializing NodeBB v1.10.2 https://forum.hawkscast.com
      2018-10-18T07:08:55.238Z [6731] - info: [socket.io] Restricting access to origin: https://forum.hawkscast.com😘
      2018-10-18T07:08:55.243Z [6725] - info: [socket.io] Restricting access to origin: https://forum.hawkscast.com😘
      2018-10-18T07:08:56.164Z [6725] - info: Routes added
      2018-10-18T07:08:56.172Z [6731] - info: Routes added
      2018-10-18T07:08:56.174Z [6725] - info: NodeBB Ready
      2018-10-18T07:08:56.181Z [6731] - info: NodeBB Ready
      2018-10-18T07:08:56.192Z [6725] - info: Enabling 'trust proxy'
      2018-10-18T07:08:56.199Z [6731] - info: Enabling 'trust proxy'
      2018-10-18T07:08:56.203Z [6725] - error: NodeBB address in use, exiting... message=listen EADDRINUSE 0.0.0.0:4568, stack=Error: listen EADDRINUSE 0.0.0.0:4568
      at Object.exports._errnoException (util.js:1018:11)
      at exports._exceptionWithHostPort (util.js:1041:20)
      at Server._listen2 (net.js:1258:14)
      at listen (net.js:1294:10)
      at net.js:1404:9
      at _combinedTickCallback (internal/process/next_tick.js:83:11)
      at process._tickCallback (internal/process/next_tick.js:104:9), code=EADDRINUSE, errno=EADDRINUSE, syscall=listen, address=0.0.0.0, port=4568
      2018-10-18T07:08:56.209Z [6725] - error: message=listen EADDRINUSE 0.0.0.0:4568, stack=Error: listen EADDRINUSE 0.0.0.0:4568
      at Object.exports._errnoException (util.js:1018:11)
      at exports._exceptionWithHostPort (util.js:1041:20)
      at Server._listen2 (net.js:1258:14)
      at listen (net.js:1294:10)
      at net.js:1404:9
      at _combinedTickCallback (internal/process/next_tick.js:83:11)
      at process._tickCallback (internal/process/next_tick.js:104:9), code=EADDRINUSE, errno=EADDRINUSE, syscall=listen, address=0.0.0.0, port=4568
      2018-10-18T07:08:56.212Z [6725] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
      2018-10-18T07:08:56.214Z [6725] - error: message=Not running, stack=Error: Not running
      at Server.<anonymous> (net.js:1501:12)
      at Server.g (events.js:292:16)
      at emitNone (events.js:91:20)
      at Server.emit (events.js:185:7)
      at emitCloseNT (net.js:1552:8)
      at _combinedTickCallback (internal/process/next_tick.js:77:11)
      at Immediate._tickCallback (internal/process/next_tick.js:104:9)
      at runCallback (timers.js:672:20)
      at tryOnImmediate (timers.js:645:5)
      at processImmediate [as _immediateCallback] (timers.js:617:5)
      2018-10-18T07:08:56.215Z [6731] - error: NodeBB address in use, exiting... message=listen EADDRINUSE 0.0.0.0:4567, stack=Error: listen EADDRINUSE 0.0.0.0:4567
      at Object.exports._errnoException (util.js:1018:11)
      at exports._exceptionWithHostPort (util.js:1041:20)
      at Server._listen2 (net.js:1258:14)
      at listen (net.js:1294:10)
      at net.js:1404:9
      at _combinedTickCallback (internal/process/next_tick.js:83:11)
      at process._tickCallback (internal/process/next_tick.js:104:9), code=EADDRINUSE, errno=EADDRINUSE, syscall=listen, address=0.0.0.0, port=4567
      2018-10-18T07:08:56.218Z [6731] - error: message=listen EADDRINUSE 0.0.0.0:4567, stack=Error: listen EADDRINUSE 0.0.0.0:4567
      at Object.exports._errnoException (util.js:1018:11)
      at exports._exceptionWithHostPort (util.js:1041:20)
      at Server._listen2 (net.js:1258:14)
      at listen (net.js:1294:10)
      at net.js:1404:9
      at _combinedTickCallback (internal/process/next_tick.js:83:11)
      at process._tickCallback (internal/process/next_tick.js:104:9), code=EADDRINUSE, errno=EADDRINUSE, syscall=listen, address=0.0.0.0, port=4567
      2018-10-18T07:08:56.223Z [6731] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
      2018-10-18T07:08:56.224Z [6731] - error: message=Not running, stack=Error: Not running
      at Server.<anonymous> (net.js:1501:12)
      at Server.g (events.js:292:16)
      at emitNone (events.js:91:20)
      at Server.emit (events.js:185:7)
      at emitCloseNT (net.js:1552:8)
      at _combinedTickCallback (internal/process/next_tick.js:77:11)
      at Immediate._tickCallback (internal/process/next_tick.js:104:9)
      at runCallback (timers.js:672:20)
      at tryOnImmediate (timers.js:645:5)
      at processImmediate [as _immediateCallback] (timers.js:617:5)
      [cluster] Child Process (6725) has exited (code: 1, signal: null)
      [cluster] Spinning up another process...
      [cluster] Child Process (6731) has exited (code: 1, signal: null)
      [cluster] Spinning up another process...
      2018-10-18T07:08:56.941Z [6766] - info: Initializing NodeBB v1.10.2 https://forum.hawkscast.com
      2018-10-18T07:09:02.078Z [6766] - info: [socket.io] Restricting access to origin: https://forum.hawkscast.com😘
      2018-10-18T07:09:02.245Z [6764] - info: [socket.io] Restricting access to origin: https://forum.hawkscast.com😘
      2018-10-18T07:09:03.032Z [6766] - info: Routes added
      2018-10-18T07:09:03.037Z [6766] - info: NodeBB Ready
      2018-10-18T07:09:03.055Z [6766] - info: Enabling 'trust proxy'
      2018-10-18T07:09:03.067Z [6766] - error: NodeBB address in use, exiting... message=listen EADDRINUSE 0.0.0.0:4567, stack=Error: listen EADDRINUSE 0.0.0.0:4567
      at Object.exports._errnoException (util.js:1018:11)
      at exports._exceptionWithHostPort (util.js:1041:20)
      at Server._listen2 (net.js:1258:14)
      at listen (net.js:1294:10)
      at net.js:1404:9
      at _combinedTickCallback (internal/process/next_tick.js:83:11)
      at process._tickCallback (internal/process/next_tick.js:104:9), code=EADDRINUSE, errno=EADDRINUSE, syscall=listen, address=0.0.0.0, port=4567
      2018-10-18T07:09:03.069Z [6766] - error: message=listen EADDRINUSE 0.0.0.0:4567, stack=Error: listen EADDRINUSE 0.0.0.0:4567
      at Object.exports._errnoException (util.js:1018:11)
      at exports._exceptionWithHostPort (util.js:1041:20)
      at Server._listen2 (net.js:1258:14)
      at listen (net.js:1294:10)
      at net.js:1404:9
      at _combinedTickCallback (internal/process/next_tick.js:83:11)
      at process._tickCallback (internal/process/next_tick.js:104:9), code=EADDRINUSE, errno=EADDRINUSE, syscall=listen, address=0.0.0.0, port=4567
      2018-10-18T07:09:03.070Z [6766] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
      2018-10-18T07:09:03.072Z [6766] - error: message=Not running, stack=Error: Not running
      at Server.<anonymous> (net.js:1501:12)
      at Server.g (events.js:292:16)
      at emitNone (events.js:91:20)
      at Server.emit (events.js:185:7)
      at emitCloseNT (net.js:1552:8)
      at _combinedTickCallback (internal/process/next_tick.js:77:11)
      at Immediate._tickCallback (internal/process/next_tick.js:104:9)
      at runCallback (timers.js:672:20)
      at tryOnImmediate (timers.js:645:5)
      at processImmediate [as _immediateCallback] (timers.js:617:5)
      [cluster] Child Process (6766) has exited (code: 1, signal: null)
      [cluster] Spinning up another process...
      2018-10-18T07:09:03.206Z [6764] - info: Routes added
      2018-10-18T07:09:03.212Z [6764] - info: NodeBB Ready
      2018-10-18T07:09:03.227Z [6764] - info: Enabling 'trust proxy'
      2018-10-18T07:09:03.239Z [6764] - error: NodeBB address in use, exiting... message=listen EADDRINUSE 0.0.0.0:4568, stack=Error: listen EADDRINUSE 0.0.0.0:4568
      at Object.exports._errnoException (util.js:1018:11)
      at exports._exceptionWithHostPort (util.js:1041:20)
      at Server._listen2 (net.js:1258:14)
      at listen (net.js:1294:10)
      at net.js:1404:9
      at _combinedTickCallback (internal/process/next_tick.js:83:11)
      at process._tickCallback (internal/process/next_tick.js:104:9), code=EADDRINUSE, errno=EADDRINUSE, syscall=listen, address=0.0.0.0, port=4568
      2018-10-18T07:09:03.241Z [6764] - error: message=listen EADDRINUSE 0.0.0.0:4568, stack=Error: listen EADDRINUSE 0.0.0.0:4568
      at Object.exports._errnoException (util.js:1018:11)
      at exports._exceptionWithHostPort (util.js:1041:20)
      at Server._listen2 (net.js:1258:14)
      at listen (net.js:1294:10)
      at net.js:1404:9
      at _combinedTickCallback (internal/process/next_tick.js:83:11)
      at process._tickCallback (internal/process/next_tick.js:104:9), code=EADDRINUSE, errno=EADDRINUSE, syscall=listen, address=0.0.0.0, port=4568
      2018-10-18T07:09:03.242Z [6764] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
      2018-10-18T07:09:03.243Z [6764] - error: message=Not running, stack=Error: Not running
      at Server.<anonymous> (net.js:1501:12)
      at Server.g (events.js:292:16)
      at emitNone (events.js:91:20)
      at Server.emit (events.js:185:7)
      at emitCloseNT (net.js:1552:8)
      at _combinedTickCallback (internal/process/next_tick.js:77:11)
      at Immediate._tickCallback (internal/process/next_tick.js:104:9)
      at runCallback (timers.js:672:20)
      at tryOnImmediate (timers.js:645:5)
      at processImmediate [as _immediateCallback] (timers.js:617:5)
      [cluster] Child Process (6764) has exited (code: 1, signal: null)
      [cluster] Spinning up another process...
      2018-10-18T07:09:03.789Z [6794] - info: Initializing NodeBB v1.10.2 https://forum.hawkscast.com
      2018-10-18T07:09:08.829Z [6794] - info: [socket.io] Restricting access to origin: https://forum.hawkscast.com😘
      2018-10-18T07:09:09.142Z [6802] - info: [socket.io] Restricting access to origin: https://forum.hawkscast.com😘
      2018-10-18T07:09:09.742Z [6794] - info: Routes added
      2018-10-18T07:09:09.751Z [6794] - info: NodeBB Ready
      2018-10-18T07:09:09.766Z [6794] - info: Enabling 'trust proxy'
      2018-10-18T07:09:09.779Z [6794] - error: NodeBB address in use, exiting... message=listen EADDRINUSE 0.0.0.0:4567, stack=Error: listen EADDRINUSE 0.0.0.0:4567
      at Object.exports._errnoException (util.js:1018:11)
      at exports._exceptionWithHostPort (util.js:1041:20)
      at Server._listen2 (net.js:1258:14)
      at listen (net.js:1294:10)
      at net.js:1404:9
      at _combinedTickCallback (internal/process/next_tick.js:83:11)
      at process._tickCallback (internal/process/next_tick.js:104:9), code=EADDRINUSE, errno=EADDRINUSE, syscall=listen, address=0.0.0.0, port=4567
      2018-10-18T07:09:09.781Z [6794] - error: message=listen EADDRINUSE 0.0.0.0:4567, stack=Error: listen EADDRINUSE 0.0.0.0:4567
      at Object.exports._errnoException (util.js:1018:11)
      at exports._exceptionWithHostPort (util.js:1041:20)
      at Server._listen2 (net.js:1258:14)
      at listen (net.js:1294:10)
      at net.js:1404:9
      at _combinedTickCallback (internal/process/next_tick.js:83:11)
      at process._tickCallback (internal/process/next_tick.js:104:9), code=EADDRINUSE, errno=EADDRINUSE, syscall=listen, address=0.0.0.0, port=4567
      2018-10-18T07:09:09.782Z [6794] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
      2018-10-18T07:09:09.783Z [6794] - error: message=Not running, stack=Error: Not running
      at Server.<anonymous> (net.js:1501:12)
      at Server.g (events.js:292:16)
      at emitNone (events.js:91:20)
      at Server.emit (events.js:185:7)
      at emitCloseNT (net.js:1552:8)
      at _combinedTickCallback (internal/process/next_tick.js:77:11)
      at Immediate._tickCallback (internal/process/next_tick.js:104:9)
      at runCallback (timers.js:672:20)
      at tryOnImmediate (timers.js:645:5)
      at processImmediate [as _immediateCallback] (timers.js:617:5)
      6 restarts in 10 seconds, most likely an error on startup. Halting.

  • Admin

    Looks like NodeBB is already running on port 4567 and 4568 try stopping it with either ./nodebb stop or killing those procs. Then start again.


 

Suggested Topics

| |