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.

  • Can't change Site Logo?

    8
    0 Votes
    8 Posts
    2k Views
    R

    @PitaJ It should be related to cache.

    My boss showed me the website and on her browser and it used the most recent upload.

    I tried Firefox instead of Chrome and it showed up on my Firefox as well.

    So it must have been because of the cache, I'll see what I can do to make it appear on Chrome, but everything should be fine.

    Thanks so much everyone.

    EDIT:

    Yeah, just cleared the cache via Tools > More Tools > Clear browsing data; everything's good.

    I feel so dumb, thanks again everyone.

  • NodeBB won't restart

    13
    0 Votes
    13 Posts
    3k Views
    SfnerS

    I've got the same problem a while ago. Deactivating the broken plug-ins isn't enough: you have to uninstall (npm un <package-name>) the right one from your installation.

    They usually show up in the logs from template building (node nodebb build) as errors or warns and in the dev console (node nodebb dev) as errors.

    Good luck!

  • Register ends with 502 error

    6
    0 Votes
    6 Posts
    2k Views
    S

    Thank you @PitaJ and @baris ! It was the plugin. I had installed the 1.2.1, but it does not worked. I uninstalled the plugin and registration i working fine again. 😄

  • page view data in mongodb

    2
    0 Votes
    2 Posts
    881 Views
    L

    db.objects.find({_key:"analytics:pageviews", value: {$gte:"1443657600000", $lte:"1443657600000"}}) I got it

  • Change standard groups

    8
    0 Votes
    8 Posts
    2k Views
    julianJ

    That's exactly it... they're system groups because they're relied upon internally and cannot be deleted or renamed.

    The admin interface uses groups in the backend. Global mods are empty by default but any members in that group are automatically mods in every category.

    That's all.

  • NoodeBB can be installed in host ?

    3
    0 Votes
    3 Posts
    973 Views
    julianJ

    Hello there!

    NodeBB is designed to work best under a virtual private server. Using a traditional hosting service is not recommended as they do not have the capabilities to power NodeBB effectively.

    The code and instructions can be found here at our project repository Full instructions can be found in our Documentation Portal We recommend DigitalOcean to host your NodeBB, you'll get a month free just by registering with this link. You can also try applying the 10TOSHIP coupon to get another two months free, and as an added bonus, you'll be helping us out too!

    Thank you for your interest in NodeBB!

  • Emails can not be sent in 1.6.0

    15
    0 Votes
    15 Posts
    3k Views
    S

    Thank you @PitaJ and @julian for your support! Everything works fine now.

    The error was because of a wrong security option in the settings and the speed of sendmail increased by itself. Probably there was a problem on the shared server during my first test.

    Keep up the great work! 🙇 NodeBB is really great!

  • v1.6.0 Suspected Nginx Problem

    21
    0 Votes
    21 Posts
    6k Views
    U

    I upgraded from v1.5.3 to v1.6.1 and the nginx related problem I was having in v1.6.0 is no longer there. Therefore the problem has been resolved but I don't know why.

  • Latest Install

    7
    0 Votes
    7 Posts
    2k Views
    julianJ

    Is the systemd script starting app.js, or loader.js? Should be loader.js... 😕

  • 0 Votes
    3 Posts
    1k Views
    D

    @baris thank`s a lot! db.objects.find({_key: /^user:\d+/, fbid: {$exists:true}}) - perfect query for me!

  • 0 Votes
    4 Posts
    1k Views
    PitaJP
    You'll want to look into adding them as services. https://docs.nodebb.org/configuring/running/ You need to go to ACP -> General -> Navigation and set the search one to only show for mobile You want the recent cards plugin and to set up a few widgets in the sidebar ACP -> Extend -> Widgets You have to have Registration Type set to Normal
  • How do I make customizations to a plugin

    2
    0 Votes
    2 Posts
    969 Views
    PitaJP

    What plugin? The best way is to fork it on github.

  • Apache clustering

    1
    0 Votes
    1 Posts
    562 Views
    D

    Is there a supported way of doing Apache clustering, or should I start migrating to nginx?

  • 0 Votes
    23 Posts
    8k Views
    julianJ

    Also the trailing slash in location /forum/? A mix of both?

  • https SSL issue invalid csrf token

    10
    0 Votes
    10 Posts
    3k Views
    julianJ

    You can configure it in apache as well 👍

  • Slow page loading on DigitalOcean

    Solved
    16
    0 Votes
    16 Posts
    4k Views
    yariplusY

    @dread Oh, it's no problem at all! I was just joking, but thanks for adding the mention!

  • 0 Votes
    3 Posts
    1k Views
    julianJ

    To add, you'll need at least 512mb memory, and a swap partition defined

  • 0 Votes
    7 Posts
    2k Views
    julianJ

    The error suggests the mongo lock file is present so mongo refuses to start up again.

    If you're sure mongo isn't running, just delete the lock file.

  • Replacing myBB with NodeBB

    13
    0 Votes
    13 Posts
    5k Views
    H

    @toeirei @Matt-Calsada

    got it working, see NodeBB v1.0.3 won't start, error: undefined now nodebb-plugin-import and moving NodeBB Install from one server to another
  • NodeBB v1.0.3 won't start, error: undefined

    2
    0 Votes
    2 Posts
    1k Views
    H

    @h7 tried on a different Debian 7 (Wheezy) server, to make sure this is a common issue:

    Node.js v4.2.2 Redis server v=3.2.11 NodeBB v1.0.3

    NodeBB installs again, without errors but the log comes back with the exact same [2458] - error: undefined

    npm rm nodebb-plugin-emoji-one npm install [email protected]

    fixed that error, now:

    info: Time: Sun Oct 08 2017 04:59:32 GMT+0300 (MSK) info: Initializing NodeBB v1.0.3 [outdated] nodebb-plugin-emoji-one installed v1.1.4, package.json requires 1.1.0 warn: One or more of NodeBB's dependent packages are out-of-date. Please run the following command to update them: warn: ./nodebb upgrade [cluster] Child Process (6503) has exited (code: 0, signal: null)

    OK, removing the plugin npm rm nodebb-plugin-emoji-one and ./nodebb start worked, NodeBB v1.0.3 running, still can't log-in:

    warn: [meta/dependencies] Bundled plugin nodebb-plugin-emoji-one not found, skipping dependency check. [minifier] file not found, node_modules/socket.io-client/socket.io.js [minifier] file not found, node_modules/socket.io-client/socket.io.js info: NodeBB Ready info: Enabling 'trust proxy' info: NodeBB is now listening on: 0.0.0.0:4567 error: /login invalid csrf token error: /login invalid csrf token

    using older versions of socket.io:

    npm remove socket.io npm remove socket.io-client npm install [email protected] npm install [email protected]

    did the trick, NodeBB v1.0.3 running and ready for myBB to NodeBB transition