Skip to content

Technical Support

Need help with installing or configuring NodeBB? Look here.

4.8k Topics 26.5k 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.
  • I got a error when install

    2
    0 Votes
    2 Posts
    2k Views
    PitaJP
    Hmm looks like sharp isn't installing correctly. If you wanna try out some stuff, here's this: https://sharp.dimens.io/en/stable/install/
  • Restrict User Search Access to Specific Group

    2
    0 Votes
    2 Posts
    474 Views
    barisB
    It is possible on the group page itself, for example if you search users on https://community.nodebb.org/groups/gamers it will only search that groups members. The front end doesn't have that option on /search though.
  • 0 Votes
    3 Posts
    863 Views
    julianJ
    Don't change loader.js. Change your config.json.
  • How i can import JSON database into NodeBB

    Moved
    2
    0 Votes
    2 Posts
    653 Views
    julianJ
    You'll want to build an exporter that will work with nodebb-plugin-import: https://github.com/akhoury/nodebb-plugin-import/blob/master/write-my-own-exporter.md
  • Add Watched Page to Navigation

    3
    0 Votes
    3 Posts
    2k Views
    AlexGA
    That was just what I was looking for. Thanks!
  • Custom Maintenance Page

    4
    0 Votes
    4 Posts
    803 Views
    brian4021B
    thank you
  • Invalid csrf token, have tried multiple solutions without success

    1
    0 Votes
    1 Posts
    956 Views
    J
    I've recently been trying to setup NodeBB on my server, but whenever i try to login or register the POST request returns a 403 forbidden response and NodeBB logs an "invalid csrf token" error. The following software packages are used: NodeBB 1.10.1 MongoDB 3.2.11 Node.js 8.11.4 Debian 9.3 NodeBB itself is a subfolder installation in https://endless-endeavors.theswc.net/forum/. The node server is multi-tenant and works with express.js as a router/reverse proxy. All external http requests are redirected to https, but requests to the nodeBB server are proxied internally over http. Essentially this is the flow for an incoming forum request: main server app -> enforce https, direct request to endless-endeavors.theswc.net directory host/domain app -> Check url, if /forum, proxy to port 4567 over http (or wss if websocket) let nodeBB do its thing. I've been googling and have found quite a few threads, but none of the suggested solutions have worked. things i have tried so far: Check url in config.json: 'https://endless-endeavors.theswc.net/forum/' Make sure cookieDomain is '' in MongoDB Including header 'X-Forwarded-Proto: https' Including header 'X-Forwarded-SSL: on' Including header 'X-Url-Scheme: https' I've also found that in the GET request for the login form, no X-CSRF-Token header is received. The form itself however is populated with a token. Lastly, here are the relevant code snippets: main server app #!/usr/bin/env nodejs // filename: app.js const http = require('http'); const https = require('https'); const fs = require('fs'); const express = require('express'); const vhost = require('vhost'); const app = express(); const sslOptions = { cert: fs.readFileSync('./.sslcert/fullchain.pem'), key: fs.readFileSync('./.sslcert/privkey.pem') } http.createServer(function(req, res) { res.writeHead(301, { "Location": "https://" + req.headers['host'] + req.url }); res.end(); }).listen(80); app .use(require('helmet')()) .use(express.static(__dirname + '/static')) <redacted, other domains> .use(vhost('endless-endeavors.theswc.net', require('./apps/EndlessEndeavors').app)) app.get('/', function (req, res) { res.writeHead(200, {'Content-Type': 'text/plain'}); res.end(''); }); domain app const express = require('express') const app = express(); const http = require('http'); const httpProxy = require('http-proxy'); const proxy = httpProxy.createProxyServer(); app.use('/static',express.static(__dirname + '/static')); app.use('', express.static(__dirname + '/dist/EndlessEndeavors')); app.all('/forum[/]+*', function(req, res){ if(req.url.substr(0,18).indexOf('socket.io')>-1){ console.log('got socket request'); proxy.web(req, res, {target: 'wss://endless-endeavors.theswc.net:4567', ws: true}); } else { res.header('X-Forwarded-Proto','https'); res.header('X-Forwarded-Ssl','on'); res.header('X-Url-Scheme','https'); res.header('Access-Control-Allow-Origin','endless-endeavors.theswc.net'); proxy.web(req, res, {target: 'http://endless-endeavors.theswc.net:4567'}); } }); app.all('/forum$', function(req, res) { res.writeHead(301, { "Location": "https://" + req.headers['host'] + '/forum/' }); res.end(); } ) exports.app = app; nodeBB config.json { "url": "https://endless-endeavors.theswc.net/forum/", "secret": "<redacted>", "database": "mongo", "port": 4567, "mongo": { "host": "127.0.0.1", "port": 27017, "username": "<redacted>", "password": "<redacted>", "database": "<redacted>", "uri": "<redacted>" } } Hopefully this is enough into to help find the cause of the invalid csrf token issue... i have no idea what else could be wrong at this point.
  • Invalid csrf token and Failed login attemp

    3
    0 Votes
    3 Posts
    685 Views
    N
    Yes, it is same. But error is still there.
  • Display of Notifications

    1
    0 Votes
    1 Posts
    391 Views
    AlexGA
    I've got two questions concerning notifications. Is it possible to display more notifications in the "notification window"? This seems to be limited to 15? I know that I can see all on the /notifications page but it would be easier to just see more in the notification window. Is there any possibility to display the category of the topics in the notification (either notification window or notification page)? Or should I put a topic for that in feature requests? Thanks for your help.
  • 0 Votes
    4 Posts
    941 Views
    3
    Everything is working now after fixing Problem 4 and configuring from IP to domain name. I was attempting to get nodebb working on strictly the IP address. However, I was able to get the domain linked by utilizing Custome Resource Records settings of: Name / Type / TTL / DATA @ / A / 1h / xx.xxx.xx.xx * / A / 1h / xx.xxx.xx.xx Then, I simply changed my ip address to the domain and now everything is working perfectly. I am not sure why, though.
  • Making a subdomain with NGINX?

    7
    0 Votes
    7 Posts
    1k Views
    brian4021B
    It worked, thanks for the help @PitaJ
  • Privileges for manage and edit categories

    1
    0 Votes
    1 Posts
    353 Views
    udkreddyU
    How to set privileges for any role to manage and edit the category
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
  • users can't signing any more

    2
    0 Votes
    2 Posts
    619 Views
    julianJ
    https://github.com/NodeBB/NodeBB/issues/6805 ?
  • Remove Picture icon in composer without removing the Upload Image icon

    1
    0 Votes
    1 Posts
    392 Views
    L
    Hi. How would I go about removing the picture icon (red) without removing the upload image icon (blue)? I'm guessing CSS, but what exactly would I target with display: none;? [image: VnGWHDl.png] Thanks in advance!
  • Announcements

    3
    0 Votes
    3 Posts
    448 Views
    PitaJP
    It's just a sidebar widget.
  • Editing Persona Theme

    2
    0 Votes
    2 Posts
    539 Views
    TaLocheT
    In the ACP, just put this in the Custom CSS section .categories-title { display: none; }
  • Can't upgrade nodebb problem

    4
    0 Votes
    4 Posts
    754 Views
    C
    Problem solved. For this topic to be any usefull at all: Run into first problem trying to point and click install 2 nodebb instances( test and the actual) on the same server and obviously, both couldn't listen on the same 4567 port. Second, did the second install from the old docs on readthedocs instead of the official ones from nodebb. Third, forgot to also add php-fpm directives to my Nginx config. And start Mongodb.
  • Cloudflare, ssl ...

    1
    0 Votes
    1 Posts
    526 Views
    J
    Hello, I just try to create a new forum for a gaming community... I love nodebb and it is so fast and easy to configure... sadly I‘ve got problems with cloudflare and ssl... as soon as i activate the cloudflare clouds , my nodebb looses connection... i cant imagine that i need to change something in my conf or Nginx configuration? It‘s the same url, same port.. and also the ssl certificate doesn’t work which is free on cloudflare... do i need to change something in my config files or activate my ssl in the Nginx files? I found a cloudflare tutorial here in the forum but it seems to be outdated, because later in the answers everybody wrote something like cloudflare works now with sockets so there’s nothing to change in the config files ... hope somebody knows what I need to do...
  • Google SSO error - This site can’t be reached

    4
    0 Votes
    4 Posts
    1k Views
    Sea AnsleyS
    OK... removing the port, :4567 - helped with the Google SSO to finally work. just "https://digital.nomadic.cloud" - and it's working fine. I know that during the set up process (tried 5 times previously), ensuring the port here made a difference with making something else work. When I see that bug again, I will post that separately. and.. thank you