Skip to content

Technical Support

Need help with installing or configuring NodeBB? Look here.

4.7k Topics 26.1k 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.

  • 0 Votes
    17 Posts
    3k Views
    H

    pkill -9 node then ./nodebb restart and service nginx restart fixed all problems. It seems a previous NodeBB was still running in memory 😳

    @PitaJ thans a lot for the help! Truly amazing app with excellent community support!

  • 0 Votes
    9 Posts
    4k Views
    V

    @pitaj damn.. that fixed my problem. I didn't know that one has to write the 1:1 url you call in your browser as the config.json url setting..

    So instead of:

    {
    "url": "http://localhost:4800",
    "secret": "XXXXXXXXXXXXXXXXX",
    "database": "mongo",
    "port": 4800,
    "mongo": {
    "host": "127.0.0.1",
    "port": "27017",
    "username": "nodebb",
    "password": "XXXXXXXXXXXXXXXXX",
    "database": "nodebb"
    }
    }

    I wrote:

    {
    "url": "http://MYWEBSITE.COM",
    "secret": "XXXXXXXXXXXXXXXXX",
    "database": "mongo",
    "port": 4800,
    "mongo": {
    "host": "127.0.0.1",
    "port": "27017",
    "username": "nodebb",
    "password": "XXXXXXXXXXXXXXXXX",
    "database": "nodebb"
    }
    }

    if you use https, of course the url has to be https://...
    1:1 as if you would call it in your browser. thank you very much!

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    11 Views
  • After upgrade from 1.5.x to 1.6.0, New Topic does not work

    Solved
    18
    0 Votes
    18 Posts
    5k Views
    S

    @pitaj yes, I tried ./nodebb build several times, but I always used ./nodebb dev to start.

    I tried it once more as you said. ./nodebb start aborted with the message to run ./nodebb upgrade. After the upgrade and another ./nodebb start I can post and answer again! 😄

    I don't know why an how, but it works again. hopefully not only for a short time. 😉

    Thanks for you help!

  • 2 Votes
    4 Posts
    2k Views
    A

    @frgilb I'm not using cloudflare though (mentioned in the other thread you posted).

    I haven't gotten around to doing this fix yet... but I will try it, when I have the time. work, work, work 😞

  • One Topic Doesn't Go to the End

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    S

    @julian said in One Topic Doesn't Go to the End:

    @scottalanmiller Wow, that's quite the odd bug!

    We get all the weird stuff 🙂

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
  • 0 Votes
    2 Posts
    1k Views
    barisB

    @michaeltcoelho said in Not asked to input admin username and password on ./setup:

    29/9 12:36:48 [238] - info: [build] plugin static dirs build completed in 4.017sec
    Killed

    Looks like the build is killed, possibly due to not having enough memory, try setting some swap and try again.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
  • StopForumSpam Plugin

    2
    0 Votes
    2 Posts
    837 Views
    PitaJP

    I've opened an issue for it on the spambegone plugin page

    https://github.com/akhoury/nodebb-plugin-spam-be-gone/issues/61

  • nodebb-plugin-youtube-lite

    11
    0 Votes
    11 Posts
    3k Views
    DeepSeaD

    Let's try: https://github.com/boomzillawtf/nodebb-plugin-youtube-embed#readme
    plugin was forked from nodebb-plugin-youtube-lite.

    After installation restart and refresh browser or clear browser cache - CTRL + F5

  • Login and register Unsuccessful

    2
    0 Votes
    2 Posts
    978 Views
    PitaJP

    Are there any errors in the browser console?

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    48 Views
  • The inscription "Catigories"

    1
    0 Votes
    1 Posts
    517 Views
    P

    How can I change the inscription catigories, as well as add one more inscription?
    Screenshot

  • 0 Votes
    6 Posts
    1k Views
    DukeD

    @lewis-belton your site is very slow and I tried to access the calender and it doesnt work. Maybe disable the plugins one at a time and see if it comes good. Remember to restart the forum after disabling each one.

  • 0 Votes
    4 Posts
    2k Views
    T

    @rrt No problem. It might be worth setting up the reverse proxy, it offers some performance benefits and allows you to use SSL for your site (which please do since passwords get entered to login).

    Take a look at the docs for config instructions: https://docs.nodebb.org/configuring/proxies/nginx/

  • 0 Votes
    1 Posts
    743 Views
    A

    Moved things by my managements request to be externally managed users only. But there are a large number of postings for a few local users that would like to be moved. I tried doing some database edits with mongodb, but was not successful in changing the UID of a posting. Anyone have a method for this? Thank you from a Nodebb nuwbie.

  • 0 Votes
    4 Posts
    1k Views
    julianJ

    We've had issues with this in our hosted service too... specifically, the IP used by one of our clients was used by a certain X-rated site 😞

    In our case, we ended up blocking requests at the firewall level using ufw, although you could potentially also use nginx and block requests at the offending hostname...

  • 0 Votes
    3 Posts
    1k Views
    T

    This is all dependent on how each server is configured.

  • NGINX not working

    6
    0 Votes
    6 Posts
    2k Views
    E

    Sorry my fault, I have that, just sent the wrong file. When I get home today I can take care of it. I deleted the last post with the error log because of the spam, but require a moderator to remove it.
    @PitaJ

    Thanks