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.

  • BUG: Small post form in Safari 8.0.8

    3
    0 Votes
    3 Posts
    1k Views
    JenklerJ

    Not my browser, its a friends computer 🙂 But i will tell him 😛

  • 0 Votes
    4 Posts
    2k Views
    PitaJP

    That is a warning. That should not be causing issues for when you visit your site. Check for other errors in the nodebb log and in your browser console.

  • Post and topic count

    2
    0 Votes
    2 Posts
    1k Views
    WarbleSyncW

    Wow just found this myself if anyone else is looking to do this.

    This data is stored on the Category object. Just replace the category # with your category:

    db.objects.find( { _key : "category:#"} ) .pretty();

    Next you can use the update() method to change the values to match.

    db.objects.update( { _key : "category:#" }, { $set : { "topic_count" : numberofTopics } } );
  • 看看中文的搜索是否可用?

    1
    0 Votes
    1 Posts
    2k Views
    S

    看看中文的搜索是否可用?

  • Plugins and Themes not loading

    Moved
    8
    0 Votes
    8 Posts
    4k Views
    P

    @insuusvenerati try running ./nodebb build and then start NodeBB

  • Is there a working SMTP/relay plugin

    5
    0 Votes
    5 Posts
    2k Views
    J

    @JaredBusch said in Is there a working SMTP/relay plugin:

    @aleksad said in Is there a working SMTP/relay plugin:

    The solution was found for this error? If there is a solution, could You share, thank you.

    Yes, I'm sorry I forgot to post I am on the road right now but I will do so later

    I did not end up using a plugin. I ended up editing /etc/postfix/main.cf myself and adding a relayhost as I happen to have one setup for other purposes.

    relayhost = 10.254.0.31
  • Move nodebb from another server

    2
    0 Votes
    2 Posts
    1k Views
    PitaJP

    @thanhtantran you might just want to copy the mongo database directly. Using nodebb-backup is probably missing some of the newer db keys. Look at the docs for backup in the upgrades to get an idea as to how to do the mongodump

  • Migrate redis to mongodb

    2
    0 Votes
    2 Posts
    1k Views
    julianJ

    Hey there,

    Our mistake, looks like we didn't see the email come in. I have replied directly to you now.

  • 0 Votes
    11 Posts
    3k Views
    yariplusY

    Use custom css in the admin appearance tab like this, using the actual category number you want to hide:

    .page-category-16 [component="category/post/guest"] { display: none; }

    Really, I feel like the Login to Post is for posting to the forum in general, not necessarily to the category being viewed.

  • NodeBB start request repeated too quickly

    2
    1 Votes
    2 Posts
    1k Views
    R

    Having this issues since yesterday. Whenever I try to start the server:

    sudo systemctl start nodebb.service
    sudo systemctl status nodebb.service

    I will get NodeBB start request repeated too quickly and the server will fail to start.

    This is my systemd unit file.

    [Unit] Description=NodeBB forum for Node.js. Documentation=http://nodebb.readthedocs.io/en/latest/ After=system.slice multi-user.target [Service] Type=simple User=nodebb StandardOutput=syslog StandardError=syslog SyslogIdentifier=nodebb Environment=NODE_ENV=production WorkingDirectory=/opt/nodebb ExecStart=/usr/bin/node loader.js --no-daemon --no-silent Restart=always [Install] WantedBy=multi-user.target
  • 0 Votes
    3 Posts
    2k Views
    T

    @PitaJ said in Wrong path on startup: no such file or directory, scandir '/opt/app-root/src/build/public/language':

    ./nodebb build

    Thanks, that helped. I documented the steps for S2I here: https://github.com/appuio/nodebb-s2i

  • 0 Votes
    14 Posts
    6k Views
    T

    I even set to 3 recent replies, my board still display 1 topic on home

  • 0 Votes
    4 Posts
    2k Views
    T

    @PitaJ the core chat, thanks.

  • how to make a new style

    5
    0 Votes
    5 Posts
    2k Views
    T

    @Dawid-Glomba hmmm? sorry not sure what you mean 'edition'.

    There are docs on creating your own theme:https://docs.nodebb.org/en/latest/themes/create.html

  • What URL to Use for SSO

    3
    0 Votes
    3 Posts
    1k Views
    PitaJP

    I'm not for sure, but it could be https://community.mysite.com?loggedin

  • 0 Votes
    3 Posts
    1k Views
    T

    @Giggiux Thanks, was just curious...

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
  • Error: Cannot find module 'passport-oauth'

    8
    0 Votes
    8 Posts
    4k Views
    C

    @julian I get the "Congrats! So far so good -- please see server log for details" message, but when I comment out the two lines (as suggested), I get this error:

    EXECABORT Transaction discarded because of previous errors.

    I have no idea what that means.

    After further research, it seems to be an error caused by redis running out of memory.

    After increasing the available RAM for my server to 1GB, I'm still getting this error.

    After increasing swapfile size to 4GB, I'm still getting this error.

  • Cant Access ACP

    23
    0 Votes
    23 Posts
    7k Views
    H

    @julian I do not think the problem is a DB issue, because i can log in as a user and use all the feature available on the platform but login as admin to the control panel is not possible. getting 504 error BAD gateway.

    Please advise.

  • NPM Warning During Install

    6
    0 Votes
    6 Posts
    2k Views
    S

    @PitaJ Thanks! 😉