Skip to content
  • Home
  • Categories
    • All Categories
      • Individual Categories
    • Recent
    • Popular
    • Top
    • Tags
    • Users
    • Groups
    • Solved
    • World
    Collapse
    Sudonix
    • About
    • Contact
    • Donate
    • FAQ
    • Policies

    administrators

    Private

    Posts


    • What’s going on with NodeBB?
      phenomlabundefined phenomlab

      @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.
      Performance nodebb script die

    • What’s going on with NodeBB?
      phenomlabundefined phenomlab

      @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

      Performance nodebb script die

    • What’s going on with NodeBB?
      phenomlabundefined phenomlab

      @cagatay what is in the nodebb log?

      Performance nodebb script die

    • Claude Mythos in cyber security
      phenomlabundefined phenomlab

      @crazycells I did see something similar to that article, yes. I never fully understood why anyone would want to give unfettered and complete access to AI without first understanding exactly what it had control of, and what it intended to do with that access.

      This isn’t the first “horror story” and it won’t be the last.

      Chitchat security artificial intelligence

    • Claude Mythos in cyber security
      phenomlabundefined phenomlab

      @crazycells I’ve not personally tried Claude Mythos to be honest, but I do know I’m fed up of the hype around Anthropic. Take this for an example

      https://www.tomshardware.com/tech-industry/artificial-intelligence/claude-powered-ai-coding-agent-deletes-entire-company-database-in-9-seconds-backups-zapped-after-cursor-tool-powered-by-anthropics-claude-goes-rogue

      Who in their right mind grants AI this much power and expects it to end well?

      The real issue here is one of governance.

      Chitchat security artificial intelligence

    • CTA banner for visitors
      phenomlabundefined phenomlab

      @crazycells Yes, because of this code

      $(document).ready(function () {
          $(window).on('action:ajaxify.end', function (data) {
              if (config && config.uid > 0) {
                  // User is logged in, so don't fire any message
              } else {
                  // Insert content into the selected element
                  var addAfterLastPost = $(
                      "<div class='alert alert-warning alert-dismissible fade show' role='alert'>" +
                      "<p><strong>Hello! It looks like you're interested in this conversation, but you don't have an account yet.</strong></p>" +
                      "<p>Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, " +
                      "and choose to be notified of new replies (ether email, or push notification). You'll also be able to save bookmarks, use reactions, and upvote to show your appreciation to other community members.</p>" +
                      "<p>With your input, this post could be even better 💗"+
                      "<br><br>"+
                      "<a style='margin-right:5px;' component='topic/reply/guest' href='/register' class='fw-semibold btn btn-sm btn-warning'>Register</a>" +
                      "<a component='topic/reply/guest' href='/login' class='fw-semibold btn btn-sm btn-info'>Log in</a>" +
                      "<button type='button' class='btn-close' data-bs-dismiss='alert' aria-label='Close'></button>" +
                      "</div>"
                  );
                  $('ul[component="topic"]').after(addAfterLastPost);
              }
          });
      });
      

      This was adopted into core as far as I know, so I’ve removed my manual code.

      Bugs bug

    • Tutorial : NodeBB Scaling-clustering Redis + Proxied Cloudflare Free plan : integration guide
      phenomlabundefined phenomlab

      @downpw this is a great walk through which I’m certain others will find extremely useful.

      Thanks

      Performance nodebb scaling redis cloudflare socket.io

    • Arch Server Progress
      phenomlabundefined phenomlab

      @Madchatthew These are all smart moves, and it certainly looks like you’re headed in the right direction. Best of luck and I really hope this venture succeeds. It’s a niche market but has huge potential once word spreads around.

      Building out the basic framework also makes sense before you take the plunge and invest heavier, which I myself would only do once the business starts to turn profit.

      Chitchat arch linux server web server

    • Torturing My Father & Mother In Law
      phenomlabundefined phenomlab

      @Madchatthew This is really inspiring! Keep it up! There is life after Windows…

      General linux story kde plasma fedora

    • Torturing My Father & Mother In Law
      phenomlabundefined phenomlab

      @Madchatthew Those credentials are hard to argue!

      General linux story kde plasma fedora

    Member List

    phenomlabundefined phenomlab
    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Home
    • Categories
      • All Categories
        • Individual Categories
      • Recent
      • Popular
      • Top
      • Tags
      • Users
      • Groups
      • Solved
      • World