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.

  • Recommended deployment tool?

    1
    0 Votes
    1 Posts
    266 Views
    Golan ThomasG

    Hey Guys!

    Which deployment tool is recommended for continuous deployment of nodebb from a development environment (using github) to our production server (CentOS 7 + nginx + Postgresql)?
    We've tried using PM2, but have encountered problems which NodeBB's compatibility with it @kfirba .

    Thanks!

  • Run NodeBB with PM2

    2
    0 Votes
    2 Posts
    1k Views
    kfirbaK

    @HARIOM-VASHISTH Hey!

    There seems to be a problem with PM2 where I always get a notification about disconnecting and re-connecting. Had an issue with that?

  • 0 Votes
    5 Posts
    651 Views
    S

    Yup, ignore me. I had two configs open and was looking at the wrong one.

  • 0 Votes
    20 Posts
    2k Views
    mwaeckerlinM

    Ok, I suggest two thing:

    I'll help you to elaborate a Dockerfile that works fine and stable, also in swarm environments (next step will be OpenShift and upgrades). It would be helpful to add logging information when socket.io rejects a connection, i.e. log the detected vs the configured origin.

    Agree, @PitaJ, @Tom_Rade?

  • Connection to MongoDB that is hosted on atlas

    10
    2 Votes
    10 Posts
    4k Views
    S

    @deha said in Connection to MongoDB that is hosted on atlas:

    ssl: true,
    authSource: 'admin',
    replicaSet:'Cluster1-shard-0'

    Easiest thing now, get the 3.4 and older API for apps from Atlas and use the URI in the setup and voila.

  • Issue installing NodeBB on Centos 7

    17
    0 Votes
    17 Posts
    2k Views
    S

    @PitaJ said in Issue installing NodeBB on Centos 7:

    @scottalanmiller running any ./nodebb command as root is not supported. You should install and run NodeBB as an unprivileged user.

    Doh. Obviously. Thanks, having a brainfart from lack of sleep.

  • Watching updates

    12
    0 Votes
    12 Posts
    910 Views
    PitaJP

    @ehurt it shouldn't make a difference

  • 1 Votes
    4 Posts
    469 Views
    D

    @baris Confirmed it is a bug. I think this was one of the first bugs I found so I wasn't sure if it was a misconfiguration or not.

  • Link to current user's bookmarks

    2
    0 Votes
    2 Posts
    385 Views
    barisB

    Yes create a navigation item and set it's route to /me/bookmarks

  • 0 Votes
    2 Posts
    766 Views
    R

    I fixed my own issue. Apparently some install scripts fail when run as root (or with sudo). I'm not sure why this is the case, but I got everything to work by running sudo chown -R ralph:www-data /path/to/nodebb && ./nodebb upgrade as a standard user.

  • Post sorting per category

    1
    0 Votes
    1 Posts
    274 Views
    H

    Under /admin/settings/post there are "Default Post Sorting" and "Default Topic Sorting"

    The issue is that I would like to make these settings per categori. Some sorted Oldest to newest and others sorted Newest to oldest.

    Is that possible to do, and if so, how to do it?

  • 0 Votes
    5 Posts
    614 Views
    H

    @PitaJ

    Now it works as it should. It is OK if I click on the botton. I don't know what happend last time.

    Many thanks, any how.

    Hans

  • 0 Votes
    3 Posts
    429 Views
    T

    @julian Would it be possible to let a user delete his own account with the posts? Can't it just be just a small js function name change on the Delete account button?

    According the the GDPR and just usability wise, it would be better if the user could delete his posts.

    I'd appreciate it, if you or someone else sends a changed JS file if you got time - Thanks!

  • 0 Votes
    9 Posts
    1k Views
    G

    @PitaJ Thank you and I will build a new internal image for that commit ~

  • quill plugin

    3
    0 Votes
    3 Posts
    577 Views
    julianJ

    @JJSagan I can't seem to reproduce the issue you're having with uploaded files, they seem to work on my development environment..

  • Solr Bad Request on /api/search

    2
    0 Votes
    2 Posts
    345 Views
    julianJ

    Hi there, what errors do you see in server-side?

  • 0 Votes
    1 Posts
    276 Views
    B

    I've been playing around with a new template and when view posts on a topic, I've managed to get it to colour the user's name with the same colour as the selected group as per their profile.

    Do you know how I can do this with the lastpost.tpl on category view? I've tried to do it the same way as I do with the post view, however when I look for the selectedGroup/selectedGroups array, I can't find it.

    Thanks in advance.

  • NGINX Reverse proxy

    12
    0 Votes
    12 Posts
    1k Views
    SimosS

    I've just checked, also for new users cover it look for /assets/images and not for /forum/assets/images

  • 0 Votes
    3 Posts
    645 Views
    Y

    Report issue https://github.com/NodeBB/nodebb-theme-persona/issues

  • recentreplies.js Error causing problems

    Solved
    14
    0 Votes
    14 Posts
    1k Views
    PJ LegendreP

    I will notify the plugin's creator, thank you.