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.
  • Undo reputations

    7
    0 Votes
    7 Posts
    1k Views
    julianJ
    You can recalculate the reputations by using this user script. We do not guarantee the effectiveness of our scripts, and you run them at your own risk. Always back up your database before running them. Place this in a new file in your NodeBB's root directory, and then run it with node executable: 'use strict'; /* globals require, console, process */ var nconf = require('nconf'); var async = require('async'); nconf.file({ file: 'config.json', }); var db = require('./src/database'); db.init((err) => { if (err) { console.log('Error:', err.message); process.exit(1); } var batch = require('./src/batch'); var posts = require('./src/posts'); var user = require('./src/user'); batch.processSortedSet('users:joindate', (uids, next) => { async.each(uids, (uid, next) => { // Find all posts by this uid and tally up their reputation async.waterfall([ async.apply(db.getSortedSetRange, 'uid:' + uid + ':posts', 0, -1), (pids, next) => { async.map(pids, (pid, next) => { posts.getPostFields(pid, ['upvotes', 'downvotes'], next); }, next); }, (data, next) => { // Collate result set let reputation = 0; if (data.length) { data.forEach((set) => { reputation += parseInt(set.upvotes, 10) || 0; reputation -= parseInt(set.downvotes, 10) || 0; }); } process.nextTick(next, null, { uid: uid, rep: reputation, }); }, (data, next) => { console.log('Resetting reputation for uid', data.uid, 'to', data.rep); user.setUserField('user:' + data.uid, 'reputation', parseInt(data.rep, 10) || 0, next); }, ], next); }, next); }, {}, function (err) { if (err) { console.log('Error:', err.message); } process.exit(0); }); });
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
  • [SOLVED] Edit profile; losed fields

    11
    0 Votes
    11 Posts
    2k Views
    ramon lopezR
    @baris thank you
  • Image Uploads

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    ramon lopezR
    Same problem here: https://community.nodebb.org/topic/12785/edit-profile-image-button-didnt-appears
  • what do I have to write in these fields

    1
    0 Votes
    1 Posts
    456 Views
    B
    hi guys, I want to know how do I have to complete these: RL used to access this NodeBB (http://localhost:4567) : ¿my domain or my droplet ip? ¿which port? Host IP or address of your MongoDB instance (127.0.0.1): ¿my droplet ip? Host port of your MongoDB instance (27017): ¿and here? ps. I have an ubuntu droplet in digital ocean + domain.
  • Widgets not getting container html applied

    5
    0 Votes
    5 Posts
    815 Views
    barisB
    It was a bug that was fixed here I believe https://github.com/NodeBB/NodeBB/commit/ea2bd33bfa10564591f2d8ca69bd5cd7d252ee1d, it will be released in 1.10.2
  • LetsEncrypt HTTPS w/ NodeBB Forum

    7
    0 Votes
    7 Posts
    2k Views
    yariplusY
    It's common to have many server blocks. I have a ridiculous amount in mine.
  • Error When trying to change the username for a user as an admin

    Solved
    4
    0 Votes
    4 Posts
    828 Views
    K
    I was running 1.7.x upgrading to 1.10.x fixed it. Thanks.
  • NodeBB API requests: CORS problems

    3
    0 Votes
    3 Posts
    899 Views
    EastrallE
    Thank you for your answer. I have configured the CORS headers on my reverse proxy (nginx) and it works well now. Thank you!
  • Install with Postgres Database

    1
    3 Votes
    1 Posts
    542 Views
    S
    Are there any instructions available for installing NodeBB with a Postgress database?
  • How to install letsencrypt on nodebb?

    6
    1 Votes
    6 Posts
    4k Views
    0
    @julian said in How to install letsencrypt on nodebb?: Wow, I've been wanting to develop a LetsEncrypt plugin for NodeBB for quite some time so if there is one now I will definitely take a look soon @julian julian please develop a LetsEncrypt plugin for NodeBB, it will solve lots of problems. Thanks man.
  • MongoDB 4.x supported ?

    3
    0 Votes
    3 Posts
    874 Views
    0xA4B160
    2018-09-09T10:11:48.922Z [9648] - info: NodeBB is now listening on: 127.0.0.1:4569 2018-09-09T10:16:43.603Z [11388] - error: MongoError: cursor id 27285299524 not found at X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:598:61 at authenticateStragglers (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:516:16) at Connection.messageHandler (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:552:5) at emitMessageHandler (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\connection.js:309:10) at Socket.<anonymous> (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\connection.js:452:17) at Socket.emit (events.js:182:13) at addChunk (_stream_readable.js:283:12) at readableAddChunk (_stream_readable.js:264:11) at Socket.Readable.push (_stream_readable.js:219:10) at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17) 2018-09-09T10:16:43.603Z [11388] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised. 2018-09-09T10:16:43.605Z [11388] - info: [app] Web server closed to connections. 2018-09-09T10:16:43.606Z [11388] - info: [app] Database connection closed. 2018-09-09T10:16:43.606Z [11388] - info: [app] Shutdown complete. 2018-09-09T10:16:43.621Z [5504] - error: MongoError: cursor id 28811112366 not found at X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:598:61 at authenticateStragglers (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:516:16) at Connection.messageHandler (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:552:5) at emitMessageHandler (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\connection.js:309:10) at Socket.<anonymous> (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\connection.js:452:17) at Socket.emit (events.js:182:13) at addChunk (_stream_readable.js:283:12) at readableAddChunk (_stream_readable.js:264:11) at Socket.Readable.push (_stream_readable.js:219:10) at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17) 2018-09-09T10:16:43.625Z [5504] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised. 2018-09-09T10:16:43.627Z [5504] - info: [app] Web server closed to connections. 2018-09-09T10:16:43.632Z [5504] - info: [app] Database connection closed. 2018-09-09T10:16:43.632Z [5504] - info: [app] Shutdown complete. [cluster] Child Process (11388) has exited (code: 1, signal: null) [cluster] Spinning up another process... [cluster] Child Process (5504) has exited (code: 1, signal: null) [cluster] Spinning up another process... 2018-09-09T10:16:43.723Z [9648] - error: MongoError: cursor id 28796318791 not found at X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:598:61 at authenticateStragglers (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:516:16) at Connection.messageHandler (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:552:5) at emitMessageHandler (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\connection.js:309:10) at Socket.<anonymous> (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\connection.js:452:17) at Socket.emit (events.js:182:13) at addChunk (_stream_readable.js:283:12) at readableAddChunk (_stream_readable.js:264:11) at Socket.Readable.push (_stream_readable.js:219:10) at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17) 2018-09-09T10:16:43.724Z [9648] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised. 2018-09-09T10:16:43.732Z [9648] - info: [app] Web server closed to connections. 2018-09-09T10:16:43.734Z [9648] - info: [app] Database connection closed. 2018-09-09T10:16:43.734Z [9648] - info: [app] Shutdown complete. [cluster] Child Process (9648) has exited (code: 1, signal: null) [cluster] Spinning up another process... 2018-09-09T10:16:44.114Z [9396] - error: MongoError: cursor id 28075153536 not found at X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:598:61 at authenticateStragglers (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:516:16) at Connection.messageHandler (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:552:5) at emitMessageHandler (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\connection.js:309:10) at Socket.<anonymous> (X:\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\connection\connection.js:452:17) at Socket.emit (events.js:182:13) at addChunk (_stream_readable.js:283:12) at readableAddChunk (_stream_readable.js:264:11) at Socket.Readable.push (_stream_readable.js:219:10) at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17) 2018-09-09T10:16:44.114Z [9396] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised. 2018-09-09T10:16:44.115Z [9396] - info: [app] Web server closed to connections. 2018-09-09T10:16:44.118Z [9396] - info: [app] Database connection closed. 2018-09-09T10:16:44.118Z [9396] - info: [app] Shutdown complete. [cluster] Child Process (9396) has exited (code: 1, signal: null) [cluster] Spinning up another process... 2018-09-09T10:16:45.087Z [12300] - info: Initializing NodeBB v1.10.1 https://beep.com/forum 2
  • Hide thread from other users but the author

    1
    0 Votes
    1 Posts
    440 Views
    C
    Hello, i would like to make special category when everyone can make thread - but only author of a thread can watch it and edit it, hide it from other users. Is it possible somehow to do? Closest way to this i was when i changed permissions, i disabled access to threads but enabled ability to create threads, but then nobody can see them obviously soo...is theres any way to do this?
  • How to change date format in email subject

    2
    0 Votes
    2 Posts
    952 Views
    J
    Same issue. Any updates?
  • 0 Votes
    4 Posts
    1k Views
    P
    Never mind I was accidentally using the $ sign LOL. Was a long night.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
  • Adding "See all chats" for Persona on mobile

    Moved
    5
    0 Votes
    5 Posts
    1k Views
    thomas.picklesT
    Been offline for a bit but it looks like this has been addressed. This has been fixed by @julian in commit d33d965 to nodebb-theme-persona and commit 9d202d9 to nodebb. Thanks Julian!
  • Problem in Email verification

    22
    0 Votes
    22 Posts
    3k Views
    PitaJP
    @abhinov-singh if you select Gmail in the service list, the custom service fields will disappear because those settings no longer apply. All you then need to do is put the Gmail username and password into the two fields. You already have a Gmail username and password in those fields in the screenshot, so I'm unsure where the confusion is.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
  • NodeBB installation on a web host using cPanel

    3
    0 Votes
    3 Posts
    1k Views
    A
    You have to use and download putty where you will write commands to interact with cpanel folders and then you can run and install nodebb .