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.

  • Backup?

    4
    0 Votes
    4 Posts
    2k Views
    GeraldG

    Thank you.

    Works like a charm. @Bri and @pichalite

  • 0 Votes
    4 Posts
    3k Views
    MagicVishM

    @Kowlin Hey, thank you for your time in response, and for sure i have done my research on this amazing software forum, i agree it is one of a kind 🙂
    i have VPS server,
    you know anyone that can possibly help ?

  • Registration: some confirmation emails not sent?

    10
    0 Votes
    10 Posts
    4k Views
    R

    @Pappmann https://github.com/NodeBB/NodeBB/blob/v0.9.x/src/emailer.js

    For a quick hack, just change the second 'direct' to 'sendmail' in line 17.

    For a real patch, change the name in the array, too (rename the first direct to sendmail), and then change it in line 118, too.

  • Unable to post, reply or make thread

    1
    0 Votes
    1 Posts
    720 Views
    GeraldG

    Title basically says it all, I installed a plugin, then when I went try and post on my forum, I wasn't able to.

    So I uninstalled the plugins using this thread - https://community.nodebb.org/topic/1270/disable-plugin-from-cli/5

    Checked if the plugins were on the site and they were, event checked on root. Any ideas?

  • Maximum password length: DOS Potential

    12
    4 Votes
    12 Posts
    5k Views
    P

    @bentael said:

    @psychobunny what about showing a captcha after 2 or 3 failed logins?

    Yup that works 👍

  • CDN for External Files

    2
    0 Votes
    2 Posts
    990 Views
    yariplusY

    You need a plugin that uses the filter:uploadFile hook to do that.

    It doesn't look like any exist yet.

    What CDN did you want to use?

  • How to fetch more data for Categories page

    Moved
    2
    0 Votes
    2 Posts
    2k Views
    thuanpq.ioT

    done, I can call a function when this hook is fired filter:categories.build

  • Persona Theme issue after updating to 0.9.3

    15
    0 Votes
    15 Posts
    4k Views
    BriB

    +1 on keeping it in English. It's hard enough to keep one language of the doc portal in sync.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    13 Views
  • Hooks help

    2
    0 Votes
    2 Posts
    875 Views
    P

    @Whiplash174 don't think it's a problem with the hook. The warning on the startup is just an indication that the hook will be removed in the future but it works now.

    Looks like the problem is with the plugin when it tries to delete the awards for the deleted user. Create an issue on the plugin github page.

  • Problem terminal

    6
    0 Votes
    6 Posts
    2k Views
    ?

    @Gerald you put a password into your config.json, even though Redis is not using one.

    Also try running:
    npm i [email protected]

  • Changing names votes?

    2
    0 Votes
    2 Posts
    1k Views
    KowlinK

    After digging into this is appears that there's actually no language strings for like and dislike, however there's a alternative to the default reputation system, and that is @Nicolas his likes plugin. This will work with the latest version of NodeBB.

  • can´t upgrade -> Unable to initialize MongoDB

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    PappmannP

    i treid some things now i have folowing error

    error: Unable to initialize MongoDB! Is MongoDB installed? Error :Cannot find module 'connect-mongo' 9/1 03:56 [23336] - error: Error: Cannot find module 'connect-mongo'

    i tried

    npm i connect-mongo

    but that does not help

    i had to run

    ./nodebb setup

    before i can start nodebb again.

  • Domain Not Updating

    9
    0 Votes
    9 Posts
    2k Views
    KowlinK

    Issue is solved, seemed to be a wrongly set Allowed-from setting under Settings->Advanced->Headers

  • Templating question: users.lastonlineISO?

    10
    0 Votes
    10 Posts
    3k Views
    W

    It works great @pichalite

  • 0 Votes
    1 Posts
    918 Views
    L

    Hi guys.
    I receive the following error after follow the instruction to install the plug in. It seems like there are some people also not able to fix it. However I saw in this post it is being solved. Can anyone that experience this share their solutions? 🙂

    0_1452213318337_upload-33050886-5079-46af-bb45-a2f41ba43bd9

    It also came with the following error in log

    8/1 04:13 [204] - error: /api/admin/uploadlogo
    Error: invalid-refresh-token
    at refreshToken (/app/node_modules/nodebb-plugin-imgur/index.js:102:20)
    at Request._callback (/app/node_modules/nodebb-plugin-imgur/index.js:216:13)
    at Request.self.callback (/app/node_modules/request/request.js:198:22)
    at emitTwo (events.js:87:13)
    at Request.emit (events.js:172:7)
    at Request.<anonymous> (/app/node_modules/request/request.js:1035:10)
    at emitOne (events.js:82:20)
    at Request.emit (events.js:169:7)
    at IncomingMessage.<anonymous> (/app/node_modules/request/request.js:962:12)
    at emitNone (events.js:72:20)
    at IncomingMessage.emit (events.js:166:7)

  • Global plugins - help

    16
    1 Votes
    16 Posts
    3k Views
    P

    @Gerald sent a PM

    P.S: I am not one of the "GUYS". Just a fellow user helping.

  • Image loss issue

    12
    0 Votes
    12 Posts
    4k Views
    P

    @linan2332 after you install and activate imgur plugin, site logo and category image upload also uploads to imgur.

  • Create a NodeBB installation test on localhost

    8
    0 Votes
    8 Posts
    4k Views
    DakoomD

    Ok, I installed Git, now the command works. Currently cloning... and finally installing dependencises... and I received these erros:

    It also ask me now for a redis database name. What should I write for it?

    npm WARN deprecated [email protected]: lodash@<2.0.0 is no longer maintained. Upgrade to lodash@^3.0.0
    npm WARN deprecated [email protected]: lodash@<2.0.0 is no longer maintained. Upgrade to lodash@^3.0.0

    [email protected] install /Users/Dakoom/NodeBB/node_modules/bufferutil
    node-gyp rebuild

    xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

    xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

    CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
    SOLINK_MODULE(target) Release/bufferutil.node

    [email protected] install /Users/Dakoom/NodeBB/node_modules/utf-8-validate
    node-gyp rebuild

    xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

    xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

    CXX(target) Release/obj.target/validation/src/validation.o
    SOLINK_MODULE(target) Release/validation.node

    [email protected] install /Users/Dakoom/NodeBB/node_modules/heapdump
    node-gyp rebuild

    xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

    xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

    CXX(target) Release/obj.target/addon/src/heapdump.o
    SOLINK_MODULE(target) Release/addon.node

    EDIT: Ok, installed. Then I suppose that when I entered the db name it automatically created it. Ok, I have it installed and I'll try it a little bit! 🙂 Thank you all for your suggestions!

  • Topic Errors in logs, crashing app

    3
    0 Votes
    3 Posts
    1k Views
    W

    Yes master branch (accidentally but dont want to have to downgrade) 😄 Thanks