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.

  • Install with Postgres Database

    1
    3 Votes
    1 Posts
    506 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
    3k 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
    817 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
    406 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
    919 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
  • 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 .

  • Redis Q's about WP Integration

    3
    0 Votes
    3 Posts
    600 Views
    S

    Despite the lack of advice here, I decided to try to add the following:

    hset user:2 groupTitle administrators

    ...which gives a user that appears that it should be an admin, but when I login, that user is not an admin.

    ideas?

  • Custom Pages Plugin after Upgrade

    7
    0 Votes
    7 Posts
    1k Views
    JenklerJ

    @alfazaz said in Custom Pages Plugin after Upgrade:

    1.10.1

    Works fine with version 1.10.1 🙂

  • NodeBB Scaling makes Mongodb Dead

    3
    0 Votes
    3 Posts
    776 Views
    DkD

    @baris only get this
    Aug 28 16:39:27 hostname mongod[7590]: 2018-08-28T16:39:27.604+0800 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'

    # free -m total used free shared buff/cache available Mem: 1735 1296 102 3 336 231 Swap: 1019 287 731 #/etc/mongod.conf storage: dbPath: /var/lib/mongodb journal: enabled: true systemLog: destination: file logAppend: true path: /var/log/mongodb/mongod.log net: port: 27017 bindIp: 127.0.0.1 processManagement: timeZoneInfo: /usr/share/zoneinfo security: authorization: enabled
  • does nodebb support Openlitespeed

    1
    0 Votes
    1 Posts
    486 Views
    V

    does nodebb support Openlitespeed ? I cannot figure out how to configure it or is there a document available for it ?.

  • NodeBB not couldn't start without sudo!?

    5
    0 Votes
    5 Posts
    958 Views
    JenklerJ

    It does not need sudo to connect to a db server. But the error says that it cant connet too the db 🙂 Something else must be wrong here!

  • 0 Votes
    1 Posts
    392 Views
    JenklerJ

    Don't know why but we get this!

    He has åäö in his name, and using Google SSO to login!

    0_1535280013855_google-auth-error.jpeg

    Something we can troubleshoot!

  • No connection to database(propably).

    5
    0 Votes
    5 Posts
    1k Views
    J

    This may help BUT!!!! it will erase your database:
    If you remove config.json - I believe nodebb will create a new one, and will initialize the forum from scratch.

    Kindly note, I am a user like you, not part of the dev team so my knowledge is limited. I may be wrong, but I actually think this trick will work.

    Good luck!
    JJ

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
  • Make a chat room "read only" for certain users

    3
    0 Votes
    3 Posts
    654 Views
    J

    Thank you @julian . I never heard of that. I'll go do some research.
    JJ.