Advice on Local Install Debugging - Windows

Technical Support

Suggested Topics


  • 0 Votes
    4 Posts
    290 Views

    @PitaJ thanks! That was the issue

  • 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
    4 Posts
    1k Views

    @dev Post your config you are using for nginx and config.json. It should be obvious when we can see them.

  • 1 Votes
    3 Posts
    1k Views

    Pulling from Master helped. However the webpage that starts NodeBB after setting up the DB through the webpage, doesn't restart it now. I had to kill the command line, and manually start nodeBB. But then it works fine. Just an FYI.

  • 0 Votes
    7 Posts
    3k Views

    @jasperkade looks like the guide you are using does not have proper information.

    If you follow that guide you will end up installing the master branch (development version, more likely to have bugs) of NodeBB and not the stable release.

    The default database used to be redis (still redis on the latest stable release). Its changed to mongo on the master branch.

    It's always recommended to follow NodeBB docs as others might be outdated.