Skip to content

NodeBB Development

Stay tuned here to hear more about new releases and features of NodeBB!

2.7k Topics 17.4k Posts

Subcategories


  • Posts from the NodeBB Development Blog
    96 Topics
    778 Posts
    julianJ

    Occasionally, we will get asked whether there are any differences between our hosted service and the open source project.

    It is as though we are holding back some great features and only allowing our paying customers access them! Conversely, it could be assumed that because we are hosting the software for others, that we would somehow out of self-interest or for economic reasons, deliver an inferior version with limitations.

    I'd like to say upfront that this is not the case for NodeBB.

    When you use our hosted service, you receive the same great NodeBB software that you can get for free off of our GitHub repository.

    What we're selling is support, maintenance, upgrades, and peace of mind delivered by our world-class† support team.

    You definitely can host NodeBB on your own! We've strived for years to deliver a piece of software that runs lean and fast on minimal hardware, great docs (some contributed by other admins!) that help you get up to speed quickly, and a fantastic community that will help you if you get stuck.

    The reason I take this principled stand is simple — I think it's unfair when artificial limitations are placed on software just for the purpose of getting customers to pay more.

    We've seen all this time and time again:

    You can't install any plugin you want, just a select few from a small list You can only have X units (tickets, posts, etc) of whatever you're using You can only have X admins/owners You can't see any messages older than X days

    These limitations are all artificial, and serve to restrict the use of something to the bare minimum. Anything extra is — of course — available for the right price.

    We don't do that. We tell everybody that NodeBB is powerful enough to run huge communities, and we stand by it. We tell everybody that NodeBB is flexible enough to look and function however you want, and we stand by it.

    These are the real limitations we impose on our hosting service:

    Hard drive space for uploads are imposed by our upstream provider and are set, though we are happy to add additional drive volumes for a fee) We have soft "pageview" limits that any user on our hosting can exceed (in fact, many do). We set them purely as a benchmark for the point at which your NodeBB may slow down depending on the type of load that you get, and encourage dialogue to make sure that you're on the right plan (server resources, etc.) We do not allow shell access for security reasons (and if you needed it, you probably could self-host)

    So please do rest assured when I and others tell you that what you see is what you get. No more, no less. I'd rather everybody get to use the best of NodeBB, instead of serving a special feature-reduced version for others.

    † I'm going to go out on limb here and say that we're probably the most qualified people to maintain NodeBB. Feel free to disagree 😉

  • Found a bug? Why not make a bug report here?
    1k Topics
    7k Posts
    julianJ

    Yes, this is a bug in the v4 code. Will fix soon.

  • Focused discussion related to ActivityPub integration in NodeBB

    57 Topics
    726 Posts
    silverpill@mitra.socialS

    @tallship @julian

    >Here you go bro: Socialhome post w/inline images.

    It is a Note. I think this is a good example of a post which is best viewed on the original site.

  • Help Translate NodeBB
  • Node version

    9
    0 Votes
    9 Posts
    3k Views
    P

    👍 for getting rid of them

  • 0 Votes
    3 Posts
    2k Views
    E

    Bad gateway might occur due to an incorrect setting in your Proxy.

    It is recommended by me to use Nginx as it is easy to setup and apparently automatically recovers after a bad gateway.

    What Operating System Are you using?

  • Some polling requests fail

    2
    0 Votes
    2 Posts
    1k Views
    xiduiX

    @TheBronx

    I do agree you very much that the polling requests are causing an enormous load on the server. My machine is powerful enough holding 65000+user and 140000+ posts.

    But the load is heavy at peak time, and if I restart nodebb, it can not even recover until the peak was passed.

    @administrators
    Any idea on this? I was obsessed with this for long...

    I found that the ESTABLISHED connections are too large. Does that count for this issue?
    No matter peak time or valley time, this number almost seems the same.

    user@discuss:~$ netstat -n | grep -c ESTABLISHED 14003

    and the ulimit:

    user@discuss:~$ ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 63711 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 10000 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 63711 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited
  • Horrible Benchmarks.

    6
    0 Votes
    6 Posts
    2k Views
    A

    @faianca using the latest NodeBB version.

    Redis 3.2.4
    Avg. amount of connections (ss -s): ~2000
    Avg. amount of people online (forum only): ~120
    Avg. load time (without ads): <500ms
    Avg. amount of pageviews (monthly): ~1.5 Mio.

    As you can see benchmarks do not mean a damn.
    I run a dedicated server (self built) at the Illiad Group (France). The websites themselves are split into several smaller VMs by using KVM.

    Here the node specs:
    +1GBits up/down
    32GB DDR4 RAM
    512GB RAID10 SSD
    Intel Xeon E5-2680V4 (dedicated for this KVM)
    Intel Xeon Phi 3120P (shared)

    If you want I can run a benchmark on my E7 machine. But I doubt it will change a lot.

  • Bookmarks / Favourites breaking change 1.2

    9
    1 Votes
    9 Posts
    4k Views
    E

    @PitaJ said in Bookmarks / Favourites breaking change 1.2:

    How do you recommend this be done? If you want a changelog, you can look at the milestone on GitHub.

    But milestones only cover issues. There iare of course lot of changes and addition that arent referenced on issues.
    There were some helpful topics of breaking changes on the past with a little explanation.
    I guess a topic with centralized information would be nice for 1.2 1.3 1.4 at least updates ( including new or uptades hooks explained + breaking changes on plugins explained + breaking changes on themes explained + a simple explanation of new features)
    It doesnt need to be all changes just important things
    Please remember that not every body know to code but with some little explanations and documentation some of us can keep runnin and doing small fixes and learning and improving nodebb

  • How can I serve static files for NodeBB

    1
    0 Votes
    1 Posts
    1k Views
    xiduiX

    I use nginx as a static file server just as the wiki illustrates. And I added a log to monitor what kind of requests goes to NodeBB server.

    location ~ ^/(images|sounds|templates|uploads|vendor|src\/modules|nodebb\.min\.js|stylesheet\.css|admin\.css) { root /path/to/nodebb/public/; try_files $uri $uri/ @nodebb; } location / { access_log /var/log/nginx/access3.log; proxy_pass http://io_nodesss; }

    I found that some of requests of the static files are still going to NodeBB:

    "GET /src/modules/composer/preview.js?d7bd0222-d024-4aba-869d-0b088e7d5ba1 HTTP/1.1" 200 772 "GET /src/modules/composer/uploads.js?d7bd0222-d024-4aba-869d-0b088e7d5ba1 HTTP/1.1" 200 2539 "GET /src/modules/composer/drafts.js?d7bd0222-d024-4aba-869d-0b088e7d5ba1 HTTP/1.1" 200 492

    And I checked that those files are not in ./src/modules, they are at ./node_modules/xxxx/static/ instead.

    Is there any solution to this? Don't tell me that I should copy those files to /src/modules/ manually.

  • Upvotes / Downvotes are finally here

    17
    15 Votes
    17 Posts
    7k Views
    ChanrithC

    0_1476804886123_IMG_1864.PNG

    And it looks great!

  • Is there a full CRUD Api in the vision?

    12
    0 Votes
    12 Posts
    6k Views
    julianJ

    @esfandiar Yes, take a look at the write API plugin.

  • 0 Votes
    2 Posts
    1k Views
    mangoM

    I git clone v1.x.x branch.
    today I git reset --hard fdd8514, then work OK!

  • Remove all bookmarks

    12
    0 Votes
    12 Posts
    4k Views
    E

    In case someone need to do this too, the correct commands are

    // Remove the list of favorited posts from all users. db.objects.remove({_key: /^uid:\d+:favourites$/}) // Remove the list of users who favourited the post from all posts. db.objects.remove({_key: /^pid:\d+:users_favourited$/}) // Remove the favorite count from all posts. db.objects.updateMany({"_key":/post:[0-9]+/g},{$set: {reputation: 0}})
  • FreeBSD NodeBB package : call for testers

    5
    3 Votes
    5 Posts
    3k Views
    priyadarshanP

    Thank you, I ran pkg update && pkg upgrade and service nodebb restart and now nodebb is able to install plugins.

    The redis issue seems to be more a pkg related issue. Searching around, it seems it does happen sometimes, and pwd_mkdb /etc/master.passwd fixes it.

    Thank you once again, this is a great service.

  • Strange Performance Spikes

    2
    0 Votes
    2 Posts
    964 Views
    E

    Interesting thread
    Whats the tool uses?

  • 0 Votes
    1 Posts
    927 Views
    C

    hello Devs,

    is there documentation for nodebb inbuilt libraries (USER,CATEGORIES,POST,META,DB) ?

  • Use my oauth instead of NodeBB plugins

    11
    1 Votes
    11 Posts
    4k Views
    J

    No need to post a full guide as @yariplus had the correct answer all the time. I just did not understand it at first.

  • Extending custom page widgets

    1
    0 Votes
    1 Posts
    813 Views
    E

    Hey Nodebb team:

    I am a fan of this custom page plugin. But I dont like default widget in the pages. Is there anyway to write a plugin and override the widget with a few custom HTML and CSS?

    Thanks,
    Ethan

  • Testing question posting

    1
    0 Votes
    1 Posts
    1k Views
    A

    Testing testing

  • Need Help!

    2
    0 Votes
    2 Posts
    1k Views
    J

    It's hard to provide a good answer with no details.

    What is your NodeBB version and which system do you run it on?
    Do you use MongoDB or Redis?
    Do the users on your site get an error, or can't they find anything at all?
    As admin: Can you change your own profile picture on your own site?

  • Single Sign On

    1
    0 Votes
    1 Posts
    749 Views
    R

    I am loading "NodeBB Forum" using Iframe. How can I enable the single-sign-on in nodeBB ?

  • Multiple tags

    1
    0 Votes
    1 Posts
    1k Views
    F

    Re: Multiple tag search

    This should be made possible, at least by url, so links can be made from other posts.

  • Debugging nodejs app.js at 100%

    19
    0 Votes
    19 Posts
    7k Views
    PitaJP

    @exodo I would imagine it's something like node --prof app.js