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.

  • 0 Votes
    6 Posts
    4k Views
    Pramvir RatheeP

    @julian
    it persists even after disabling it
    Yes the problem was with plugin, but my data did not got imported completly, after 57k topics now its impoting only 1 topic in 1 minute. What should i do now ?

  • NodeBB Install on DigitalOcean Not Working

    8
    0 Votes
    8 Posts
    4k Views
    I

    @Arindam-sarkar remember: you need open firewall config for default nodebb port

    favicon

    (nodebb.readthedocs.io)

    Assuming you kept the default port setting, you need to allow it through the firewall.
    firewall-cmd --zone=public --add-port=4567/tcp --permanent
    firewall-cmd --reload

  • Live editing - themes and templates?

    11
    0 Votes
    11 Posts
    4k Views
    TaLocheT

    @julian thanks that's good to know.
    I'll do as @pichalite recommended and fork the theme then.
    Thanks!

  • Domain issues?

    5
    0 Votes
    5 Posts
    2k Views
    T

    @Velocification said in Domain issues?:

    I am using A records but now i get this: http://i.imgur.com/4NAZDE7.png Am i doing it right?

    A 503 indicates that you are reaching the webpage properly, and the server is reporting an error. Try restarting the server/services to see if that helps.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    15 Views
  • Issue domain name

    4
    0 Votes
    4 Posts
    2k Views
    ZerGabrielZ

    Thank you all for the help, did.

    Debian GNU/Linux Jessie:

    sudo service nginx stop

    Code:

    server {
    listen 80;

    server_name forum.mydomainname.ru; location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_pass http://127.0.0.1:4567/; proxy_redirect off; # Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; }

    }

    You need to paste the code in:
    /etc/nginx/sites-enabled/default

    sudo service nginx start

  • Can't create new posts, reply to topics.

    Unsolved
    7
    1 Votes
    7 Posts
    3k Views
    PitaJP

    @ciber96 can you try:

    ./nodebb stop ./nodebb build ./nodebb dev

    In your terminal and see if that helps?

  • This post is deleted!

    14
    1 Votes
    14 Posts
    5k Views
    T

    @jarey This fixed the issue! Thanks.

  • 0 Votes
    28 Posts
    14k Views
    J

    @Pramvir-Rathee here is my current Nginx config for the site.

    server { client_max_body_size 40M; listen 443 ssl; server_name community.bundystl.com; ssl on; ssl_certificate /etc/letsencrypt/live/bundystl.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/bundystl.com/privkey.pem; ssl_stapling on; ssl_stapling_verify on; ssl_protocols TLSv1.2 TLSv1.1 TLSv1; ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH'; ssl_prefer_server_ciphers on; ssl_session_cache shared:SSL:10m; ssl_dhparam /etc/ssl/certs/dhparam.pem; add_header Strict-Transport-Security "max-age=31536000; includeSubdomains"; location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_pass http://10.254.0.35:4567; proxy_redirect off; # Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } } server { client_max_body_size 40M; listen 80; server_name community.bundystl.com; rewrite ^ https://$server_name$request_uri? permanent; }
  • bug report ADMIN CP -> Advance -> Database

    3
    0 Votes
    3 Posts
    1k Views
    julianJ

    Thanks @dwatley for your insight 😄

  • 0 Votes
    6 Posts
    3k Views
    julianJ

    and this port then sends this to docker with port 4567. I have no nginx involved anywhere. How can I make login work in my case?

    I'm not familiar with Docker, but something is acting as reverse proxy. You'll have to figure out what it is, and add that header in appropriately.

  • Deleting null posts on DB

    2
    0 Votes
    2 Posts
    1k Views
    E

    Uppppppp

  • Assigning user group after registration

    3
    0 Votes
    3 Posts
    2k Views
    M

    I must've missed 'Default user settings' part. Thanks!

  • Group posts limit or auto scroll

    1
    0 Votes
    1 Posts
    770 Views
    T

    Currently it looks like the groups only load 10 posts and that is it, is there anyway to turn on auto scroll or at least increase this limit?

    Thanks

    Ted

  • How to install and setup NodeBB?

    5
    0 Votes
    5 Posts
    4k Views
    H

    @Waqass-Khalid

    As of date is it the only option available? shared hosting still not possible?

    Not unless the shared hosting provider gives you some command line access and will let you install nodejs, and run several npm commands. Plus they have to have MongoDB or Redis access for database. 😛 Most shared hosting providers don't have the software necessary for running nodebb, and they won't let you install it.

  • site logo not uploading to /uploads/system

    6
    0 Votes
    6 Posts
    2k Views
    T

    @julian said in site logo not uploading to /uploads/system:

    Agreed, that sounds like a prudent course of action.

    Done:
    https://github.com/barisusakli/nodebb-plugin-imgur/issues/29

  • 3 Votes
    1 Posts
    1k Views
    Pramvir RatheeP

    I want to browse two tags topics in one page, which url should i put ?
    For example tags are

    anatomy surgery
    Now we know we can separately browse two with following urs /tags/anatomy
    and /tags/surgery
    But i want to filter the topics with both tags
    i tried something like /tags/anatomy+surgery
    */tags/anatomy&surgery
    but none of them work.
    is there anyway i can filter topics with two or more tags ?
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    57 Views
  • Issue with Admin Panel since upgrade to 1.4.2

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    M

    @PitaJ @priapo thanks for the support 🙂 Technical assistance helped me because i dont have access to the apache config.

  • 0 Votes
    2 Posts
    2k Views
    P

    It was solved; here is my working Apache's nodebb.conf:

    <VirtualHost *:80> ServerName thewizards.club Redirect permanent / https://thewizards.club </VirtualHost> <VirtualHost *:443> ServerName thewizards.club SSLEngine on SSLProtocol all -SSLv2 SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM SSLCertificateFile /etc/apache2/ssl/thewizards-club/2_thewizards.club.crt SSLCertificateKeyFile /etc/apache2/ssl/server.key.insecure SSLCertificateChainFile /etc/apache2/ssl/thewizards-club/1_root_bundle.crt # ServerAdmin webmaster@localhost <Proxy *> Require all granted </Proxy> ProxyRequests off #ProxyVia on AllowEncodedSlashes On #ProxyPreserveHost on RequestHeader set X-Forwarded-Proto "https" RewriteEngine On RewriteCond %{REQUEST_URI} ^/socket.io [NC] RewriteCond %{QUERY_STRING} transport=websocket [NC] RewriteRule /(.*) ws://127.0.0.1:4567/$1 [P,NE,L] # NE flag == noescape ProxyPass /socket.io http://127.0.0.1:4567/socket.io nocanon retry=0 ProxyPassReverse /socket.io http://127.0.0.1:4567/socket.io ProxyPass / http://127.0.0.1:4567/ nocanon retry=0 ProxyPassReverse / http://127.0.0.1:4567/ ErrorLog /home/web/logs/apache/forum-error.log CustomLog /home/web/logs/apache/forum-access.log combined </VirtualHost>

    It was fixed it based on these resources:

    Link Preview Image Apache ProxyPassReverse escaping special characters

    I have this very simple reverse proxy rule in Apache 2.2.19: ProxyPass /test http://other.local.machine/test ProxyPassReverse /test http://other.local.machine/test The problem is...

    favicon

    Server Fault (serverfault.com)

    Link Preview Image can't get mod_proxy to correctly forward encoded slash (/) characters (%2f)

    I have a virtual host set up to redirect ntung-gitblit.localhost --> myserver:1279. However, it's not working with forward encoded slashes (%2f). The URL I'm trying to access is, http://ntung-gitb...

    favicon

    Server Fault (serverfault.com)