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. Off Topic
  4. Pflege des Betriebssystems
  5. nodejs is NOT correctly installed

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.1k

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.4k

nodejs is NOT correctly installed

Geplant Angeheftet Gesperrt Verschoben Pflege des Betriebssystems
11 Beiträge 3 Kommentatoren 1.1k 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.
  • L LE-R.Kelly
    • Adaptername: js.controller
    • js-controller Version: 18.19.0
    • Admin Version: 7.0.22
    • Hardwaresystem: Pi4 .
    • Arbeitsspeicher: 4 GB
    • Festplattenart: SSD
    • Betriebssystem: 12 Bookworm
    • Nodejs-Version: 18.19.0
    • NPM-Version: ./.
    • Installationsart: Skript
    • Image, Docker genutzt: Nein
    ======================= SUMMARY =======================
                            v.2024-05-22
    
    
     Static hostname: raspberrypi
           Icon name: computer
    Operating System: Debian GNU/Linux 12 (bookworm)
              Kernel: Linux 6.1.21-v8+
        Architecture: arm64
    
    Installation:           native
    Kernel:                 aarch64
    Userland:               64 bit
    Timezone:               Europe/Berlin (CEST, +0200)
    User-ID:                1000
    Display-Server:         false
    Boot Target:            multi-user.target
    
    Pending OS-Updates:     0
    Pending iob updates:    4
    
    Nodejs-Installation:
    /usr/bin/nodejs         v18.19.0
    /usr/bin/node           v18.19.0
    npm:                    N/A
    npx:                    N/A
    corepack:       N/A
    
    Recommended versions are nodejs 20.16.0 and npm 10.8.1
    *** nodejs is NOT correctly installed ***
    Wrong installation path detected. This needs to be fixed.
    
    Please execute
    iobroker nodejs-update
    to fix these errors.
    
    MEMORY:
                   total        used        free      shared  buff/cache   available
    Mem:            4.0G        2.2G        391M        1.2M        1.5G        1.8G
    Swap:           209M          0B        209M
    Total:          4.2G        2.2G        600M
    
    Active iob-Instances:   27
    Upgrade policy: none
    
    ioBroker Core:          js-controller           6.0.9
                            admin                   7.0.22
    
    ioBroker Status:        iobroker is running on this host.
    
    
    Objects type: jsonl
    States  type: jsonl
    
    Status admin and web instance:
    + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
    + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
    
    Objects:                16164
    States:                 14586
    
    Size of iob-Database:
    
    35M     /opt/iobroker/iobroker-data/objects.jsonl
    16M     /opt/iobroker/iobroker-data/states.jsonl
    
    
    
    =================== END OF SUMMARY ====================
    
    
    

    Hallo, wie es der Name schon verrät...

    iob fix
    iob nodejs-update
    

    laufen durch und vermelden (soweit ich das sehe), dass alles gefixt wurde und der aktuellste js.Controller installiert wurden. Tatsächlich passiert ist aber nichts.

    Im Diag steht ja "Wrong installation path detected. This needs to be fixed.". Das müsste doch eigentlich iob fix erledigen, oder?

    Ich bin nicht wirklich firm auf der Konsole und will daher nicht irgendwelche Befehle verwenden, welche man in den Foren findet. Kann mir jemand helfen versuchen zu verstehen, wo das Problem liegt und wie man es beheben kann?

    Danke

    Grüße
    Ronny

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

    @le-r-kelly sagte in nodejs is NOT correctly installed:

    Im Diag steht ja "Wrong installation path detected. This needs to be fixed.". Das müsste doch eigentlich iob fix erledigen, oder?

    Nein, das macht eigentlich

    iob nodejs-update
    

    Zeig mal einen Lauf davon, bitte.

    Edit: Der 'falsche Pfad' bedeutet hier: Es gibt nicht mal einen Pfad, in dem npm, npx oder corepack zu finden ist.
    Da gibt es dann auch im engeren Sinne nix zu fixen, es muss nur das aktuelle nodejs-Paket ordentlich installiert werden.

    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

    L 1 Antwort Letzte Antwort
    0
    • L LE-R.Kelly
      • Adaptername: js.controller
      • js-controller Version: 18.19.0
      • Admin Version: 7.0.22
      • Hardwaresystem: Pi4 .
      • Arbeitsspeicher: 4 GB
      • Festplattenart: SSD
      • Betriebssystem: 12 Bookworm
      • Nodejs-Version: 18.19.0
      • NPM-Version: ./.
      • Installationsart: Skript
      • Image, Docker genutzt: Nein
      ======================= SUMMARY =======================
                              v.2024-05-22
      
      
       Static hostname: raspberrypi
             Icon name: computer
      Operating System: Debian GNU/Linux 12 (bookworm)
                Kernel: Linux 6.1.21-v8+
          Architecture: arm64
      
      Installation:           native
      Kernel:                 aarch64
      Userland:               64 bit
      Timezone:               Europe/Berlin (CEST, +0200)
      User-ID:                1000
      Display-Server:         false
      Boot Target:            multi-user.target
      
      Pending OS-Updates:     0
      Pending iob updates:    4
      
      Nodejs-Installation:
      /usr/bin/nodejs         v18.19.0
      /usr/bin/node           v18.19.0
      npm:                    N/A
      npx:                    N/A
      corepack:       N/A
      
      Recommended versions are nodejs 20.16.0 and npm 10.8.1
      *** nodejs is NOT correctly installed ***
      Wrong installation path detected. This needs to be fixed.
      
      Please execute
      iobroker nodejs-update
      to fix these errors.
      
      MEMORY:
                     total        used        free      shared  buff/cache   available
      Mem:            4.0G        2.2G        391M        1.2M        1.5G        1.8G
      Swap:           209M          0B        209M
      Total:          4.2G        2.2G        600M
      
      Active iob-Instances:   27
      Upgrade policy: none
      
      ioBroker Core:          js-controller           6.0.9
                              admin                   7.0.22
      
      ioBroker Status:        iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      Status admin and web instance:
      + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
      + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
      
      Objects:                16164
      States:                 14586
      
      Size of iob-Database:
      
      35M     /opt/iobroker/iobroker-data/objects.jsonl
      16M     /opt/iobroker/iobroker-data/states.jsonl
      
      
      
      =================== END OF SUMMARY ====================
      
      
      

      Hallo, wie es der Name schon verrät...

      iob fix
      iob nodejs-update
      

      laufen durch und vermelden (soweit ich das sehe), dass alles gefixt wurde und der aktuellste js.Controller installiert wurden. Tatsächlich passiert ist aber nichts.

      Im Diag steht ja "Wrong installation path detected. This needs to be fixed.". Das müsste doch eigentlich iob fix erledigen, oder?

      Ich bin nicht wirklich firm auf der Konsole und will daher nicht irgendwelche Befehle verwenden, welche man in den Foren findet. Kann mir jemand helfen versuchen zu verstehen, wo das Problem liegt und wie man es beheben kann?

      Danke

      Grüße
      Ronny

      T Offline
      T Offline
      TT-Tom
      schrieb am zuletzt editiert von TT-Tom
      #3

      @le-r-kelly

      Adaptername: js.controller
      js-controller Version: 18.19.0
      Nodejs-Version: 18.19.00

      Du darfst JS-Controller und Nodejs nicht vermischen.
      Der JS-Controller ist aktuell bei 6.0.9 und ist der Unterbau des iobroker.
      Nodejs liegt grade bei aktuell 20.16.x und kommt vom Betriebssystem und darüber aktualisiert.

      Gruß Tom
      https://github.com/tt-tom17
      Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

      NSPanel Script Wiki
      https://github.com/joBr99/nspanel-lovelace-ui/wiki

      NSPanel Adapter Wiki
      https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

      L 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @le-r-kelly sagte in nodejs is NOT correctly installed:

        Im Diag steht ja "Wrong installation path detected. This needs to be fixed.". Das müsste doch eigentlich iob fix erledigen, oder?

        Nein, das macht eigentlich

        iob nodejs-update
        

        Zeig mal einen Lauf davon, bitte.

        Edit: Der 'falsche Pfad' bedeutet hier: Es gibt nicht mal einen Pfad, in dem npm, npx oder corepack zu finden ist.
        Da gibt es dann auch im engeren Sinne nix zu fixen, es muss nur das aktuelle nodejs-Paket ordentlich installiert werden.

        L Offline
        L Offline
        LE-R.Kelly
        schrieb am zuletzt editiert von
        #4

        @thomas-braun sagte in nodejs is NOT correctly installed:

        iob nodejs-update

        Hier der Lauf:

        ioBroker nodejs fixer 2024-05-23
        
        Recommended nodejs-version is: 20.16.0
        Checking your installation now. Please be patient!
        
        Your current setup is:
        /usr/bin/nodejs         v18.19.0
        /usr/bin/node           v18.19.0
        /home/iobroker/.nodejs-update.sh: line 146: npm: command not found
        
        /home/iobroker/.nodejs-update.sh: line 147: npx: command not found
        
        /home/iobroker/.nodejs-update.sh: line 168: npm: command not found
        /home/iobroker/.nodejs-update.sh: line 169: npx: command not found
        
        *** nodejs is NOT correctly installed ***
        We found these nodejs versions available for installation:
        
        nodejs:
          Installed: 18.19.0+dfsg-6~deb12u2
          Candidate: 20.16.0-1nodesource1
          Version table:
             20.16.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.15.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.15.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.14.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.13.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.13.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.12.2-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.12.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.12.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.11.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.11.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.10.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.9.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.8.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.8.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.7.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.6.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.6.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.5.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.5.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.4.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.3.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.3.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.2.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.1.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
             20.0.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
         *** 18.19.0+dfsg-6~deb12u2 500
                500 http://deb.debian.org/debian bookworm/main arm64 Packages
                100 /var/lib/dpkg/status
             18.19.0+dfsg-6~deb12u1 500
                500 http://security.debian.org/debian-security bookworm-security/main arm64 Packages
        
        
        
        Your nodejs-Installation seems to be faulty. Shall we try to fix it?
        Press <y> to continue or any other key to quit
        
        Fixing your nodejs setup
        *** Deleting  ***
        rm: cannot remove '': No such file or directory
        *** Deleting  ***
        rm: cannot remove '': No such file or directory
        
        Wrong paths have been fixed. Run 'iob diag' or 'iob nodejs-update' again to check if your installation is fine now
        
        You are running nodejs v18.19.0. Do you want to install recommended version 20.16.0?
        
        Press <y> to continue or any other key to quit
        Trying to fix your installation now. Please be patient.
        Waiting for ioBroker to shut down - Give me a minute...
        ############################################################
        
        *** These repos are active on your system:
        Get:1 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
        Hit:2 http://deb.debian.org/debian bookworm InRelease
        Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
        Hit:4 http://archive.raspberrypi.org/debian bookworm InRelease
        Get:5 http://security.debian.org/debian-security bookworm-security/main Sources [105 kB]
        Get:6 http://security.debian.org/debian-security bookworm-security/main arm64 Packages [167 kB]
        Get:7 http://security.debian.org/debian-security bookworm-security/main armhf Packages [163 kB]
        Fetched 539 kB in 1s (401 kB/s)
        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/debian-security bookworm-security InRelease
        Hit:2 http://deb.debian.org/debian bookworm InRelease
        Hit:3 http://archive.raspberrypi.org/debian bookworm InRelease
        Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
        Get:5 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
        Get:6 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages [8731 B]
        Get:7 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages [8776 B]
        Fetched 29.6 kB in 2s (17.5 kB/s)
        Reading package lists... Done
        
        Installing nodejs now!
        
        E: Broken packages
        Installing the nodejs!
        E: Broken packages
        
        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.
        
        
        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • L LE-R.Kelly

          @thomas-braun sagte in nodejs is NOT correctly installed:

          iob nodejs-update

          Hier der Lauf:

          ioBroker nodejs fixer 2024-05-23
          
          Recommended nodejs-version is: 20.16.0
          Checking your installation now. Please be patient!
          
          Your current setup is:
          /usr/bin/nodejs         v18.19.0
          /usr/bin/node           v18.19.0
          /home/iobroker/.nodejs-update.sh: line 146: npm: command not found
          
          /home/iobroker/.nodejs-update.sh: line 147: npx: command not found
          
          /home/iobroker/.nodejs-update.sh: line 168: npm: command not found
          /home/iobroker/.nodejs-update.sh: line 169: npx: command not found
          
          *** nodejs is NOT correctly installed ***
          We found these nodejs versions available for installation:
          
          nodejs:
            Installed: 18.19.0+dfsg-6~deb12u2
            Candidate: 20.16.0-1nodesource1
            Version table:
               20.16.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.15.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.15.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.14.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.13.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.13.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.12.2-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.12.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.12.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.11.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.11.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.10.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.9.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.8.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.8.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.7.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.6.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.6.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.5.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.5.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.4.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.3.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.3.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.2.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.1.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.0.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           *** 18.19.0+dfsg-6~deb12u2 500
                  500 http://deb.debian.org/debian bookworm/main arm64 Packages
                  100 /var/lib/dpkg/status
               18.19.0+dfsg-6~deb12u1 500
                  500 http://security.debian.org/debian-security bookworm-security/main arm64 Packages
          
          
          
          Your nodejs-Installation seems to be faulty. Shall we try to fix it?
          Press <y> to continue or any other key to quit
          
          Fixing your nodejs setup
          *** Deleting  ***
          rm: cannot remove '': No such file or directory
          *** Deleting  ***
          rm: cannot remove '': No such file or directory
          
          Wrong paths have been fixed. Run 'iob diag' or 'iob nodejs-update' again to check if your installation is fine now
          
          You are running nodejs v18.19.0. Do you want to install recommended version 20.16.0?
          
          Press <y> to continue or any other key to quit
          Trying to fix your installation now. Please be patient.
          Waiting for ioBroker to shut down - Give me a minute...
          ############################################################
          
          *** These repos are active on your system:
          Get:1 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
          Hit:2 http://deb.debian.org/debian bookworm InRelease
          Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
          Hit:4 http://archive.raspberrypi.org/debian bookworm InRelease
          Get:5 http://security.debian.org/debian-security bookworm-security/main Sources [105 kB]
          Get:6 http://security.debian.org/debian-security bookworm-security/main arm64 Packages [167 kB]
          Get:7 http://security.debian.org/debian-security bookworm-security/main armhf Packages [163 kB]
          Fetched 539 kB in 1s (401 kB/s)
          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/debian-security bookworm-security InRelease
          Hit:2 http://deb.debian.org/debian bookworm InRelease
          Hit:3 http://archive.raspberrypi.org/debian bookworm InRelease
          Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
          Get:5 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
          Get:6 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages [8731 B]
          Get:7 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages [8776 B]
          Fetched 29.6 kB in 2s (17.5 kB/s)
          Reading package lists... Done
          
          Installing nodejs now!
          
          E: Broken packages
          Installing the nodejs!
          E: Broken packages
          
          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.
          
          
          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #5

          @le-r-kelly

          Alles klar. Versuch es mal mit der Beta-Version von hier:

          https://forum.iobroker.net/topic/68035/iob-node-fix-skript

          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

          L 1 Antwort Letzte Antwort
          0
          • T TT-Tom

            @le-r-kelly

            Adaptername: js.controller
            js-controller Version: 18.19.0
            Nodejs-Version: 18.19.00

            Du darfst JS-Controller und Nodejs nicht vermischen.
            Der JS-Controller ist aktuell bei 6.0.9 und ist der Unterbau des iobroker.
            Nodejs liegt grade bei aktuell 20.16.x und kommt vom Betriebssystem und darüber aktualisiert.

            L Offline
            L Offline
            LE-R.Kelly
            schrieb am zuletzt editiert von
            #6

            @tt-tom
            Sorry für das Missverständnis. Der Unterschied war mir bewusst, hab nur beim Übertragen der Angaben nicht aufgepasst :man-facepalming:

            1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @le-r-kelly

              Alles klar. Versuch es mal mit der Beta-Version von hier:

              https://forum.iobroker.net/topic/68035/iob-node-fix-skript

              L Offline
              L Offline
              LE-R.Kelly
              schrieb am zuletzt editiert von
              #7

              @thomas-braun

              Kommt leider nix dabei raus:

              pi@raspberrypi:~ $ curl https://raw.githubusercontent.com/Grothesk242/iob_diag/main/iob_node_update > iob_node_update
              chmod 744 iob_node_update
              ./iob_node_update
                % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                               Dload  Upload   Total   Spent    Left  Speed
              100    14  100    14    0     0     39      0 --:--:-- --:--:-- --:--:--    39
              ./iob_node_update: line 1: 404:: command not found
              pi@raspberrypi:~ $ curl https://raw.githubusercontent.com/Grothesk242/iob_diag/main/iob_node_update > iob_node_updatechmod 744 iob_node_update
              ./iob_node_update
                % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                               Dload  Upload   Total   Spent    Left  Speed
              100    14  100    14    0     0     42      0 --:--:-- --:--:-- --:--:--    42
                % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                               Dload  Upload   Total   Spent    Left  Speed
                0     0    0     0    0     0      0      0 --:--:--  0:02:11 --:--:--     0
              curl: (28) Failed to connect to 0.0.2.232 port 80 after 131060 ms: Couldn't connect to server
                % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                               Dload  Upload   Total   Spent    Left  Speed
                0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: iob_node_update
              ./iob_node_update: line 1: 404:: command not found
              
              
              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • L LE-R.Kelly

                @thomas-braun

                Kommt leider nix dabei raus:

                pi@raspberrypi:~ $ curl https://raw.githubusercontent.com/Grothesk242/iob_diag/main/iob_node_update > iob_node_update
                chmod 744 iob_node_update
                ./iob_node_update
                  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                 Dload  Upload   Total   Spent    Left  Speed
                100    14  100    14    0     0     39      0 --:--:-- --:--:-- --:--:--    39
                ./iob_node_update: line 1: 404:: command not found
                pi@raspberrypi:~ $ curl https://raw.githubusercontent.com/Grothesk242/iob_diag/main/iob_node_update > iob_node_updatechmod 744 iob_node_update
                ./iob_node_update
                  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                 Dload  Upload   Total   Spent    Left  Speed
                100    14  100    14    0     0     42      0 --:--:-- --:--:-- --:--:--    42
                  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                 Dload  Upload   Total   Spent    Left  Speed
                  0     0    0     0    0     0      0      0 --:--:--  0:02:11 --:--:--     0
                curl: (28) Failed to connect to 0.0.2.232 port 80 after 131060 ms: Couldn't connect to server
                  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                 Dload  Upload   Total   Spent    Left  Speed
                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: iob_node_update
                ./iob_node_update: line 1: 404:: command not found
                
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #8

                @le-r-kelly

                Zeilenweise eingeben.

                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

                L 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @le-r-kelly

                  Zeilenweise eingeben.

                  L Offline
                  L Offline
                  LE-R.Kelly
                  schrieb am zuletzt editiert von
                  #9

                  @thomas-braun

                  Das sieht dann so aus:

                  pi@raspberrypi:~ $ curl https://raw.githubusercontent.com/Grothesk242/iob_diag/main/iob_node_update > iob_node_update
                    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                   Dload  Upload   Total   Spent    Left  Speed
                  100    14  100    14    0     0     35      0 --:--:-- --:--:-- --:--:--    35
                  pi@raspberrypi:~ $ chmod 744 iob_node_update
                  pi@raspberrypi:~ $ ./iob_node_update
                  ./iob_node_update: line 1: 404:: command not found
                  
                  
                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • L LE-R.Kelly

                    @thomas-braun

                    Das sieht dann so aus:

                    pi@raspberrypi:~ $ curl https://raw.githubusercontent.com/Grothesk242/iob_diag/main/iob_node_update > iob_node_update
                      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                     Dload  Upload   Total   Spent    Left  Speed
                    100    14  100    14    0     0     35      0 --:--:-- --:--:-- --:--:--    35
                    pi@raspberrypi:~ $ chmod 744 iob_node_update
                    pi@raspberrypi:~ $ ./iob_node_update
                    ./iob_node_update: line 1: 404:: command not found
                    
                    
                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #10

                    @le-r-kelly

                    Sorry, der Link hat sich geändert.

                    curl https://raw.githubusercontent.com/Grothesk242/iob_diag/main/iob_node_update.sh > iob_node_update
                    chmod 744 iob_node_update
                    ./iob_node_update
                    

                    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

                    L 1 Antwort Letzte Antwort
                    1
                    • Thomas BraunT Thomas Braun

                      @le-r-kelly

                      Sorry, der Link hat sich geändert.

                      curl https://raw.githubusercontent.com/Grothesk242/iob_diag/main/iob_node_update.sh > iob_node_update
                      chmod 744 iob_node_update
                      ./iob_node_update
                      
                      L Offline
                      L Offline
                      LE-R.Kelly
                      schrieb am zuletzt editiert von
                      #11

                      @thomas-braun sagte in nodejs is NOT correctly installed:

                      ./iob_node_update

                      :+1: :grinning: :+1:

                      Tausend Dank - bin auf 20.16.0

                      Viele Grüße und noch eine schöne Nacht
                      Ronny

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


                      Support us

                      ioBroker
                      Community Adapters
                      Donate

                      931

                      Online

                      32.5k

                      Benutzer

                      81.6k

                      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