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. Einsteigerfragen
  4. Installation
  5. iob diag - Fehlermeldung

NEWS

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

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

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

iob diag - Fehlermeldung

Geplant Angeheftet Gesperrt Verschoben Installation
10 Beiträge 2 Kommentatoren 581 Aufrufe 2 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.
  • H Offline
    H Offline
    hotspot_2
    schrieb am zuletzt editiert von
    #1

    Hallo zusammen,

    ich habe im iob diag diese Fehlermeldung entdeckt. Könnt ihr mir helfen was hier zu tun ist?

    Nodejs-Installation:
    /usr/bin/nodejs         v18.19.0
    /usr/bin/node           v18.19.0
    /usr/bin/npm            9.2.0
    /usr/bin/npx            9.2.0
    corepack:       N/A
    
    Recommended versions are nodejs 18.20.3 and npm 10.7.0
    *** nodejs is NOT correctly installed ***
    Wrong installation path detected. This needs to be fixed
    

    Vielen Dank schon mal.

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • H hotspot_2

      Hallo zusammen,

      ich habe im iob diag diese Fehlermeldung entdeckt. Könnt ihr mir helfen was hier zu tun ist?

      Nodejs-Installation:
      /usr/bin/nodejs         v18.19.0
      /usr/bin/node           v18.19.0
      /usr/bin/npm            9.2.0
      /usr/bin/npx            9.2.0
      corepack:       N/A
      
      Recommended versions are nodejs 18.20.3 and npm 10.7.0
      *** nodejs is NOT correctly installed ***
      Wrong installation path detected. This needs to be fixed
      

      Vielen Dank schon mal.

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

      @hotspot_2 sagte in iob diag - Fehlermeldung:

      Könnt ihr mir helfen was hier zu tun ist?

      Ja, eine aktuelle Version von nodejs installieren.

      iob nodejs-update 20
      

      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

      H 1 Antwort Letzte Antwort
      1
      • Thomas BraunT Thomas Braun

        @hotspot_2 sagte in iob diag - Fehlermeldung:

        Könnt ihr mir helfen was hier zu tun ist?

        Ja, eine aktuelle Version von nodejs installieren.

        iob nodejs-update 20
        
        H Offline
        H Offline
        hotspot_2
        schrieb am zuletzt editiert von
        #3

        @thomas-braun sagte in iob diag - Fehlermeldung:

        iob nodejs-update 20

        Danke! Ist ein Testsystem das nicht so oft läuft, aber jetzt passt es.

        H 1 Antwort Letzte Antwort
        0
        • H hotspot_2

          @thomas-braun sagte in iob diag - Fehlermeldung:

          iob nodejs-update 20

          Danke! Ist ein Testsystem das nicht so oft läuft, aber jetzt passt es.

          H Offline
          H Offline
          hotspot_2
          schrieb am zuletzt editiert von
          #4

          @hotspot_2 Das sieht glaub nicht so gut aus, oder?

          ou are running nodejs v18.19.0. Do you want to install latest version from nodejs v.20 tree? 
          
          Press <y> to continue or any other key to quit
          Trying to fix your installation now. Please be patient.
          
          Virtualization: lxc
          Waiting for ioBroker to shut down - Give me a minute...
          ############################################################
          
          *** These repos are active on your system:
          Hit:1 http://ftp.debian.org/debian bookworm InRelease
          Hit:2 http://ftp.debian.org/debian bookworm-updates InRelease
          Hit:3 http://security.debian.org bookworm-security InRelease   
          Reading package lists... Done                                  
          
          *** 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_20.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 bookworm-security InRelease
          Hit:2 http://ftp.debian.org/debian bookworm InRelease                              
          Hit:3 http://ftp.debian.org/debian bookworm-updates InRelease                      
          Get:4 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]            
          Get:5 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [7936 B]
          Fetched 20.1 kB in 0s (50.1 kB/s)
          Reading package lists... Done
          
          Installing nodejs now!
          
          E: Broken packages
          Installing nodejs now!
          E: Broken packages
          
          *** You need to manually restart your container/virtual machine now! *** 
          
          We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
          marcus@iobroker-test:/opt/iobroker$ 
          
          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • H hotspot_2

            @hotspot_2 Das sieht glaub nicht so gut aus, oder?

            ou are running nodejs v18.19.0. Do you want to install latest version from nodejs v.20 tree? 
            
            Press <y> to continue or any other key to quit
            Trying to fix your installation now. Please be patient.
            
            Virtualization: lxc
            Waiting for ioBroker to shut down - Give me a minute...
            ############################################################
            
            *** These repos are active on your system:
            Hit:1 http://ftp.debian.org/debian bookworm InRelease
            Hit:2 http://ftp.debian.org/debian bookworm-updates InRelease
            Hit:3 http://security.debian.org bookworm-security InRelease   
            Reading package lists... Done                                  
            
            *** 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_20.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 bookworm-security InRelease
            Hit:2 http://ftp.debian.org/debian bookworm InRelease                              
            Hit:3 http://ftp.debian.org/debian bookworm-updates InRelease                      
            Get:4 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]            
            Get:5 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [7936 B]
            Fetched 20.1 kB in 0s (50.1 kB/s)
            Reading package lists... Done
            
            Installing nodejs now!
            
            E: Broken packages
            Installing nodejs now!
            E: Broken packages
            
            *** You need to manually restart your container/virtual machine now! *** 
            
            We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
            marcus@iobroker-test:/opt/iobroker$ 
            
            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von Thomas Braun
            #5

            @hotspot_2 sagte in iob diag - Fehlermeldung:

            E: Broken packages

            Das ist aber eher nicht direkt von nodejs.

            sudo apt update
            sudo apt full-upgrade
            

            sagt?

            Ist das zufällig ein Docker?

            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

            H 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @hotspot_2 sagte in iob diag - Fehlermeldung:

              E: Broken packages

              Das ist aber eher nicht direkt von nodejs.

              sudo apt update
              sudo apt full-upgrade
              

              sagt?

              Ist das zufällig ein Docker?

              H Offline
              H Offline
              hotspot_2
              schrieb am zuletzt editiert von
              #6

              @thomas-braun Das ist ein proxmox container.

              Da war aber noch ein wenig was zu tun. NodeJS kam jetzt eine Meldung "Setting up nodejs20....".

              *** NodeJS-Installation ***
              
              /usr/bin/nodejs         v20.15.0
              /usr/bin/node           v20.15.0
              /usr/bin/npm            10.7.0
              /usr/bin/npx            10.7.0
              /usr/bin/corepack       0.28.1
              
              
              nodejs:
                Installed: 20.15.0-1nodesource1
                Candidate: 20.15.0-1nodesource1
              

              Jetzt schaut es besser aus.

              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • H hotspot_2

                @thomas-braun Das ist ein proxmox container.

                Da war aber noch ein wenig was zu tun. NodeJS kam jetzt eine Meldung "Setting up nodejs20....".

                *** NodeJS-Installation ***
                
                /usr/bin/nodejs         v20.15.0
                /usr/bin/node           v20.15.0
                /usr/bin/npm            10.7.0
                /usr/bin/npx            10.7.0
                /usr/bin/corepack       0.28.1
                
                
                nodejs:
                  Installed: 20.15.0-1nodesource1
                  Candidate: 20.15.0-1nodesource1
                

                Jetzt schaut es besser aus.

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

                @hotspot_2 sagte in iob diag - Fehlermeldung:

                Da war aber noch ein wenig was zu tun.

                Das kann das Skript halt nicht alles abfangen. Da muss der Systemadministrator auch mal reinschauen...

                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

                H 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @hotspot_2 sagte in iob diag - Fehlermeldung:

                  Da war aber noch ein wenig was zu tun.

                  Das kann das Skript halt nicht alles abfangen. Da muss der Systemadministrator auch mal reinschauen...

                  H Offline
                  H Offline
                  hotspot_2
                  schrieb am zuletzt editiert von
                  #8

                  @thomas-braun Kurze Frage noch:

                  npm notice
                  npm notice New minor version of npm available! 10.7.0 -> 10.8.1
                  npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1
                  npm notice To update run: npm install -g npm@10.8.1
                  npm notice
                  
                  

                  Sollte man das hier machen? Oder stellt das ein Problem dar? Ich habe mal abgespeichert das man nur nodejs updaten sollte und npm nicht einzeln.

                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • H hotspot_2

                    @thomas-braun Kurze Frage noch:

                    npm notice
                    npm notice New minor version of npm available! 10.7.0 -> 10.8.1
                    npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1
                    npm notice To update run: npm install -g npm@10.8.1
                    npm notice
                    
                    

                    Sollte man das hier machen? Oder stellt das ein Problem dar? Ich habe mal abgespeichert das man nur nodejs updaten sollte und npm nicht einzeln.

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

                    @hotspot_2

                    Finger weg von npm. Das wird nie von Hand angepackt.

                    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

                    H 1 Antwort Letzte Antwort
                    0
                    • Thomas BraunT Thomas Braun

                      @hotspot_2

                      Finger weg von npm. Das wird nie von Hand angepackt.

                      H Offline
                      H Offline
                      hotspot_2
                      schrieb am zuletzt editiert von
                      #10

                      @thomas-braun Dann habe ich das doch korrekt abgespeichert! Sehr gut ;-) und vielen Dank.

                      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

                      495

                      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