How to config Categories Sidebar like nodebb communitiy style?

Technical Support

Suggested Topics


  • nodebb.service: Can't open PID file

    Unsolved Technical Support
    0 Votes
    2 Posts
    262 Views

    @yairman I have a suspicion you may be having a "permissions" issue. What are the mode and ownership status of your pid file, eh? 🐕

  • 0 Votes
    2 Posts
    265 Views

    You can set up a 404 response from the x url inside your reverse proxy. Pretty sure there's a way to report this kind of abuse to Google.

  • 0 Votes
    4 Posts
    3k Views

    The common causes for a session mismatch error are usually one of the following:

    1. Mis-configured URL parameter in your config.json file

    If you have a misconfigured url value in your config.json file, the cookie may be saved incorrectly (or not at all), causing a session mismatch error. Please ensure that the link you are accessing your site with and the url defined match.

    2. Improper/malformed cookieDomain set in ACP

    Sometimes admins set this value without realising that they probably don't need to set it at all. The default is perfectly fine. This is what the config looks like:

    Cookie Domain setting

    If this is set, you'll want to revert the setting by editing your database directly:

    Redis: hdel config cookieDomain
    MongoDB: db.objects.update({ _key: "config" }, { $set: "cookieDomain": "" });

    3. Missing X-Forwarded-Proto header from nginx/apache

    If you are using a reverse proxy, you will need to have nginx pass a header through to NodeBB so it correctly determines the correct cookie secure property.

    In nginx, you will need to add the directive like so:

    location / { ... proxy_set_header X-Forwarded-Proto $scheme; ... }
  • 0 Votes
    7 Posts
    2k Views

    Ok, I'll update to latest version and get back with results. Should I first pull 1.x.x branch and then on master or can I directly pull master branch?

  • 3 Votes
    3 Posts
    2k Views

    Im running ubuntu, i created my own startup (init.d) script so it loads on boot