Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. iob diag - Fehlermeldung

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    iob diag - Fehlermeldung

    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hotspot_2 last edited by

      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 Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @hotspot_2 last edited by

        @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 1 Reply Last reply Reply Quote 1
        • H
          hotspot_2 @Thomas Braun last edited by

          @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 Reply Last reply Reply Quote 0
          • H
            hotspot_2 @hotspot_2 last edited by

            @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 Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @hotspot_2 last edited by 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 1 Reply Last reply Reply Quote 0
              • H
                hotspot_2 @Thomas Braun last edited by

                @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 Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @hotspot_2 last edited by

                  @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 1 Reply Last reply Reply Quote 0
                  • H
                    hotspot_2 @Thomas Braun last edited by

                    @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 Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @hotspot_2 last edited by

                      @hotspot_2

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

                      H 1 Reply Last reply Reply Quote 0
                      • H
                        hotspot_2 @Thomas Braun last edited by

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

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        862
                        Online

                        31.7k
                        Users

                        79.7k
                        Topics

                        1.3m
                        Posts

                        2
                        10
                        263
                        Loading More Posts
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes
                        Reply
                        • Reply as topic
                        Log in to reply
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                        The ioBroker Community 2014-2023
                        logo