Skip to content

What’s going on with NodeBB?

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

  • 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
  • NodeBB socket with CloudFlare

    Solved Performance socket cloudflare nodebb
    24
    3 Votes
    24 Posts
    8k Views
    Solved. Tuto here and here
  • NodeBB upgrade now cant post

    Solved Bugs nodebb
    5
    2 Votes
    5 Posts
    1k Views
    @Panda yes, for some reason, that is the case. If you need an urgent response, it’s probably better to post here because of the time difference.
  • NodeBB: Privileges for the Announcement channel

    Solved Configure nodebb
    6
    1
    1 Votes
    6 Posts
    1k Views
    Up to you really
  • NodeBB v3.0.0-rc.1

    Performance nodebb v3.0.0
    1
    1 Votes
    1 Posts
    524 Views
    No one has replied
  • Optimum config for NodeBB under NGINX

    Performance nginx performance
    4
    3 Votes
    4 Posts
    2k Views
    @crazycells hi - no security reason, or anything specific in this case. However, the nginx.conf I posted was from my Dev environment which uses this port as a way of not interfering with production. And yes, I use clustering on this site with three instances.
  • 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 Design help

    Solved Customisation
    8
    3
    2 Votes
    8 Posts
    2k Views
    @riekmedia I’ve applied some new CSS to your site. Can you reload the page and try again ? For the record, this is what I added #footer { background: #2d343e; border-top: 4px solid #2d343e; font-size: 0.9em; margin-top: 70px; padding: 80px 0 0; position: relative; clear: both; bottom: 0; left: 0; right: 0; z-index: 1000; margin-left: -15px; margin-right: -338px; } The /categories page seems a bit messed up, so looking at that currently EDIT - issued some override CSS in the CATEGORIES widget <!--- CSS fix for overspill on /categories page - DO NOT DELETE --> <style> #footer { margin-right: -45px; } </style> That should resolve the /categories issue.