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.
  • NodeBB Crashed after upgrade

    11
    0 Votes
    11 Posts
    2k Views
    D
    Good to hear. Just in case you need it in the future. MongoDB has very good documentation and you can find it here: https://docs.mongodb.com/ Dropping the database would be described here: https://docs.mongodb.com/manual/reference/method/db.dropDatabase/index.html Thus probably would be something along the line of: use nodebb db.dropDatabase()
  • Blocking IP checking

    2
    0 Votes
    2 Posts
    833 Views
    julianJ
    No, as viewing IP addresses are a core part of the moderation experience. Global moderators can access the account info page, and category moderators can view IPs per post in categories they moderate. This is needed to see if particular users are sockpuppets, or other malicious types of users.
  • Cannot install more than one SSO plugin

    3
    0 Votes
    3 Posts
    793 Views
    E
    @pitaj you're right, I've just upgraded to the latest version (v1.10.1) and everything seems fine!
  • Upgrade to 1.10 ip hash taking a long time.

    5
    0 Votes
    5 Posts
    1k Views
    julianJ
    Mmhm, because we noticed it taking a long time we added progress bar support, so you can see that it's doing something We store the IP addresses going back to the installation of the forum, so it's possible that it's no longer needed. One could simply delete the entire ip:recent set with no ill effects... (well, except that you'd no longer have a historical record of recent IP addresses)
  • [Solved] Access to my NodeBB by subdomain

    7
    0 Votes
    7 Posts
    1k Views
    TiiixT
    So, with this configuration, it's ok ! <VirtualHost *:80> ServerName mydomain.com ServerAdmin [email protected] DocumentRoot /var/www/html # Available loglevels: trace8, ..., trace1, debug, info, notice, warn, # error, crit, alert, emerg. # It is also possible to configure the loglevel for particular # modules, e.g. #LogLevel info ssl:warn ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined # For most configuration files from conf-available/, which are # enabled or disabled at a global level, it is possible to # include a line for only one particular virtual host. For example the # following line enables the CGI configuration for this host only # after it has been globally disabled with "a2disconf". #Include conf-available/serve-cgi-bin.conf <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^[^\/]*\/(.*) https://mydomain.com/$1 [R=301,L] </IfModule> RewriteCond %{SERVER_NAME} =mydomain.com RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] </VirtualHost> <VirtualHost *:4567> ServerName subdomain.mydomain.com # Basic security headers Header always set X-Content-Type-Options "nosniff" Header always set X-Xss-Protection "1; mode=block" # NodeBB header RequestHeader set X-Forwarded-Proto "https" # Static file cache <FilesMatch "\.(ico|jpg|jpeg|png|gif|js|css)$"> <IfModule mod_expires.c> ExpiresActive on ExpiresDefault "access plus 14 days" Header set Cache-Control "public" </IfModule> </FilesMatch> ProxyRequests off <Proxy *> Order deny,allow Allow from all </Proxy> # Custom Error Document when NodeBB is offline ProxyPass /error-documents ! ErrorDocument 503 /error-documents/503.html Alias /error-documents path/to/nodebb/public # Websocket passthrough RewriteEngine On RewriteCond %{REQUEST_URI} ^/socket.io [NC] RewriteCond %{QUERY_STRING} transport=websocket [NC] RewriteRule /(.*) ws://localhost:4567/$1 [P,L] ProxyPass / http://localhost:4567/ ProxyPassReverse / http://localhost:4567/ # Log stuff ErrorLog ${APACHE_LOG_DIR}/nodebb-error.log CustomLog ${APACHE_LOG_DIR}/nodebb-access.log combined RewriteCond %{SERVER_NAME} =subdomain.mydomain.com RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] </VirtualHost> The problem is that I had not put 2 different ServerName in the config, so all traffic was redirected and rewritten in HTTPS on the same ServerName : subdomain.mydomain.com
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    28 Views
  • Guest download permission

    5
    0 Votes
    5 Posts
    1k Views
    barisB
    Not right now, feel free to open an issue for it on github page.
  • Only display Directory after nodebb is success install and running

    2
    0 Votes
    2 Posts
    753 Views
    PitaJP
    Your reverse proxy is set up wrong, or not set up at all.
  • How to increase Avatar's dimension?

    2
    1 Votes
    2 Posts
    639 Views
    yariplusY
    Settings => Uploads => Profile Avatars
  • Critical situation (Everything gone!)

    1
    0 Votes
    1 Posts
    557 Views
    M
    NodeBB version: 1.10.0 Database type: mongo Database version: 3.2.11 Hi, we have a critical situation here. In order to increase the speed, We replicated mongodb (master/slave mode; whotout sharding). It increased the speed for a few months But now it seems that the database is missing and all of the users, topics etc. ?? I don't know what cause this problem. Can we find out whether the database is missing or not?
  • Merge Topics Not Working

    2
    0 Votes
    2 Posts
    1k Views
    barisB
    Ahh yeah that's a bit confusing, the merge topic tool can be used between categories, so you should click merge first and then select the topics. The placement seems like a theme/skin issue.
  • Automatic reboot when changing the template

    6
    0 Votes
    6 Posts
    2k Views
    PitaJP
    @butonix if you run ./nodebb build does it show up though?
  • Adding javascript in the footer

    15
    0 Votes
    15 Posts
    3k Views
    T
    @pitaj said in Adding javascript in the footer: Ok have you tried embedding the whole thing in the footer HTML? What is the script and stuff for? Analytics? Are there any alternatives that don't require a script? Yes, it breaks certain part when it is placed in that widget. It's so that when users from other countries click on the link for amazon they get redirected with the US referrer code link embedded their countries amazon store.
  • Menu in Navbar don't know how to remove it

    Solved
    3
    0 Votes
    3 Posts
    946 Views
    M
    @Atayz I did that but sadly not fixed. Had to restore a back-up from 2 days ago. Now it's gone but I miss data from 43 hours sadly (my fault i know)
  • Incomplete Installation - Missing Directories

    12
    0 Votes
    12 Posts
    2k Views
    A
    I changed the permissions and checked, as I said before. I even tried the alternative configuration from the NodeBB scaling guide. That didn't make any difference. There are missing directories and I don't know why. I'll delete NodeBB and move on. Thanks for trying to help guys.
  • 0 Votes
    4 Posts
    1k Views
    barisB
    @hoang6 go in to your nodebb folder, the logs are inside the logs folder, open output.log and paste the last 20-30 lines which should show the crash.
  • Nodebb Running but Blank Page

    5
    0 Votes
    5 Posts
    1k Views
    D
    Please first check the data storage directories of your MongoDB. While doing some crazy tests and more or less intentionally made the MongoDB go crash I found at times that it "forgot" about the available data, even though there were still kind of big files probably with all the data. I don't know how to recover from there but I assume there would be some articles out there in the internet helping you with it. But yeah, mongodump, borg backup, lftp synchronize to remote drive (or similar). Every day. And if you're at it, make sure the backups on your local computer are working as intended as well
  • The Plugins page in the admin panel is not loaded

    1
    0 Votes
    1 Posts
    551 Views
    ButonixB
    http://prntscr.com/jzjkvo at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1186:14), code=ETIMEDOUT, errno=ETIMEDOUT, syscall=connect, address=159.203.9.60, port=443
  • Attaching Persona Theme Mobile Menu to Vanilla Theme

    2
    0 Votes
    2 Posts
    954 Views
    A
    Solution: I've copied the catagories.tpl from Vanilla to Persona, enabling me to use Persona's mobile menu with Vanilla's categories style, both.
  • Mobile Chat Bug

    2
    0 Votes
    2 Posts
    1k Views
    A
    .........Forgot to mention it's Vanilla theme, so the mobile view is unlike Persona. I wish it was , though