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.
  • 0 Votes
    1 Posts
    1k Views
    kacemlightK
    After uptgarding (reinstallation) of nodebb, this plugins return error and don't work at all. After app starting, I got this warn message: 7/11 12:20 [31705] - warn: [meta/dependencies] Bundled plugin nodebb-plugin-dbsearch not found, skipping dependency check. 17/11 12:21 [31705] - warn: [plugins/nodebb-plugin-sso-github] Hook filter:user.delete is deprecated, please use an alternative 17/11 12:21 [31705] - warn: [plugins/nodebb-plugin-sso-google] Hook filter:user.delete is deprecated, please use an alternative 17/11 12:21 [31705] - warn: [plugins/nodebb-plugin-sso-twitter] Hook filter:user.delete is deprecated, please use an alternative 17/11 12:21 [31705] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run ./nodebb reset -p PLUGINNAME to disable it. nodebb-plugin-imgur nodebb-plugin-sso-facebook nodebb-plugin-sso-github nodebb-plugin-sso-google nodebb-plugin-sso-twitter nodebb-plugin-composer-redactor nodebb-plugin-custom-pages nodebb-plugin-desktop-notifications nodebb-plugin-rss nodebb-plugin-youtube 17/11 12:21 [31705] - info: [User-Invitations] Initializing User-Invitations... 17/11 12:21 [31705] - info: [plugins/spam-be-gone] Settings loaded 17/11 12:21 [31705] - info: [User-Invitations] Synced settings: defaultInvitations=10, restrictRegistration=0, invitedUsers=[], inviteGroup=registered-users 17/11 12:21 [31705] - warn: [plugin/composer-redactor] Another composer plugin is active! Please disable all other composers. 17/11 12:21 [31705] - info: NodeBB Ready 17/11 12:21 [31705] - info: NodeBB is now listening on: 0.0.0.0:4567 list itemWhen I try to login with Facebook, I got: L’URL fournie n’est pas autorisée par la configuration de l’application.: Une ou plusieurs URL fournies ne sont pas autorisées par les paramètres de l’application. Elle(s) doi(ven)t correspondre à l’URL du site ou du Canevas, ou le domaine doit être un sous-domaine de l’un des domaines de l’application. With googleplus: list item400. That’s an error. Error: redirect_uri_mismatch list itemWith twitter and github I get the same Error. With the ancien version of nodebb, all this sso login worked fine. Please can somone help me to resolve this problem ??
  • Syncing a productive and a testing instance of nodeBB

    3
    0 Votes
    3 Posts
    1k Views
    P
    @julian have you ever used copyDatabase with an already existing destination? For me it just fails with "errmsg": "failed to create collection "nodebb_testing.sessions": collection already exists" which sounds as if it would expect an empty database or at least one without duplicate collections. If this won't work I doubt that there is a readymade command to help me achieve my goal.
  • Cannot install with MongoDB on Windows 10

    2
    0 Votes
    2 Posts
    3k Views
    M
    I'm in! I was taking the default database name of 0 instead of entering my database name. Doh!
  • I apparently missed the setting for the site URL

    Solved
    2
    0 Votes
    2 Posts
    1k Views
    J
    Oh look right there in the manual that I stopped reading after the GUI was up... https://docs.nodebb.org/en/latest/configuring/config.html
  • Unregistred user can't see picture in topics

    8
    0 Votes
    8 Posts
    2k Views
    B
    Right it's fixed Thx.
  • 0.9 Upgrade command failed

    25
    0 Votes
    25 Posts
    9k Views
    julianJ
    The way npm handles peer dependencies left much to be desired, especially in a development landscape like ours where versions go up regularly and different rates compared to plugins. Specifically, if a module A required a peer dependency B with a fairly strict version (e.g. ~0.15.0), then if that dependency got updated to v0.16.0 or above, then any future attempts to install module A would throw a peer dependency error and abort the npm installation, leaving NodeBB in a state that would not run. That's not so good for non-developers
  • Topic disappeared

    3
    0 Votes
    3 Posts
    1k Views
    С
    @hek said: Did you by chance have dashes ("-") in the title? No.
  • Bookmark doesn't show up for some topics

    2
    0 Votes
    2 Posts
    1k Views
    julianJ
    Hm... nope, I have a bookmark for that one. There may be a small chance that old topics on this forum don't have their bookmarks set properly. We switched from pids to post indexes, and any old bookmarks might still be referencing the pid.
  • How are timestamps managed in NodeBB?

    4
    1 Votes
    4 Posts
    2k Views
    KowlinK
    @julian Prepared in advance, love it.
  • Problem after upgrading to 0.9.0 from 0.6.1

    8
    0 Votes
    8 Posts
    3k Views
    M
    Exactly my issue, good to see there is a fix, will wait for 0.9.1 Thanks
  • Upgrading from v0.6.1 to v0.9.0

    48
    0 Votes
    48 Posts
    17k Views
    M
    edited, will open a new post for this Thanks
  • [req] latest guide installing nodebb on ubuntu 14.04 64bit

    6
    0 Votes
    6 Posts
    4k Views
    B
    ok this worked: $ curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - $ sudo apt-get install -y git nodejs build-essential nginx $ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 $ echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list $ sudo apt-get update $ sudo apt-get install mongodb-org $ mongo use nodebb db.createUser( { user: "nodebb", pwd: "<Enter in a secure password>", roles: [ "readWrite" ] } ) exit $ sudo nano /etc/mongodb.conf //uncomment auth = true $ sudo service mongodb restart $ sudo nano /etc/nginx/conf.d/yourdomain.com.conf // copy & paste & edit server_name: server { listen 80; server_name domain.com; location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_pass http://io_nodes; proxy_redirect off; # Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } } upstream io_nodes { ip_hash; server 127.0.0.1:4567; server 127.0.0.1:4568; } // write out $ git clone -b v0.9.x https://github.com/NodeBB/NodeBB.git nodebb $ cd nodebb $ npm install --production $ npm start // finish install from browser: http://server.ip:4567 $ nano config.json // just insert port line { "url": "http://localhost:4567", "port": ["4567", "4568"], "secret": "34a78c7d-df06-4d82-9c0b-0a3b528822ec", "database": "mongo", "port": 4567, "mongo": { "host": "127.0.0.1", "port": "27017", "username": "nodebb", "database": "nodebb" } } // write out $ ./nodebb restart // now it works without port, on 2 instances
  • [Resolved] Emailer not installed

    Solved
    8
    0 Votes
    8 Posts
    2k Views
    C
    Problem solved with 0.9.0. Thx for your advices and answers
  • Upgrade worked but can't start nodebb anymore

    5
    0 Votes
    5 Posts
    3k Views
    julianJ
    @mega Don't forget connect-redis npm i redis@~0.10.1 connect-redis@~2.0.0
  • Upgrading from 0.7.3 to 0.8.2 / 0.9.0

    4
    0 Votes
    4 Posts
    2k Views
    N
    I've already tried to go straight from 0.7.3 -> 0.9.0 with success. Plugin support hasn't caught up yet though. @pichalite , I'm using a 2nd instance of nodebb, with a 2nd mongodb instance. I first upgraded my plugins to the latest, ran ./nodebb upgrade while on 0.7.3 I then: git checkout v0.8.x git pull (just in case) ./nodebb upgrade running in dev mode just crashes and relaunches when hitting the categories page. When I first installed the forum, I was using v0.8.0 and switched to v.7.x since the plugin support wasn't updated yet. I am using the Vanilla theme and it upgraded to 4.0.8 after switching to v0.8.2
  • Imgur Plugin error invalid-refresh-token

    1
    1 Votes
    1 Posts
    1k Views
    F
    Hey guys, I'm having problems with the imgur plugin, did everything as the steps say but when trying to upload something I get invalid-refresh-token. I'm not the only one it seems https://github.com/barisusakli/nodebb-plugin-imgur/issues/21 Thanks in advance
  • MongoDB questions

    5
    0 Votes
    5 Posts
    2k Views
    F
    Solved everything, thanks guys
  • 0 Votes
    5 Posts
    3k Views
    rydavimR
    SOLVED In case anyone else has this problem, here's where I found what I needed. File: /nodebb/src/controllers/helpers.js Methods: buildCategoryBreadcrumbs and buildBreadcrumbs Editing those allowed me to get the behavior I was looking for. Although, I would be curious to know if there is a better way to do this without changing the source code.
  • Redis used memory

    3
    0 Votes
    3 Posts
    1k Views
    W
    did you check the number of connections after one or two minutes again? I assume that the additional connection is triggered by your refresh and will be closed after some time
  • Installing an older NodeBB Version

    3
    0 Votes
    3 Posts
    1k Views
    ?
    Or for a fresh installation: git clone -b v0.6.x https://github.com/NodeBB/NodeBB.git nodebb