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
    4 Posts
    2k Views
    ArcticRaz0rA

    UPDATE:

    The solution I've found for this problem is to run the following command inside the NodeBB installation folder

    git cherry-pick 1f3fa3a90f5fc02b3b2dc950b3a340c361206cef

    Doing so automatically merges the fixing commit without any further problems, making the Admin panel usable instantly after a NodeBB restart 🙂

  • 0 Votes
    12 Posts
    5k Views
    F

    @rod haha, appreciate your help and comments.

  • Using NodeBB with AngularJS

    Unsolved
    3
    1 Votes
    3 Posts
    2k Views
    yariplusY

    Some others have asked about it as well. I tried to do it but was unsuccessful. I think the problem is RequireJS, it might work with the proper configuration of requirejs and angular, but I haven't been able to figure it out.

  • Nginx problems

    Solved
    41
    0 Votes
    41 Posts
    19k Views
    yariplusY

    @Aureney

    example.com works fine except www.example.com does not. How do you fix this.

    In your DNS. Forward www.example.com to example.com

    how long can NodeBB run?

    Until it runs out of memory.

    What if the computer is shutdown, does the website still run?

    No.

  • Update vendors libs

    1
    0 Votes
    1 Posts
    729 Views
    KitsuneSolarK

    Hi everybody!
    I want to suggest to upgrade vendor libs (you have old libs versions.). I tested replacement libs to new versions. Here is the result:

    public/vendor/ace public/vendor/bootbox/ [update: no] public/vendor/bootstrap/ [update: ok (interface lags? https://github.com/twbs/bootstrap/issues/18777)] public/vendor/buzz/ [update: ok] public/vendor/colorpicker/ [update: no] public/vendor/fontawesome/ [update: ok] public/vendor/mdl/ [update: ok] public/vendor/requirejs/ [update: ok] public/vendor/semver/ [update: no] public/vendor/slideout/ [update: js error] public/vendor/snackbar/ [update: js error] public/vendor/tinycon/ [update: js error] public/vendor/visibility/ [update: ok] public/vendor/xregexp/ [update: js error] public/vendor/jquery/bootstrap-tagsinput/ [update: no] public/vendor/jquery/css/ public/vendor/jquery/deserialize/ [update: ok] public/vendor/jquery/draggable-background/ [update: no] public/vendor/jquery/event/ [update: no] public/vendor/jquery/js/ (jquery - update: ok | jquery.form.min - update: ok) public/vendor/jquery/serializeObject/ [update: no] public/vendor/jquery/sortable/ [update: ok] public/vendor/jquery/textcomplete/ [update: ok] public/vendor/jquery/timeago/ [update: ok] public/vendor/autosize.js [update: no] public/vendor/nprogress.min.js [update: js error]
  • 502 everywhere

    1
    0 Votes
    1 Posts
    735 Views
    J

    Hi everyone,

    I managed to install and configure nodebb but i got something really weird since i deleted a user yesterday.

    I was using this steam login plugin and then found that it doesn't ask steam user to enter mail addresse. So i decided to delete a user created by a friend to try another plugin but now, whenever i try to login / register with a steam account, i got redirected to 502 bad gateway.

    Also, seems like this plugin isn't compatible with nodebb 1.0.3, can someone point me out wherre is the latest/stable release of this kind of plugin ?

    Also some nginx error logs with hope it could helps:

    2016/06/22 08:50:38 [error] 5815#5815: *8405 connect() failed (111: Connection refused) while connecting to upstream, client: <MY.WAN.IP>, server: tempforum.mydomain.com, request: "GET /api/admin/general/dashboard?_=1466545356514 HTTP/1.1", upstream: "http://127.0.0.1:4567/api/admin/general/dashboard?_=1466545356514", host: "tempforum.mydomain.com", referrer: "https://tempforum.mydomain.com/admin/manage/users/latest" 2016/06/22 08:50:38 [error] 5815#5815: *8405 connect() failed (111: Connection refused) while connecting to upstream, client: <MY.WAN.IP>, server: tempforum.mydomain.com, request: "GET /templates/500.tpl?v=6ca952fd-749a-4a45-bbf0-c992b1feaa09 HTTP/1.1", upstream: "http://127.0.0.1:4567/templates/500.tpl?v=6ca952fd-749a-4a45-bbf0-c992b1feaa09", host: "tempforum.mydomain.com", referrer: "https://tempforum.mydomain.com/admin/manage/users/latest" 2016/06/22 08:50:38 [error] 5815#5815: *8405 connect() failed (111: Connection refused) while connecting to upstream, client: <MY.WAN.IP>, server: tempforum.mydomain.com, request: "GET /socket.io/?EIO=3&transport=polling&t=LLst_rT HTTP/1.1", upstream: "http://127.0.0.1:4567/socket.io/?EIO=3&transport=polling&t=LLst_rT", host: "tempforum.mydomain.com", referrer: "https://tempforum.mydomain.com/admin/manage/users/latest" 2016/06/22 08:50:39 [error] 5815#5815: *8405 connect() failed (111: Connection refused) while connecting to upstream, client: <MY.WAN.IP>, server: tempforum.mydomain.com, request: "GET /api/admin/general/dashboard?_=1466545356515 HTTP/1.1", upstream: "http://127.0.0.1:4567/api/admin/general/dashboard?_=1466545356515", host: "tempforum.mydomain.com", referrer: "https://tempforum.mydomain.com/admin/manage/users/latest" 2016/06/22 08:50:39 [error] 5815#5815: *8405 connect() failed (111: Connection refused) while connecting to upstream, client: <MY.WAN.IP>, server: tempforum.mydomain.com, request: "GET /templates/500.tpl?v=6ca952fd-749a-4a45-bbf0-c992b1feaa09 HTTP/1.1", upstream: "http://127.0.0.1:4567/templates/500.tpl?v=6ca952fd-749a-4a45-bbf0-c992b1feaa09", host: "tempforum.mydomain.com", referrer: "https://tempforum.mydomain.com/admin/manage/users/latest" 2016/06/22 08:50:41 [error] 5815#5815: *8271 connect() failed (111: Connection refused) while connecting to upstream, client: 93.31.210.52, server: tempforum.mydomain.com, request: "GET /socket.io/?EIO=3&transport=polling&t=LLsu0Oj HTTP/1.1", upstream: "http://127.0.0.1:4567/socket.io/?EIO=3&transport=polling&t=LLsu0Oj", host: "tempforum.mydomain.com", referrer: "https://tempforum.mydomain.com/" 2016/06/22 08:50:42 [error] 5815#5815: *8405 connect() failed (111: Connection refused) while connecting to upstream, client: <MY.WAN.IP>, server: tempforum.mydomain.com, request: "GET /api/admin/general/homepage?_=1466545356516 HTTP/1.1", upstream: "http://127.0.0.1:4567/api/admin/general/homepage?_=1466545356516", host: "tempforum.mydomain.com", referrer: "https://tempforum.mydomain.com/admin/manage/users/latest" 2016/06/22 08:50:42 [error] 5815#5815: *8405 connect() failed (111: Connection refused) while connecting to upstream, client: <MY.WAN.IP>, server: tempforum.mydomain.com, request: "GET /templates/500.tpl?v=6ca952fd-749a-4a45-bbf0-c992b1feaa09 HTTP/1.1", upstream: "http://127.0.0.1:4567/templates/500.tpl?v=6ca952fd-749a-4a45-bbf0-c992b1feaa09", host: "tempforum.mydomain.com", referrer: "https://tempforum.mydomain.com/admin/manage/users/latest" 2016/06/22 08:50:43 [error] 5815#5815: *8405 connect() failed (111: Connection refused) while connecting to upstream, client: <MY.WAN.IP>, server: tempforum.mydomain.com, request: "GET /socket.io/?EIO=3&transport=polling&t=LLsu13H HTTP/1.1", upstream: "http://127.0.0.1:4567/socket.io/?EIO=3&transport=polling&t=LLsu13H", host: "tempforum.mydomain.com", referrer: "https://tempforum.mydomain.com/" 2016/06/22 08:50:44 [error] 5815#5815: *8405 connect() failed (111: Connection refused) while connecting to upstream, client: <MY.WAN.IP>, server: tempforum.mydomain.com, request: "GET /socket.io/?EIO=3&transport=polling&t=LLsu1Io HTTP/1.1", upstream: "http://127.0.0.1:4567/socket.io/?EIO=3&transport=polling&t=LLsu1Io", host: "tempforum.mydomain.com", referrer: "https://tempforum.mydomain.com/admin/manage/users/latest"

    EDIT: More logs gathered from launching nodebb in dev env.
    https://gist.github.com/jffz/f95bee54e06082b66924e69f545157bc

  • Phantom category?

    4
    1 Votes
    4 Posts
    2k Views
    N

    @julian
    Querying mongodb,

    I had a stray category 15 that looked like the following:
    {
    "_id" : ObjectId("56bd923fc113b09c466f9055"),
    "_key" : "category:15",
    "parentCid" : 0
    }
    I removed that entry from mongo and now the API returns a 'NULL' at the end of my categories API.

    Is there something else I should delete?

  • 0 Votes
    8 Posts
    4k Views
    yariplusY

    Just linking this related issue.

    Link Preview Image ability to edit skin colors · Issue #3886 · NodeBB/NodeBB

    I think it would be cool, but might take a little bit, if you made it so that admins could make custom skins by just changing the colors, and setting if it is a round or square skin, so like the Cerulean skin VS. the Cosmo theme. I know ...

    favicon

    GitHub (github.com)

  • 502 bad gateway

    20
    0 Votes
    20 Posts
    5k Views
    P

    yeah, no issues here either running node v4.4.5LTS with nodebb 1.0.3
    I wonder if it is maybe a plugin causing it?

  • 0 Votes
    6 Posts
    2k Views
    W

    @pichalite That fixed it. Thanks for your help!

  • Russian Support Forum gone!

    4
    0 Votes
    4 Posts
    2k Views
    julianJ

    Link to that forum disabled for now 😄

  • Invalid session error (no proxy)

    2
    0 Votes
    2 Posts
    1k Views
    ArcticRaz0rA

    Problem was solved by leaving blank the Cookie Domain field in Admin -> Settings -> Advanced

  • Crash on /search

    4
    0 Votes
    4 Posts
    2k Views
    P

    @Alexander-Craggs MongoDB, version 2.6 or greater is required

  • Custom Paths

    3
    0 Votes
    3 Posts
    1k Views
    G

    Thanks, I'll work on it and report here.

  • (SOLVED) Pushing to Heroku

    2
    0 Votes
    2 Posts
    2k Views
    meshmellowM

    I think I got it pushed to the Heroku app because it did the building process it does with my own app, and I can see nodeBB in the Heroku logs starting up, but it crashes right away now. I am thinking it might have something to do with the MongoDB connection? (It's a Sandbox MongoLabs connection, but it works for my other app and when I run NodeBB locally it makes changes to to the online MongoLab DB as confirmed through their administrative tools)

    These are my Heroku logs:
    2016-06-15T00:00:56.420459+00:00 app[web.1]:
    2016-06-15T02:54:01.203018+00:00 app[web.1]: > [email protected] start /app
    2016-06-15T02:54:01.203024+00:00 app[web.1]: > node loader.js
    2016-06-15T02:54:03.280111+00:00 heroku[web.1]: Process exited with status 0

    I might have done something horribly wrong when building but I am at a loss for what it could be. After cloning the NodeBB from your git, and then trying to push it to my app with a fresh repo clone, it tells me what the srcref for master isn't there when I try "git push heroku master", however if I try what the tutorial says "git push -u heroku v1.x.x:master" it says that it's up to date instead and nothing gets pushed. This is when I tried setting my git heroku branch to master and pushing anyway (it uploaded and the app crash)

    EDIT: I am going to try and do a fresh clone later when I get back from work and create a new Heroku app to attempt this from Step 1, and I will detail my process for you guys so that you have a better understanding of what I might be doing wrong.

  • My suggestion

    2
    0 Votes
    2 Posts
    1k Views
    JenklerJ

    Thats nice, support in native language is good 🙂

  • [solved] "Invalid Session" problem

    9
    0 Votes
    9 Posts
    6k Views
    PappmannP

    solved

    can anyone add it to official documentation?
    https://docs.nodebb.org/en/latest/configuring/proxies/apache.html

    Thanks

  • Send Email Locally

    4
    0 Votes
    4 Posts
    2k Views
    G

    Thanks, guys! I got it to work.

  • 'Category Privileges' does not seem to work

    7
    1 Votes
    7 Posts
    3k Views
    julianJ

    Fixed in latest master, the labels were swapped, so "Access" was actually controlling "Create", and vice versa.

  • NGINX config problem ?

    10
    0 Votes
    10 Posts
    4k Views
    julianJ

    @yariplus said in NGINX config problem ?:

    If a location is defined by a prefix string that ends with the slash character, and requests are processed by one of proxy_pass, fastcgi_pass, uwsgi_pass, scgi_pass, or memcached_pass, then the special processing is performed.

    ... this explains so much 😓