Nodebb stops as soon as I start it, without a specific error - [cluster] Child Process has exited

Technical Support
  • Hello. I have not made any significant modifications.
    I am using http-proxy to reverse-proxy traffic to the forum so that I can run another app on the same domain.
    The proxying and forum was working well and then unexpectedly this happened when I start it:

    NodeBB v1.0.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).
    
    [cluster] Child Process (21588) has exited (code: 0, signal: null)
    
  • It works with when I start with

    node app
    

    not with

    ./nodebb start
    

    though.


Suggested Topics


  • 0 Votes
    5 Posts
    477 Views

    Yup, ignore me. I had two configs open and was looking at the wrong one.

  • 0 Votes
    3 Posts
    1k Views

    I run into the same issue with nginx without any Cloudfare rules set for the forum and without any CDN active, so the webserver serves content directly.

    Fix:

    NodeBB
    config.json

    There should be no forward slash at the end which complies with the documentation:

    "url": "https://blabla.com/forum",

    nginx.conf

    here note the double slash on the first line /forum/

    The double slash solves the issue, at least during initial testing on different browsers and devices.
    Not sure if this is a Windows/nginx specific thing as the path's are set a bit different.

    [...] location /forum/ { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; # proxy_pass http://127.0.0.1:4567; proxy_pass http://io_nodes; proxy_redirect off; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; }
  • 0 Votes
    3 Posts
    939 Views

    @pitaj

    Thanks, There is no solution if im not mistaken, because i have no firewall issue.

    Everything was working fine until 10-15 min later of setup.

    I am getting error on GCP VPS but im not getting on digitalocean VPS.

    That is really odd.

  • 0 Votes
    23 Posts
    5k Views

    @abhinov-singh

    @PitaJ
    have done same things as @abhinov-singh but my forum is working on when writing :4567?
    how to point it to main domain?

  • Error: sendmail executable

    Unsolved Technical Support
    0 Votes
    7 Posts
    3k Views

    @pichalite
    Ok great will check them out