Skip to content

What’s going on with NodeBB?

Performance
20 3 1.7k 1
  • 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 to Xenforo

    Solved Configure xenforo nodebb
    3
    0 Votes
    3 Posts
    110 Views
    @cagatay as @downpw stated, there isn’t a native tool that will do this for you. You’d need to either develop your own or ask the nodebb team to assist which will be a paid exercise.
  • 4 Votes
    3 Posts
    366 Views
    thanks @DownPW ! this is definitely very helpful.
  • NodeBB socket with CloudFlare

    Solved Performance socket cloudflare nodebb
    24
    3 Votes
    24 Posts
    9k Views
    Solved. Tuto here and here
  • SEO and Nodebb

    Performance nodebb seo
    2
    2 Votes
    2 Posts
    972 Views
    @Panda It’s the best it’s ever been to be honest. I’ve used a myriad of systems in the past - most notably, WordPress, and then Flarum (which for SEO, was absolutely dire - they never even had SEO out of the box, and relied on a third party extension to do it), and NodeBB easily fares the best - see below example https://www.google.com/search?q=site%3Asudonix.org&oq=site%3Asudonix.org&aqs=chrome..69i57j69i60j69i58j69i60l2.9039j0j3&sourceid=chrome&ie=UTF-8#ip=1 However, this was not without significant effort on my part once I’d migrated from COM to ORG - see below posts https://community.nodebb.org/topic/17286/google-crawl-error-after-site-migration/17?_=1688461250365 And also https://support.google.com/webmasters/thread/221027803?hl=en&msgid=221464164 It was painful to say the least - as it turns out, there was an issue in NodeBB core that prevented spiders from getting to content, which as far as I understand, is now fixed. SEO in itself is a dark art - a black box that nobody really fully understands, and it’s essentially going to boil down to one thing - “content”. Google’s algorithm for indexing has also changed dramatically over the years. They only now crawl content that has value, so if it believes that your site has nothing to offer, it will simply skip it.
  • Email validation NodeBB

    Bugs nodebb
    21
    3 Votes
    21 Posts
    6k Views
    @Panda said in Email validation NodeBB: Did you configure that as a custom change to the usual quote icon. How do you do that? I notice on NodeBB site its a solid blue quotes Yes, I changed it. NodeBB by default users the free font awesome library whereas I use the pro (paid) version SDK have access to a wider set of icons, and at different thicknesses etc. The change of colour is just simple CSS.
  • NodeBB v3 Chat Very Slow

    Moved Performance nodebb v3 nodebb chat
    47
    11 Votes
    47 Posts
    14k Views
    @DownPW Seems fine.
  • Gettin Erors NodeBB

    Solved Configure nodebb eror
    7
    0 Votes
    7 Posts
    1k Views
    @phenomlab no forum is working goods. there is no eror message since yestarday.
  • [Wiki.js] Auto Upgrade Script

    General shell script wiki.js
    1
    1 Votes
    1 Posts
    736 Views
    No one has replied