Skip to content

What’s going on with NodeBB?

Performance
20 3 1.3k 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 socket with CloudFlare

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

    Performance nodebb seo
    2
    2 Votes
    2 Posts
    901 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.
  • 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.
  • build nodebb Warning in entrypoint size limit

    Solved Performance nodebb
    2
    0 Votes
    2 Posts
    829 Views
    @eeeee they are nothing to worry about, and can be ignored.
  • Chevron up before & after

    Solved Configure nodebb
    11
    1
    4 Votes
    11 Posts
    2k Views
    @crazycells you are right thank you.
  • How to fix size of photos & videos NodeBB

    Solved Customisation nodebb nodebb size
    7
    3 Votes
    7 Posts
    2k Views
    @crazycells pleasure. Using percentages makes much more sense in this case. It’s the same argument with px vs pt vs em with fonts, margins, padding, etc., in the sense that em is generally preferred over px and pt https://stackoverflow.com/questions/609517/why-em-instead-of-px
  • 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
  • CSS codes for fa-info icon

    Solved Customisation nodebb
    9
    1
    6 Votes
    9 Posts
    2k Views
    I have just figured it out… it can be targeted with text-decoration-color: I was mistakenly using color