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.
  • using loggedInUser in "/categories"

    2
    0 Votes
    2 Posts
    465 Views
    barisB
    Do this for the filter:categories.build hook as well
  • Nginx Pagespeed configuration

    1
    0 Votes
    1 Posts
    284 Views
    R
    is it a good idea to use nginx pagespeed module. If possible, then can you please share your experience? How to install nginx pagespeed module on existing centos 7 server? Which configuration shall i put in nginx.conf file? Thanks in adavance
  • Help upgrading

    6
    0 Votes
    6 Posts
    816 Views
    PitaJP
    You have managed to mess up the file permissions in the NodeBB directory. You should always execute ./nodebb, npm, and git commands under the same unprivileged user, which means no sudo. You will need to recursively chown the nodebb directory back over to whatever unprivileged user should own it. What upgrade instructions are you trying to follow?
  • Set up NodeBB with AWS

    2
    0 Votes
    2 Posts
    496 Views
    gotwfG
    Not AWS specific but maybe this is what you're looking for? Should be able to get you there. Hell's bells... No clue why that link a'la old school markdown syntax is broken. Try this: https://docs.nodebb.org/installing/os/ubuntu/
  • Nginx Best Practices Directory and Location Configs

    1
    0 Votes
    1 Posts
    303 Views
    gotwfG
    Not an nginx guru so please bear with me here. For simplicity sake let's assume site lives at forums.example.com rather than a example.com/forums subfolder. Unless specified otherwise, nginx root dir is /usr/share/nginx/html Nodebb nginx configuration docs utilize this when describing setting up a custom error page. Nginx is being used exclusively as reverse proxy and not serving any additional sites. I think I read somewhere that under such configuration an explicit default server docroot should not be specified? But even in such cases I think the hard coded default /usr/share/nginx/html still serves up 50x.html error page. In absence of a custom error page, nodebb uses nodebb/public/503.html? Nginx has been configured for scaling. Nginx Pitfalls and Common Mistakes documentation suggest putting doc root inside a location block is bad practice even though it will work. Soo... now my question... taking all of above into consideration.. what is proper/correct best practice configuration for a "scaled" nginx nodebb deployment? I know what "could" work. I am curious what "should" be recommended best practice. (Yeah, I know I already posted this in a different thread but it was a mistake at the time not to have started a new thread because this is pretty specific w.r.t. best practices configuration rather than "why isn't my stuff isn't working" question. Apologies for that.)
  • Recent card, display multiple category ?

    1
    0 Votes
    1 Posts
    288 Views
    C
    We use recent card, but IFAK we succeed to show either all categories or only one category, but not the #1 and #2 (etc.) categories. We have multiple announcement categories and we would like to display them at the top on the category pages but in unique one "recent card" widget, and not multiple ones. I searched but I didn't succeed to find how to do this.
  • custom mongodb/and apis

    2
    0 Votes
    2 Posts
    462 Views
    S
    @rozi98 said in custom mongodb/and apis: i want nodebb use mywebsite userdb - Use it? In what way?
  • (Question) How to install NodeBB on Plesk VPS ?

    4
    0 Votes
    4 Posts
    859 Views
    S
    @Rootzilla how is your project coming along?
  • Moderator Permissions

    5
    0 Votes
    5 Posts
    726 Views
    oplik0O
    It is actually planned: https://github.com/NodeBB/NodeBB/issues/5736 Two of the permissions that are supposed to be split are Global account info access and Global user sessions access. Unfortunately, there seems to be no ETA, and the issue is from 2017, so it might take some time before it's added... But there is hope
  • Nodebb start not work

    18
    0 Votes
    18 Posts
    2k Views
    PitaJP
    @sanatisharif Please try to answer all of the questions I ask, or at least address them Including all of your answers in a single reply improves the flow of the topic Quote the actual question you're replying to, not the whole post Include as many details as possible. For instance, what was the output of the git reset command?
  • Recent card plugin, display multiple categories ?

    Unsolved
    1
    0 Votes
    1 Posts
    337 Views
    C
    I would like to know if it is possible to display multiple specific categories. For example, if I would like to display only categories #1 and #2 but not the others, how I could do that ?
  • Heroku Boot Crash

    2
    0 Votes
    2 Posts
    327 Views
    Zachary.MurphyZ
    I found some information within stackoverflow. That I am going to attempt. StackOverFlow says this: The post is located here: It looks like a R10 Error Boot Timeout. The error occurs due to the application unable to reach an external resource, like a database. I would double check your DB connection because this error is likely due to an improperly configured database connection. Did you provision a database connection using Heroku's Add-on's? If not, you will have to provision a database to fix the error. mLab is a free option but there are many others. I'll try to walk you through an example of how to do this. Navigate to your Heroku app's dashboard. Click on Resources. In the add-on search box, type in the database service you'd like to provision. If you choose mLab, it will take you to the mLab GUI. Your URI connection string is at the top of the screen. (You want to choose the one labeled "Driver". ) Click on the 'add a user' tab at the center-bottom part of the screen. Add a username and password. Save. After that, copy the URI connection string above, then navigate back to your dashboard. Click on Settings, reveal config vars. Now paste the URI connection string in the text box, then add in your newly created user credentials to replace the <username> and <password> fields. Copy the config variable MONGODB_URI. Next, on your command line, set or export the MONGODB_URI environment variable. Finally, in your application, navigate to where you start your server, then replace the connection to your local host's database with the MONGODB_URI e.g. process.env.MONGODB_URI. Next, Add, commit, push to master then to Heroku. The R10 error should be gone. If it's not, see the links below. EDIT: This didn't seem to work.
  • Themes not showing, admin side

    10
    0 Votes
    10 Posts
    886 Views
    PitaJP
    @qwerty yes, after running ./nodebb stop, NodeBB should not be running. What did you try? Does it work when running with ./nodebb dev?
  • Changing the order of multiple badges

    3
    0 Votes
    3 Posts
    506 Views
    barisB
    Probably on nodebb tracker.
  • Nodebb only starts in dev mode on live forum

    1
    0 Votes
    1 Posts
    574 Views
    William RobinW
    Hey there! I have a nodebb instance i've been customizing through theming and plugins. I recently came across an issue that has prevented me from running ./nodebb start Clustering enabled: Spinning up 4 process(es). 2019-07-22T06:23:35.139Z [4567/15633] - info: Initializing NodeBB v1.12.2 https://kratomwatchdog.com 2019-07-22T06:23:35.431Z [4567/15633] - error: NodeBB could not connect to your Mongo database. Mongo returned the following errorconnect ECONNREFUSED 127.0.0.1:27017 {"name":"MongoNetworkError","errorLabels":["TransientTransactionError"],"stack":"MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017\n at Socket.err (/home/ubuntu/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connect.js:287:16)\n at Object.onceWrapper (events.js:315:30)\n at emitOne (events.js:116:13)\n at Socket.emit (events.js:211:7)\n at emitErrorNT (internal/streams/destroy.js:66:8)\n at _combinedTickCallback (internal/process/next_tick.js:139:11)\n at process._tickCallback (internal/process/next_tick.js:181:9)"} 2019-07-22T06:23:35.443Z [4567/15633] - error: connect ECONNREFUSED 127.0.0.1:27017 {"name":"MongoNetworkError","errorLabels":["TransientTransactionError"]} 2019-07-22T06:23:35.446Z [4568/15638] - error: NodeBB could not connect to your Mongo database. Mongo returned the following errorconnect ECONNREFUSED 127.0.0.1:27017 {"name":"MongoNetworkError","errorLabels":["TransientTransactionError"],"stack":"MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017\n at Socket.err (/home/ubuntu/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connect.js:287:16)\n at Object.onceWrapper (events.js:315:30)\n at emitOne (events.js:116:13)\n at Socket.emit (events.js:211:7)\n at emitErrorNT (internal/streams/destroy.js:66:8)\n at _combinedTickCallback (internal/process/next_tick.js:139:11)\n at process._tickCallback (internal/process/next_tick.js:181:9)"} 2019-07-22T06:23:35.448Z [4568/15638] - error: connect ECONNREFUSED 127.0.0.1:27017 {"name":"MongoNetworkError","errorLabels":["TransientTransactionError"]} 2019-07-22T06:23:35.449Z [4569/15640] - error: NodeBB could not connect to your Mongo database. Mongo returned the following errorconnect ECONNREFUSED 127.0.0.1:27017 {"name":"MongoNetworkError","errorLabels":["TransientTransactionError"],"stack":"MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017\n at Socket.err (/home/ubuntu/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connect.js:287:16)\n at Object.onceWrapper (events.js:315:30)\n at emitOne (events.js:116:13)\n at Socket.emit (events.js:211:7)\n at emitErrorNT (internal/streams/destroy.js:66:8)\n at _combinedTickCallback (internal/process/next_tick.js:139:11)\n at process._tickCallback (internal/process/next_tick.js:181:9)"} [cluster] Child Process (15633) has exited (code: 0, signal: null) 2019-07-22T06:23:35.454Z [4569/15640] - error: connect ECONNREFUSED 127.0.0.1:27017 {"name":"MongoNetworkError","errorLabels":["TransientTransactionError"]} [cluster] Child Process (15638) has exited (code: 0, signal: null) [cluster] Child Process (15640) has exited (code: 0, signal: null) 2019-07-22T06:23:35.462Z [4570/15645] - error: NodeBB could not connect to your Mongo database. Mongo returned the following errorconnect ECONNREFUSED 127.0.0.1:27017 {"name":"MongoNetworkError","errorLabels":["TransientTransactionError"],"stack":"MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017\n at Socket.err (/home/ubuntu/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connect.js:287:16)\n at Object.onceWrapper (events.js:315:30)\n at emitOne (events.js:116:13)\n at Socket.emit (events.js:211:7)\n at emitErrorNT (internal/streams/destroy.js:66:8)\n at _combinedTickCallback (internal/process/next_tick.js:139:11)\n at process._tickCallback (internal/process/next_tick.js:181:9)"} 2019-07-22T06:23:35.464Z [4570/15645] - error: connect ECONNREFUSED 127.0.0.1:27017 {"name":"MongoNetworkError","errorLabels":["TransientTransactionError"]} [cluster] Child Process (15645) has exited (code: 0, signal: null) I am able to run nodebb in dev mode, and have had to run it in a screens session to keep the forum online until i'm able to resolve the issue.
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    8 Views
  • How do I change the colour of the site title?

    9
    0 Votes
    9 Posts
    1k Views
    D
    @PitaJ Actually never mind, I just changed the color of the entire bar instead of trying to figure what the text color was! You can delete this thread. Although I still think you should add in the next version to ability to change all colors using color selectors in the control panel, as it does not make sense to have some but not others.
  • Creating the nginx file

    6
    0 Votes
    6 Posts
    709 Views
    gotwfG
    @qwerty Are you freakin' serious or punking us? If basics such as this are beyond you then you have absolutely no business deploying server based anything on the Internet. Much less a juicy target for crackers like a forum. Seriously irresponsible. Your name/reputation will be crap once your site is cracked and your users forever hate you. If this sounds harsh, it is because it is meant to. Moderator was being polite. That said: ESC : wq! Return/Enter Good luck!
  • Move MongoDB to clean NodeBB

    Solved
    1
    0 Votes
    1 Posts
    486 Views
    M
    Hello, I'm hosting my NodeBB on Digital Ocean and I want to move everything to an other database. We use MongoDB and we have a few problems. We don't know the MongoDB admin password/username. Do you know a way to do this or is there a plugin that makes this easier to do? Any help/advice is welcome and are there things we should do and don't do?
  • Removing All categories

    1
    0 Votes
    1 Posts
    332 Views
    emresE
    Hello folks, I want to have hackernews-like interface for topic screen. Is there a way to disable all the categories system completely? When I disable all categories users can t open new topic anymore. When I left only one topic and put everything in users still have to select category while open new topics. Any idea?