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.

  • Recent Posts Widget

    1
    0 Votes
    1 Posts
    779 Views
    M

    How can I shorten the length of the post content to say first xx characters..?

  • 0 Votes
    6 Posts
    2k Views
    M

    @Giggiux Bully for you 😉

  • 0 Votes
    4 Posts
    2k Views
    fstdeskF

    @yariplus said in After changed ip get badway 502 error and nodebb does not start:

    Your forum may work, but has no security, anyone can login and delete/steal the database. You need to setup your redis so that it has a password, and that it restricts access to localhost.

    @yariplus thank you so much.

  • Two-column Persona Categories

    Moved Solved
    4
    0 Votes
    4 Posts
    3k Views
    A

    nah, not gonna do this.

  • Big profile picture bug after upgrade to 1.4.6

    8
    0 Votes
    8 Posts
    3k Views
    M

    @PitaJ said in Big profile picture bug after upgrade to 1.4.6:

    node.js

    don't know.

    How can I see this?

  • How to use "posts api"

    Moved
    3
    0 Votes
    3 Posts
    3k Views
    A

    @yariplus said in How to use "posts api":

    {posts.post.user.sso-steam:steamid}

    Thank you, yari!

  • 0 Votes
    2 Posts
    2k Views
    M

    Can anyone help here? I've not been able to figure anything out past this point.

  • 0 Votes
    2 Posts
    1k Views
    M

    Does anyone have any info regarding this? I've checked github but no installation instructions.

    I know i've done something wrong here & have had to disable this for now, the Forum was unreachable with what I entered and kept redirecting to my homepage 😳
    Cheers!

  • Default Admin Password

    Unsolved
    4
    0 Votes
    4 Posts
    6k Views
    R

    We use ansible to preconfigure the system.

    In that case the installation will not pop up.

    We noticed that If the DB has no admin in it, one random password is generated. You can find it in the logs.

    If there was an admin already in db. It continues to work.

    R.

  • Time for update to 1.4.6!

    1
    0 Votes
    1 Posts
    794 Views
    JenklerJ

    Any know issues with 1.4.6?

    Issues:
    https://github.com/NodeBB/NodeBB/issues/5625 <-- Will this be fixed or do we need to wait for 1.4.7?

  • 0 Votes
    3 Posts
    1k Views
    fstdeskF

    Thank you.

  • Registration Error

    6
    0 Votes
    6 Posts
    2k Views
    hungrybeastH

    Nevermind, the spam-be-gone plugin was causing it. Heres what i found in the console.

    at new ClientRequest (_http_client.js:52:11) at Object.exports.request (http.js:31:10) at Object.exports.request (https.js:199:15) at module.exports (/opt/nodebb/node_modules/simple-recaptcha-new/index.js:37:23) at Object.Plugin._recaptchaCheck (/opt/nodebb/node_modules/nodebb-plugin-spam-be-gone/library.js:282:3) at /opt/nodebb/node_modules/nodebb-plugin-spam-be-gone/library.js:211:11 at /opt/nodebb/node_modules/async/lib/async.js:718:13 at async.forEachOf.async.eachOf (/opt/nodebb/node_modules/async/lib/async.js:233:13) at _parallel (/opt/nodebb/node_modules/async/lib/async.js:717:9) at Object.async.parallel (/opt/nodebb/node_modules/async/lib/async.js:731:9) at Object.Plugin.checkRegister [as method] (/opt/nodebb/node_modules/nodebb-plugin-spam-be-gone/library.js:206:8) at /opt/nodebb/src/plugins/hooks.js:120:12 at /opt/nodebb/node_modules/async/lib/async.js:375:13 at iterate (/opt/nodebb/node_modules/async/lib/async.js:262:13) at Object.async.forEachOfSeries.async.eachOfSeries (/opt/nodebb/node_modules/async/lib/async.js:281:9) at Object.async.inject.async.foldl.async.reduce (/opt/nodebb/node_modules/async/lib/async.js:374:15) at fireFilterHook (/opt/nodebb/src/plugins/hooks.js:112:9) at Object.Plugins.fireHook (/opt/nodebb/src/plugins/hooks.js:93:4) at /opt/nodebb/src/controllers/authentication.js:76:12 at fn (/opt/nodebb/node_modules/async/lib/async.js:746:34) at /opt/nodebb/node_modules/async/lib/async.js:1213:16 at /opt/nodebb/node_modules/async/lib/async.js:166:37

    Seems like the recaptcha wasnt coded correctly. Or i didnt set it up correctly

  • Redis memory usage

    Unsolved
    10
    0 Votes
    10 Posts
    3k Views
    Z

    From my understanding, Redis keeps the entire forum database in memory?...so if the forum gets large, it sounds like that scales very poorly.

    Second the latter part of attis's question. I've set up a trial nodeBB using what I think is "just mongo" and I've seen "just redis" tutorials as well. How do you do this Redis+Mongo mixed setup, and when does that become worth it over just Mongo for a larger board?

  • 0 Votes
    1 Posts
    947 Views
    W

    Since some weeks, possibly after upgrading to 1.4.5 the modemailer causes nodebb to restart.
    Does anybody else have that problem?

    Here are the log entries:

    27/4 06:36:52 [19664] - error: TypeError: this.message.messageId is not a function at MailComposer.compile (/home/forum/nodebb/node_modules/nodemailer/node_modules/mailcomposer/lib/mailcomposer.js:90:18) at module.exports (/home/forum/nodebb/node_modules/nodemailer/node_modules/mailcomposer/lib/mailcomposer.js:7:35) at Nodemailer.<anonymous> (/home/forum/nodebb/node_modules/nodemailer/lib/nodemailer.js:286:24) at Nodemailer._processPlugins (/home/forum/nodebb/node_modules/nodemailer/lib/nodemailer.js:352:16) at Nodemailer.sendMail (/home/forum/nodebb/node_modules/nodemailer/lib/nodemailer.js:280:10) at Object.Emailer.sendViaFallback (/home/forum/nodebb/src/emailer.js:136:21) at /home/forum/nodebb/src/emailer.js:114:14 at fn (/home/forum/nodebb/node_modules/async/lib/async.js:746:34) at /home/forum/nodebb/node_modules/async/lib/async.js:1213:16 at /home/forum/nodebb/node_modules/async/lib/async.js:166:37 at /home/forum/nodebb/node_modules/async/lib/async.js:706:43 at /home/forum/nodebb/node_modules/async/lib/async.js:167:37 at Immediate.<anonymous> (/home/forum/nodebb/node_modules/async/lib/async.js:1206:34) at runCallback (timers.js:666:20) at tryOnImmediate (timers.js:639:5) at processImmediate [as _immediateCallback] (timers.js:611:5) 27/4 06:36:52 [19664] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
  • 0 Votes
    3 Posts
    2k Views
    M

    I was crating bug to GitHub, but thought that this could be know issue, after upgrade, so thats why added this question first... I did se you managed to do it fist, so I added information to there. I use tags, both 1.4.5 and 1.4.6 has this issue.

    Link Preview Image Upload cover picture does not work when using subfolder · Issue #5631 · NodeBB/NodeBB

    Uploaded cover picture path does not contain the relative_path.

    favicon

    GitHub (github.com)

  • Image Uploads Interrupted - Any ideas?

    2
    0 Votes
    2 Posts
    1k Views
    T

    I solved this by installing SSL as that allowed the ws connection to work properly through the ISP in question.

  • Error: localStorage behaved unexpectedly

    2
    0 Votes
    2 Posts
    792 Views
    barisB

    This is fixed on master, just pull again.

  • Plugins issues

    6
    0 Votes
    6 Posts
    2k Views
    A

    @PitaJ ah ok. If its nothing to worry about, then it should be fine.

  • 0 Votes
    4 Posts
    3k Views
    F

    @kacemlight I know it's a very old topic. Just replying because i faced a similar issue. SEO tools pointed out that the heading structure was incorrect i.e the nav bar headings had H3 and content had H2 and H1.

    I solved it by creating a barebones plugin and overwrote the tpl file that had the inconsistent heading structure (in my scenario). The path of the file is plugin/static/templates/partials/menu.tpl

  • Empty Log

    4
    0 Votes
    4 Posts
    2k Views
    BriB

    Yep that works, I updated my version here:
    https://gist.github.com/bdharrington7/2599927d41d30f11900f2099b8d8fc64