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. gelöst: node.js macht Probleme

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.6k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    859

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

gelöst: node.js macht Probleme

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
2 Beiträge 2 Kommentatoren 485 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.
  • K Offline
    K Offline
    Karacho
    schrieb am zuletzt editiert von Karacho
    #1

    Hallo,

    beim Update von node.js ist was schief gelaufen...

    instance system.adapter.info.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
    Caught by controller[1]: Node.js v18.19.0
    Caught by controller[1]: at node:internal/main/run_main_module:28:49
    Caught by controller[1]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
    Caught by controller[1]: at Module._load (node:internal/modules/cjs/loader:1013:12)
    Caught by controller[1]: at Module.load (node:internal/modules/cjs/loader:1197:32)
    Caught by controller[1]: at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    Caught by controller[1]: at Module._compile (node:internal/modules/cjs/loader:1356:14)
    Caught by controller[1]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.info/main.js:58:18)
    Caught by controller[1]: at getSystemVersions (/opt/iobroker/node_modules/iobroker.info/main.js:89:11)
    Caught by controller[1]: TypeError: Cannot read properties of undefined (reading 'log')
    Caught by controller[1]: ^
    Caught by controller[1]: adapter.log.error("Could not check npm version: " + e);
    Caught by controller[1]: /opt/iobroker/node_modules/iobroker.info/main.js:89
    Caught by controller[0]: /bin/sh: 1: npm: not found
    
    iob diag
    

    sagt:

    ======================= SUMMARY =======================
                            v.2023-10-10
    
    
     Static hostname: iobroker20
           Icon name: computer
    Operating System: Debian GNU/Linux 12 (bookworm)
              Kernel: Linux 6.1.0-rpi7-rpi-v8
        Architecture: arm64
    
    Installation:           native
    Kernel:                 aarch64
    Userland:               arm64
    Timezone:               Europe/Berlin (CET, +0100)
    User-ID:                1000
    X-Server:               false
    Boot Target:            multi-user.target
    
    Pending OS-Updates:     0
    Pending iob updates:    1
    
    Nodejs-Installation:    /usr/bin/nodejs         v18.19.0
                            /usr/bin/node           v18.19.0
    /home/iobroker/.diag.sh: line 488: npm: command not found
    
    /home/iobroker/.diag.sh: line 489: npx: command not found
    
    /home/iobroker/.diag.sh: line 490: corepack: command not found
    
    
    Recommended versions are nodejs 18.19.0 and npm 10.2.3
    *** nodejs is NOT correctly installed ***
    Wrong installation path detected. This needs to be fixed.
    
    Please check
    https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian
    for more information on how to fix these errors.
    
    MEMORY:
                   total        used        free      shared  buff/cache   available
    Mem:            4.0G        2.5G        993M         16K        511M        1.4G
    Swap:           104M         33M         71M
    Total:          4.1G        2.6G        1.1G
    
    Active iob-Instances:   32
    Active repo(s): Stable (default)
    
    ioBroker Core:          js-controller           5.0.16
                            admin                   6.12.0
    
    ioBroker Status:        iobroker is running on this host.
    
    
    Objects type: jsonl
    States  type: jsonl
    
    Status admin and web instance:
    + system.adapter.admin.0                  : admin                 : iobroker20                               -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
    + system.adapter.web.1                    : web                   : iobroker20                               -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
    
    Objects:                16191
    States:                 14127
    
    Size of iob-Database:
    
    16M     /opt/iobroker/iobroker-data/objects.jsonl
    11M     /opt/iobroker/iobroker-data/states.jsonl
    
    
    
    =================== END OF SUMMARY ====================
    
    Eduard77E 1 Antwort Letzte Antwort
    0
    • K Karacho

      Hallo,

      beim Update von node.js ist was schief gelaufen...

      instance system.adapter.info.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      Caught by controller[1]: Node.js v18.19.0
      Caught by controller[1]: at node:internal/main/run_main_module:28:49
      Caught by controller[1]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
      Caught by controller[1]: at Module._load (node:internal/modules/cjs/loader:1013:12)
      Caught by controller[1]: at Module.load (node:internal/modules/cjs/loader:1197:32)
      Caught by controller[1]: at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
      Caught by controller[1]: at Module._compile (node:internal/modules/cjs/loader:1356:14)
      Caught by controller[1]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.info/main.js:58:18)
      Caught by controller[1]: at getSystemVersions (/opt/iobroker/node_modules/iobroker.info/main.js:89:11)
      Caught by controller[1]: TypeError: Cannot read properties of undefined (reading 'log')
      Caught by controller[1]: ^
      Caught by controller[1]: adapter.log.error("Could not check npm version: " + e);
      Caught by controller[1]: /opt/iobroker/node_modules/iobroker.info/main.js:89
      Caught by controller[0]: /bin/sh: 1: npm: not found
      
      iob diag
      

      sagt:

      ======================= SUMMARY =======================
                              v.2023-10-10
      
      
       Static hostname: iobroker20
             Icon name: computer
      Operating System: Debian GNU/Linux 12 (bookworm)
                Kernel: Linux 6.1.0-rpi7-rpi-v8
          Architecture: arm64
      
      Installation:           native
      Kernel:                 aarch64
      Userland:               arm64
      Timezone:               Europe/Berlin (CET, +0100)
      User-ID:                1000
      X-Server:               false
      Boot Target:            multi-user.target
      
      Pending OS-Updates:     0
      Pending iob updates:    1
      
      Nodejs-Installation:    /usr/bin/nodejs         v18.19.0
                              /usr/bin/node           v18.19.0
      /home/iobroker/.diag.sh: line 488: npm: command not found
      
      /home/iobroker/.diag.sh: line 489: npx: command not found
      
      /home/iobroker/.diag.sh: line 490: corepack: command not found
      
      
      Recommended versions are nodejs 18.19.0 and npm 10.2.3
      *** nodejs is NOT correctly installed ***
      Wrong installation path detected. This needs to be fixed.
      
      Please check
      https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian
      for more information on how to fix these errors.
      
      MEMORY:
                     total        used        free      shared  buff/cache   available
      Mem:            4.0G        2.5G        993M         16K        511M        1.4G
      Swap:           104M         33M         71M
      Total:          4.1G        2.6G        1.1G
      
      Active iob-Instances:   32
      Active repo(s): Stable (default)
      
      ioBroker Core:          js-controller           5.0.16
                              admin                   6.12.0
      
      ioBroker Status:        iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      Status admin and web instance:
      + system.adapter.admin.0                  : admin                 : iobroker20                               -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
      + system.adapter.web.1                    : web                   : iobroker20                               -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
      
      Objects:                16191
      States:                 14127
      
      Size of iob-Database:
      
      16M     /opt/iobroker/iobroker-data/objects.jsonl
      11M     /opt/iobroker/iobroker-data/states.jsonl
      
      
      
      =================== END OF SUMMARY ====================
      
      Eduard77E Online
      Eduard77E Online
      Eduard77
      schrieb am zuletzt editiert von
      #2

      @karacho sagte in node.js macht Probleme:

      Guten Morgen,

      https://forum.iobroker.net/topic/71461/dfsg-nodejs-eingehandelt-hier-die-korrektur

      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

      805

      Online

      32.6k

      Benutzer

      82.1k

      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