Skip to content

What’s going on with NodeBB?

Performance
20 3 1.3k 1
  • for example xenforo, vbulletin, flarum etc.

    @cagatay That is quite the jump as importers from one forum platform to another are notoriously unreliable and could land up being quite costly if it requires managed services.

  • After the latest update, my entire system crashed and I’m unable to bring it back up.

  • After the latest update, my entire system crashed and I’m unable to bring it back up.

    @cagatay what is in the nodebb log?

  • 070b5b55-d31b-4c03-820e-88145a1af601-image.jpeg

  • I downgraded the version, and now it is working. I think the issue is related to the version.

  • I downgraded the version, and now it is working. I think the issue is related to the version.

    @cagatay said:

    I downgraded the version, and now it is working. I think the issue is related to the version.

    Maybe yes, maybe no. it can be plugins compatibility, nodejs, npm etc.

    I don’t upgrade for now. I still waiting a little before upgrade.
    I’m on 4.10.3

  • @cagatay said:

    I downgraded the version, and now it is working. I think the issue is related to the version.

    Maybe yes, maybe no. it can be plugins compatibility, nodejs, npm etc.

    I don’t upgrade for now. I still waiting a little before upgrade.
    I’m on 4.10.3

    @DownPW I tend to stay at least one release behind intentionally to ensure maturity before upgrading - unless there is a good reason to do so immediately - such as identified vulnerabilities

  • That’s exactly our approach on PW now. Learned it the hard way , upgraded too early once or twice and paid the price. Actually sitting two releases behind at the moment, not just one. Stability over bleeding edge, unless a vulnerability forces the hand. Solid policy.

  • To be honest, I really regret moving to NodeBB. I should have stayed with XenForo. 😞

  • Honestly, I don’t regret the move at all on my side but I get that the experience can be very different depending on how comfortable you are with the technical side. XenForo is definitely more forgiving if you don’t want to deal with the server.

    One thing worth keeping in mind though: your install has some custom code on it, and need to know what it does or stay to stock nodebb witout modification

    What’s actually frustrating you the most right now? If it’s day-to-day admin stuff, there might be simpler fixes than rebuilding everything on XenForo.

  • I don’t want to keep worrying about whether the script will break with every update. Yes, we invested a lot of effort, yes, I have custom code, and yes, everything works well but somehow I end up facing issues after every update. And honestly, I think they have a development approach that doesn’t really listen to users. They just add or remove things based on their own ideas. The social plugins were a complete disaster

  • how to upgrade nodejs v20 to v22?

  • how to upgrade nodejs v20 to v22?

    @cagatay The most reliable way to upgrade Node.js on Ubuntu depends on how you originally installed it.

    Method 1: Using NVM (Recommended)

    If you already use Node Version Manager (NVM), upgrading is simple. NVM allows you to keep both versions and switch between them if needed.

    1. Install Node 22:
      nvm install 22
    2. Switch to Node 22:
      nvm use 22
    3. Set it as your default:
      nvm alias default 22
    4. Verify the change:
      node -v

    Method 2: Using NodeSource (PPA)

    If you installed Node.js via apt using the NodeSource repository, you need to update the repository script to point to the new version.

    1. Remove the old NodeSource list (optional but cleaner):
      sudo rm /etc/apt/sources.list.d/nodesource.list
    2. Download and run the NodeSource setup script for Node 22:
      curl -fsSL [https://deb.nodesource.com/setup_22.x](https://deb.nodesource.com/setup_22.x) | sudo -E bash -
    3. Install/Upgrade Node.js:
      sudo apt-get install -y nodejs
    4. Verify the installation:
      node -v

    Method 3: Using the ‘n’ Package

    If you have npm installed, you can use the n interactive manager.

    1. Clear the npm cache:
      sudo npm cache clean -f
    2. Install the ‘n’ helper:
      sudo npm install -g n
    3. Install Node 22:
      sudo n 22
    4. Update your shell:
      hash -r

    Troubleshooting

    • Permission Denied: If you see permission errors using Method 2 or 3, ensure you are using sudo.
    • Path Issues: If node -v still shows version 20 after upgrading via NVM, restart your terminal or run source ~/.bashrc.
    • Conflicts: Avoid mixing these methods. If you switch from apt to nvm, it is best to sudo apt remove nodejs first to avoid path conflicts.

Related Topics
  • 4 Votes
    3 Posts
    237 Views
    thanks @DownPW ! this is definitely very helpful.
  • 3 Votes
    1 Posts
    635 Views
    No one has replied
  • 36 Votes
    55 Posts
    14k Views
    @DownPW I see why. The code relies on the existence of [component="topic/quickreply/container"] However, this by definition means that the below has to be enabled [image: 1679077966615-aeef638f-4188-489d-a9f2-f3a26dbca9d8-image.png] It will then work [image: 1679077992245-7fb38631-e0f3-46ef-b652-00929d927b13-image.png] For some unknown reason, this is hidden in Harmony, and only shows if you select it. In v2, it seems that the <section> is deleted altogether in Persona if “Quick Reply” is disabled, meaning it won’t fire as it can’t locate that specific component. The downside is that you might not want the quick reply function, but I think it’s a PITA to scroll up to the top of the post just to reply, so I have it on
  • 14 Votes
    69 Posts
    36k Views
    @phenomlab Seems to be better with some scaling fix for redis on redis.conf. I haven’t seen the message yet since the changes I made # I increase it to the value of /proc/sys/net/core/somaxconn tcp-backlog 4096 # I'm uncommenting because it can slow down Redis. Uncommented by default !!!!!!!!!!!!!!!!!!! #save 900 1 #save 300 10 #save 60 10000 If you have other Redis optimizations. I take all your advice https://severalnines.com/blog/performance-tuning-redis/
  • Bootstrap Version

    Solved Customisation nodebb bootstrap
    8
    5 Votes
    8 Posts
    2k Views
    @phenomlab That will be nice once they have completed that. It will be interesting to see how long that takes. So for now I will use custom css to make it look the way I want. Frameworks just make things a little faster. Thanks @phenomlab
  • NodeBB slow after DB recovery

    Solved Performance performance nodebb
    1
    5 Votes
    1 Posts
    684 Views
    No one has replied
  • NodeBB 1.19.3

    Solved Performance nodebb 1.19.3 performance
    33
    4 Votes
    33 Posts
    10k Views
    @phenomlab I find the problem Mark The error message indicated this path : http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/styles.css?v=6983dobg16u I change the path url on config.json [image: 1645128773854-47bacc80-f141-41e4-a261-3f8d650cc6f6-image.png] And all it’s good Weird, I didn’t have to change that path before 1.19.3 But this does not prevent the problem from a clean install with Emoji Plugin EDIT: After test, that resolv the problem installation for 1.18.x but not for 1.19.x (I have other error message when I run ./nodebb Setup For resume: NodeJS 16_x with 1.18.x is ok
  • nodebb dropdown menu

    Solved Configure nodebb
    5
    1
    0 Votes
    5 Posts
    1k Views
    @phenomlab said in nodebb dropdown menu: @kurulumu-net You set it like the below example taken from this site [image: 1637939951821-aae36790-3257-4bb2-ad5a-0d744309876a-image.png] Which presents this [image: 1637939983445-77f47260-2941-4afe-9614-8e17dcfc8c19-image.png] Very interesting… I actually thought this wasn’t possible, as I remember it being asked in the NodeBB forum. Is this something new that’s been implemented? I’ll 100% be doing that when I’m on the laptop over the weekend.