Skip to content

Technical Support

Need help with installing or configuring NodeBB? Look here.

4.8k Topics 26.7k 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. [image: youtubelogo.png] Setting up SendGrid mailer for NodeBB
  • NodeBB guides, how-to's and general tips and tricks

    83 Topics
    601 Posts
    Z
    not sure the plugin worked for firefox. saw a-z in the sort icon. when i used it, i expected the topics in the category would be sorted a-z. they werent
  • 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.
  • How to add my own API?

    5
    0 Votes
    5 Posts
    942 Views
    julianJ
    @ape if you're using that hook, the routes are mounted to /api/v3, so the definition you provided would end up being accessible at /api/v3/test123
  • Grunt watch on plugin symlink

    6
    0 Votes
    6 Posts
    590 Views
    P
    @baris That's it! That was the problem, I changes the directory layout to something more familiar to me. To test the solution I created a directory 'public' and saved a 'tmp.js' to it. I started grunt, changed the file and it recognized the change. Thanks for your help!
  • Sidebar Scrollbar similar to Discourse/Flarum

    Unsolved
    1
    0 Votes
    1 Posts
    267 Views
    E
    Hi, I would like to display a scrollbar to the right of topics. NodeBB already has the scrollbar but it's embedded in the pagination block in the bottom right corner. I tried modifying the code in the scrollbar.tpl file (persona template) but it did not work which is not surprising since the code in there is just an HTML container. Any help would be appreciated.
  • Tiny Text-Entry Field

    6
    0 Votes
    6 Posts
    637 Views
    PitaJP
    @waugh have you considered upgrading nodebb to the latest version? I think that will fix your issue
  • Forum works only in dev mode.

    7
    0 Votes
    7 Posts
    782 Views
    gotwfG
    Your vm may have suffered an unclean shutdown. Note "may". In absence of more info, a couple things to try. If you have nodebb set up to be launched via systemd, disable that. And then stop just for good measure and then disable dependencies: systemctl disable nodebb systemctl stop nodebb systemctl disable nginx (sub apache if using apache) systemctl disable mongod (or whatever db backend you're using Then reboot the vm. When it comes back up we're going to restart all that in reverse order, verifying each is up and running before proceeding to next: systemctl status mongod systemctl status nginx systemctl status nodebb Those should now all report "disabled". So let's start them up, verifying each launches w/o error before proceeding to next systemctl start mongod If the startup messages are greek to you or pass by too quickly: systemctl status mongod Should report something very close to this: [root@forums ~]# systemctl status mongod ● mongod.service - MongoDB Database Server Loaded: loaded (/usr/lib/systemd/system/mongod.service; enabled; vendor preset: disabled) Active: active (running) since Fri 2021-03-05 06:57:52 UTC; 1 weeks 6 days ago Docs: https://docs.mongodb.org/manual Process: 457777 ExecStart=/usr/bin/mongod $OPTIONS (code=exited, status=0/SUCCESS) Process: 457762 ExecStartPre=/usr/bin/chmod 0755 /var/run/mongodb (code=exited, status=0/SUCCESS) Process: 457739 ExecStartPre=/usr/bin/chown mongod:mongod /var/run/mongodb (code=exited, status=0/SUCCESS) Process: 457725 ExecStartPre=/usr/bin/mkdir -p /var/run/mongodb (code=exited, status=0/SUCCESS) Main PID: 457824 (mongod) CGroup: /system.slice/mongod.service └─457824 /usr/bin/mongod -f /etc/mongod.conf ‣ 457824 /usr/bin/mongod -f /etc/mongod.conf If that all looks good, try starting nodebb: systemctl start nodebb A status check should look something like this: [root@forums ~]# systemctl status nodebb ● nodebb.service - NodeBB Loaded: loaded (/etc/systemd/system/nodebb.service; enabled; vendor preset: disabled) Active: active (running) since Fri 2021-03-05 06:59:17 UTC; 1 weeks 6 days ago Docs: https://docs.nodebb.org Process: 459055 ExecStart=/usr/bin/env node loader.js (code=exited, status=0/SUCCESS) Main PID: 459071 (node) CGroup: /system.slice/nodebb.service ├─459071 /usr/bin/node /opt/nodebb/loader.js ├─459082 /usr/bin/node /opt/nodebb/app.js If you are getting anything other than "SUCCESS" then stop just be sure: systemctl stop nodebb Then sudo to change to your nodebb user and then go try starting nodebb manually using the "log" flag: cd /where/ever/your/nodebb/lives ./nodebb start -l Then copy/pasta the ensuing spewage so the other gurus in the lurking can deconstruct. Good luck. Once you get this sorted, be sure to re-enable those services else they will not automatically restart after a shutdown/reboot. systemctl enable mongod systemctl enable nginx systemctl enable nodebb I'd even then reboot after that just to be sure all comes back up as expected. Yeah, this is not issue specific but when dealing with unknown glitches it is nice to rule out some low hanging fruit to help isolate.
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    5 Views
  • 0 Votes
    7 Posts
    1k Views
    Nubi KRN
    @pitaj Currently I have problem with google search console.(Couldn't fetch sitemap) → problem with sitemap So I was testing my website with some google tools(testing url in search console, PageSpeed Insights, ...) and search console show error with those files. Just tried to solve my sitemap problem... Still, the problem has not been solved
  • problem with sitemap

    Unsolved
    11
    0 Votes
    11 Posts
    1k Views
    Nubi KRN
    @dunlix I think it is google's problem https://support.google.com/webmasters/thread/2790050?hl=en just same as my case. answer in this link said Your sitemap can be processed by google ranging from 24 hours to 24 days (even 1 month + in some rare case)
  • problem with email verification

    9
    0 Votes
    9 Posts
    1k Views
    gotwfG
    In the event you missed them, I took a couple stabs at some email tutorials. The intent was to provide enough understanding to get you pointed in the right directions rather than get 'er done copy/pasta recipes. Hence, they may or may not be the droids you're looking for: Read first: https://community.nodebb.org/topic/15072/nodebb-email-options Read second: https://community.nodebb.org/topic/15077/nodebb-email-postfix-null-client
  • Setting up a development environment for designing themes

    Moved
    9
    0 Votes
    9 Posts
    2k Views
    AryaA
    @pitaj I meant on a production environment. Thanks though
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    17 Views
  • Welcome email does not have the email footer

    1
    1 Votes
    1 Posts
    247 Views
    N
    Welcome email template doesn't append the email footer that has unsubscribe button. Digest email template are working fine with email footer. Does anyone face the same issue?
  • Heroku setup error "NodeBB could not connect to your PostgreSQL database"

    19
    0 Votes
    19 Posts
    2k Views
    N
    @julian Thanks for the invitation to contribute. Is there something i should consider regarding the issue / pull request - markup, document structure,...?
  • Cannot connect to MongoDB with SSL

    1
    1 Votes
    1 Posts
    273 Views
    M
    NodeBB version: 1.16.2 NodeBB git hash: 023e4cfcee208a0bae121a6e343a8c53009fd090 NodeJS version: v15.11.0. Installed NodeBB Plugins: No Database type: mongo Database version: v4.4.4 Exact steps to cause this issue: "mongo": { "host": "nodebb-shard-xx-xx.xxxxx.mongodb.net", "port": "27017", "username": "nodebb", "password": "nodebb", "database": "nodebb", "url": "mongodb://nodebb:#[email protected]:27017/nodebb?ssl=true&authSource=admin" }, node app --setup What happened instead: Now configuring mongo database: 2021-03-12T17:06:56.884Z [18868] - warn: NodeBB Setup Aborted. MongoServerSelectionError: connection <monitor> to 168.63.xxx.xxx:27017 closed at Timeout._onTimeout (C:\Codes\NodeBB\node_modules\mongodb\lib\core\sdam\topology.js:438:30) at listOnTimeout (node:internal/timers:557:17) at processTimers (node:internal/timers:500:7)
  • This topic is deleted!

    6
    0 Votes
    6 Posts
    171 Views
  • How to persist docker

    1
    0 Votes
    1 Posts
    275 Views
    M
    I plan to use docker to run nodebb, but I don't know how to persist. please help me. image : https://hub.docker.com/r/nodebb/docker
  • How to prevent mobile side menu reacting on geasture? theme-persona

    Moved Solved
    3
    1 Votes
    3 Posts
    894 Views
    dogsD
    @pitaj Thank you so much! That worked.
  • Creating a post-only category

    2
    0 Votes
    2 Posts
    366 Views
    julianJ
    Hi @mcmdev -- I made something that does this: https://github.com/julianlam/nodebb-plugin-support-forum Let me know if you run into issues with this plugin, as it is quite old.
  • help 安装出错,帮我看看

    6
    0 Votes
    6 Posts
    983 Views
    PitaJP
    @pitaj try npm install --production
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views