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.

  • Adding custom functionality: Mongo

    1
    0 Votes
    1 Posts
    1k Views
    C

    I would like users to have different dashboards (content) depending on the "groups" the user has subscribed to. Also how would one go about storing additional user info in Mongo?

  • 0 Votes
    6 Posts
    2k Views
    P

    @countach that's nothing to be worried about for now. It's something that needs to be taken care of on the theme's end. Post an issue on the theme's repository.

  • 0 Votes
    3 Posts
    3k Views
    ToddT

    @pitaj

    Got it figured out. Basically, you have to form a "redirect chain" kinda. I think I was creating an infinite loop of redirection or excluding a specific case (www. for 443 and for 80 separately) in my above nginx config. I ended up having to redirect 80 http://www.domain.com, 80 http://domain.com AND 443 https://www.domain.com all to 443 https://domain.com and then that third block is where all the master logic for the activity goes, if that makes sense.

    In my original post, I was combining too many of these cases into just 2 blocks. In addition, I also added location / {} and wrapped that around my return 301 statements.

    This fixed the problem entirely with both the domain and the forum malfunctioning. Last but not least, I wanted to mention that I also added proxy_set_header X-Forwarded-Proto $scheme; to the main logic block near the other proxy_set settings, which fixed a csrf error as well. So we're all good now!

    Very exciting stuff. I appreciate the quick replies and help. Happy to use NodeBB for my new site!

  • Multiple Digest Emails

    6
    0 Votes
    6 Posts
    2k Views
    neagleN

    @baris Okay: I'll focus on the possibility of multiple nodebb processes.

    @PitaJ: Gotcha. I'm glad I put exactly what I typed so that you could point out my error. I revisited the documentation and it looks like I'm not starting the app the way it's currently recommended (via nodebb start), so, without having insight into why running node app.js might be a problem, I'm giving that a shot.

    With that, the nodebb related output seems to be the same when grepping either 'node' or 'nodebb'... it shows processes for loader.js and app.js in the nodebb directory.

    Anyway--I'll see what happens with today's digest. Regardless, I appreciate everyone's help very much.

  • Upgrading from an old version (v1.0)

    4
    0 Votes
    4 Posts
    1k Views
    julianJ

    @Eric-Ladner No, it doesn't upgrade the plugins... or I should say, it didn't used to.

    More recent versions of NodeBB call ./nodebb upgradePlugins as part of the upgrade process, and that will upgrade plugins (to whatever version nbbpm says they should be upgraded to)...

    However, those plugins that aren't registered with nbbpm won't be touched by ./nodebb upgradePlugins.

  • notifications showing underscore

    3
    0 Votes
    3 Posts
    1k Views
    B

    It is a custom install, we are trying to get it updated to the latest in steps to ensure nothing is broken.
    ![0_1499234830912_screenshot.png](Uploading 100%)

  • New Theme not Showing Up

    Unsolved
    6
    0 Votes
    6 Posts
    2k Views
    barisB

    nodebb mobules should either start with nodebb-plugin- or nodebb-theme- so in your case your theme name should be nodebb-theme-exo-theme

  • 0 Votes
    7 Posts
    2k Views
    C

    @pitaj Yes true, I tried installing mongo onto my 17.04. The installation was successful but some packages did not work (were not supported).

  • Error After Install

    Solved
    15
    1 Votes
    15 Posts
    5k Views
    dmD

    I had the same problem when I was playing with NodeBB on a $2.5 vps from Vultr (=512MB ram). htop shows me that build process uses all available ram and cpu. Deploying on a decent machine/vps would solve the problem, aternatively, I called build steps one at a time ( eg ./nodebb build languages , ./nodebb build 'client side styles' etc) . Hope this helps.

  • How to install NodeBB with Redis?

    Moved
    5
    0 Votes
    5 Posts
    3k Views
    D

    we will writing a detail install nodebb with redis or mongodb?

  • This topic is deleted!

    Unsolved
    2
    0 Votes
    2 Posts
    4 Views
  • Upgrading to Nodebb v1.5.1

    21
    0 Votes
    21 Posts
    6k Views
    BriB

    @ljhardy said in Upgrading to Nodebb v1.5.1:

    I'm using mongodb, why would sqllite be referenced?

    Um, you tell me 😄 That was the output in your installer script!

    output of npm i

    node scripts/install.js

    npm WARN prefer global [email protected] should be installed with -g

    [email protected] postinstall /home/ljhardy/public_html/nodebb/nodebb/node_modules/jsonpath
    node lib/aesprim.js > generated/aesprim-browser.js

    [email protected] install /home/ljhardy/public_html/nodebb/nodebb/node_modules/sqlite3
    node-pre-gyp install --fallback-to-build

    [sqlite3] Success: "/home/ljhardy/public_html/nodebb/nodebb/node_modules/sqlite3/lib/binding/node-v46-linux-x64/node_sqlite3.node" already installed
    Pass --update-binary to reinstall or --build-from-source to recompile

  • Clustered nodeBB on Apache

    11
    0 Votes
    11 Posts
    3k Views
    Esteban ConstanteE

    @Adam-Poniatowski & @HARIOM-VASHISTH:

    I've managed to migrate my NodeBB to Google Cloud and it's running in clustered mode.

    However, I'm having issues with traffic spikes which clog my CPU.

    Any of you have experience running multiple instances and autoscaling? (or perhaps @julian can give some input here)

    Thanks!!!

  • 0 Votes
    4 Posts
    1k Views
    JenklerJ

    Sharing is caring 😛 Better to set code free ...

  • Recent and popular RSS feeds broken?

    7
    0 Votes
    7 Posts
    2k Views
    julianJ

    @jarko You can check out the latest master branch to get those changes. It's still technically v1.5.1.

  • Installation on fresh Ubuntu 16

    Locked
    6
    0 Votes
    6 Posts
    3k Views
    yariplusY

    This is old, and the owner hasn't replied. Create a new topic if still an issue.

  • Changes not saved all the time

    13
    0 Votes
    13 Posts
    4k Views
    yariplusY

    @sharonyue You would need to modify the files inside your theme folder, e.g. /node_modules/nodebb-theme-persona/. Keep in mind, these files are overwritten when you update.

  • upgrade failed

    9
    0 Votes
    9 Posts
    2k Views
    bangbang93B

    ok, after reactivated my plugins one by one, I found it was "nodebb-plugin-html5videoplayer"

  • Lost all my data ? Help please

    64
    0 Votes
    64 Posts
    29k Views
    D

    I know this is rather old but just wanted to share that we suffered a similar issue on our dev forum this morning.
    Turns out it was due to our redis cache running out of memory and crashing.

  • Pushbullet Config

    18
    0 Votes
    18 Posts
    4k Views
    M

    @julian 0_1498737455930_1ad93055-b0f0-4a3f-a362-00629d4ac3a2-image.png

    I have also upgrade my nodebb in case this will help solve it,

    nodebb upgrade completed, but dashboard still showing a 1.4.4 version and asking me to upgrade?