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

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Neuer Befehl: "iob nodejs-update"

NEWS

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

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

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

Neuer Befehl: "iob nodejs-update"

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
93 Beiträge 27 Kommentatoren 32.6k 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

    @marc_el_k

    Hmm. Dann sollte aber eigentlich eine recommend version gefunden werden. Lass das bitte nochmal laufen, bei laufendem ioBroker.

    Marc_el_KM Offline
    Marc_el_KM Offline
    Marc_el_K
    schrieb am zuletzt editiert von
    #54

    @thomas-braun also ich hatte dann mit y bestätigt und bin jetzt bei 18.18.2

    d9ba5556-626f-4bbe-b9ee-a296e65c45cd-image.png

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • Marc_el_KM Marc_el_K

      @thomas-braun also ich hatte dann mit y bestätigt und bin jetzt bei 18.18.2

      d9ba5556-626f-4bbe-b9ee-a296e65c45cd-image.png

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

      @marc_el_k

      Zeig nochmal einen Lauf.

      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

      Marc_el_KM 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @marc_el_k

        Zeig nochmal einen Lauf.

        Marc_el_KM Offline
        Marc_el_KM Offline
        Marc_el_K
        schrieb am zuletzt editiert von
        #56

        @thomas-braun

        ioBroker nodejs fixer 2023-10-09
        
        Recommended nodejs-version is: 18.18.2
        Checking your installation now. Please be patient!
        
        Your current setup is:
        /usr/bin/nodejs         v18.18.2
        /usr/bin/node           v18.18.2
        /usr/bin/npm            9.8.1
        /usr/bin/npx            9.8.1
        /usr/bin/corepack       0.19.0
        
        We found these nodejs versions available for installation:
        
        nodejs:
          Installed: 18.18.2-1nodesource1
          Candidate: 18.18.2-1nodesource1
          Version table:
         *** 18.18.2-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                100 /var/lib/dpkg/status
             18.18.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.18.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.17.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.17.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.16.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.16.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.15.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.14.2-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.14.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.14.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.13.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.12.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.11.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.10.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.9.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.9.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.8.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.7.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.6.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.5.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.4.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.3.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.2.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.1.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.0.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             12.22.12~dfsg-1~deb11u4 500
                500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Package                                         s
        
        
        
        Nothing to do - Your installation is using the correct paths.
        Nothing to do - Your version is the recommended one.
        
        ***You can now keep your whole system up-to-date using the usual 'sudo apt updat                                         e && sudo apt full-upgrade' commands. ***
        *** DO NOT USE node version managers like 'nvm', 'n' and others in parallel. The                                         y will break your current installation! ***
        
         *** DO NOT use 'nodejs-update' as part of a regular update process! ***
        
        
        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • Marc_el_KM Marc_el_K

          @thomas-braun

          ioBroker nodejs fixer 2023-10-09
          
          Recommended nodejs-version is: 18.18.2
          Checking your installation now. Please be patient!
          
          Your current setup is:
          /usr/bin/nodejs         v18.18.2
          /usr/bin/node           v18.18.2
          /usr/bin/npm            9.8.1
          /usr/bin/npx            9.8.1
          /usr/bin/corepack       0.19.0
          
          We found these nodejs versions available for installation:
          
          nodejs:
            Installed: 18.18.2-1nodesource1
            Candidate: 18.18.2-1nodesource1
            Version table:
           *** 18.18.2-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                  100 /var/lib/dpkg/status
               18.18.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.18.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.17.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.17.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.16.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.16.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.15.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.14.2-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.14.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.14.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.13.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.12.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.11.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.10.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.9.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.9.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.8.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.7.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.6.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.5.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.4.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.3.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.2.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.1.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.0.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               12.22.12~dfsg-1~deb11u4 500
                  500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Package                                         s
          
          
          
          Nothing to do - Your installation is using the correct paths.
          Nothing to do - Your version is the recommended one.
          
          ***You can now keep your whole system up-to-date using the usual 'sudo apt updat                                         e && sudo apt full-upgrade' commands. ***
          *** DO NOT USE node version managers like 'nvm', 'n' and others in parallel. The                                         y will break your current installation! ***
          
           *** DO NOT use 'nodejs-update' as part of a regular update process! ***
          
          
          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #57

          @marc_el_k

          Okay, jetzt passt's.

          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
          0
          • P Offline
            P Offline
            Pali 0
            schrieb am zuletzt editiert von Pali 0
            #58

            Hallo,
            bei mir läuft IObroker auf Raspi 4B (bullseye). Den js-controller 5.0.12 habe ich am 19.09.23 updatet/installiert.
            IObroker zeigt jetzt, dass es neue node.js und NPM Versionen gibt:

            IObroker_ver.jpg
            Wenn ich aber update durchführe: sudo apt update && sudo apt full-upgrade
            oder auch: sudo apt-get update && sudo apt-get upgrade
            passier nichts, es bleibt bei 18.17.1 und 9.6.7

            Dann habe ich diesen neuen Befehl hier im Forum entdeckt und gestartet (zuerst "iob fix" dann "iob nodejs-update") .
            Am Ende wurde gefragt, ob ich ver 18.18.2 installieren will, was ich mit Yes geantwortet habe.
            Die Versionen sind aber weiterhin unverändert bei 18.17.1 und 9.6.7 geblieben. Danach nochmal apt update && apt full-upgrade. Weiterhin keine Änderung.
            Hier der Ablauf bei iob nodejs-update:

            
            
            ioBroker nodejs fixer 2023-10-13
            
            Recommended nodejs-version is: 18.18.2
            Checking your installation now. Please be patient!
            
            Your current setup is:
            ioBroker nodejs fixer 2023-10-13
            
            Recommended nodejs-version is: 18.18.2
            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
            
            We found these nodejs versions available for installation:
            
            nodejs:
              Installed: 18.17.1-deb-1nodesource1
              Candidate: 18.18.2-1nodesource1
              Version table:
                 18.18.2-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.18.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.18.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             *** 18.17.1-deb-1nodesource1 100
                    100 /var/lib/dpkg/status
                 18.17.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.17.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.16.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.16.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.15.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.14.2-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.14.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.14.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.13.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.12.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.11.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.10.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.9.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.9.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.8.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.7.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.6.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.5.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.4.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.3.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.2.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.1.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.0.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 12.22.12~dfsg-1~deb11u4 500
                    500 http://deb.debian.org/debian bullseye/main arm64 Packages
                    500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
            
            
            
            Nothing to do - Your installation is using the correct paths.
            
            You are running nodejs v18.17.1. Do you want to install recommended version 18.18.2?
            
            Press <y> to continue or any other key to quit
            Trying to update your installation now. Please be patient.
            Waiting for ioBroker to shut down - Give me a minute...
            ############################################################
            
            *** These repos are active on your system:
            Hit:1 http://deb.debian.org/debian bullseye InRelease
            Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
            Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
            Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
            Hit:5 https://repos.influxdata.com/debian stable InRelease
            Get:6 https://packages.grafana.com/oss/deb stable InRelease [5984 B]
            Err:6 https://packages.grafana.com/oss/deb stable InRelease
              The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
            Reading package lists... Done
            W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
            W: Failed to fetch https://packages.grafana.com/oss/deb/dists/stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
            W: Some index files failed to download. They have been ignored, or old ones used instead.
            
            *** Installing ca-certificates, curl and gnupg, just in case they are missing.
            
            *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
            
            deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
            Package: nodejs
            Pin: origin deb.nodesource.com
            Pin-Priority: 1001
            
            *** These repos are active after the adjustments:
            Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
            Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
            Hit:3 https://repos.influxdata.com/debian stable InRelease
            Hit:4 http://deb.debian.org/debian bullseye InRelease
            Hit:5 http://deb.debian.org/debian bullseye-updates InRelease
            Get:6 https://packages.grafana.com/oss/deb stable InRelease [5984 B]
            Hit:7 https://deb.nodesource.com/node_18.x nodistro InRelease
            Err:6 https://packages.grafana.com/oss/deb stable InRelease
              The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
            Reading package lists... Done
            W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
            W: Failed to fetch https://packages.grafana.com/oss/deb/dists/stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
            W: Some index files failed to download. They have been ignored, or old ones used instead.
            
            Installing the recommended nodejs version now!
            
            Installing the recommended nodejs version!
            W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
            W: Failed to fetch https://packages.grafana.com/oss/deb/dists/stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
            W: Some index files failed to download. They have been ignored, or old ones used instead.
            E: Failed to fetch https://packages.grafana.com/oss/deb/pool/main/g/grafana/grafana_10.1.0_arm64.deb  404  Not Found [IP: 2a04:4e42:6f::729 443]
            E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
            
            We tried our best to fix your nodejs. Please run iob diag again to verify.
            
            *** RESTARTING ioBroker NOW! ***
             Please refresh or restart your browser in a few moments.
            

            Ich sehe dort Probleme bei Grafana. Aber ich benutze die Grafana noch nicht aktiv, deswegen ignoriere ich diese Meldungen. Muss ich zuerst diese Grfana-Warnungen erledigen, damit der nodejs-update durchläuft?

            Danke im Voraus für Hilfe, bin nicht so fit in diesem Linux-Gebiet.

            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • P Pali 0

              Hallo,
              bei mir läuft IObroker auf Raspi 4B (bullseye). Den js-controller 5.0.12 habe ich am 19.09.23 updatet/installiert.
              IObroker zeigt jetzt, dass es neue node.js und NPM Versionen gibt:

              IObroker_ver.jpg
              Wenn ich aber update durchführe: sudo apt update && sudo apt full-upgrade
              oder auch: sudo apt-get update && sudo apt-get upgrade
              passier nichts, es bleibt bei 18.17.1 und 9.6.7

              Dann habe ich diesen neuen Befehl hier im Forum entdeckt und gestartet (zuerst "iob fix" dann "iob nodejs-update") .
              Am Ende wurde gefragt, ob ich ver 18.18.2 installieren will, was ich mit Yes geantwortet habe.
              Die Versionen sind aber weiterhin unverändert bei 18.17.1 und 9.6.7 geblieben. Danach nochmal apt update && apt full-upgrade. Weiterhin keine Änderung.
              Hier der Ablauf bei iob nodejs-update:

              
              
              ioBroker nodejs fixer 2023-10-13
              
              Recommended nodejs-version is: 18.18.2
              Checking your installation now. Please be patient!
              
              Your current setup is:
              ioBroker nodejs fixer 2023-10-13
              
              Recommended nodejs-version is: 18.18.2
              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
              
              We found these nodejs versions available for installation:
              
              nodejs:
                Installed: 18.17.1-deb-1nodesource1
                Candidate: 18.18.2-1nodesource1
                Version table:
                   18.18.2-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.18.1-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.18.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
               *** 18.17.1-deb-1nodesource1 100
                      100 /var/lib/dpkg/status
                   18.17.1-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.17.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.16.1-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.16.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.15.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.14.2-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.14.1-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.14.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.13.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.12.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.11.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.10.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.9.1-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.9.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.8.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.7.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.6.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.5.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.4.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.3.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.2.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.1.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   18.0.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                   12.22.12~dfsg-1~deb11u4 500
                      500 http://deb.debian.org/debian bullseye/main arm64 Packages
                      500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
              
              
              
              Nothing to do - Your installation is using the correct paths.
              
              You are running nodejs v18.17.1. Do you want to install recommended version 18.18.2?
              
              Press <y> to continue or any other key to quit
              Trying to update your installation now. Please be patient.
              Waiting for ioBroker to shut down - Give me a minute...
              ############################################################
              
              *** These repos are active on your system:
              Hit:1 http://deb.debian.org/debian bullseye InRelease
              Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
              Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
              Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
              Hit:5 https://repos.influxdata.com/debian stable InRelease
              Get:6 https://packages.grafana.com/oss/deb stable InRelease [5984 B]
              Err:6 https://packages.grafana.com/oss/deb stable InRelease
                The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
              Reading package lists... Done
              W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
              W: Failed to fetch https://packages.grafana.com/oss/deb/dists/stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
              W: Some index files failed to download. They have been ignored, or old ones used instead.
              
              *** Installing ca-certificates, curl and gnupg, just in case they are missing.
              
              *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
              
              deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
              Package: nodejs
              Pin: origin deb.nodesource.com
              Pin-Priority: 1001
              
              *** These repos are active after the adjustments:
              Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
              Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
              Hit:3 https://repos.influxdata.com/debian stable InRelease
              Hit:4 http://deb.debian.org/debian bullseye InRelease
              Hit:5 http://deb.debian.org/debian bullseye-updates InRelease
              Get:6 https://packages.grafana.com/oss/deb stable InRelease [5984 B]
              Hit:7 https://deb.nodesource.com/node_18.x nodistro InRelease
              Err:6 https://packages.grafana.com/oss/deb stable InRelease
                The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
              Reading package lists... Done
              W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
              W: Failed to fetch https://packages.grafana.com/oss/deb/dists/stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
              W: Some index files failed to download. They have been ignored, or old ones used instead.
              
              Installing the recommended nodejs version now!
              
              Installing the recommended nodejs version!
              W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
              W: Failed to fetch https://packages.grafana.com/oss/deb/dists/stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
              W: Some index files failed to download. They have been ignored, or old ones used instead.
              E: Failed to fetch https://packages.grafana.com/oss/deb/pool/main/g/grafana/grafana_10.1.0_arm64.deb  404  Not Found [IP: 2a04:4e42:6f::729 443]
              E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
              
              We tried our best to fix your nodejs. Please run iob diag again to verify.
              
              *** RESTARTING ioBroker NOW! ***
               Please refresh or restart your browser in a few moments.
              

              Ich sehe dort Probleme bei Grafana. Aber ich benutze die Grafana noch nicht aktiv, deswegen ignoriere ich diese Meldungen. Muss ich zuerst diese Grfana-Warnungen erledigen, damit der nodejs-update durchläuft?

              Danke im Voraus für Hilfe, bin nicht so fit in diesem Linux-Gebiet.

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

              @pali-0 sagte in Neuer Befehl: "iob nodejs-update":

              deswegen ignoriere ich diese Meldungen. Muss ich zuerst diese Grfana-Warnungen erledigen, damit der nodejs-update durchläuft?

              (Fehler)-Meldungen ignorieren ist immer falsch. Aktualisier das Repo.

              iob nodejs-fix hat sein Werk getan, jetzt muss nur noch der Admin von dem System seinen Paketmanager auf die Reihe kriegen und die Quellen bereinigen.

              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
              • P Offline
                P Offline
                Pali 0
                schrieb am zuletzt editiert von
                #60

                nachdem ich das Problem mit Grafana Public-Key gelöst habe und anschließend apt-get update und upgrade durchdeführt habe, hat sich auch node.j und npm aktualisiert...
                DANKE!

                1 Antwort Letzte Antwort
                0
                • M Marty56

                  Ich habe iob fix ausgeführt und iob neu gestartet.
                  wenn ich jetzt iob -help aufrufe, wird der neue Befehl nicht angezeigt.
                  Was mache ich falsch?

                  apollon77A Offline
                  apollon77A Offline
                  apollon77
                  schrieb am zuletzt editiert von
                  #61

                  @marty56 Das kommt erst mit dem nächsten js-controller auch in "help", geht aber trotzdem

                  Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                  • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                  • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                  MartinPM 1 Antwort Letzte Antwort
                  1
                  • apollon77A apollon77

                    @marty56 Das kommt erst mit dem nächsten js-controller auch in "help", geht aber trotzdem

                    MartinPM Online
                    MartinPM Online
                    MartinP
                    schrieb am zuletzt editiert von MartinP
                    #62

                    Scheint zu funktionieren, mit dem automatisierten Update über den update-Mechanismus von Linux...

                    Vor dem Update

                    da00c197-28ca-47ec-9563-cf2568389c3f-grafik.png

                    Building dependency tree... Done
                    Reading state information... Done
                    1 package can be upgraded. Run 'apt list --upgradable' to see it.
                    martin@iobroker-test-sicher:~$ sudo apt full-upgrade
                    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.5 MB of archives.
                    After this operation, 95.2 kB of additional disk space will be used.
                    Do you want to continue? [Y/n] Y
                    Get:1 https://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.18.2-1nodesource1 [29.5 MB]
                    Fetched 29.5 MB in 2s (18.1 MB/s) 
                    Reading changelogs... Done
                    (Reading database ... 48973 files and directories currently installed.)
                    Preparing to unpack .../nodejs_18.18.2-1nodesource1_amd64.deb ...
                    Detected old npm client, removing...
                    Unpacking nodejs (18.18.2-1nodesource1) over (18.18.1-1nodesource1) ...
                    Setting up nodejs (18.18.2-1nodesource1) ...
                    Processing triggers for man-db (2.9.4-2) ...
                    martin@iobroker-test-sicher:~$ 
                    

                    So weit so gut, aber dann meldet ioBroker immer noch die alte Version aus dem obigen Screeshot?

                    Aber wahrscheinlich geht es ohne "iob stop" und "iob start" nicht aus, oder?

                    Intel(R) Celeron(R) CPU N3000 @ 1.04GHz 8G RAM 480G SSD
                    Virtualization : unprivileged lxc container (debian 12 on Proxmox 8.4.14)
                    Linux pve 6.8.12-16-pve
                    6 GByte RAM für den Container
                    Fritzbox 6591 FW 8.03 (Vodafone Leih-Box)
                    Remote-Access über Wireguard der Fritzbox

                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • MartinPM MartinP

                      Scheint zu funktionieren, mit dem automatisierten Update über den update-Mechanismus von Linux...

                      Vor dem Update

                      da00c197-28ca-47ec-9563-cf2568389c3f-grafik.png

                      Building dependency tree... Done
                      Reading state information... Done
                      1 package can be upgraded. Run 'apt list --upgradable' to see it.
                      martin@iobroker-test-sicher:~$ sudo apt full-upgrade
                      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.5 MB of archives.
                      After this operation, 95.2 kB of additional disk space will be used.
                      Do you want to continue? [Y/n] Y
                      Get:1 https://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.18.2-1nodesource1 [29.5 MB]
                      Fetched 29.5 MB in 2s (18.1 MB/s) 
                      Reading changelogs... Done
                      (Reading database ... 48973 files and directories currently installed.)
                      Preparing to unpack .../nodejs_18.18.2-1nodesource1_amd64.deb ...
                      Detected old npm client, removing...
                      Unpacking nodejs (18.18.2-1nodesource1) over (18.18.1-1nodesource1) ...
                      Setting up nodejs (18.18.2-1nodesource1) ...
                      Processing triggers for man-db (2.9.4-2) ...
                      martin@iobroker-test-sicher:~$ 
                      

                      So weit so gut, aber dann meldet ioBroker immer noch die alte Version aus dem obigen Screeshot?

                      Aber wahrscheinlich geht es ohne "iob stop" und "iob start" nicht aus, oder?

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

                      @martinp sagte in Neuer Befehl: "iob nodejs-update":

                      Natürlich funktioniert das übliche systemseitige Update weiterhin. Und es sollte auch so verwendet werden, der nodejs-updater ist nur für die einmalige Umstellung des nodesource-Repos gedacht.

                      Aber wahrscheinlich geht es ohne "iob stop" und "iob start" nicht aus, oder?

                      Das sollte man vor Updates von nodejs eh immer machen. nodejs ist sowas wie das Betriebssystem für den iobroker, das wechselt man nicht im Vollbetrieb.

                      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

                      MartinPM 1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @martinp sagte in Neuer Befehl: "iob nodejs-update":

                        Natürlich funktioniert das übliche systemseitige Update weiterhin. Und es sollte auch so verwendet werden, der nodejs-updater ist nur für die einmalige Umstellung des nodesource-Repos gedacht.

                        Aber wahrscheinlich geht es ohne "iob stop" und "iob start" nicht aus, oder?

                        Das sollte man vor Updates von nodejs eh immer machen. nodejs ist sowas wie das Betriebssystem für den iobroker, das wechselt man nicht im Vollbetrieb.

                        MartinPM Online
                        MartinPM Online
                        MartinP
                        schrieb am zuletzt editiert von MartinP
                        #64

                        @thomas-braun also wäre der Entscheidungsprozess

                        FALLS ioBroker auf der Übersichtsseite einen Minor-Update anzeigt (z. B. den oben aus dem Screenshot):

                        1. iob stop
                        2. updaten:
                          2a) sudo apt update && sudo apt full-upgrade
                          2b) iob nodjs-update # (nur bei großem nodjs update!)
                          2b) iob fix
                        3. iob start

                        NUR FALLS der angezeigte nodejs Update-Schritt zu groß ist ggfs. dann noch 2b) iob nodjs-update einschieben
                        ist "iob fix" vor "iob start" dringend ratsam?

                        Intel(R) Celeron(R) CPU N3000 @ 1.04GHz 8G RAM 480G SSD
                        Virtualization : unprivileged lxc container (debian 12 on Proxmox 8.4.14)
                        Linux pve 6.8.12-16-pve
                        6 GByte RAM für den Container
                        Fritzbox 6591 FW 8.03 (Vodafone Leih-Box)
                        Remote-Access über Wireguard der Fritzbox

                        Thomas BraunT X 2 Antworten Letzte Antwort
                        0
                        • MartinPM MartinP

                          @thomas-braun also wäre der Entscheidungsprozess

                          FALLS ioBroker auf der Übersichtsseite einen Minor-Update anzeigt (z. B. den oben aus dem Screenshot):

                          1. iob stop
                          2. updaten:
                            2a) sudo apt update && sudo apt full-upgrade
                            2b) iob nodjs-update # (nur bei großem nodjs update!)
                            2b) iob fix
                          3. iob start

                          NUR FALLS der angezeigte nodejs Update-Schritt zu groß ist ggfs. dann noch 2b) iob nodjs-update einschieben
                          ist "iob fix" vor "iob start" dringend ratsam?

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

                          @martinp

                          iob fix
                          

                          ist nie falsch.

                          Minor Updates innerhalb eines Versionszweigs von nodejs wie gehabt über den üblichen apt update / apt full-upgrade

                          Wenn mal irgendwann nodejs 20 zur Empfehlung wird dann reicht ein (wiederum einmaliges) 'iob nodejs-upgrade' aus, um auf diesen Versionszweig zu wechseln.

                          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

                          W 1 Antwort Letzte Antwort
                          1
                          • Thomas BraunT Thomas Braun

                            @martinp

                            iob fix
                            

                            ist nie falsch.

                            Minor Updates innerhalb eines Versionszweigs von nodejs wie gehabt über den üblichen apt update / apt full-upgrade

                            Wenn mal irgendwann nodejs 20 zur Empfehlung wird dann reicht ein (wiederum einmaliges) 'iob nodejs-upgrade' aus, um auf diesen Versionszweig zu wechseln.

                            W Offline
                            W Offline
                            Willi-Wunder
                            schrieb am zuletzt editiert von
                            #66
                            iob nodejs-update xx
                            

                            Mega, vielen Dank dafür, Problem gelöst, jetzt geht's :+1: :+1: :+1:

                            1 Antwort Letzte Antwort
                            0
                            • mickymM Offline
                              mickymM Offline
                              mickym
                              Most Active
                              schrieb am zuletzt editiert von mickym
                              #67

                              iob nodejs-update

                              So habe ich ausgeführt - hat auch soweit geklappt und nun habe ich nodistro als Quelle - warum ist das notwendig? Wird das andere Repository nicht mehr gepflegt?

                              Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

                              Thomas BraunT 1 Antwort Letzte Antwort
                              0
                              • mickymM mickym

                                iob nodejs-update

                                So habe ich ausgeführt - hat auch soweit geklappt und nun habe ich nodistro als Quelle - warum ist das notwendig? Wird das andere Repository nicht mehr gepflegt?

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

                                @mickym sagte in Neuer Befehl: "iob nodejs-update":

                                Wird das andere Repository nicht mehr gepflegt?

                                Richtig, wurde seitens nodesource alles vereinfacht und die müssen nun nicht mehr für jedes Debian-Derivat alles neubauen. Die ganzen Ableitungen wie Ubuntu, Raspberry OS usw. greifen jetzt alle auf die gleiche deb-Datei zu.

                                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

                                mickymM 1 Antwort Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

                                  @mickym sagte in Neuer Befehl: "iob nodejs-update":

                                  Wird das andere Repository nicht mehr gepflegt?

                                  Richtig, wurde seitens nodesource alles vereinfacht und die müssen nun nicht mehr für jedes Debian-Derivat alles neubauen. Die ganzen Ableitungen wie Ubuntu, Raspberry OS usw. greifen jetzt alle auf die gleiche deb-Datei zu.

                                  mickymM Offline
                                  mickymM Offline
                                  mickym
                                  Most Active
                                  schrieb am zuletzt editiert von mickym
                                  #69

                                  @thomas-braun OK ich hab jetzt Dein Skript bzw. halt iob nodejs-update durchgeführt - das Editieren hätte wahrscheinlich wegen irgendwelcher Schlüssel nicht geklappt.

                                  Muss man nun bei Major Updates den Befehl ausführen oder kann ich wie früher

                                  deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
                                  

                                  einfach die Versionsnummer ändern (also zum Beispiel auf 20.x) ?

                                  Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

                                  Thomas BraunT 1 Antwort Letzte Antwort
                                  0
                                  • mickymM mickym

                                    @thomas-braun OK ich hab jetzt Dein Skript bzw. halt iob nodejs-update durchgeführt - das Editieren hätte wahrscheinlich wegen irgendwelcher Schlüssel nicht geklappt.

                                    Muss man nun bei Major Updates den Befehl ausführen oder kann ich wie früher

                                    deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
                                    

                                    einfach die Versionsnummer ändern (also zum Beispiel auf 20.x) ?

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

                                    @mickym

                                    Kannst du weiterhin mit einem Edit der nodesource.list machen.
                                    An der grundsätzlichen Funktionsweise von apt hat sich natürlich nichts geändert, nur die .list-Datei muss umgestellt werden.

                                    Alternativ geht auch

                                    iob nodejs-update XY
                                    

                                    XY = veröffentlichter Major-Release-Zweig

                                    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

                                    mickymM 1 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @mickym

                                      Kannst du weiterhin mit einem Edit der nodesource.list machen.
                                      An der grundsätzlichen Funktionsweise von apt hat sich natürlich nichts geändert, nur die .list-Datei muss umgestellt werden.

                                      Alternativ geht auch

                                      iob nodejs-update XY
                                      

                                      XY = veröffentlichter Major-Release-Zweig

                                      mickymM Offline
                                      mickymM Offline
                                      mickym
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #71

                                      @thomas-braun Ok danke - dann weiß ich Bescheid. :)

                                      Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

                                      1 Antwort Letzte Antwort
                                      0
                                      • MartinPM MartinP

                                        @thomas-braun also wäre der Entscheidungsprozess

                                        FALLS ioBroker auf der Übersichtsseite einen Minor-Update anzeigt (z. B. den oben aus dem Screenshot):

                                        1. iob stop
                                        2. updaten:
                                          2a) sudo apt update && sudo apt full-upgrade
                                          2b) iob nodjs-update # (nur bei großem nodjs update!)
                                          2b) iob fix
                                        3. iob start

                                        NUR FALLS der angezeigte nodejs Update-Schritt zu groß ist ggfs. dann noch 2b) iob nodjs-update einschieben
                                        ist "iob fix" vor "iob start" dringend ratsam?

                                        X Offline
                                        X Offline
                                        xelarep
                                        schrieb am zuletzt editiert von
                                        #72

                                        Ich erlaube mir mal diese Liste für ein grösseres Update auf einem Raspberry zu ergänzen :-)

                                        @martinp sagte in Neuer Befehl: "iob nodejs-update":

                                        @thomas-braun also wäre der Entscheidungsprozess

                                        FALLS ioBroker auf der Übersichtsseite einen Minor-Update anzeigt (z. B. den oben aus dem Screenshot):

                                        1. iob stop
                                        2. updaten:
                                          2a) sudo apt update && sudo apt full-upgrade
                                          2b) iob nodjs-update # (nur bei großem nodjs update!)
                                          2b) iob fix
                                        3. iob start

                                        NUR FALLS der angezeigte nodejs Update-Schritt zu groß ist ggfs. dann noch 2b) iob nodjs-update einschieben
                                        ist "iob fix" vor "iob start" dringend ratsam?

                                        Da ich nur ein Gelegenheit-Linuxer bin, brauch ich immer möglichst vollständige Ablauflisten - ich vermute mal viele andere hier auch ;-)

                                        1. Auf der Weboberfläche oder mit iob backup erstmal ne aktuelle Sicherung schaffen...
                                        2. iob stop - dann alles anhalten...
                                        3. sudo apt update && sudo apt full-upgrade - Grundsystem aktualisieren...
                                        4. iob fix - sonst hat man das nodejs-update nicht zur Verfügung...
                                        5. iob nodejs-update - Jetzt das Update anstossen und die Rückfrage zum Minor update mit 'y' beantworten...
                                        6. Kaffee holen, Zeitung lesen, Kaffee trinken...
                                        7. sudo reboot - wie aufgefordert Systemneustart durchführen
                                        8. Kaffee Teil 2...
                                        9. Auf Admin-Oberfläche einloggen, Versionen und Logs checken und sich freuen, dass alles geklappt hat

                                        Mein System ist jetzt jedenfalls wieder chic.

                                        Vielen Dank @apollon77, @Thomas-Braun und alle anderen Aktiven. Diese Art ein System zu pflegen ist deutlich einfacher und entspannter als vorher! Gerade, wenn man sich nicht jeden Tag damit beschäftigt.

                                        1 Antwort Letzte Antwort
                                        4
                                        • S Offline
                                          S Offline
                                          Schreckus
                                          schrieb am zuletzt editiert von
                                          #73

                                          Moin, danke schonmal für den Thread hier. Bei mir meldet IObroker in der Übersicht auch den Wechsel zwischen nodejs 18.17.1 auf 18.18.2. Hab mich dann mal durch die Foren gewühlt und bin dann bis zu untenstehendem Punkt gekommen.

                                          Wie kann ich die Keys für nodejs aktualiseren? Scheinbar reicht mein Google-Vodoo nicht aus um einen Thread dazu auszugraben:-(

                                          Sobald ich in der nodesource.list von Bookworm auf nodistro wechsel, bekomme ich bei Apt Update unten stehenden Fehler.
                                          Den Thread zu Grafana habe ich gefunden (seitdem auch die Source drin) nur schaffe ich es nicht das vorgehen auf Nodesource anzupassen.

                                          Dankeschön!
                                          Grüße schreckus

                                          Inhalt: sudo nano /etc/apt/sources.list.d/nodesource.list

                                          deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
                                          deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
                                          
                                          
                                          # deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x bookworm main
                                          # deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x bookworm main
                                          
                                          
                                          user@F01:/opt/iobroker$ sudo apt update
                                          OK:1 http://security.debian.org/debian-security bookworm-security InRelease
                                          OK:2 http://deb.debian.org/debian bookworm InRelease
                                          OK:3 http://deb.debian.org/debian bookworm-updates InRelease
                                          OK:4 https://apt.grafana.com stable InRelease
                                          Holen:5 https://deb.nodesource.com/node_18.x nodistro InRelease [12,1 kB]
                                          Fehl:5 https://deb.nodesource.com/node_18.x nodistro InRelease
                                            Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 2F59B5F99B1BE0B4
                                          Paketlisten werden gelesen… Fertig
                                          W: GPG-Fehler: https://deb.nodesource.com/node_18.x nodistro InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 2F59B5F99B1BE0B4
                                          E: Das Depot »https://deb.nodesource.com/node_18.x nodistro InRelease« ist nicht signiert.
                                          N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
                                          N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
                                          user@F01:/opt/iobroker$
                                          
                                          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

                                          791

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          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