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.

  • 0 Votes
    3 Posts
    1k Views
    T

    This is all dependent on how each server is configured.

  • NGINX not working

    6
    0 Votes
    6 Posts
    2k Views
    E

    Sorry my fault, I have that, just sent the wrong file. When I get home today I can take care of it. I deleted the last post with the error log because of the spam, but require a moderator to remove it.
    @PitaJ

    Thanks

  • How to auto start nodebb on ubuntu server reboot

    12
    0 Votes
    12 Posts
    3k Views
    A

    In nodebb's case it will just need the A (or E... which will be nginx. Don't ask me why the E stands for nginx, as that is how they named the stack. Maybe because it is pronounced engine-x) and the M... for mongodb

  • 0 Votes
    5 Posts
    2k Views
    T

    @baris said in How to reset the counting of topic and post each categories:

    In mongo cli, for each category you have to run the below query replacing the correct values.

    db.objects.update({_key: "category:<replace_category_id>"}, {$set: {"topic_count": "<replace_correct_topic_count>", "post_count": "<replace_correct_post_count>"}});

    This works like a charm

  • I made a mistake doing the upgrade to 1.6.0

    5
    0 Votes
    5 Posts
    1k Views
    P

    @baris dude ! thank you very much, it work

  • api encrypt plugin

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    T

    @nsuchy said in api encrypt plugin:

    Is that all I need just to proxy through nginx, that's what I'm currently doing, I saw that plugin in settings and thought I was doing something wrong. I just wanted to confirm I'm doing everything properly.

    Yup! I used the instructions here: https://docs.nodebb.org/configuring/proxies/nginx/

    There is an example block with SSL in use there. No plugin needed. I use LetsEncrypt for free certs.

  • Console errors after upgrade

    2
    0 Votes
    2 Posts
    990 Views
    PitaJP

    You used the wrong one, this is the right one:

    types { application/javascript jst js; text/css css; }
  • Dark skin for default theme?

    3
    0 Votes
    3 Posts
    937 Views
    N

    I'd really appreciate if someone could get the dark skin on default theme working perfectly. I'm new to using NodeBB and am not sure how to get started with Skin Development 😕

  • Help merging a MyBB Forum into NodeBB

    6
    0 Votes
    6 Posts
    66k Views
    N

    It's kinda sad that I can't import old content / users. The site is running behind Nginx so apache issues aren't really a thing. All requests are proxied to NodeBB so I'm assuming the importer just doesn't work. Anyone wanna help me import topics and posts manually?

  • Really quick question on CSS Color

    Moved
    4
    0 Votes
    4 Posts
    2k Views
    J

    @pitaj thanks again, heres what i've got so far.

    0_1506019887827_Screenshot from 2017-09-21 11-48-05.png

    Thinking of doing maybe a floating footer but duno how that would work with continuous loading of the posts/threads. Maybe ill do a small marquee with crypto price ticker under the floating menu bar instead.

  • 0 Votes
    1 Posts
    590 Views
    A

    Hello guys,

    Just installed Nodebb to Ubuntu server with Nginx reverse proxy according to the guide (https://docs.nodebb.org/installing/os/ubuntu/).

    But on the homepage, I see only three words: "Categories", "Register", "Login". The problem is that I need to create the admin user but registration is impossible due to username validation error. Under username field I can see:

    A unique username between and characters. Others can mention you with @username.

    And whatever I type, I get:

    Username too long

    I've tried upgrading and rebuilding assets, nothing seems to help.

    No errors seen both in the browser console and in the output of ./nodebb dev

    Thank you in advance for your help!

  • Permissions for a custom page

    2
    0 Votes
    2 Posts
    946 Views
    PitaJP

    I don't think so. This is something to bring up on the plugin's Github page.

  • 0 Votes
    10 Posts
    4k Views
    Valentine SoloV

    @pitaj vestacp has several nginx.conf. As I mentioned I edited "site-specific" config in /home/admin/conf/web where vestacp keeps configs for all hosts, inculding ssl and lets encrypt.
    Maybe you mean global nginx.conf which is located in /etc/nginx ? I did no changes in it.

  • GRIPING about upgrade path

    3
    0 Votes
    3 Posts
    899 Views
    julianJ

    @razr-world said in GRIPING about upgrade path:

    The upgrade path should be changed so that there is a simple upgrade script that we run which will fetch the new code, diff and apply the changes.

    You do realise that you just asked us to rewrite git, right? 😄

    However, in any case, you're under no obligation to use git if you don't feel like it. You can download the tarballs here and copy them directly into the destination folder, overwriting files as necessary... although this is not really a supported upgrade step and I have no clue what could go wrong here.

  • 0 Votes
    6 Posts
    2k Views
    K

    I can confirm that npm downgrading to npm@4 solves this issue.
    Had the same one.. Maybe it's worth to mention it at the release page.

    Thank you @PitaJ

  • 0 Votes
    4 Posts
    1k Views
    julianJ

    @maxpen Glad to hear it! We'll be here if you run into any other trouble with NodeBB.

  • Fresh install of 1.6.0

    Solved
    3
    0 Votes
    3 Posts
    1k Views
    T

    @baris Thank you

  • 0 Votes
    7 Posts
    2k Views
    A

    make sure you have port 80 and/or 443 open on your firewall. I see 80 is open (I get the "Welcome to Nginx" message). So now you need to make a few changes in your nginx config for it to redirect 4567 to your site on 80/443 (http/https), as currently it is set to the nginx page.

    The docs has a config you can use, just make the changes like Pitaj has suggested and for https, you will need a certificate. Lets-Encrypt is free

    **Edit to add: Don't forget to restart nginx to use the new config

  • Admin login forbidden after fresh install

    2
    0 Votes
    2 Posts
    882 Views
    julianJ

    Try using digital ocean instead of open shift as we do not provide support for the latter.

  • 0 Votes
    7 Posts
    1k Views
    F

    It looks to have fixed after a freshly re run of mongorestore.

    Thanks for the support!!