Skip to content

Technical Support

Need help with installing or configuring NodeBB? Look here.

4.7k Topics 26.2k Posts

Subcategories


  • User documentation for NodeBB

    44 Topics
    44 Posts
    Jay MoonahJ

    One of the first important things to do after setting up NodeBB is to set up an emailer plugin. While NodeBB does include a local emailer, if your forum is particularly active we recommend using an third-party emailer such as SendGrid which provides better deliverability for sites that send a high volume of email. Setting up SendGrid in NodeBB is very easy.

    Open the administrative dashboard using the 'gear' icon on your forum. Open the Extend > Plugins menu, and select the Find Plugins tab. Use the search on the right. Type 'SendGrid' and the plugin should appear -- select Install when you see it. From Installed tab on the Plugins menu, search again for 'SendGrid' and select Activate. Activating the plugin will require a restart of your forum. To restart, select the Dashboard menu and press the Restart button to the right. After NodeBB restarts, the SendGrid plugin will be active.

    After you restart, there should be a item called Emailer (SendGrid) under the Plugins menu -- if you don't see this right away, try refreshing your browser.

    Sign up to SendGrid

    Go to the SendGrid website, open the pricing page and scroll to the bottom. Click on the link and create your free account. Once you've confirmed your SendGrid account via email, you should be able to login to the SendGrid website. On the left side of your SendGrid dashboard, open Settings and click on API Keys. Click the button in the top right to create a new key. Make sure that the key has Full Access for Send Mail and Alerts.  When you are done, the new key to your clipboard.

    Now, return to the SendGrid menu on your NodeBB admin panel. Paste the API key into the field, and save your changes. Now go back to the Dashboard to restart your forum one more time.

    SendGrid should now be working for your forum.

    YouTube Setting up SendGrid mailer for NodeBB

  • NodeBB guides, how-to's and general tips and tricks

    82 Topics
    599 Posts
    barisB

    Quick start plugin has an example on how to add a new api route https://github.com/NodeBB/nodebb-plugin-quickstart/blob/master/library.js#L40-L76.

    The hooks that are fired client side are for client side code in plugins. If you want to pass data from the client to the server you have two options.

    Create an api route like in quick start plugin Create a new socket event listener on the server side and use socket.emit() client side. Example here
  • 25 Topics
    196 Posts
    phenomlabP

    @baris updated to 3.7.2 and now just waiting for the plugin to be updated.

  • Can't install nodebb on Debian 8

    2
    0 Votes
    2 Posts
    1k Views
    PitaJP

    Install nvm or n and then use one of those to install Node 6.

  • My plugin made building nodebb.min.js failed

    3
    0 Votes
    3 Posts
    1k Views
    V

    @baris tks u very much, now code works. 🙂

    Let add this to the plugin docs.

  • Redis on Amazon's Elastic cache

    Solved
    2
    0 Votes
    2 Posts
    823 Views
    yariplusY

    Yes zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

  • 502 bad gateway

    2
    0 Votes
    2 Posts
    1k Views
    PitaJP

    502 bad gateway is the error that nginx returns when NodeBB isn't running. Try running NodeBB will ./nodebb slog or ./nodebb dev and look for errors. Odds are that it is encountering an error and dying.

  • Unable to run on specific port

    Unsolved
    2
    0 Votes
    2 Posts
    821 Views
    PitaJP

    @kinchtwck You should specify http:// or https:// in the url property.

    pretty sure there's no process

    Well, you can use lsof -i tcp:4567 to check for sure

  • install nodeBB in windows

    3
    0 Votes
    3 Posts
    2k Views
    PitaJP

    Redis for Windows is not well supported. In fact, it's not even officially supported by Redis. I always use Mongo on Windows. (and I dev on Windows) because Redis is a pain to set up.

    Python is used for build scripts for dependencies AFAIK. This may no longer be necessary.

  • invalid csrf token & forbidden login errors

    Moved
    2
    0 Votes
    2 Posts
    2k Views
    julianJ

    Ah, yes, that is potentially a stumbling block... port property is optional, if not specified, NodeBB will listen on port 4567. However the url property is the one that is referenced by NodeBB, and is used as the canonical reference to itself... so when somebody asks your forum what it is to be called, NodeBB will respond back with the value in url, so the port is required if you are accessing your forum with port number in url.

  • Gaining access to RSS feeds

    5
    0 Votes
    5 Posts
    2k Views
    KingCatK

    Nevermind. I found it. You have to visit a feed to find it and it only works with topic or category feeds, not the "recent" feed. I can work with this tho. Thanks @PitaJ

  • Session Issue

    Solved
    2
    0 Votes
    2 Posts
    1k Views
    KingCatK

    Nevermind I fixed it with the session-sharing plugin. I set it to revalidate instead of trust.

  • CORS Setup

    5
    0 Votes
    5 Posts
    2k Views
    julianJ

    Glad to hear it!

  • how to add sub domain to my forum please help

    7
    0 Votes
    7 Posts
    2k Views
    PitaJP

    Yes you can add external links.

  • how to remove live from a particular section

    4
    0 Votes
    4 Posts
    863 Views
    PitaJP

    Open an issue on Github detailing reproduction steps.

  • NodeBB Installation running on port number only

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    yariplusY

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

  • Why do I even bother upgrading??

    6
    0 Votes
    6 Posts
    2k Views
    KingCatK

    @julian Unfortunately I ended up nuking the repostory and rechecking it out mulitple times trying to fix it.

    In the future I know I can't trust the database entirely. I'll have to backup all the files (that I thought were ephemeral).

  • NodeBB on AWS Elastic Beanstalk tutorial ?

    4
    0 Votes
    4 Posts
    2k Views
    T

    @nodebb789 did you work this out?

  • Found a small bug in Groups

    3
    0 Votes
    3 Posts
    1k Views
    J

    @baris said in Found a small bug in Groups:

    Run this in mongodb to remove them, those groups shouldn't be in that set.

    db.objects.remove({_key: "groups:visible:memberCount", value: "cid:25:privileges:groups:poll:create"}); db.objects.remove({_key: "groups:visible:memberCount", value: "cid:33:privileges:groups:poll:create"});

    Awesome, thx for quick response. I've gone and done this and everything is back to normal. I assume it was because of that poll plugin. @Schamper might wanna look at this.

  • Private git clone installs for plugins.

    11
    0 Votes
    11 Posts
    3k Views
    J

    Ok using 6.11.0 LTS and works again no problems. Thx.

  • Can I change the logo image and the logo's link ?

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    barisB

    This is not possible yet we will add it in the next release. https://github.com/NodeBB/NodeBB/issues/5888

  • Problem when sending email by SMTP

    4
    0 Votes
    4 Posts
    1k Views
    julianJ

    Awesome! Good to hear that.

  • 0 Votes
    2 Posts
    1k Views
    julianJ

    Hello there, this is not a forum for Node.js questions, but a support forum for NodeBB. Please ask on Stack Overflow.