Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. iob node fix - Skript

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.3k

iob node fix - Skript

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
198 Beiträge 34 Kommentatoren 46.3k Aufrufe 37 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Thomas BraunT Thomas Braun

    @meister-mopper

    Prima! So soll es aussehen! Ich denke der Code ist dann soweit gediehen für ein Release.
    Mag noch jemand mit einem LXC herumtesten?

    M Online
    M Online
    MCU
    schrieb am zuletzt editiert von
    #61

    @thomas-braun LXC-Container

    ioBroker nodejs fixer 2023-09-06
    
    Recommended nodejs-version is: 18.17.1
    Checking your installation now. Please be patient!
    
    Your current setup is:
    /usr/bin/nodejs         v18.17.1
    /usr/bin/node           v18.17.1
    /usr/bin/npm            9.6.7
    /usr/bin/npx            9.6.7
    /usr/bin/corepack       0.18.0
    
    I found these nodejs versions available for installation:
    
    nodejs:
      Installed: 18.17.1-1nodesource1
      Candidate: 18.17.1-1nodesource1
      Version table:
     *** 18.17.1-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
            100 /var/lib/dpkg/status
         18.17.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
         18.16.1-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
         18.16.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
         18.15.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
         18.14.2-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
         18.14.1-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
         18.14.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
         18.13.0+dfsg1-1 500
            500 http://ftp.debian.org/debian bookworm/main amd64 Packages
         18.13.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
         18.12.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
         18.11.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
         18.10.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
         18.9.1-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
         18.9.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
         18.8.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
         18.7.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
         18.6.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
         18.5.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
         18.4.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
         18.3.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
         18.2.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
         18.1.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
         18.0.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
    
    
    
    Nothing to do, your installation is using the correct paths.
    Nothing to do, your installed version is the recommended one.
    

    NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
    Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

    Thomas BraunT 1 Antwort Letzte Antwort
    1
    • M MCU

      @thomas-braun LXC-Container

      ioBroker nodejs fixer 2023-09-06
      
      Recommended nodejs-version is: 18.17.1
      Checking your installation now. Please be patient!
      
      Your current setup is:
      /usr/bin/nodejs         v18.17.1
      /usr/bin/node           v18.17.1
      /usr/bin/npm            9.6.7
      /usr/bin/npx            9.6.7
      /usr/bin/corepack       0.18.0
      
      I found these nodejs versions available for installation:
      
      nodejs:
        Installed: 18.17.1-1nodesource1
        Candidate: 18.17.1-1nodesource1
        Version table:
       *** 18.17.1-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
              100 /var/lib/dpkg/status
           18.17.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.16.1-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.16.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.15.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.14.2-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.14.1-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.14.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.13.0+dfsg1-1 500
              500 http://ftp.debian.org/debian bookworm/main amd64 Packages
           18.13.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.12.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.11.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.10.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.9.1-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.9.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.8.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.7.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.6.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.5.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.4.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.3.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.2.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.1.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.0.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
      
      
      
      Nothing to do, your installation is using the correct paths.
      Nothing to do, your installed version is the recommended one.
      
      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #62

      @mcu sagte in iob node fix - Skript:

      Nothing to do

      Hm. Der Codepart war einfach... ;-) Kannst du mal von einer Version <> 18 kommend das Skript laufen lassen?

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      M M 2 Antworten Letzte Antwort
      1
      • Thomas BraunT Thomas Braun

        @mcu sagte in iob node fix - Skript:

        Nothing to do

        Hm. Der Codepart war einfach... ;-) Kannst du mal von einer Version <> 18 kommend das Skript laufen lassen?

        M Online
        M Online
        mrjeschke
        schrieb am zuletzt editiert von
        #63

        @thomas-braun
        nodejs 20 sieht bei mir im LXC-Container so aus.

        ioBroker nodejs fixer 2023-09-06
        
        Recommended nodejs-version is: 18.17.1
        Checking your installation now. Please be patient!
        
        Your current setup is:
        /usr/bin/node           v20.5.1
        /usr/bin/npm            9.8.0
        /usr/bin/npx            9.8.0
        /usr/bin/corepack       0.19.0
        
        I found these nodejs versions available for installation:
        
        nodejs:
          Installed: 20.5.1-deb-1nodesource1
          Candidate: 20.5.1-deb-1nodesource1
          Version table:
         *** 20.5.1-deb-1nodesource1 500
                500 https://deb.nodesource.com/node_20.x bookworm/main amd64 Packages
                100 /var/lib/dpkg/status
             18.13.0+dfsg1-1 500
                500 http://deb.debian.org/debian bookworm/main amd64 Packages
        
        
        
        Nothing to do, your installation is using the correct paths.
        
        You are running nodejs v20.5.1. Do you want to install recommended version 18.17.1? 
        
        Press <y> to continue or any other key to quit
        Trying to fix your installation now. Please be patient.
        find: '/lost+found': Permission denied
        lxc
        Waiting for ioBroker to shut down - Give me a minute...
        ############################################################
        *** These repos are active on your system:
        Hit:1 http://deb.debian.org/debian bookworm InRelease
        Hit:2 http://security.debian.org bookworm-security InRelease
        Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
        Reading package lists... Done
        
        *** Installing ca-certificates, curl and gnupg, just in case they are missing.
        Reading package lists... Done
        Building dependency tree... Done
        Reading state information... Done
        ca-certificates is already the newest version (20230311).
        curl is already the newest version (7.88.1-10+deb12u1).
        gnupg is already the newest version (2.2.40-1.1).
        0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
        
        *** Creating new /etc/apt/sources.list.d/nodesource.list
        deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
        
        *** These repos are active after the adjustments:
        Hit:1 http://security.debian.org bookworm-security InRelease
        Hit:2 http://deb.debian.org/debian bookworm InRelease                   
        Hit:3 http://deb.debian.org/debian bookworm-updates InRelease           
        Get:4 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB] 
        Get:5 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [5181 B]
        Fetched 17.3 kB in 0s (38.4 kB/s)
        Reading package lists... Done
        
        Installing the recommended nodejs version now!
        ./iob_node_update: line 275: [: : integer expression expected
        Exact recommended version unknown, installing a fallback!
        Reading package lists... Done
        Building dependency tree... Done
        Reading state information... Done
        The following packages will be DOWNGRADED:
          nodejs
        0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
        Need to get 29.4 MB of archives.
        After this operation, 5249 kB disk space will be freed.
        Get:1 https://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.17.0-1nodesource1 [29.4 MB]
        Fetched 29.4 MB in 2s (13.2 MB/s) 
        dpkg: warning: downgrading nodejs from 20.5.1-deb-1nodesource1 to 18.17.0-1nodesource1
        (Reading database ... 37746 files and directories currently installed.)
        Preparing to unpack .../nodejs_18.17.0-1nodesource1_amd64.deb ...
        Detected old npm client, removing...
        Unpacking nodejs (18.17.0-1nodesource1) over (20.5.1-deb-1nodesource1) ...
        Setting up nodejs (18.17.0-1nodesource1) ...
        Processing triggers for man-db (2.11.2-2) ...
        
        Updating fallback to latest nodejs v18 release
        Hit:1 http://deb.debian.org/debian bookworm InRelease
        Hit:2 http://security.debian.org bookworm-security InRelease            
        Hit:3 http://deb.debian.org/debian bookworm-updates InRelease           
        Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease           
        Reading package lists... Done
        Reading package lists... Done
        Building dependency tree... Done
        Reading state information... Done
        Calculating upgrade... Done
        The following packages will be upgraded:
          nodejs
        1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
        Need to get 29.4 MB of archives.
        After this operation, 7168 B of additional disk space will be used.
        Get:1 https://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.17.1-1nodesource1 [29.4 MB]
        Fetched 29.4 MB in 1s (43.5 MB/s)
        apt-listchanges: Reading changelogs...
        (Reading database ... 37813 files and directories currently installed.)
        Preparing to unpack .../nodejs_18.17.1-1nodesource1_amd64.deb ...
        Detected old npm client, removing...
        Unpacking nodejs (18.17.1-1nodesource1) over (18.17.0-1nodesource1) ...
        Setting up nodejs (18.17.1-1nodesource1) ...
        Processing triggers for man-db (2.11.2-2) ...
        ./iob_node_update: line 300: [: : integer expression expected
        
        *** You need to manually restart your container now! *** 
        
        We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
        maik@iobtest:~$ 
        
        
        Thomas BraunT 2 Antworten Letzte Antwort
        0
        • Thomas BraunT Thomas Braun

          @mcu sagte in iob node fix - Skript:

          Nothing to do

          Hm. Der Codepart war einfach... ;-) Kannst du mal von einer Version <> 18 kommend das Skript laufen lassen?

          M Online
          M Online
          MCU
          schrieb am zuletzt editiert von
          #64

          @thomas-braun Frisch aufgesetzter LXC mit nodejs 16 ohne ioBroker.

          ioBroker nodejs fixer 2023-09-06
          No recommendation for nodejs version found on your system. We recommend to install latest version from nodejs v18 tree.
          
          Your current setup is:
          /usr/bin/nodejs         v16.20.2
          /usr/bin/node           v16.20.2
          /usr/bin/npm            8.19.4
          /usr/bin/npx            8.19.4
          /usr/bin/corepack       0.17.0
          
          I found these nodejs versions available for installation:
          
          nodejs:
            Installed: 16.20.2-deb-1nodesource1
            Candidate: 16.20.2-deb-1nodesource1
            Version table:
           *** 16.20.2-deb-1nodesource1 500
                  500 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages
                  100 /var/lib/dpkg/status
               12.22.12~dfsg-1~deb11u4 500
                  500 http://security.debian.org bullseye-security/main amd64 Packages
               12.22.12~dfsg-1~deb11u3 500
                  500 http://ftp.debian.org/debian bullseye/main amd64 Packages
          
          
          
          Nothing to do, your installation is using the correct paths.
          
          You are running nodejs v16.20.2. Do you want to install recommended version ? 
          
          Press <y> to continue or any other key to quit
          Trying to fix your installation now. Please be patient.
          [sudo] password for prox: 
          find: '/lost+found': Permission denied
          lxc
          ./iob_node_update: line 248: iob: command not found
          Waiting for ioBroker to shut down - Give me a minute...
          ############################################################
          *** These repos are active on your system:
          Hit:1 http://ftp.debian.org/debian bullseye InRelease
          Hit:2 http://security.debian.org bullseye-security InRelease
          Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease
          Reading package lists... Done
          
          *** Installing ca-certificates, curl and gnupg, just in case they are missing.
          Reading package lists... Done
          Building dependency tree... Done
          Reading state information... Done
          ca-certificates is already the newest version (20210119).
          curl is already the newest version (7.74.0-1.3+deb11u7).
          gnupg is already the newest version (2.2.27-2+deb11u2).
          0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
          
          *** Creating new /etc/apt/sources.list.d/nodesource.list
          deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
          
          *** These repos are active after the adjustments:
          Hit:1 http://security.debian.org bullseye-security InRelease
          Hit:2 http://ftp.debian.org/debian bullseye InRelease                              
          Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease                      
          Get:4 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]            
          Get:5 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [5181 B]
          Fetched 17.3 kB in 0s (57.5 kB/s) 
          Reading package lists... Done
          
          Installing the recommended nodejs version now!
          Exact recommended version unknown, installing a fallback!
          Reading package lists... Done
          Building dependency tree... Done
          Reading state information... Done
          The following packages will be upgraded:
            nodejs
          1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
          Need to get 29.4 MB of archives.
          After this operation, 60.4 MB of additional disk space will be used.
          Get:1 https://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.17.0-1nodesource1 [29.4 MB]
          Fetched 29.4 MB in 1s (21.7 MB/s)  
          apt-listchanges: Reading changelogs...
          (Reading database ... 22654 files and directories currently installed.)
          Preparing to unpack .../nodejs_18.17.0-1nodesource1_amd64.deb ...
          Detected old npm client, removing...
          Unpacking nodejs (18.17.0-1nodesource1) over (16.20.2-deb-1nodesource1) ...
          Setting up nodejs (18.17.0-1nodesource1) ...
          Processing triggers for man-db (2.9.4-2) ...
          
          Updating fallback to latest nodejs v18 release
          Hit:1 http://ftp.debian.org/debian bullseye InRelease
          Hit:2 http://security.debian.org bullseye-security InRelease
          Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease
          Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
          Reading package lists... Done
          Reading package lists... Done
          Building dependency tree... Done
          Reading state information... Done
          Calculating upgrade... Done
          The following packages will be upgraded:
            nodejs
          1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
          Need to get 29.4 MB of archives.
          After this operation, 7168 B of additional disk space will be used.
          Get:1 https://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.17.1-1nodesource1 [29.4 MB]
          Fetched 29.4 MB in 1s (41.9 MB/s) 
          apt-listchanges: Reading changelogs...
          (Reading database ... 25141 files and directories currently installed.)
          Preparing to unpack .../nodejs_18.17.1-1nodesource1_amd64.deb ...
          Detected old npm client, removing...
          Unpacking nodejs (18.17.1-1nodesource1) over (18.17.0-1nodesource1) ...
          Setting up nodejs (18.17.1-1nodesource1) ...
          Processing triggers for man-db (2.9.4-2) ...
          Reading package lists... Done
          Building dependency tree... Done
          Reading state information... Done
          nodejs is already the newest version (18.17.1-1nodesource1).
          Calculating upgrade... Done
          0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
          
          *** You need to manually restart your container now! *** 
          
          We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
          

          NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
          Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

          HomoranH 1 Antwort Letzte Antwort
          1
          • M MCU

            @thomas-braun Frisch aufgesetzter LXC mit nodejs 16 ohne ioBroker.

            ioBroker nodejs fixer 2023-09-06
            No recommendation for nodejs version found on your system. We recommend to install latest version from nodejs v18 tree.
            
            Your current setup is:
            /usr/bin/nodejs         v16.20.2
            /usr/bin/node           v16.20.2
            /usr/bin/npm            8.19.4
            /usr/bin/npx            8.19.4
            /usr/bin/corepack       0.17.0
            
            I found these nodejs versions available for installation:
            
            nodejs:
              Installed: 16.20.2-deb-1nodesource1
              Candidate: 16.20.2-deb-1nodesource1
              Version table:
             *** 16.20.2-deb-1nodesource1 500
                    500 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages
                    100 /var/lib/dpkg/status
                 12.22.12~dfsg-1~deb11u4 500
                    500 http://security.debian.org bullseye-security/main amd64 Packages
                 12.22.12~dfsg-1~deb11u3 500
                    500 http://ftp.debian.org/debian bullseye/main amd64 Packages
            
            
            
            Nothing to do, your installation is using the correct paths.
            
            You are running nodejs v16.20.2. Do you want to install recommended version ? 
            
            Press <y> to continue or any other key to quit
            Trying to fix your installation now. Please be patient.
            [sudo] password for prox: 
            find: '/lost+found': Permission denied
            lxc
            ./iob_node_update: line 248: iob: command not found
            Waiting for ioBroker to shut down - Give me a minute...
            ############################################################
            *** These repos are active on your system:
            Hit:1 http://ftp.debian.org/debian bullseye InRelease
            Hit:2 http://security.debian.org bullseye-security InRelease
            Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease
            Reading package lists... Done
            
            *** Installing ca-certificates, curl and gnupg, just in case they are missing.
            Reading package lists... Done
            Building dependency tree... Done
            Reading state information... Done
            ca-certificates is already the newest version (20210119).
            curl is already the newest version (7.74.0-1.3+deb11u7).
            gnupg is already the newest version (2.2.27-2+deb11u2).
            0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
            
            *** Creating new /etc/apt/sources.list.d/nodesource.list
            deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
            
            *** These repos are active after the adjustments:
            Hit:1 http://security.debian.org bullseye-security InRelease
            Hit:2 http://ftp.debian.org/debian bullseye InRelease                              
            Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease                      
            Get:4 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]            
            Get:5 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [5181 B]
            Fetched 17.3 kB in 0s (57.5 kB/s) 
            Reading package lists... Done
            
            Installing the recommended nodejs version now!
            Exact recommended version unknown, installing a fallback!
            Reading package lists... Done
            Building dependency tree... Done
            Reading state information... Done
            The following packages will be upgraded:
              nodejs
            1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
            Need to get 29.4 MB of archives.
            After this operation, 60.4 MB of additional disk space will be used.
            Get:1 https://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.17.0-1nodesource1 [29.4 MB]
            Fetched 29.4 MB in 1s (21.7 MB/s)  
            apt-listchanges: Reading changelogs...
            (Reading database ... 22654 files and directories currently installed.)
            Preparing to unpack .../nodejs_18.17.0-1nodesource1_amd64.deb ...
            Detected old npm client, removing...
            Unpacking nodejs (18.17.0-1nodesource1) over (16.20.2-deb-1nodesource1) ...
            Setting up nodejs (18.17.0-1nodesource1) ...
            Processing triggers for man-db (2.9.4-2) ...
            
            Updating fallback to latest nodejs v18 release
            Hit:1 http://ftp.debian.org/debian bullseye InRelease
            Hit:2 http://security.debian.org bullseye-security InRelease
            Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease
            Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
            Reading package lists... Done
            Reading package lists... Done
            Building dependency tree... Done
            Reading state information... Done
            Calculating upgrade... Done
            The following packages will be upgraded:
              nodejs
            1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
            Need to get 29.4 MB of archives.
            After this operation, 7168 B of additional disk space will be used.
            Get:1 https://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.17.1-1nodesource1 [29.4 MB]
            Fetched 29.4 MB in 1s (41.9 MB/s) 
            apt-listchanges: Reading changelogs...
            (Reading database ... 25141 files and directories currently installed.)
            Preparing to unpack .../nodejs_18.17.1-1nodesource1_amd64.deb ...
            Detected old npm client, removing...
            Unpacking nodejs (18.17.1-1nodesource1) over (18.17.0-1nodesource1) ...
            Setting up nodejs (18.17.1-1nodesource1) ...
            Processing triggers for man-db (2.9.4-2) ...
            Reading package lists... Done
            Building dependency tree... Done
            Reading state information... Done
            nodejs is already the newest version (18.17.1-1nodesource1).
            Calculating upgrade... Done
            0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
            
            *** You need to manually restart your container now! *** 
            
            We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
            
            HomoranH Nicht stören
            HomoranH Nicht stören
            Homoran
            Global Moderator Administrators
            schrieb am zuletzt editiert von
            #65

            @mcu sagte in iob node fix - Skript:

            ohne ioBroker.

            dann kennt er natürlich (?) die empfohlene Version nicht

            @mcu sagte in iob node fix - Skript:

            Do you want to install recommended version ?

            @Thomas-Braun

            @mcu sagte in iob node fix - Skript:

            Installing the recommended nodejs version now!

            was tut er dann?

            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

            M Thomas BraunT 2 Antworten Letzte Antwort
            1
            • M mrjeschke

              @thomas-braun
              nodejs 20 sieht bei mir im LXC-Container so aus.

              ioBroker nodejs fixer 2023-09-06
              
              Recommended nodejs-version is: 18.17.1
              Checking your installation now. Please be patient!
              
              Your current setup is:
              /usr/bin/node           v20.5.1
              /usr/bin/npm            9.8.0
              /usr/bin/npx            9.8.0
              /usr/bin/corepack       0.19.0
              
              I found these nodejs versions available for installation:
              
              nodejs:
                Installed: 20.5.1-deb-1nodesource1
                Candidate: 20.5.1-deb-1nodesource1
                Version table:
               *** 20.5.1-deb-1nodesource1 500
                      500 https://deb.nodesource.com/node_20.x bookworm/main amd64 Packages
                      100 /var/lib/dpkg/status
                   18.13.0+dfsg1-1 500
                      500 http://deb.debian.org/debian bookworm/main amd64 Packages
              
              
              
              Nothing to do, your installation is using the correct paths.
              
              You are running nodejs v20.5.1. Do you want to install recommended version 18.17.1? 
              
              Press <y> to continue or any other key to quit
              Trying to fix your installation now. Please be patient.
              find: '/lost+found': Permission denied
              lxc
              Waiting for ioBroker to shut down - Give me a minute...
              ############################################################
              *** These repos are active on your system:
              Hit:1 http://deb.debian.org/debian bookworm InRelease
              Hit:2 http://security.debian.org bookworm-security InRelease
              Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
              Reading package lists... Done
              
              *** Installing ca-certificates, curl and gnupg, just in case they are missing.
              Reading package lists... Done
              Building dependency tree... Done
              Reading state information... Done
              ca-certificates is already the newest version (20230311).
              curl is already the newest version (7.88.1-10+deb12u1).
              gnupg is already the newest version (2.2.40-1.1).
              0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
              
              *** Creating new /etc/apt/sources.list.d/nodesource.list
              deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
              
              *** These repos are active after the adjustments:
              Hit:1 http://security.debian.org bookworm-security InRelease
              Hit:2 http://deb.debian.org/debian bookworm InRelease                   
              Hit:3 http://deb.debian.org/debian bookworm-updates InRelease           
              Get:4 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB] 
              Get:5 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [5181 B]
              Fetched 17.3 kB in 0s (38.4 kB/s)
              Reading package lists... Done
              
              Installing the recommended nodejs version now!
              ./iob_node_update: line 275: [: : integer expression expected
              Exact recommended version unknown, installing a fallback!
              Reading package lists... Done
              Building dependency tree... Done
              Reading state information... Done
              The following packages will be DOWNGRADED:
                nodejs
              0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
              Need to get 29.4 MB of archives.
              After this operation, 5249 kB disk space will be freed.
              Get:1 https://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.17.0-1nodesource1 [29.4 MB]
              Fetched 29.4 MB in 2s (13.2 MB/s) 
              dpkg: warning: downgrading nodejs from 20.5.1-deb-1nodesource1 to 18.17.0-1nodesource1
              (Reading database ... 37746 files and directories currently installed.)
              Preparing to unpack .../nodejs_18.17.0-1nodesource1_amd64.deb ...
              Detected old npm client, removing...
              Unpacking nodejs (18.17.0-1nodesource1) over (20.5.1-deb-1nodesource1) ...
              Setting up nodejs (18.17.0-1nodesource1) ...
              Processing triggers for man-db (2.11.2-2) ...
              
              Updating fallback to latest nodejs v18 release
              Hit:1 http://deb.debian.org/debian bookworm InRelease
              Hit:2 http://security.debian.org bookworm-security InRelease            
              Hit:3 http://deb.debian.org/debian bookworm-updates InRelease           
              Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease           
              Reading package lists... Done
              Reading package lists... Done
              Building dependency tree... Done
              Reading state information... Done
              Calculating upgrade... Done
              The following packages will be upgraded:
                nodejs
              1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
              Need to get 29.4 MB of archives.
              After this operation, 7168 B of additional disk space will be used.
              Get:1 https://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.17.1-1nodesource1 [29.4 MB]
              Fetched 29.4 MB in 1s (43.5 MB/s)
              apt-listchanges: Reading changelogs...
              (Reading database ... 37813 files and directories currently installed.)
              Preparing to unpack .../nodejs_18.17.1-1nodesource1_amd64.deb ...
              Detected old npm client, removing...
              Unpacking nodejs (18.17.1-1nodesource1) over (18.17.0-1nodesource1) ...
              Setting up nodejs (18.17.1-1nodesource1) ...
              Processing triggers for man-db (2.11.2-2) ...
              ./iob_node_update: line 300: [: : integer expression expected
              
              *** You need to manually restart your container now! *** 
              
              We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
              maik@iobtest:~$ 
              
              
              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von
              #66

              @mrjeschke sagte in iob node fix - Skript:

              find: '/lost+found': Permission denied

              Gut, der muss auch noch geprunt werden.

              ./iob_node_update: line 275: [: : integer expression expected
              ./iob_node_update: line 300: [: : integer expression expected

              Nanu?
              Muss ich schauen.

              Thx! Ich verzieh mich in die Code-Küche und brutzel noch was...

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              1 Antwort Letzte Antwort
              1
              • HomoranH Homoran

                @mcu sagte in iob node fix - Skript:

                ohne ioBroker.

                dann kennt er natürlich (?) die empfohlene Version nicht

                @mcu sagte in iob node fix - Skript:

                Do you want to install recommended version ?

                @Thomas-Braun

                @mcu sagte in iob node fix - Skript:

                Installing the recommended nodejs version now!

                was tut er dann?

                M Online
                M Online
                MCU
                schrieb am zuletzt editiert von
                #67

                @homoran Ich hab dann mit y bestätigt und er hat dann die v18 installiert.

                NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
                Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

                HomoranH 1 Antwort Letzte Antwort
                1
                • HomoranH Homoran

                  @mcu sagte in iob node fix - Skript:

                  ohne ioBroker.

                  dann kennt er natürlich (?) die empfohlene Version nicht

                  @mcu sagte in iob node fix - Skript:

                  Do you want to install recommended version ?

                  @Thomas-Braun

                  @mcu sagte in iob node fix - Skript:

                  Installing the recommended nodejs version now!

                  was tut er dann?

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von Thomas Braun
                  #68

                  @homoran sagte in iob node fix - Skript:

                  was tut er dann?

                  Dann geht es auf die neueste Version aus dem 18er-Zweig. Oder welcher nodejs-Entwicklungszweig auch immer gerade empfohlen wird. Der muss allerdings immer händisch im skript gesetzt werden, wenn sich die generelle Empfehlung ändert.

                  NODE_MAJOR=18           #recommended major nodejs version for ioBroker, please adjust if the recommendation changes
                  

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  1 Antwort Letzte Antwort
                  2
                  • M MCU

                    @homoran Ich hab dann mit y bestätigt und er hat dann die v18 installiert.

                    HomoranH Nicht stören
                    HomoranH Nicht stören
                    Homoran
                    Global Moderator Administrators
                    schrieb am zuletzt editiert von Homoran
                    #69

                    @mcu sagte in iob node fix - Skript:

                    und er hat dann die v18 installiert.

                    hab ich auch gesehen, aber wieso?

                    hier

                    @mrjeschke sagte in iob node fix - Skript:

                    You are running nodejs v20.5.1. Do you want to install recommended version 18.17.1?

                    gibt er die recommended version komplett an.
                    bei dir steht da (erwartungsgemäß) nichts

                    edit: Hat sich mit Thomas' Antwort geklärt

                    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                    Thomas BraunT 1 Antwort Letzte Antwort
                    1
                    • HomoranH Homoran

                      @mcu sagte in iob node fix - Skript:

                      und er hat dann die v18 installiert.

                      hab ich auch gesehen, aber wieso?

                      hier

                      @mrjeschke sagte in iob node fix - Skript:

                      You are running nodejs v20.5.1. Do you want to install recommended version 18.17.1?

                      gibt er die recommended version komplett an.
                      bei dir steht da (erwartungsgemäß) nichts

                      edit: Hat sich mit Thomas' Antwort geklärt

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von Thomas Braun
                      #70

                      @homoran sagte in iob node fix - Skript:

                      gibt er die recommended version komplett an.
                      bei dir steht da nichts

                      Bei @mrjeschke konnte die empfohlene Version auch direkt aus den iob-States gelesen werden.

                      Wenn es aber ein slave ist oder die Datenbank (noch) nicht geladen ist, dann greift der Fallback-Code.

                      So oder so soll am Ende immer die aktuellste Version aus dem empfohlenen Zweig installiert sein (inkl. aktuellem Schlüssel und aktueller, unverfrickelter nodesource.list)

                      Ich hatte überlegt, die Version auswählbar zu machen, hab mich aber dann dagegen entschieden.

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      HomoranH 1 Antwort Letzte Antwort
                      1
                      • Thomas BraunT Thomas Braun

                        @homoran sagte in iob node fix - Skript:

                        gibt er die recommended version komplett an.
                        bei dir steht da nichts

                        Bei @mrjeschke konnte die empfohlene Version auch direkt aus den iob-States gelesen werden.

                        Wenn es aber ein slave ist oder die Datenbank (noch) nicht geladen ist, dann greift der Fallback-Code.

                        So oder so soll am Ende immer die aktuellste Version aus dem empfohlenen Zweig installiert sein (inkl. aktuellem Schlüssel und aktueller, unverfrickelter nodesource.list)

                        Ich hatte überlegt, die Version auswählbar zu machen, hab mich aber dann dagegen entschieden.

                        HomoranH Nicht stören
                        HomoranH Nicht stören
                        Homoran
                        Global Moderator Administrators
                        schrieb am zuletzt editiert von
                        #71

                        @thomas-braun alles gut!

                        Damit hast du jetzt auch den Fallback verifiziert.
                        ich hatte mich nur gefragt woher bei nicht vorhandener Empfehlung jetztcdue v18 kam.

                        Aber du denkst anscheinend an allem!

                        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                        Thomas BraunT 1 Antwort Letzte Antwort
                        1
                        • HomoranH Homoran

                          @thomas-braun alles gut!

                          Damit hast du jetzt auch den Fallback verifiziert.
                          ich hatte mich nur gefragt woher bei nicht vorhandener Empfehlung jetztcdue v18 kam.

                          Aber du denkst anscheinend an allem!

                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          schrieb am zuletzt editiert von Thomas Braun
                          #72

                          @homoran sagte in iob node fix - Skript:

                          Damit hast du jetzt auch den Fallback verifiziert.

                          Den konnte ich hier lokal schon ausgiebig testen. Hab mein Test-System mit diversen krummen Konstellationen malträtiert und das skript immer aufräumen lassen. :-)

                          Intern nenne ich es auch 'die nodejs-Putze'. :-D

                          Linux-Werkzeugkasten:
                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                          NodeJS Fixer Skript:
                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          1 Antwort Letzte Antwort
                          1
                          • M mrjeschke

                            @thomas-braun
                            nodejs 20 sieht bei mir im LXC-Container so aus.

                            ioBroker nodejs fixer 2023-09-06
                            
                            Recommended nodejs-version is: 18.17.1
                            Checking your installation now. Please be patient!
                            
                            Your current setup is:
                            /usr/bin/node           v20.5.1
                            /usr/bin/npm            9.8.0
                            /usr/bin/npx            9.8.0
                            /usr/bin/corepack       0.19.0
                            
                            I found these nodejs versions available for installation:
                            
                            nodejs:
                              Installed: 20.5.1-deb-1nodesource1
                              Candidate: 20.5.1-deb-1nodesource1
                              Version table:
                             *** 20.5.1-deb-1nodesource1 500
                                    500 https://deb.nodesource.com/node_20.x bookworm/main amd64 Packages
                                    100 /var/lib/dpkg/status
                                 18.13.0+dfsg1-1 500
                                    500 http://deb.debian.org/debian bookworm/main amd64 Packages
                            
                            
                            
                            Nothing to do, your installation is using the correct paths.
                            
                            You are running nodejs v20.5.1. Do you want to install recommended version 18.17.1? 
                            
                            Press <y> to continue or any other key to quit
                            Trying to fix your installation now. Please be patient.
                            find: '/lost+found': Permission denied
                            lxc
                            Waiting for ioBroker to shut down - Give me a minute...
                            ############################################################
                            *** These repos are active on your system:
                            Hit:1 http://deb.debian.org/debian bookworm InRelease
                            Hit:2 http://security.debian.org bookworm-security InRelease
                            Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
                            Reading package lists... Done
                            
                            *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                            Reading package lists... Done
                            Building dependency tree... Done
                            Reading state information... Done
                            ca-certificates is already the newest version (20230311).
                            curl is already the newest version (7.88.1-10+deb12u1).
                            gnupg is already the newest version (2.2.40-1.1).
                            0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                            
                            *** Creating new /etc/apt/sources.list.d/nodesource.list
                            deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
                            
                            *** These repos are active after the adjustments:
                            Hit:1 http://security.debian.org bookworm-security InRelease
                            Hit:2 http://deb.debian.org/debian bookworm InRelease                   
                            Hit:3 http://deb.debian.org/debian bookworm-updates InRelease           
                            Get:4 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB] 
                            Get:5 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [5181 B]
                            Fetched 17.3 kB in 0s (38.4 kB/s)
                            Reading package lists... Done
                            
                            Installing the recommended nodejs version now!
                            ./iob_node_update: line 275: [: : integer expression expected
                            Exact recommended version unknown, installing a fallback!
                            Reading package lists... Done
                            Building dependency tree... Done
                            Reading state information... Done
                            The following packages will be DOWNGRADED:
                              nodejs
                            0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
                            Need to get 29.4 MB of archives.
                            After this operation, 5249 kB disk space will be freed.
                            Get:1 https://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.17.0-1nodesource1 [29.4 MB]
                            Fetched 29.4 MB in 2s (13.2 MB/s) 
                            dpkg: warning: downgrading nodejs from 20.5.1-deb-1nodesource1 to 18.17.0-1nodesource1
                            (Reading database ... 37746 files and directories currently installed.)
                            Preparing to unpack .../nodejs_18.17.0-1nodesource1_amd64.deb ...
                            Detected old npm client, removing...
                            Unpacking nodejs (18.17.0-1nodesource1) over (20.5.1-deb-1nodesource1) ...
                            Setting up nodejs (18.17.0-1nodesource1) ...
                            Processing triggers for man-db (2.11.2-2) ...
                            
                            Updating fallback to latest nodejs v18 release
                            Hit:1 http://deb.debian.org/debian bookworm InRelease
                            Hit:2 http://security.debian.org bookworm-security InRelease            
                            Hit:3 http://deb.debian.org/debian bookworm-updates InRelease           
                            Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease           
                            Reading package lists... Done
                            Reading package lists... Done
                            Building dependency tree... Done
                            Reading state information... Done
                            Calculating upgrade... Done
                            The following packages will be upgraded:
                              nodejs
                            1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                            Need to get 29.4 MB of archives.
                            After this operation, 7168 B of additional disk space will be used.
                            Get:1 https://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.17.1-1nodesource1 [29.4 MB]
                            Fetched 29.4 MB in 1s (43.5 MB/s)
                            apt-listchanges: Reading changelogs...
                            (Reading database ... 37813 files and directories currently installed.)
                            Preparing to unpack .../nodejs_18.17.1-1nodesource1_amd64.deb ...
                            Detected old npm client, removing...
                            Unpacking nodejs (18.17.1-1nodesource1) over (18.17.0-1nodesource1) ...
                            Setting up nodejs (18.17.1-1nodesource1) ...
                            Processing triggers for man-db (2.11.2-2) ...
                            ./iob_node_update: line 300: [: : integer expression expected
                            
                            *** You need to manually restart your container now! *** 
                            
                            We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
                            maik@iobtest:~$ 
                            
                            
                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            schrieb am zuletzt editiert von
                            #73

                            @mrjeschke

                            Bitte nochmal von einer nodejs@20 aus mit frischem Skript aufräumen lassen.

                            Linux-Werkzeugkasten:
                            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                            NodeJS Fixer Skript:
                            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                            M 1 Antwort Letzte Antwort
                            1
                            • Thomas BraunT Thomas Braun

                              @mrjeschke

                              Bitte nochmal von einer nodejs@20 aus mit frischem Skript aufräumen lassen.

                              M Online
                              M Online
                              mrjeschke
                              schrieb am zuletzt editiert von
                              #74

                              @thomas-braun

                              ioBroker nodejs fixer 2023-09-07
                              
                              Recommended nodejs-version is: 18.17.1
                              Checking your installation now. Please be patient!
                              
                              Your current setup is:
                              /usr/bin/nodejs         v20.6.0
                              /usr/bin/node           v20.6.0
                              /usr/bin/npm            9.8.1
                              /usr/bin/npx            9.8.1
                              /usr/bin/corepack       0.19.0
                              
                              I found these nodejs versions available for installation:
                              
                              nodejs:
                                Installed: 20.6.0-1nodesource1
                                Candidate: 20.6.0-1nodesource1
                                Version table:
                               *** 20.6.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                      100 /var/lib/dpkg/status
                                   20.5.1-1nodesource1 500
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.5.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.4.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.3.1-1nodesource1 500
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.3.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.2.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.1.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.0.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   18.13.0+dfsg1-1 500
                                      500 http://deb.debian.org/debian bookworm/main amd64 Packages
                              
                              
                              
                              Reading state information... Done
                              ca-certificates is already the newest version (20230311).
                              curl is already the newest version (7.88.1-10+deb12u1).
                              gnupg is already the newest version (2.2.40-1.1).
                              The following packages were automatically installed and are no longer required:
                                libc-ares2 node-busboy node-cjs-module-lexer node-undici node-xtend
                              Use 'sudo apt autoremove' to remove them.
                              0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                              
                              *** Creating new /etc/apt/sources.list.d/nodesource.list
                              deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
                              
                              *** These repos are active after the adjustments:
                              Hit:1 http://deb.debian.org/debian bookworm InRelease
                              Hit:2 http://deb.debian.org/debian bookworm-updates InRelease             
                              Hit:3 http://security.debian.org bookworm-security InRelease              
                              Get:4 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
                              Get:5 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [5181 B]
                              Fetched 17.3 kB in 1s (27.1 kB/s)
                              Reading package lists... Done
                              
                              Installing the recommended nodejs version now!
                              Reading package lists... Done
                              Building dependency tree... Done
                              Reading state information... Done
                              The following packages were automatically installed and are no longer required:
                                libc-ares2 node-busboy node-cjs-module-lexer node-undici node-xtend
                              Use 'sudo apt autoremove' to remove them.
                              The following packages will be DOWNGRADED:
                                nodejs
                              0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
                              Need to get 0 B/29.4 MB of archives.
                              After this operation, 5746 kB disk space will be freed.
                              dpkg: warning: downgrading nodejs from 20.6.0-1nodesource1 to 18.17.1-1nodesource1
                              (Reading database ... 38007 files and directories currently installed.)
                              Preparing to unpack .../nodejs_18.17.1-1nodesource1_amd64.deb ...
                              Detected old npm client, removing...
                              Unpacking nodejs (18.17.1-1nodesource1) over (20.6.0-1nodesource1) ...
                              Setting up nodejs (18.17.1-1nodesource1) ...
                              Processing triggers for man-db (2.11.2-2) ...
                              Reading package lists... Done
                              Building dependency tree... Done
                              Reading state information... Done
                              nodejs is already the newest version (18.17.1-1nodesource1).
                              Calculating upgrade... Done
                              The following packages were automatically installed and are no longer required:
                                libc-ares2 node-busboy node-cjs-module-lexer node-undici node-xtend
                              Use 'sudo apt autoremove' to remove them.
                              0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                              
                              *** You need to manually restart your container now! *** 
                              
                              We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
                              maik@iobtest:~$ 
                              
                              Thomas BraunT 1 Antwort Letzte Antwort
                              0
                              • M mrjeschke

                                @thomas-braun

                                ioBroker nodejs fixer 2023-09-07
                                
                                Recommended nodejs-version is: 18.17.1
                                Checking your installation now. Please be patient!
                                
                                Your current setup is:
                                /usr/bin/nodejs         v20.6.0
                                /usr/bin/node           v20.6.0
                                /usr/bin/npm            9.8.1
                                /usr/bin/npx            9.8.1
                                /usr/bin/corepack       0.19.0
                                
                                I found these nodejs versions available for installation:
                                
                                nodejs:
                                  Installed: 20.6.0-1nodesource1
                                  Candidate: 20.6.0-1nodesource1
                                  Version table:
                                 *** 20.6.0-1nodesource1 500
                                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                        100 /var/lib/dpkg/status
                                     20.5.1-1nodesource1 500
                                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                     20.5.0-1nodesource1 500
                                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                     20.4.0-1nodesource1 500
                                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                     20.3.1-1nodesource1 500
                                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                     20.3.0-1nodesource1 500
                                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                     20.2.0-1nodesource1 500
                                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                     20.1.0-1nodesource1 500
                                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                     20.0.0-1nodesource1 500
                                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                     18.13.0+dfsg1-1 500
                                        500 http://deb.debian.org/debian bookworm/main amd64 Packages
                                
                                
                                
                                Reading state information... Done
                                ca-certificates is already the newest version (20230311).
                                curl is already the newest version (7.88.1-10+deb12u1).
                                gnupg is already the newest version (2.2.40-1.1).
                                The following packages were automatically installed and are no longer required:
                                  libc-ares2 node-busboy node-cjs-module-lexer node-undici node-xtend
                                Use 'sudo apt autoremove' to remove them.
                                0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                
                                *** Creating new /etc/apt/sources.list.d/nodesource.list
                                deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
                                
                                *** These repos are active after the adjustments:
                                Hit:1 http://deb.debian.org/debian bookworm InRelease
                                Hit:2 http://deb.debian.org/debian bookworm-updates InRelease             
                                Hit:3 http://security.debian.org bookworm-security InRelease              
                                Get:4 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
                                Get:5 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [5181 B]
                                Fetched 17.3 kB in 1s (27.1 kB/s)
                                Reading package lists... Done
                                
                                Installing the recommended nodejs version now!
                                Reading package lists... Done
                                Building dependency tree... Done
                                Reading state information... Done
                                The following packages were automatically installed and are no longer required:
                                  libc-ares2 node-busboy node-cjs-module-lexer node-undici node-xtend
                                Use 'sudo apt autoremove' to remove them.
                                The following packages will be DOWNGRADED:
                                  nodejs
                                0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
                                Need to get 0 B/29.4 MB of archives.
                                After this operation, 5746 kB disk space will be freed.
                                dpkg: warning: downgrading nodejs from 20.6.0-1nodesource1 to 18.17.1-1nodesource1
                                (Reading database ... 38007 files and directories currently installed.)
                                Preparing to unpack .../nodejs_18.17.1-1nodesource1_amd64.deb ...
                                Detected old npm client, removing...
                                Unpacking nodejs (18.17.1-1nodesource1) over (20.6.0-1nodesource1) ...
                                Setting up nodejs (18.17.1-1nodesource1) ...
                                Processing triggers for man-db (2.11.2-2) ...
                                Reading package lists... Done
                                Building dependency tree... Done
                                Reading state information... Done
                                nodejs is already the newest version (18.17.1-1nodesource1).
                                Calculating upgrade... Done
                                The following packages were automatically installed and are no longer required:
                                  libc-ares2 node-busboy node-cjs-module-lexer node-undici node-xtend
                                Use 'sudo apt autoremove' to remove them.
                                0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                
                                *** You need to manually restart your container now! *** 
                                
                                We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
                                maik@iobtest:~$ 
                                
                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                schrieb am zuletzt editiert von
                                #75

                                @mrjeschke sagte in iob node fix - Skript:

                                The following packages were automatically installed and are no longer required:
                                libc-ares2 node-busboy node-cjs-module-lexer node-undici node-xtend

                                Da hast du aber mal die dfsg-Version von nodejs installiert gehabt... Die kommt nämlich mit diesen jetzt obsoleten Paketen angeschleppt.

                                Aber das Skript selber schaut jetzt gut aus.

                                Linux-Werkzeugkasten:
                                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                NodeJS Fixer Skript:
                                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                M 1 Antwort Letzte Antwort
                                1
                                • Thomas BraunT Thomas Braun

                                  @mrjeschke sagte in iob node fix - Skript:

                                  The following packages were automatically installed and are no longer required:
                                  libc-ares2 node-busboy node-cjs-module-lexer node-undici node-xtend

                                  Da hast du aber mal die dfsg-Version von nodejs installiert gehabt... Die kommt nämlich mit diesen jetzt obsoleten Paketen angeschleppt.

                                  Aber das Skript selber schaut jetzt gut aus.

                                  M Online
                                  M Online
                                  mrjeschke
                                  schrieb am zuletzt editiert von
                                  #76

                                  @thomas-braun
                                  Hier noch die Version mit einer ganz frischen Installation.
                                  Habe ich Gestern nicht mehr geschafft, da ich Nachtschicht hatte.

                                  ioBroker nodejs fixer 2023-09-07
                                  
                                  Recommended nodejs-version is: 18.17.1
                                  Checking your installation now. Please be patient!
                                  
                                  Your current setup is:
                                  /usr/bin/nodejs         v20.6.0
                                  /usr/bin/node           v20.6.0
                                  /usr/bin/npm            9.8.1
                                  /usr/bin/npx            9.8.1
                                  /usr/bin/corepack       0.19.0
                                  
                                  I found these nodejs versions available for installation:
                                  
                                  nodejs:
                                    Installed: 20.6.0-1nodesource1
                                    Candidate: 20.6.0-1nodesource1
                                    Version table:
                                   *** 20.6.0-1nodesource1 500
                                          500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                          100 /var/lib/dpkg/status
                                       20.5.1-1nodesource1 500
                                          500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                       20.5.0-1nodesource1 500
                                          500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                       20.4.0-1nodesource1 500
                                          500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                       20.3.1-1nodesource1 500
                                          500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                       20.3.0-1nodesource1 500
                                          500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                       20.2.0-1nodesource1 500
                                          500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                       20.1.0-1nodesource1 500
                                          500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                       20.0.0-1nodesource1 500
                                          500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                       18.13.0+dfsg1-1 500
                                          500 http://deb.debian.org/debian bookworm/main amd64 Packages
                                  
                                  
                                  
                                  Nothing to do, your installation is using the correct paths.
                                  
                                  You are running nodejs v20.6.0. Do you want to install recommended version 18.17.1?
                                  
                                  Press <y> to continue or any other key to quit
                                  Trying to fix your installation now. Please be patient.
                                  lxc
                                  Waiting for ioBroker to shut down - Give me a minute...
                                  ############################################################
                                  *** These repos are active on your system:
                                  Hit:1 http://security.debian.org bookworm-security InRelease
                                  Hit:2 http://deb.debian.org/debian bookworm InRelease
                                  Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
                                  Reading package lists... Done
                                  
                                  *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                                  Reading package lists... Done
                                  Building dependency tree... Done
                                  Reading state information... Done
                                  ca-certificates is already the newest version (20230311).
                                  curl is already the newest version (7.88.1-10+deb12u1).
                                  gnupg is already the newest version (2.2.40-1.1).
                                  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                  
                                  *** Creating new /etc/apt/sources.list.d/nodesource.list
                                  deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
                                  
                                  *** These repos are active after the adjustments:
                                  Hit:1 http://security.debian.org bookworm-security InRelease
                                  Hit:2 http://deb.debian.org/debian bookworm InRelease
                                  Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
                                  Get:4 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
                                  Get:5 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [5181 B]
                                  Fetched 17.3 kB in 1s (27.3 kB/s)
                                  Reading package lists... Done
                                  
                                  Installing the recommended nodejs version now!
                                  Reading package lists... Done
                                  Building dependency tree... Done
                                  Reading state information... Done
                                  The following packages will be DOWNGRADED:
                                    nodejs
                                  0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
                                  Need to get 29.4 MB of archives.
                                  After this operation, 5746 kB disk space will be freed.
                                  Get:1 https://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.17.1-1nodesource1 [29.4 MB]
                                  Fetched 29.4 MB in 1s (31.3 MB/s)
                                  dpkg: warning: downgrading nodejs from 20.6.0-1nodesource1 to 18.17.1-1nodesource1
                                  (Reading database ... 37784 files and directories currently installed.)
                                  Preparing to unpack .../nodejs_18.17.1-1nodesource1_amd64.deb ...
                                  Detected old npm client, removing...
                                  Unpacking nodejs (18.17.1-1nodesource1) over (20.6.0-1nodesource1) ...
                                  Setting up nodejs (18.17.1-1nodesource1) ...
                                  Processing triggers for man-db (2.11.2-2) ...
                                  Reading package lists... Done
                                  Building dependency tree... Done
                                  Reading state information... Done
                                  nodejs is already the newest version (18.17.1-1nodesource1).
                                  Calculating upgrade... Done
                                  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                  
                                  *** You need to manually restart your container now! ***
                                  
                                  We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
                                  maik@iobtest2:~$
                                  
                                  Thomas BraunT 1 Antwort Letzte Antwort
                                  0
                                  • M mrjeschke

                                    @thomas-braun
                                    Hier noch die Version mit einer ganz frischen Installation.
                                    Habe ich Gestern nicht mehr geschafft, da ich Nachtschicht hatte.

                                    ioBroker nodejs fixer 2023-09-07
                                    
                                    Recommended nodejs-version is: 18.17.1
                                    Checking your installation now. Please be patient!
                                    
                                    Your current setup is:
                                    /usr/bin/nodejs         v20.6.0
                                    /usr/bin/node           v20.6.0
                                    /usr/bin/npm            9.8.1
                                    /usr/bin/npx            9.8.1
                                    /usr/bin/corepack       0.19.0
                                    
                                    I found these nodejs versions available for installation:
                                    
                                    nodejs:
                                      Installed: 20.6.0-1nodesource1
                                      Candidate: 20.6.0-1nodesource1
                                      Version table:
                                     *** 20.6.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                            100 /var/lib/dpkg/status
                                         20.5.1-1nodesource1 500
                                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                         20.5.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                         20.4.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                         20.3.1-1nodesource1 500
                                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                         20.3.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                         20.2.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                         20.1.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                         20.0.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                         18.13.0+dfsg1-1 500
                                            500 http://deb.debian.org/debian bookworm/main amd64 Packages
                                    
                                    
                                    
                                    Nothing to do, your installation is using the correct paths.
                                    
                                    You are running nodejs v20.6.0. Do you want to install recommended version 18.17.1?
                                    
                                    Press <y> to continue or any other key to quit
                                    Trying to fix your installation now. Please be patient.
                                    lxc
                                    Waiting for ioBroker to shut down - Give me a minute...
                                    ############################################################
                                    *** These repos are active on your system:
                                    Hit:1 http://security.debian.org bookworm-security InRelease
                                    Hit:2 http://deb.debian.org/debian bookworm InRelease
                                    Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
                                    Reading package lists... Done
                                    
                                    *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                                    Reading package lists... Done
                                    Building dependency tree... Done
                                    Reading state information... Done
                                    ca-certificates is already the newest version (20230311).
                                    curl is already the newest version (7.88.1-10+deb12u1).
                                    gnupg is already the newest version (2.2.40-1.1).
                                    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                    
                                    *** Creating new /etc/apt/sources.list.d/nodesource.list
                                    deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
                                    
                                    *** These repos are active after the adjustments:
                                    Hit:1 http://security.debian.org bookworm-security InRelease
                                    Hit:2 http://deb.debian.org/debian bookworm InRelease
                                    Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
                                    Get:4 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
                                    Get:5 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [5181 B]
                                    Fetched 17.3 kB in 1s (27.3 kB/s)
                                    Reading package lists... Done
                                    
                                    Installing the recommended nodejs version now!
                                    Reading package lists... Done
                                    Building dependency tree... Done
                                    Reading state information... Done
                                    The following packages will be DOWNGRADED:
                                      nodejs
                                    0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
                                    Need to get 29.4 MB of archives.
                                    After this operation, 5746 kB disk space will be freed.
                                    Get:1 https://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.17.1-1nodesource1 [29.4 MB]
                                    Fetched 29.4 MB in 1s (31.3 MB/s)
                                    dpkg: warning: downgrading nodejs from 20.6.0-1nodesource1 to 18.17.1-1nodesource1
                                    (Reading database ... 37784 files and directories currently installed.)
                                    Preparing to unpack .../nodejs_18.17.1-1nodesource1_amd64.deb ...
                                    Detected old npm client, removing...
                                    Unpacking nodejs (18.17.1-1nodesource1) over (20.6.0-1nodesource1) ...
                                    Setting up nodejs (18.17.1-1nodesource1) ...
                                    Processing triggers for man-db (2.11.2-2) ...
                                    Reading package lists... Done
                                    Building dependency tree... Done
                                    Reading state information... Done
                                    nodejs is already the newest version (18.17.1-1nodesource1).
                                    Calculating upgrade... Done
                                    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                    
                                    *** You need to manually restart your container now! ***
                                    
                                    We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
                                    maik@iobtest2:~$
                                    
                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #77

                                    Vielen Dank für das Beta-Testing!
                                    Habe jetzt gestern noch ein pinning auf das nodesoure-Repo gelegt, das muss aber nicht getestet werden.
                                    PR gegen den ioBroker ist gestellt. Mal schauen wie schnell das im upstream landet.

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    M 1 Antwort Letzte Antwort
                                    3
                                    • Thomas BraunT Thomas Braun

                                      Vielen Dank für das Beta-Testing!
                                      Habe jetzt gestern noch ein pinning auf das nodesoure-Repo gelegt, das muss aber nicht getestet werden.
                                      PR gegen den ioBroker ist gestellt. Mal schauen wie schnell das im upstream landet.

                                      M Online
                                      M Online
                                      MCU
                                      schrieb am zuletzt editiert von
                                      #78

                                      @thomas-braun Wenn irgendwann die empfohlene Version die 20 wäre, dann brauch ich nur

                                      NODE_MAJOR=20
                                      

                                      zu setzen und lasse dann

                                      iob_node_update
                                      

                                      laufen?

                                      NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
                                      Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

                                      Thomas BraunT 1 Antwort Letzte Antwort
                                      1
                                      • M MCU

                                        @thomas-braun Wenn irgendwann die empfohlene Version die 20 wäre, dann brauch ich nur

                                        NODE_MAJOR=20
                                        

                                        zu setzen und lasse dann

                                        iob_node_update
                                        

                                        laufen?

                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        schrieb am zuletzt editiert von Thomas Braun
                                        #79

                                        @mcu

                                        Ja.
                                        Das muss dann natürlich, wenn das Skript in den iob Installer integriert wurde dann auch dort zentral einmal geändert werden.

                                        Oder ich schau mal ob man das nicht aus der Installer Library auslesen kann. Dann wäre es nur einmal dort zu ändern.

                                        Irgendwie/wo muss die recommended version ja auch dort drin sein.

                                        Edith: In meinem ähnlich gelagerten PR zum Installer wird das natürlich auch mit einer Variablen gesetzt, im alten war ja der Link zum obsoleten nodejs-Installerskript drin.

                                        Edit2: Wobei die Varible NODE_MAJOR auch nur dann als 'FallBack' zum tragen kommt, wenn aus den iob-States nichts ausgelesen werden kann.

                                        Linux-Werkzeugkasten:
                                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                        NodeJS Fixer Skript:
                                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                        G 1 Antwort Letzte Antwort
                                        2
                                        • Thomas BraunT Thomas Braun

                                          @mcu

                                          Ja.
                                          Das muss dann natürlich, wenn das Skript in den iob Installer integriert wurde dann auch dort zentral einmal geändert werden.

                                          Oder ich schau mal ob man das nicht aus der Installer Library auslesen kann. Dann wäre es nur einmal dort zu ändern.

                                          Irgendwie/wo muss die recommended version ja auch dort drin sein.

                                          Edith: In meinem ähnlich gelagerten PR zum Installer wird das natürlich auch mit einer Variablen gesetzt, im alten war ja der Link zum obsoleten nodejs-Installerskript drin.

                                          Edit2: Wobei die Varible NODE_MAJOR auch nur dann als 'FallBack' zum tragen kommt, wenn aus den iob-States nichts ausgelesen werden kann.

                                          G Offline
                                          G Offline
                                          guitardoc
                                          schrieb am zuletzt editiert von
                                          #80

                                          @thomas-braun Kurze Frage dazu: wenn man gleichzeitig noch die Homebridge auf dem System hat, dann hat man zwei Installationen von Node drauf - Homebridge installiert Node in abweichenden Pfaden. Das können sogar unterschiedliche Versionen sein, es funktioniert trotzdem beides - ioB und Homebridge - einwandfrei. Kann der Node fixer das berücksichtigen, damit die Homebridge Installation nicht zerschossen wird oder interessiert das den Fixer gar nicht dass da noch eine zweite Installation drauf ist?

                                          Thomas BraunT 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          630

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe