Help NodeBB doesn't work after upgrade to 1.3.0


  • Gamers

    Log:
    ./nodebb dev

    NodeBB v1.3.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 cond itions.
    For the full license, please visit: http://www.gnu.org/copyleft/gpl.html

    Clustering enabled: Spinning up 1 process(es).

    events.js:160
    throw er; // Unhandled 'error' event
    ^

    Error: spawn /usr/local/node/bin/node EAGAIN
    at exports._errnoException (util.js:1007:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:182:32)
    at onErrorNT (internal/child_process.js:348:16)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

    Please help


  • Global Moderator

    • Previous NodeBB version
    • Node.js version
    • Database type and version
    • Did you try disabling plugins?

  • Gamers

    Nodebb version - v1.2.1
    Node.js version - v6.2.1
    Database - MongoDB 3.2.6
    No


  • Global Moderator

    @Master try disabling all plugins, and rebooting your machine. It looks like you may be hitting the per-user process limit.


  • Gamers

    @PitaJ doesn't work

    How can I overwrite all the files from the 1.3.0 ? I merged some files, this could be problem


  • Global Moderator

    @Master git reset --hard origin/master I think does it.


  • Gamers


  • Global Moderator

    @Master oh shit sorry I should have said git reset --hard origin/v1.x.x

    Luckily it doesn't look like any changes were made to the database.


  • Gamers

    I made database backup before update :)


  • Gamers


  • Gamers

    Finally I updated the nodebb but still doesn't work.
    0_1479648036030_SHU_1oZdm4.png


  • Gamers

    please can someone help me ?


  • Community Rep

    It looks like you may have too many processes running. Have you tried rebooting your system or increasing the processes limit?


  • Gamers

    @yariplus

    I asked support and they said it's only 8 tasks running and application even doesn't start, because nothing is listening on the port, which is directed on vhost domain.


  • GNU/Linux

    @Master what is the output of:

    free -m


  • Gamers

    0_1479674833807_SHU_D6eV7A.png


  • Global Moderator

    @Master that looks like your problem right there. 128 MB of RAM likely isn't enough. Unless I'm misreading and it's really 128 GB of ram.


  • Gamers

    @PitaJ

    Again i asked support and they said there is much ram.

    Fragment error log Apache:

    [Sun Nov 20 16:03:19.831365 2016] [proxy:error] [pid 10714:tid 140663819409152] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:4567 (127.0.0.1) failed
    [Sun Nov 20 16:03:19.831388 2016] [proxy:error] [pid 10714:tid 140663819409152] AH00959: ap_proxy_connect_backend disabling worker for (127.0.0.1) for 60s
    [Sun Nov 20 16:03:19.831392 2016] [proxy_http:error] [pid 10714:tid 140663819409152] [client 163.172.66.81:59430] AH01114: HTTP: failed to make connection to backend: 127.0.0.1
    [Sun Nov 20 16:03:19.831424 2016] [proxy:error] [pid 10714:tid 140663819409152] AH00940: HTTP: disabled connection for (127.0.0.1)
    [Sun Nov 20 16:03:42.597237 2016] [proxy:error] [pid 10714:tid 140663685125888] AH00940: HTTP: disabled connection for (127.0.0.1)
    [Sun Nov 20 16:03:42.597297 2016] [proxy:error] [pid 10714:tid 140663685125888] AH00940: HTTP: disabled connection for (127.0.0.1)
    [Sun Nov 20 16:03:43.159781 2016] [proxy:error] [pid 3918:tid 140663811016448] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:4567 (127.0.0.1) failed
    [Sun Nov 20 16:03:43.159802 2016] [proxy:error] [pid 3918:tid 140663811016448] AH00959: ap_proxy_connect_backend disabling worker for (127.0.0.1) for 60s
    [Sun Nov 20 16:03:43.159820 2016] [proxy_http:error] [pid 3918:tid 140663811016448] [client 107.152.234.82:58716] AH01114: HTTP: failed to make connection to backend: 127.0.0.1
    [Sun Nov 20 16:03:43.159853 2016] [proxy:error] [pid 3918:tid 140663811016448] AH00940: HTTP: disabled connection for (127.0.0.1)
    [Sun Nov 20 16:04:52.394293 2016] [proxy:error] [pid 10714:tid 140663962085120] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:4567 (127.0.0.1) failed
    [Sun Nov 20 16:04:52.394317 2016] [proxy:error] [pid 10714:tid 140663962085120] AH00959: ap_proxy_connect_backend disabling worker for (127.0.0.1) for 60s
    [Sun Nov 20 16:04:52.394324 2016] [proxy_http:error] [pid 10714:tid 140663962085120] [client 91.189.140.211:54375] AH01114: HTTP: failed to make connection to backend: 127.0.0.1
    [Sun Nov 20 16:04:52.394368 2016] [proxy:error] [pid 10714:tid 140663962085120] AH00940: HTTP: disabled connection for (127.0.0.1)
    [Sun Nov 20 16:04:52.606426 2016] [proxy:error] [pid 3918:tid 140663718696704] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:4567 (127.0.0.1) failed
    [Sun Nov 20 16:04:52.606447 2016] [proxy:error] [pid 3918:tid 140663718696704] AH00959: ap_proxy_connect_backend disabling worker for (127.0.0.1) for 60s
    [Sun Nov 20 16:04:52.606451 2016] [proxy_http:error] [pid 3918:tid 140663718696704] [client 91.189.140.211:54374] AH01114: HTTP: failed to make connection to backend: 127.0.0.1
    [Sun Nov 20 16:04:52.606483 2016] [proxy:error] [pid 3918:tid 140663718696704] AH00940: HTTP: disabled connection for (127.0.0.1)
    [Sun Nov 20 16:04:52.968425 2016] [proxy:error] [pid 10714:tid 140664079582976] AH00940: HTTP: disabled connection for (127.0.0.1)
    [Sun Nov 20 16:04:52.968477 2016] [proxy:error] [pid 10714:tid 140664079582976] AH00940: HTTP: disabled connection for (127.0.0.1)
    [Sun Nov 20 16:06:34.877612 2016] [proxy:error] [pid 10714:tid 140664012441344] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:4567 (127.0.0.1) failed
    [Sun Nov 20 16:06:34.877636 2016] [proxy:error] [pid 10714:tid 140664012441344] AH00959: ap_proxy_connect_backend disabling worker for (127.0.0.1) for 60s
    [Sun Nov 20 16:06:34.877640 2016] [proxy_http:error] [pid 10714:tid 140664012441344] [client 83.20.140.21:41345] AH01114: HTTP: failed to make connection to backend: 127.0.0.1
    [Sun Nov 20 16:06:34.877675 2016] [proxy:error] [pid 10714:tid 140664012441344] AH00940: HTTP: disabled connection for (127.0.0.1)
    [Sun Nov 20 16:07:01.354414 2016] [proxy:error] [pid 10714:tid 140664012441344] AH00940: HTTP: disabled connection for (127.0.0.1)
    [Sun Nov 20 16:07:01.354476 2016] [proxy:error] [pid 10714:tid 140664012441344] AH00940: HTTP: disabled connection for (127.0.0.1)
    [Sun Nov 20 16:07:01.354535 2016] [proxy:error] [pid 10714:tid 140664171902720] AH00940: HTTP: disabled connection for (127.0.0.1)
    [Sun Nov 20 16:07:01.354569 2016] [proxy:error] [pid 10714:tid 140664171902720] AH00940: HTTP: disabled connection for (127.0.0.1)
    [Sun Nov 20 16:07:01.361511 2016] [proxy:error] [pid 10714:tid 140663811016448] AH00940: HTTP: disabled connection for (127.0.0.1)
    [Sun Nov 20 16:07:01.361514 2016] [proxy:error] [pid 10714:tid 140664071190272] AH00940: HTTP: disabled connection for (127.0.0.1)
    [Sun Nov 20 16:07:01.361550 2016] [proxy:error] [pid 10714:tid 140663811016448] AH00940: HTTP: disabled connection for (127.0.0.1)
    [Sun Nov 20 16:07:01.361555 2016] [proxy:error] [pid 10714:tid 140664071190272] AH00940: HTTP: disabled connection for (127.0.0.1)
    [Sun Nov 20 16:07:01.368608 2016] [proxy:error] [pid 10714:tid 140663735482112] AH00940: HTTP: disabled connection for (127.0.0.1)
    [Sun Nov 20 16:07:01.368660 2016] [proxy:error] [pid 10714:tid 140663735482112] AH00940: HTTP: disabled connection for (127.0.0.1)
    

  • Global Moderator

    @Master well how much RAM do you have? Because that readout clearly says 128 MB, which isn't enough.

    Of course your apache log is gonna fail to connect. We've already established that the NodeBB thread isn't starting up.


  • Gamers

    @PitaJ Its 128 GB


Log in to reply
 

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