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.

  • Admin Panel Broken

    35
    0 Votes
    35 Posts
    3k Views
    julianJ

    Probably executed it by mistake... @Kinchtwck how are you starting NodeBB?

  • Restrict guest access to forum

    10
    0 Votes
    10 Posts
    2k Views
    julianJ

    @Rasmus said in Restrict guest access to forum:

    signing up as guest

    I think this might be the crux of your problem. You can't sign up as a guest, you're a guest when you don't log in.

  • NodeBB wont start, Windows

    26
    0 Votes
    26 Posts
    3k Views
    S

    Not a NodeBB specific test, but a NodeJS one, and just an isolated example, but suggests that Node at least is far faster on Linux. Now keep in mind this is old so pretty much worthless as a test. I'm interested to do some real testing, though.

    Link Preview Image TimFocus

    Gitea (Git with a cup of tea) is a painless self-hosted Git service written in Go

    favicon

    TimFocus (josephbill.com)

  • Badges not showing

    6
    1 Votes
    6 Posts
    781 Views
    S

    @baris said in Badges not showing:

    You can turn on multiple badges at /admin/settings/group

    oh nice, didn't even think about that as we've had badges for so long 🙂 Just turned it on for us, too.

  • 0 Votes
    9 Posts
    861 Views
    almondA

    @baris, I can’t reproduce it with short post content — in this case versioning works fine.

  • Cannot start nodebb with systemd

    5
    0 Votes
    5 Posts
    748 Views
    S

    @julian said in Cannot start nodebb with systemd:

    /opt/nodebb/logs/output.log

    Hi julian, sorry for my delay response.
    I changed the services as you suggested, essentially this was my first implementation.

    I removed the file output.log, then I rebooted the system and started the services, when I went in the logs folder the file output.log was empty.

    UPDATE:

    I used journalctl -fu nodebb.service to see the log of the service, and I discovered a nice thing:

    alt text

    Any idea?

    UPDATE 2 [FIXED]

    Okay, so after spending some times on this, I discovered what is the cause of the problem. Essentially, I have installed nodebb as root account (which is wrong, my bad), and the systemd service was configured to run nodebb as the user "sfarzoso", but that user was not the owner of nodebb folder, so when I started the service using systemd, a permission problem happen.

    For fix this, I chowned the "opt" folder for "sfarzoso", which is the folder that I need to install nodebb, then I cloned the repo of nodebb and launched the setup again.
    All works now.

    Thanks for the attention, king regards.

  • email notifications for post queue

    6
    0 Votes
    6 Posts
    640 Views
    S

    @PitaJ said in email notifications for post queue:

    Just so everyone knows, there's a search bar in the ACP, that searches the ACP. If you're looking for a setting that may be a good place to start.

    Oh, I've never seen that. It's in all that "Dead space" way up top that I scroll past before it even loads because there is so much wasted space. Good to know that that is there.

    Would be nice to see that area compressed a bit, so much empty space up there.

  • "csrf-invalid"

    7
    0 Votes
    7 Posts
    1k Views
    ?

    @PitaJ said in "csrf-invalid":

    @PatheticMustan please try removing the config.json socket.io option. It's dangerous. More information here: https://community.nodebb.org/topic/13388/faq-websockets-not-working-due-to-misconfigured-origins

    Thanks for the tip! I have since removed it, and it still works 😄

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    24 Views
  • No pagination-block in /recent, /popular...

    1
    1 Votes
    1 Posts
    237 Views
    A

    Hello !

    On this forum (and also mine...), there is no pagination-block visible when we are on /recent or /popular for example.

    Is there a simple way to make it working on my forum ?

    Thanks in advance.

  • Private Git for install plugins

    3
    0 Votes
    3 Posts
    494 Views
    J

    @PitaJ said in Private Git for install plugins:

    @Joykiller there's no easy way to keep the links with npm, but yarn is better at not killing them.

    Ah ok, well ill put up with it. Till I write some bash that checks to make sure the links there or something and if not replaces it after some trigger. I'll look into it later.

  • 0 Votes
    2 Posts
    323 Views
    H.urnaH

    Finally found a topic with good explanation an answers:

    Redirect Notice

    favicon

    (www.google.com)

    Didn't expect the config.json would influence such requests.

    Kind regards.

  • Nginx configuration

    2
    0 Votes
    2 Posts
    262 Views
    PitaJP

    Pretty much everything on the example configuration at https://docs.nodebb.org is required

  • MongoDB Compass Community configuration

    1
    0 Votes
    1 Posts
    271 Views
    Néstor Llamas LlopisN

    Hello,

    In order to connect to the MongoDB of my VPS by means of MongoDB Community Compass installed on my PC, I need to provide authentication: username, password and authentication database. Which credentials may I set here? The username admin and the authentication database admin, or the username nodebb and the authentication database nodebb? Also, what must I do with the connection configuration options "SRV Record", "Read Preference" and "SSL"? May I set something here?

    Regards,
    Néstor Llamas Llopis

  • 0 Votes
    1 Posts
    464 Views
    omegaO

    Example here https://github.com/certbot/certbot/issues/5817

    Got the same error, never got it before, using similar basic setups. Seems very common - Does anyone have any insight in how to get around or what to check?

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    30 Views
  • Paid subscription

    1
    0 Votes
    1 Posts
    170 Views
    A
    Look, I am from India. I really want to know how to start paid subscription Give me ways to implement it In india we have payu , razorpay , paytm .. but nodebb doesn't support any . So how can I proceed with this
  • Hosting NodeBB behind a cache or CDN

    6
    0 Votes
    6 Posts
    787 Views
    JavadocMDJ

    @scottalanmiller Those are fair points. In this particular instance I'm less concerned about improving site performance than on capitalizing on CloudFront's other features, like WAF integration.

    Sounds like I'm in a very small niche here.

  • Installation stops

    2
    0 Votes
    2 Posts
    290 Views
    S

    What OS are you installing on?

  • Issue With Login (Sockbot)

    2
    0 Votes
    2 Posts
    469 Views
    M

    This is from my logs:

    2019-05-01T23:05:47.795Z [4567/1956] - info: [plugins/spam-be-gone] Settings loaded 2019-05-01T23:05:47.858Z [4567/1956] - info: Routes added 2019-05-01T23:05:47.860Z [4567/1956] - info: NodeBB Ready 2019-05-01T23:05:47.867Z [4567/1956] - info: Enabling 'trust proxy' 2019-05-01T23:05:47.872Z [4567/1956] - info: NodeBB is now listening on: 0.0.0.0:4567 2019-05-01T23:06:46.203Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:44.904Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:45.822Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:46.745Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:47.671Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:48.797Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:49.637Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:50.764Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:51.806Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:52.799Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:53.673Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:54.520Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:55.402Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:56.383Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:57.203Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:58.085Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:58.957Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:59.803Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:20:00.659Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:20:01.574Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:20:09.481Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:37:11.087Z [4567/1956] - info: [plugin/iframely] iframely responded with error: {"status":417,"error":"Iframely could not fetch the given URL. 429"}. Url: http://www.wdrb.com/story/39585380/its-game-on-during-nerdlouvia. Api call: http://iframe.ly/api/iframely?origin=nodebb&align=left&api_key=6973ed56efecf5d8548108&url=http%3A%2F%2Fwww.wdrb.com%2Fstory%2F39585380%2Fits-game-on-during-nerdlouvia 2019-05-02T00:43:42.736Z [4567/1956] - info: [plugin/iframely] iframely responded with error: {"status":403,"error":"The page is private and requires a login."}. Url: https://hangouts.google.com/hangouts/_/qo43i4llbzdv5gmvxnb4ajunqee. Api call: http://iframe.ly/api/iframely?origin=nodebb&align=left&api_key=6973ed56efecf5d8548108&url=https%3A%2F%2Fhangouts.google.com%2Fhangouts%2F_%2Fqo43i4llbzdv5gmvxnb4ajunqee 2019-05-02T01:32:30.455Z [4567/1956] - info: [plugin/iframely] iframely responded with error: {"status":403,"error":"Iframely could not fetch the given URL. The page appears to be private or requiring a login"}. Url: http://themonstersknow.com/why-these-tactics/. Api call: http://iframe.ly/api/iframely?origin=nodebb&align=left&api_key=6973ed56efecf5d8548108&url=http%3A%2F%2Fthemonstersknow.com%2Fwhy-these-tactics%2F 2019-05-02T04:45:22.871Z [4567/1956] - info: [plugin/iframely] iframely responded with error: {"status":417,"error":"Iframely could not fetch the given URL. 429"}. Url: http://www.wdrb.com/story/36868273/nerds-come-together-for-louisvilles-only-tabletop-gaming-convention. Api call: http://iframe.ly/api/iframely?origin=nodebb&align=left&api_key=6973ed56efecf5d8548108&url=http%3A%2F%2Fwww.wdrb.com%2Fstory%2F36868273%2Fnerds-come-together-for-louisvilles-only-tabletop-gaming-convention 2019-05-02T10:21:13.697Z [4567/1956] - info: [plugin/iframely] iframely responded with error: {"status":403,"error":"Iframely could not fetch the given URL. The page appears to be private or requiring a login"}. Url: https://company.wizards.com/job/game-designer-dungeons-dragons-job-renton-wa-us. Api call: http://iframe.ly/api/iframely?origin=nodebb&align=left&api_key=6973ed56efecf5d8548108&url=https%3A%2F%2Fcompany.wizards.com%2Fjob%2Fgame-designer-dungeons-dragons-job-renton-wa-us 2019-05-02T11:35:57.170Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:35:58.144Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:35:59.142Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:36:00.114Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:36:01.049Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:36:01.928Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:36:02.956Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:36:03.893Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:36:05.109Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:36:06.244Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:36:07.208Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:36:08.119Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:36:16.187Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:48:57.212Z [4567/1956] - error: /login invalid csrf token