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
    201 Posts
    eeeeeE

    I think you answered my point, by agreeing there are issues.
    I didn't even attempt to deploy nodebb, I had problems with much smaller projects!
    Nextjs routing was going through a change of design at the time, so perhaps that is less confusing now, but there were multiple other headaches. I would get build errors and issues with package management.

  • 0 Votes
    2 Posts
    954 Views
    P

    @UltraSabreman try this plugin https://github.com/julianlam/nodebb-plugin-session-sharing

  • MongoDB version mismatch

    1
    0 Votes
    1 Posts
    669 Views
    D

    Hi there,

    I just did a fresh build of nodebb v1.1.0 and it would not start because [email protected] had been pulled in automatically.

    I was able to fix my install by manually installing [email protected] but obviously this isn't ideal.

    P.S. The build of the older version of mongodb failed, but it didn't matter in my case since I'm using redis.

    make: Entering directory `/usr/src/NodeBB-1.1.0/node_modules/mongodb/node_modules/kerberos/build'
    CXX(target) Release/obj.target/kerberos/lib/kerberos.o
    In file included from ../lib/kerberos.cc:1:0:
    ../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory
    #include <gssapi/gssapi.h>

    Regards, Dave.

  • [SOLVED]Setup NGINX + NodeBB on a subdomain

    11
    0 Votes
    11 Posts
    3k Views
    H

    Solved. Cloudflare was the problem.

  • Auto Import Ghost Posts

    2
    0 Votes
    2 Posts
    689 Views
    C

    @David-Balderston That makes sense. Hope there is a solution.

  • 0 Votes
    2 Posts
    896 Views
    julianJ

    Hi there 😄

    Can you tell us how you submitted your site to Google? Was it the sitemap.xml file via Google Webmaster Tools?

  • Volunteer for Chinese Support Portal

    1
    1 Votes
    1 Posts
    817 Views
    SuperMikeS

    As Chinese Support Portal always be unavailable. Could we change the address to another host ?
    I have an ECS server on aliyun(supports robust network env in China)
    with 4 cores, 16GB RAM, 2Mbps. And the expiry date is 2017-06-17, so I could guarantee it could serve approximate one year at least.

  • Persona | Show all Topics under Main-Category

    Moved
    4
    0 Votes
    4 Posts
    2k Views
    X

    @pichalite because I will access them in another way.

  • 0 Votes
    3 Posts
    2k Views
    yariplusY

    Hello, welcome to NodeBB!

    NodeBB will run perfectly fine on node versions as low as 0.10, there is maybe only a very smaller number of third-party plugins that may require node 4.

    You have installed a Node Version Manager called n which does indeed make it easy to change node versions. n does this by copying the files from it's directory to /usr/bin/ when you use it's commands. The reason you had to do this manually probably has to do with a permissions issue.

    You are running all your commands as sudo, when none of them should be run with sudo, this can cause permissions issues and is possibly a security risk. Unfortunately, it may be too late to correct this problem. Next time, check here if you run into any issues when not using sudo.

  • 0 Votes
    3 Posts
    2k Views
    T

    @yariplus Damn, I noobishly had it setup with local but using my Mailgun smtp. I just changed it and the test account which would not receive the p/w recovery email now gets it. Thanks!

  • Missing forum copyright/footer

    8
    0 Votes
    8 Posts
    2k Views
    E

    @pichalite
    Which one?
    0_1469221942404_1.jpg

  • restart is very slow even if restart nginx

    1
    0 Votes
    1 Posts
    1k Views
    xiduiX

    Every time I restart nodebb, the site will down for about 3 minutes. At first I doubted that the nodebb may have some thing to initialize.
    Then I found that even if if restart nginx(not reload), this issue may also occur.

    During this 3 minutes, the mongodb and 3 node process eat 100% CPU and most of the memory. The 3 minutes depends on the machine, 2core-4G machine will take 3 minutes and 4core-8G machine will take 1 minutes.

    I wonder what was nodebb doing during that time?

  • Hide Category from Administrators group

    2
    0 Votes
    2 Posts
    1k Views
    P

    @HolyPhoenix you can't do that without modifying code. It's not a feature that would be useful for others either to be included in core.

  • Forum constantly throws Invalid sessions

    Solved
    8
    0 Votes
    8 Posts
    3k Views
    T

    You should found cookie on your browse with name "express.sid" and delete it.

  • Some users not receiving P/W recovery emails

    6
    0 Votes
    6 Posts
    2k Views
    julianJ

    Not really, those happen if you try to process a registration or login with a used csrf token (csrf tokens are lost if the server restarts, by the way).

  • What is current stable release?

    32
    0 Votes
    32 Posts
    9k Views
    julianJ

    We're a humble bunch 😄

  • 1 Votes
    1 Posts
    801 Views
    jahbiniJ

    I have created a Dockerfile and docker-compose yml file to bring up my forum based commodity institute -- currently locate at forum.bamboosnow.com (pre-alpha as of July 21, 2016)

    Link Preview Image GitHub - jahbini/nodebb-docker-aws: create NodeBB with Mongo in dockable form for AWS EC2

    create NodeBB with Mongo in dockable form for AWS EC2 - jahbini/nodebb-docker-aws

    favicon

    GitHub (github.com)

  • Can't start and setup NodeBB

    7
    0 Votes
    7 Posts
    4k Views
    JenklerJ

    You have enabled MongoDB auth settings + given the right password.

    security.authorization must be enabled in mongodb. This must be an auth only issue!

    More info: https://docs.mongodb.com/manual/tutorial/enable-authentication/

  • Lavender theme - chat room

    Moved
    7
    0 Votes
    7 Posts
    3k Views
    S

    @pichalite Thanks buddy

  • Page Crashes when using Mention feature

    7
    0 Votes
    7 Posts
    2k Views
    S

    @julian it's woking now, thank you so much 😉

  • 0 Votes
    8 Posts
    2k Views
    G

    Thanks, that seems to work!