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. Error/Bug
  4. Could not check npm version

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.2k

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

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

Could not check npm version

Geplant Angeheftet Gesperrt Verschoben Error/Bug
5 Beiträge 3 Kommentatoren 461 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.
  • S Nicht stören
    S Nicht stören
    stenmic
    schrieb am zuletzt editiert von stenmic
    #1

    Hallo,
    nachdem ich meinem Debian bookworm heute ein update/upgrade spendiert habe kommt folgende Fehlermeldung permanent im log.
    Hat jemand einen Tipp?

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

      Hallo,
      nachdem ich meinem Debian bookworm heute ein update/upgrade spendiert habe kommt folgende Fehlermeldung permanent im log.
      Hat jemand einen Tipp?

      host.SmartHome
      	2024-01-02 18:47:31.822	error	Caught by controller[0]: /bin/sh: 1: npm: not found
      host.SmartHome
      	2024-01-02 18:47:31.822	error	Caught by controller[1]: /opt/iobroker/node_modules/iobroker.info/main.js:89
      host.SmartHome
      	2024-01-02 18:47:31.822	error	Caught by controller[1]: adapter.log.error("Could not check npm version: " + e);
      host.SmartHome
      	2024-01-02 18:47:31.822	error	Caught by controller[1]: ^
      host.SmartHome
      	2024-01-02 18:47:31.823	error	Caught by controller[1]: TypeError: Cannot read properties of undefined (reading 'log')
      host.SmartHome
      	2024-01-02 18:47:31.823	error	Caught by controller[1]: at getSystemVersions (/opt/iobroker/node_modules/iobroker.info/main.js:89:11)
      host.SmartHome
      	2024-01-02 18:47:31.823	error	Caught by controller[1]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.info/main.js:58:18)
      host.SmartHome
      	2024-01-02 18:47:31.823	error	Caught by controller[1]: at Module._compile (node:internal/modules/cjs/loader:1356:14)
      host.SmartHome
      	2024-01-02 18:47:31.823	error	Caught by controller[1]: at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
      host.SmartHome
      	2024-01-02 18:47:31.823	error	Caught by controller[1]: at Module.load (node:internal/modules/cjs/loader:1197:32)
      host.SmartHome
      	2024-01-02 18:47:31.823	error	Caught by controller[1]: at Module._load (node:internal/modules/cjs/loader:1013:12)
      host.SmartHome
      	2024-01-02 18:47:31.823	error	Caught by controller[1]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
      host.SmartHome
      	2024-01-02 18:47:31.823	error	Caught by controller[1]: at node:internal/main/run_main_module:28:49
      host.SmartHome
      	2024-01-02 18:47:31.823	error	Caught by controller[1]: Node.js v18.19.0
      host.SmartHome
      	2024-01-02 18:47:31.823	error	instance system.adapter.info.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      
      crunchipC Abwesend
      crunchipC Abwesend
      crunchip
      Forum Testing Most Active
      schrieb am zuletzt editiert von
      #2

      @stenmic sagte in Could not check npm version:

      Hat jemand einen Tipp?

      lesen
      https://forum.iobroker.net/topic/71478/plötzliche-probleme-durch-nodejs-dfsg-version-npm-fehlt

      umgestiegen von Proxmox auf Unraid

      S 1 Antwort Letzte Antwort
      1
      • crunchipC crunchip

        @stenmic sagte in Could not check npm version:

        Hat jemand einen Tipp?

        lesen
        https://forum.iobroker.net/topic/71478/plötzliche-probleme-durch-nodejs-dfsg-version-npm-fehlt

        S Nicht stören
        S Nicht stören
        stenmic
        schrieb am zuletzt editiert von stenmic
        #3

        @crunchip sagte in Could not check npm version:

        @stenmic sagte in Could not check npm version:

        Hat jemand einen Tipp?

        lesen
        https://forum.iobroker.net/topic/71478/plötzliche-probleme-durch-nodejs-dfsg-version-npm-fehlt

        hab ich, ein "iob nodejs-update 18" durchgeführt. Danach immer noch Fehler.

        Skript v.2023-10-10
        
        *** BASE SYSTEM ***
         Static hostname: SmartHome
               Icon name: computer-vm
                 Chassis: vm 🖴
          Virtualization: kvm
        Operating System: Debian GNU/Linux 12 (bookworm)
                  Kernel: Linux 6.1.0-17-amd64
            Architecture: x86-64
         Hardware Vendor: QEMU
          Hardware Model: Standard PC _i440FX + PIIX, 1996_
        Firmware Version: rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org
        
        model name      : QEMU Virtual CPU version 2.5+
        Docker          : false
        Virtualization  : kvm
        Kernel          : x86_64
        Userland        : amd64
        
        Systemuptime and Load:
         19:12:21 up 3 min,  2 users,  load average: 2.10, 1.38, 0.58
        CPU threads: 4
        
        
        *** Time and Time Zones ***
                       Local time: Tue 2024-01-02 19:12:21 CET
                   Universal time: Tue 2024-01-02 18:12:21 UTC
                         RTC time: Tue 2024-01-02 18:12:21
                        Time zone: Europe/Berlin (CET, +0100)
        System clock synchronized: yes
                      NTP service: active
                  RTC in local TZ: no
        
        *** User and Groups ***
        micha
        /home/micha
        micha cdrom floppy sudo audio dip video plugdev users netdev iobroker
        
        *** X-Server-Setup ***
        X-Server:       false
        Desktop:
        Terminal:       tty
        Boot Target:    multi-user.target
        
        *** MEMORY ***
                       total        used        free      shared  buff/cache   available
        Mem:             12G        4.4G        7.6G        540K        758M        8.1G
        Swap:           1.0G          0B        1.0G
        Total:           13G        4.4G        8.6G
        
                11960 M total memory
                 4231 M used memory
                  198 M active memory
                 4178 M inactive memory
                 7268 M free memory
                   58 M buffer memory
                  664 M swap cache
                  974 M total swap
                    0 M used swap
                  974 M free swap
        
        *** FAILED SERVICES ***
        
          UNIT LOAD ACTIVE SUB DESCRIPTION
        0 loaded units listed.
        
        *** FILESYSTEM ***
        Filesystem               Type      Size  Used Avail Use% Mounted on
        udev                     devtmpfs  5.9G     0  5.9G   0% /dev
        tmpfs                    tmpfs     1.2G  528K  1.2G   1% /run
        /dev/sda1                ext4       62G  7.7G   51G  14% /
        tmpfs                    tmpfs     5.9G     0  5.9G   0% /dev/shm
        tmpfs                    tmpfs     5.0M     0  5.0M   0% /run/lock
        tmpfs                    tmpfs     1.2G     0  1.2G   0% /run/user/1000
        //192.168.178.110/Backup cifs      458G  214G  245G  47% /mnt/backup
        
        Messages concerning ext4 filesystem in dmesg:
        [Tue Jan  2 19:08:25 2024] EXT4-fs (sda1): mounted filesystem with ordered data mode. Quota mode: none.
        [Tue Jan  2 19:08:25 2024] EXT4-fs (sda1): re-mounted. Quota mode: none.
        
        Show mounted filesystems \(real ones only\):
        TARGET        SOURCE                   FSTYPE OPTIONS
        /             /dev/sda1                ext4   rw,noatime,discard,errors=remount-ro
        `-/mnt/backup //192.168.178.110/Backup cifs   rw,relatime,vers=3.1.1,cache=strict,username=smbuser,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.178.110,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1,closetimeo=1
        
        Files in neuralgic directories:
        
        /var:
        1.3G    /var/
        615M    /var/lib
        547M    /var/log
        529M    /var/log/journal/e9726c92410847a19e506da4282d4c65
        529M    /var/log/journal
        
        Hint: You are currently not seeing messages from other users and the system.
              Users in groups 'adm', 'systemd-journal' can see all messages.
              Pass -q to turn off this notice.
        Archived and active journals take up 12.3M in the file system.
        
        /opt/iobroker/backups:
        1.1G    /opt/iobroker/backups/
        
        /opt/iobroker/iobroker-data:
        681M    /opt/iobroker/iobroker-data/
        432M    /opt/iobroker/iobroker-data/files
        169M    /opt/iobroker/iobroker-data/files/vis-2
        169M    /opt/iobroker/iobroker-data/backup-objects
        104M    /opt/iobroker/iobroker-data/files/vis-2/static
        
        The five largest files in iobroker-data are:
        63M     /opt/iobroker/iobroker-data/objects.jsonl
        33M     /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.1797d034.js.map
        28M     /opt/iobroker/iobroker-data/files/vis-2/static/js/main.1841b37a.js.map
        27M     /opt/iobroker/iobroker-data/files/vis-2/static/js/main.4c41f363.js.map
        27M     /opt/iobroker/iobroker-data/files/vis-2/customWidgets.js.map
        
        USB-Devices by-id:
        USB-Sticks -  Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id':
        
        find: '/dev/serial/by-id/': No such file or directory
        
        *** NodeJS-Installation ***
        
        /usr/bin/nodejs         v18.19.0
        /usr/bin/node           v18.19.0
        /home/iobroker/.diag.sh: line 279: npm: command not found
        
        /home/iobroker/.diag.sh: line 280: npx: command not found
        
        /home/iobroker/.diag.sh: line 281: corepack: command not found
        
        /home/iobroker/.diag.sh: line 290: npm: command not found
        /home/iobroker/.diag.sh: line 291: npx: command not found
        *** nodejs is NOT correctly installed ***
        
        nodejs:
          Installed: 18.19.0+dfsg-6~deb12u1
          Candidate: 18.19.0-1nodesource1
          Version table:
         *** 18.19.0+dfsg-6~deb12u1 500
                500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
                100 /var/lib/dpkg/status
             18.19.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.18.2-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.18.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.18.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.17.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.17.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.16.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.16.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.15.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.14.2-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.14.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.14.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.13.0+dfsg1-1 500
                500 http://deb.debian.org/debian bookworm/main amd64 Packages
             18.13.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.12.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.11.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.10.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.9.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.9.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.8.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.7.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.6.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.5.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.4.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.3.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.2.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.1.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
             18.0.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
        
        Temp directories causing npm8 problem: 0
        No problems detected
        
        Errors in npm tree:
        /home/iobroker/.diag.sh: line 360: npm: command not found
        
        *** ioBroker-Installation ***
        
        ioBroker Status
        iobroker is running on this host.
        
        
        Objects type: jsonl
        States  type: jsonl
        
        Core adapters versions
        js-controller:  5.0.17
        admin:          6.12.0
        javascript:     7.1.6
        
        /home/iobroker/.diag.sh: line 375: npm: command not found
        Adapters from github:   0
        
        Adapter State
        + system.adapter.admin.0                  : admin                 : SmartHome                                -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
        + system.adapter.alexa2.0                 : alexa2                : SmartHome                                -  enabled
        + system.adapter.backitup.0               : backitup              : SmartHome                                -  enabled
        + system.adapter.bmw.0                    : bmw                   : SmartHome                                -  enabled
        + system.adapter.bshb.0                   : bshb                  : SmartHome                                -  enabled
          system.adapter.coronavirus-statistics.0 : coronavirus-statistics: SmartHome                                - disabled
          system.adapter.daswetter.0              : daswetter             : SmartHome                                -  enabled
        + system.adapter.device-watcher.0         : device-watcher        : SmartHome                                -  enabled
        + system.adapter.discovery.0              : discovery             : SmartHome                                -  enabled
        + system.adapter.geofency.0               : geofency              : SmartHome                                -  enabled, port: 7999, bind: 0.0.0.0
        + system.adapter.ham.0                    : ham                   : SmartHome                                -  enabled
        + system.adapter.harmony.0                : harmony               : SmartHome                                -  enabled
        + system.adapter.hass.0                   : hass                  : SmartHome                                -  enabled, port: 8123
        + system.adapter.homeconnect.0            : homeconnect           : SmartHome                                -  enabled
          system.adapter.homekit-controller.0     : homekit-controller    : SmartHome                                - disabled
        + system.adapter.hue.0                    : hue                   : SmartHome                                -  enabled, port: 443
          system.adapter.ical.0                   : ical                  : SmartHome                                -  enabled
        + system.adapter.influxdb.0               : influxdb              : SmartHome                                -  enabled, port: 8086
        + system.adapter.influxdb.1               : influxdb              : SmartHome                                -  enabled, port: 8086
        + system.adapter.influxdb.2               : influxdb              : SmartHome                                -  enabled, port: 8086
        + system.adapter.influxdb.3               : influxdb              : SmartHome                                -  enabled, port: 8086
          system.adapter.info.0                   : info                  : SmartHome                                -  enabled
        + system.adapter.iot.0                    : iot                   : SmartHome                                -  enabled
        + system.adapter.javascript.0             : javascript            : SmartHome                                -  enabled
        + system.adapter.logparser.0              : logparser             : SmartHome                                -  enabled
        + system.adapter.mqtt.0                   : mqtt                  : SmartHome                                -  enabled, port: 1883, bind: 192.168.178.111
        + system.adapter.netatmo.0                : netatmo               : SmartHome                                -  enabled
        + system.adapter.nuki.0                   : nuki                  : SmartHome                                -  enabled
        + system.adapter.parser.0                 : parser                : SmartHome                                -  enabled
        + system.adapter.ping.0                   : ping                  : SmartHome                                -  enabled
        + system.adapter.pollenflug.0             : pollenflug            : SmartHome                                -  enabled
        + system.adapter.pushover.0               : pushover              : SmartHome                                -  enabled
        + system.adapter.pushover.1               : pushover              : SmartHome                                -  enabled
        + system.adapter.pushover.2               : pushover              : SmartHome                                -  enabled
        + system.adapter.pushover.3               : pushover              : SmartHome                                -  enabled
        + system.adapter.pushover.4               : pushover              : SmartHome                                -  enabled
        + system.adapter.rpi2.0                   : rpi2                  : Schaltschrank                            -  enabled
        + system.adapter.sainlogic.0              : sainlogic             : SmartHome                                -  enabled, port: 1887, bind: 192.168.178.111
        + system.adapter.shelly.0                 : shelly                : SmartHome                                -  enabled, port: 1881, bind: 0.0.0.0
        + system.adapter.simple-api.0             : simple-api            : SmartHome                                -  enabled, port: 8087, bind: 192.168.178.111, run as: admin
        + system.adapter.smartmeter.0             : smartmeter            : Schaltschrank                            -  enabled
        + system.adapter.tankerkoenig.0           : tankerkoenig          : SmartHome                                -  enabled
        + system.adapter.tr-064.0                 : tr-064                : SmartHome                                -  enabled
        + system.adapter.upnp.0                   : upnp                  : SmartHome                                -  enabled
        + system.adapter.vesync.0                 : vesync                : SmartHome                                -  enabled
        + system.adapter.vis-2.0                  : vis-2                 : SmartHome                                -  enabled
          system.adapter.vis-justgage.0           : vis-justgage          : SmartHome                                - disabled
          system.adapter.vis-map.0                : vis-map               : SmartHome                                - disabled
          system.adapter.vis-timeandweather.0     : vis-timeandweather    : SmartHome                                - disabled
          system.adapter.vis.0                    : vis                   : SmartHome                                -  enabled
        + system.adapter.vr200.0                  : vr200                 : SmartHome                                -  enabled
        + system.adapter.web.0                    : web                   : SmartHome                                -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
        + system.adapter.ws.0                     : ws                    : SmartHome                                -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
        + system.adapter.zigbee.0                 : zigbee                : SmartHome                                -  enabled, port: tcp://192.168.178.114:6638
        
        + instance is alive
        
        Enabled adapters with bindings
        + system.adapter.admin.0                  : admin                 : SmartHome                                -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
        + system.adapter.geofency.0               : geofency              : SmartHome                                -  enabled, port: 7999, bind: 0.0.0.0
        + system.adapter.hass.0                   : hass                  : SmartHome                                -  enabled, port: 8123
        + system.adapter.hue.0                    : hue                   : SmartHome                                -  enabled, port: 443
        + system.adapter.influxdb.0               : influxdb              : SmartHome                                -  enabled, port: 8086
        + system.adapter.influxdb.1               : influxdb              : SmartHome                                -  enabled, port: 8086
        + system.adapter.influxdb.2               : influxdb              : SmartHome                                -  enabled, port: 8086
        + system.adapter.influxdb.3               : influxdb              : SmartHome                                -  enabled, port: 8086
        + system.adapter.mqtt.0                   : mqtt                  : SmartHome                                -  enabled, port: 1883, bind: 192.168.178.111
        + system.adapter.sainlogic.0              : sainlogic             : SmartHome                                -  enabled, port: 1887, bind: 192.168.178.111
        + system.adapter.shelly.0                 : shelly                : SmartHome                                -  enabled, port: 1881, bind: 0.0.0.0
        + system.adapter.simple-api.0             : simple-api            : SmartHome                                -  enabled, port: 8087, bind: 192.168.178.111, run as: admin
        + system.adapter.web.0                    : web                   : SmartHome                                -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
        + system.adapter.ws.0                     : ws                    : SmartHome                                -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
        + system.adapter.zigbee.0                 : zigbee                : SmartHome                                -  enabled, port: tcp://192.168.178.114:6638
        
        ioBroker-Repositories
        stable        : http://download.iobroker.net/sources-dist.json
        beta          : http://download.iobroker.net/sources-dist-latest.json
        
        Active repo(s): stable
        
        Installed ioBroker-Instances
        Used repository: stable
        Adapter    "admin"        : 6.12.0   , installed 6.12.0
        Adapter    "alexa2"       : 3.26.3   , installed 3.26.3
        Adapter    "backitup"     : 2.9.8    , installed 2.9.8
        Adapter    "bmw"          : 2.5.7    , installed 2.6.3
        Adapter    "bshb"         : 0.2.6    , installed 0.2.6
        Adapter    "coronavirus-statistics": 0.9.0, installed 0.9.0
        Adapter    "daswetter"    : 3.1.11   , installed 3.1.11
        Adapter    "device-watcher": 2.9.6   , installed 2.9.6
        Adapter    "discovery"    : 4.2.0    , installed 4.2.0
        Adapter    "geofency"     : 1.2.4    , installed 1.2.4
        Adapter    "ham"          : 5.3.1    , installed 5.3.1
        Adapter    "harmony"      : 1.3.0    , installed 1.3.0
        Adapter    "hass"         : 1.4.0    , installed 1.4.0
        Adapter    "homeconnect"  : 1.3.0    , installed 1.3.0
        Adapter    "homekit-controller": 0.5.8, installed 0.5.8
        Adapter    "hue"          : 3.10.1   , installed 3.10.1
        Adapter    "ical"         : 1.13.3   , installed 1.13.3
        Adapter    "influxdb"     : 3.2.0    , installed 3.2.0
        Adapter    "info"         : 2.0.0    , installed 2.0.0
        Adapter    "iot"          : 2.0.11   , installed 2.0.11
        Adapter    "javascript"   : 7.1.6    , installed 7.1.6
        Controller "js-controller": 5.0.17   , installed 5.0.17
        Adapter    "logparser"    : 2.2.0    , installed 2.2.0
        Adapter    "mqtt"         : 5.1.0    , installed 5.1.0
        Adapter    "netatmo"      : 3.1.0    , installed 3.1.0
        Adapter    "nuki"         : 1.6.0    , installed 1.6.0
        Adapter    "parser"       : 2.0.7    , installed 2.0.7
        Adapter    "ping"         : 1.6.2    , installed 1.6.2
        Adapter    "pollenflug"   : 1.0.6    , installed 1.0.6
        Adapter    "pushover"     : 3.0.6    , installed 3.0.6
        Adapter    "sainlogic"    : 0.10.5   , installed 0.10.5
        Adapter    "shelly"       : 6.6.1    , installed 6.6.1
        Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
        Adapter    "socketio"     : 6.6.0    , installed 6.6.0
        Adapter    "tankerkoenig" : 3.3.7    , installed 3.3.7
        Adapter    "tr-064"       : 4.2.18   , installed 4.2.18
        Adapter    "upnp"         : 1.0.21   , installed 1.0.21
        Adapter    "vesync"       : 0.0.3    , installed 0.0.3
        Adapter    "vis"          : 1.5.4    , installed 1.5.4
        Adapter    "vis-justgage" : 2.1.0    , installed 2.1.0
        Adapter    "vis-map"      : 1.0.4    , installed 1.0.4
        Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
        Adapter    "vr200"        : 1.0.0    , installed 1.1.0
        Adapter    "web"          : 6.1.10   , installed 6.1.10
        Adapter    "ws"           : 2.5.8    , installed 2.5.8
        Adapter    "zigbee"       : 1.9.5    , installed 1.9.6
        
        Objects and States
        Please stand by - This may take a while
        Objects:        20956
        States:         17674
        
        *** OS-Repositories and Updates ***
        Hit:1 http://deb.debian.org/debian bookworm InRelease
        Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
        Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
        Hit:4 https://repos.influxdata.com/debian stable InRelease
        Hit:5 https://apt.grafana.com stable InRelease
        Hit:6 https://deb.nodesource.com/node_18.x nodistro InRelease
        Reading package lists...
        Pending Updates: 0
        
        *** Listening Ports ***
        Active Internet connections (only servers)
        Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
        tcp        0      0 0.0.0.0:1881            0.0.0.0:*               LISTEN      1001       18971      1091/io.shelly.0
        tcp        0      0 0.0.0.0:9001            0.0.0.0:*               LISTEN      1001       778        619/iobroker.js-con
        tcp        0      0 0.0.0.0:9000            0.0.0.0:*               LISTEN      1001       14296      619/iobroker.js-con
        tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          339        1/init
        tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          14211      532/sshd: /usr/sbin
        tcp        0      0 192.168.178.111:8087    0.0.0.0:*               LISTEN      1001       19340      1316/io.simple-api.
        tcp        0      0 192.168.178.111:1883    0.0.0.0:*               LISTEN      1001       18839      998/io.mqtt.0
        tcp        0      0 192.168.178.111:1884    0.0.0.0:*               LISTEN      1001       18840      998/io.mqtt.0
        tcp        0      0 192.168.178.111:1887    0.0.0.0:*               LISTEN      1001       21637      1067/io.sainlogic.0
        tcp        0      0 192.168.178.111:9092    0.0.0.0:*               LISTEN      1001       20327      765/io.nuki.0
        tcp6       0      0 :::111                  :::*                    LISTEN      0          13798      1/init
        tcp6       0      0 :::22                   :::*                    LISTEN      0          14213      532/sshd: /usr/sbin
        tcp6       0      0 :::3000                 :::*                    LISTEN      102        773        618/grafana
        tcp6       0      0 :::61991                :::*                    LISTEN      1001       21183      1239/io.harmony.0
        tcp6       0      0 :::8081                 :::*                    LISTEN      1001       16146      650/io.admin.0
        tcp6       0      0 :::8082                 :::*                    LISTEN      1001       21889      1189/io.web.0
        tcp6       0      0 :::8084                 :::*                    LISTEN      1001       22347      1443/io.ws.0
        tcp6       0      0 :::8086                 :::*                    LISTEN      999        14270      524/influxd
        udp        0      0 0.0.0.0:61991           0.0.0.0:*                           1001       21184      1239/io.harmony.0
        udp        0      0 0.0.0.0:38878           0.0.0.0:*                           1001       21460      1369/io.upnp.0
        udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          13264      1/init
        udp        0      0 0.0.0.0:1900            0.0.0.0:*                           1001       23106      1369/io.upnp.0
        udp6       0      0 :::111                  :::*                                0          13265      1/init
        
        *** Log File - Last 25 Lines ***
        
        2024-01-02 19:12:35.827  - error: host.SmartHome Caught by controller[1]:     at Module._load (node:internal/modules/cjs/loader:1013:12)
        2024-01-02 19:12:35.827  - error: host.SmartHome Caught by controller[1]:     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
        2024-01-02 19:12:35.827  - error: host.SmartHome Caught by controller[1]:     at node:internal/main/run_main_module:28:49
        2024-01-02 19:12:35.827  - error: host.SmartHome Caught by controller[1]: Node.js v18.19.0
        2024-01-02 19:12:35.827  - error: host.SmartHome instance system.adapter.info.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
        2024-01-02 19:12:35.827  - info: host.SmartHome Restart adapter system.adapter.info.0 because enabled
        2024-01-02 19:12:45.260  - info: host.SmartHome "system.adapter.info.0" disabled
        2024-01-02 19:12:49.703  - info: host.SmartHome "system.adapter.info.0" enabled
        2024-01-02 19:12:49.941  - info: host.SmartHome instance system.adapter.info.0 started with pid 1752
        2024-01-02 19:12:51.728  - error: host.SmartHome Caught by controller[0]: /bin/sh: 1: npm: not found
        2024-01-02 19:12:51.728  - error: host.SmartHome Caught by controller[1]: /opt/iobroker/node_modules/iobroker.info/main.js:89
        2024-01-02 19:12:51.728  - error: host.SmartHome Caught by controller[1]:               adapter.log.error("Could not check npm version: " + e);
        2024-01-02 19:12:51.728  - error: host.SmartHome Caught by controller[1]:                       ^
        2024-01-02 19:12:51.728  - error: host.SmartHome Caught by controller[1]: TypeError: Cannot read properties of undefined (reading 'log')
        2024-01-02 19:12:51.728  - error: host.SmartHome Caught by controller[1]:     at getSystemVersions (/opt/iobroker/node_modules/iobroker.info/main.js:89:11)
        2024-01-02 19:12:51.728  - error: host.SmartHome Caught by controller[1]:     at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.info/main.js:58:18)
        2024-01-02 19:12:51.729  - error: host.SmartHome Caught by controller[1]:     at Module._compile (node:internal/modules/cjs/loader:1356:14)
        2024-01-02 19:12:51.729  - error: host.SmartHome Caught by controller[1]:     at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
        2024-01-02 19:12:51.729  - error: host.SmartHome Caught by controller[1]:     at Module.load (node:internal/modules/cjs/loader:1197:32)
        2024-01-02 19:12:51.729  - error: host.SmartHome Caught by controller[1]:     at Module._load (node:internal/modules/cjs/loader:1013:12)
        2024-01-02 19:12:51.729  - error: host.SmartHome Caught by controller[1]:     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
        2024-01-02 19:12:51.729  - error: host.SmartHome Caught by controller[1]:     at node:internal/main/run_main_module:28:49
        2024-01-02 19:12:51.729  - error: host.SmartHome Caught by controller[1]: Node.js v18.19.0
        2024-01-02 19:12:51.729  - error: host.SmartHome instance system.adapter.info.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
        2024-01-02 19:12:51.729  - info: host.SmartHome Restart adapter system.adapter.info.0 because enabled
        
        
        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • S stenmic

          @crunchip sagte in Could not check npm version:

          @stenmic sagte in Could not check npm version:

          Hat jemand einen Tipp?

          lesen
          https://forum.iobroker.net/topic/71478/plötzliche-probleme-durch-nodejs-dfsg-version-npm-fehlt

          hab ich, ein "iob nodejs-update 18" durchgeführt. Danach immer noch Fehler.

          Skript v.2023-10-10
          
          *** BASE SYSTEM ***
           Static hostname: SmartHome
                 Icon name: computer-vm
                   Chassis: vm 🖴
            Virtualization: kvm
          Operating System: Debian GNU/Linux 12 (bookworm)
                    Kernel: Linux 6.1.0-17-amd64
              Architecture: x86-64
           Hardware Vendor: QEMU
            Hardware Model: Standard PC _i440FX + PIIX, 1996_
          Firmware Version: rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org
          
          model name      : QEMU Virtual CPU version 2.5+
          Docker          : false
          Virtualization  : kvm
          Kernel          : x86_64
          Userland        : amd64
          
          Systemuptime and Load:
           19:12:21 up 3 min,  2 users,  load average: 2.10, 1.38, 0.58
          CPU threads: 4
          
          
          *** Time and Time Zones ***
                         Local time: Tue 2024-01-02 19:12:21 CET
                     Universal time: Tue 2024-01-02 18:12:21 UTC
                           RTC time: Tue 2024-01-02 18:12:21
                          Time zone: Europe/Berlin (CET, +0100)
          System clock synchronized: yes
                        NTP service: active
                    RTC in local TZ: no
          
          *** User and Groups ***
          micha
          /home/micha
          micha cdrom floppy sudo audio dip video plugdev users netdev iobroker
          
          *** X-Server-Setup ***
          X-Server:       false
          Desktop:
          Terminal:       tty
          Boot Target:    multi-user.target
          
          *** MEMORY ***
                         total        used        free      shared  buff/cache   available
          Mem:             12G        4.4G        7.6G        540K        758M        8.1G
          Swap:           1.0G          0B        1.0G
          Total:           13G        4.4G        8.6G
          
                  11960 M total memory
                   4231 M used memory
                    198 M active memory
                   4178 M inactive memory
                   7268 M free memory
                     58 M buffer memory
                    664 M swap cache
                    974 M total swap
                      0 M used swap
                    974 M free swap
          
          *** FAILED SERVICES ***
          
            UNIT LOAD ACTIVE SUB DESCRIPTION
          0 loaded units listed.
          
          *** FILESYSTEM ***
          Filesystem               Type      Size  Used Avail Use% Mounted on
          udev                     devtmpfs  5.9G     0  5.9G   0% /dev
          tmpfs                    tmpfs     1.2G  528K  1.2G   1% /run
          /dev/sda1                ext4       62G  7.7G   51G  14% /
          tmpfs                    tmpfs     5.9G     0  5.9G   0% /dev/shm
          tmpfs                    tmpfs     5.0M     0  5.0M   0% /run/lock
          tmpfs                    tmpfs     1.2G     0  1.2G   0% /run/user/1000
          //192.168.178.110/Backup cifs      458G  214G  245G  47% /mnt/backup
          
          Messages concerning ext4 filesystem in dmesg:
          [Tue Jan  2 19:08:25 2024] EXT4-fs (sda1): mounted filesystem with ordered data mode. Quota mode: none.
          [Tue Jan  2 19:08:25 2024] EXT4-fs (sda1): re-mounted. Quota mode: none.
          
          Show mounted filesystems \(real ones only\):
          TARGET        SOURCE                   FSTYPE OPTIONS
          /             /dev/sda1                ext4   rw,noatime,discard,errors=remount-ro
          `-/mnt/backup //192.168.178.110/Backup cifs   rw,relatime,vers=3.1.1,cache=strict,username=smbuser,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.178.110,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1,closetimeo=1
          
          Files in neuralgic directories:
          
          /var:
          1.3G    /var/
          615M    /var/lib
          547M    /var/log
          529M    /var/log/journal/e9726c92410847a19e506da4282d4c65
          529M    /var/log/journal
          
          Hint: You are currently not seeing messages from other users and the system.
                Users in groups 'adm', 'systemd-journal' can see all messages.
                Pass -q to turn off this notice.
          Archived and active journals take up 12.3M in the file system.
          
          /opt/iobroker/backups:
          1.1G    /opt/iobroker/backups/
          
          /opt/iobroker/iobroker-data:
          681M    /opt/iobroker/iobroker-data/
          432M    /opt/iobroker/iobroker-data/files
          169M    /opt/iobroker/iobroker-data/files/vis-2
          169M    /opt/iobroker/iobroker-data/backup-objects
          104M    /opt/iobroker/iobroker-data/files/vis-2/static
          
          The five largest files in iobroker-data are:
          63M     /opt/iobroker/iobroker-data/objects.jsonl
          33M     /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.1797d034.js.map
          28M     /opt/iobroker/iobroker-data/files/vis-2/static/js/main.1841b37a.js.map
          27M     /opt/iobroker/iobroker-data/files/vis-2/static/js/main.4c41f363.js.map
          27M     /opt/iobroker/iobroker-data/files/vis-2/customWidgets.js.map
          
          USB-Devices by-id:
          USB-Sticks -  Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id':
          
          find: '/dev/serial/by-id/': No such file or directory
          
          *** NodeJS-Installation ***
          
          /usr/bin/nodejs         v18.19.0
          /usr/bin/node           v18.19.0
          /home/iobroker/.diag.sh: line 279: npm: command not found
          
          /home/iobroker/.diag.sh: line 280: npx: command not found
          
          /home/iobroker/.diag.sh: line 281: corepack: command not found
          
          /home/iobroker/.diag.sh: line 290: npm: command not found
          /home/iobroker/.diag.sh: line 291: npx: command not found
          *** nodejs is NOT correctly installed ***
          
          nodejs:
            Installed: 18.19.0+dfsg-6~deb12u1
            Candidate: 18.19.0-1nodesource1
            Version table:
           *** 18.19.0+dfsg-6~deb12u1 500
                  500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
                  100 /var/lib/dpkg/status
               18.19.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.18.2-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.18.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.18.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.17.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.17.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.16.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.16.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.15.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.14.2-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.14.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.14.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.13.0+dfsg1-1 500
                  500 http://deb.debian.org/debian bookworm/main amd64 Packages
               18.13.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.12.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.11.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.10.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.9.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.9.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.8.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.7.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.6.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.5.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.4.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.3.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.2.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.1.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.0.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
          
          Temp directories causing npm8 problem: 0
          No problems detected
          
          Errors in npm tree:
          /home/iobroker/.diag.sh: line 360: npm: command not found
          
          *** ioBroker-Installation ***
          
          ioBroker Status
          iobroker is running on this host.
          
          
          Objects type: jsonl
          States  type: jsonl
          
          Core adapters versions
          js-controller:  5.0.17
          admin:          6.12.0
          javascript:     7.1.6
          
          /home/iobroker/.diag.sh: line 375: npm: command not found
          Adapters from github:   0
          
          Adapter State
          + system.adapter.admin.0                  : admin                 : SmartHome                                -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          + system.adapter.alexa2.0                 : alexa2                : SmartHome                                -  enabled
          + system.adapter.backitup.0               : backitup              : SmartHome                                -  enabled
          + system.adapter.bmw.0                    : bmw                   : SmartHome                                -  enabled
          + system.adapter.bshb.0                   : bshb                  : SmartHome                                -  enabled
            system.adapter.coronavirus-statistics.0 : coronavirus-statistics: SmartHome                                - disabled
            system.adapter.daswetter.0              : daswetter             : SmartHome                                -  enabled
          + system.adapter.device-watcher.0         : device-watcher        : SmartHome                                -  enabled
          + system.adapter.discovery.0              : discovery             : SmartHome                                -  enabled
          + system.adapter.geofency.0               : geofency              : SmartHome                                -  enabled, port: 7999, bind: 0.0.0.0
          + system.adapter.ham.0                    : ham                   : SmartHome                                -  enabled
          + system.adapter.harmony.0                : harmony               : SmartHome                                -  enabled
          + system.adapter.hass.0                   : hass                  : SmartHome                                -  enabled, port: 8123
          + system.adapter.homeconnect.0            : homeconnect           : SmartHome                                -  enabled
            system.adapter.homekit-controller.0     : homekit-controller    : SmartHome                                - disabled
          + system.adapter.hue.0                    : hue                   : SmartHome                                -  enabled, port: 443
            system.adapter.ical.0                   : ical                  : SmartHome                                -  enabled
          + system.adapter.influxdb.0               : influxdb              : SmartHome                                -  enabled, port: 8086
          + system.adapter.influxdb.1               : influxdb              : SmartHome                                -  enabled, port: 8086
          + system.adapter.influxdb.2               : influxdb              : SmartHome                                -  enabled, port: 8086
          + system.adapter.influxdb.3               : influxdb              : SmartHome                                -  enabled, port: 8086
            system.adapter.info.0                   : info                  : SmartHome                                -  enabled
          + system.adapter.iot.0                    : iot                   : SmartHome                                -  enabled
          + system.adapter.javascript.0             : javascript            : SmartHome                                -  enabled
          + system.adapter.logparser.0              : logparser             : SmartHome                                -  enabled
          + system.adapter.mqtt.0                   : mqtt                  : SmartHome                                -  enabled, port: 1883, bind: 192.168.178.111
          + system.adapter.netatmo.0                : netatmo               : SmartHome                                -  enabled
          + system.adapter.nuki.0                   : nuki                  : SmartHome                                -  enabled
          + system.adapter.parser.0                 : parser                : SmartHome                                -  enabled
          + system.adapter.ping.0                   : ping                  : SmartHome                                -  enabled
          + system.adapter.pollenflug.0             : pollenflug            : SmartHome                                -  enabled
          + system.adapter.pushover.0               : pushover              : SmartHome                                -  enabled
          + system.adapter.pushover.1               : pushover              : SmartHome                                -  enabled
          + system.adapter.pushover.2               : pushover              : SmartHome                                -  enabled
          + system.adapter.pushover.3               : pushover              : SmartHome                                -  enabled
          + system.adapter.pushover.4               : pushover              : SmartHome                                -  enabled
          + system.adapter.rpi2.0                   : rpi2                  : Schaltschrank                            -  enabled
          + system.adapter.sainlogic.0              : sainlogic             : SmartHome                                -  enabled, port: 1887, bind: 192.168.178.111
          + system.adapter.shelly.0                 : shelly                : SmartHome                                -  enabled, port: 1881, bind: 0.0.0.0
          + system.adapter.simple-api.0             : simple-api            : SmartHome                                -  enabled, port: 8087, bind: 192.168.178.111, run as: admin
          + system.adapter.smartmeter.0             : smartmeter            : Schaltschrank                            -  enabled
          + system.adapter.tankerkoenig.0           : tankerkoenig          : SmartHome                                -  enabled
          + system.adapter.tr-064.0                 : tr-064                : SmartHome                                -  enabled
          + system.adapter.upnp.0                   : upnp                  : SmartHome                                -  enabled
          + system.adapter.vesync.0                 : vesync                : SmartHome                                -  enabled
          + system.adapter.vis-2.0                  : vis-2                 : SmartHome                                -  enabled
            system.adapter.vis-justgage.0           : vis-justgage          : SmartHome                                - disabled
            system.adapter.vis-map.0                : vis-map               : SmartHome                                - disabled
            system.adapter.vis-timeandweather.0     : vis-timeandweather    : SmartHome                                - disabled
            system.adapter.vis.0                    : vis                   : SmartHome                                -  enabled
          + system.adapter.vr200.0                  : vr200                 : SmartHome                                -  enabled
          + system.adapter.web.0                    : web                   : SmartHome                                -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
          + system.adapter.ws.0                     : ws                    : SmartHome                                -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
          + system.adapter.zigbee.0                 : zigbee                : SmartHome                                -  enabled, port: tcp://192.168.178.114:6638
          
          + instance is alive
          
          Enabled adapters with bindings
          + system.adapter.admin.0                  : admin                 : SmartHome                                -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          + system.adapter.geofency.0               : geofency              : SmartHome                                -  enabled, port: 7999, bind: 0.0.0.0
          + system.adapter.hass.0                   : hass                  : SmartHome                                -  enabled, port: 8123
          + system.adapter.hue.0                    : hue                   : SmartHome                                -  enabled, port: 443
          + system.adapter.influxdb.0               : influxdb              : SmartHome                                -  enabled, port: 8086
          + system.adapter.influxdb.1               : influxdb              : SmartHome                                -  enabled, port: 8086
          + system.adapter.influxdb.2               : influxdb              : SmartHome                                -  enabled, port: 8086
          + system.adapter.influxdb.3               : influxdb              : SmartHome                                -  enabled, port: 8086
          + system.adapter.mqtt.0                   : mqtt                  : SmartHome                                -  enabled, port: 1883, bind: 192.168.178.111
          + system.adapter.sainlogic.0              : sainlogic             : SmartHome                                -  enabled, port: 1887, bind: 192.168.178.111
          + system.adapter.shelly.0                 : shelly                : SmartHome                                -  enabled, port: 1881, bind: 0.0.0.0
          + system.adapter.simple-api.0             : simple-api            : SmartHome                                -  enabled, port: 8087, bind: 192.168.178.111, run as: admin
          + system.adapter.web.0                    : web                   : SmartHome                                -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
          + system.adapter.ws.0                     : ws                    : SmartHome                                -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
          + system.adapter.zigbee.0                 : zigbee                : SmartHome                                -  enabled, port: tcp://192.168.178.114:6638
          
          ioBroker-Repositories
          stable        : http://download.iobroker.net/sources-dist.json
          beta          : http://download.iobroker.net/sources-dist-latest.json
          
          Active repo(s): stable
          
          Installed ioBroker-Instances
          Used repository: stable
          Adapter    "admin"        : 6.12.0   , installed 6.12.0
          Adapter    "alexa2"       : 3.26.3   , installed 3.26.3
          Adapter    "backitup"     : 2.9.8    , installed 2.9.8
          Adapter    "bmw"          : 2.5.7    , installed 2.6.3
          Adapter    "bshb"         : 0.2.6    , installed 0.2.6
          Adapter    "coronavirus-statistics": 0.9.0, installed 0.9.0
          Adapter    "daswetter"    : 3.1.11   , installed 3.1.11
          Adapter    "device-watcher": 2.9.6   , installed 2.9.6
          Adapter    "discovery"    : 4.2.0    , installed 4.2.0
          Adapter    "geofency"     : 1.2.4    , installed 1.2.4
          Adapter    "ham"          : 5.3.1    , installed 5.3.1
          Adapter    "harmony"      : 1.3.0    , installed 1.3.0
          Adapter    "hass"         : 1.4.0    , installed 1.4.0
          Adapter    "homeconnect"  : 1.3.0    , installed 1.3.0
          Adapter    "homekit-controller": 0.5.8, installed 0.5.8
          Adapter    "hue"          : 3.10.1   , installed 3.10.1
          Adapter    "ical"         : 1.13.3   , installed 1.13.3
          Adapter    "influxdb"     : 3.2.0    , installed 3.2.0
          Adapter    "info"         : 2.0.0    , installed 2.0.0
          Adapter    "iot"          : 2.0.11   , installed 2.0.11
          Adapter    "javascript"   : 7.1.6    , installed 7.1.6
          Controller "js-controller": 5.0.17   , installed 5.0.17
          Adapter    "logparser"    : 2.2.0    , installed 2.2.0
          Adapter    "mqtt"         : 5.1.0    , installed 5.1.0
          Adapter    "netatmo"      : 3.1.0    , installed 3.1.0
          Adapter    "nuki"         : 1.6.0    , installed 1.6.0
          Adapter    "parser"       : 2.0.7    , installed 2.0.7
          Adapter    "ping"         : 1.6.2    , installed 1.6.2
          Adapter    "pollenflug"   : 1.0.6    , installed 1.0.6
          Adapter    "pushover"     : 3.0.6    , installed 3.0.6
          Adapter    "sainlogic"    : 0.10.5   , installed 0.10.5
          Adapter    "shelly"       : 6.6.1    , installed 6.6.1
          Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
          Adapter    "socketio"     : 6.6.0    , installed 6.6.0
          Adapter    "tankerkoenig" : 3.3.7    , installed 3.3.7
          Adapter    "tr-064"       : 4.2.18   , installed 4.2.18
          Adapter    "upnp"         : 1.0.21   , installed 1.0.21
          Adapter    "vesync"       : 0.0.3    , installed 0.0.3
          Adapter    "vis"          : 1.5.4    , installed 1.5.4
          Adapter    "vis-justgage" : 2.1.0    , installed 2.1.0
          Adapter    "vis-map"      : 1.0.4    , installed 1.0.4
          Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
          Adapter    "vr200"        : 1.0.0    , installed 1.1.0
          Adapter    "web"          : 6.1.10   , installed 6.1.10
          Adapter    "ws"           : 2.5.8    , installed 2.5.8
          Adapter    "zigbee"       : 1.9.5    , installed 1.9.6
          
          Objects and States
          Please stand by - This may take a while
          Objects:        20956
          States:         17674
          
          *** OS-Repositories and Updates ***
          Hit:1 http://deb.debian.org/debian bookworm InRelease
          Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
          Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
          Hit:4 https://repos.influxdata.com/debian stable InRelease
          Hit:5 https://apt.grafana.com stable InRelease
          Hit:6 https://deb.nodesource.com/node_18.x nodistro InRelease
          Reading package lists...
          Pending Updates: 0
          
          *** Listening Ports ***
          Active Internet connections (only servers)
          Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
          tcp        0      0 0.0.0.0:1881            0.0.0.0:*               LISTEN      1001       18971      1091/io.shelly.0
          tcp        0      0 0.0.0.0:9001            0.0.0.0:*               LISTEN      1001       778        619/iobroker.js-con
          tcp        0      0 0.0.0.0:9000            0.0.0.0:*               LISTEN      1001       14296      619/iobroker.js-con
          tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          339        1/init
          tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          14211      532/sshd: /usr/sbin
          tcp        0      0 192.168.178.111:8087    0.0.0.0:*               LISTEN      1001       19340      1316/io.simple-api.
          tcp        0      0 192.168.178.111:1883    0.0.0.0:*               LISTEN      1001       18839      998/io.mqtt.0
          tcp        0      0 192.168.178.111:1884    0.0.0.0:*               LISTEN      1001       18840      998/io.mqtt.0
          tcp        0      0 192.168.178.111:1887    0.0.0.0:*               LISTEN      1001       21637      1067/io.sainlogic.0
          tcp        0      0 192.168.178.111:9092    0.0.0.0:*               LISTEN      1001       20327      765/io.nuki.0
          tcp6       0      0 :::111                  :::*                    LISTEN      0          13798      1/init
          tcp6       0      0 :::22                   :::*                    LISTEN      0          14213      532/sshd: /usr/sbin
          tcp6       0      0 :::3000                 :::*                    LISTEN      102        773        618/grafana
          tcp6       0      0 :::61991                :::*                    LISTEN      1001       21183      1239/io.harmony.0
          tcp6       0      0 :::8081                 :::*                    LISTEN      1001       16146      650/io.admin.0
          tcp6       0      0 :::8082                 :::*                    LISTEN      1001       21889      1189/io.web.0
          tcp6       0      0 :::8084                 :::*                    LISTEN      1001       22347      1443/io.ws.0
          tcp6       0      0 :::8086                 :::*                    LISTEN      999        14270      524/influxd
          udp        0      0 0.0.0.0:61991           0.0.0.0:*                           1001       21184      1239/io.harmony.0
          udp        0      0 0.0.0.0:38878           0.0.0.0:*                           1001       21460      1369/io.upnp.0
          udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          13264      1/init
          udp        0      0 0.0.0.0:1900            0.0.0.0:*                           1001       23106      1369/io.upnp.0
          udp6       0      0 :::111                  :::*                                0          13265      1/init
          
          *** Log File - Last 25 Lines ***
          
          2024-01-02 19:12:35.827  - error: host.SmartHome Caught by controller[1]:     at Module._load (node:internal/modules/cjs/loader:1013:12)
          2024-01-02 19:12:35.827  - error: host.SmartHome Caught by controller[1]:     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
          2024-01-02 19:12:35.827  - error: host.SmartHome Caught by controller[1]:     at node:internal/main/run_main_module:28:49
          2024-01-02 19:12:35.827  - error: host.SmartHome Caught by controller[1]: Node.js v18.19.0
          2024-01-02 19:12:35.827  - error: host.SmartHome instance system.adapter.info.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
          2024-01-02 19:12:35.827  - info: host.SmartHome Restart adapter system.adapter.info.0 because enabled
          2024-01-02 19:12:45.260  - info: host.SmartHome "system.adapter.info.0" disabled
          2024-01-02 19:12:49.703  - info: host.SmartHome "system.adapter.info.0" enabled
          2024-01-02 19:12:49.941  - info: host.SmartHome instance system.adapter.info.0 started with pid 1752
          2024-01-02 19:12:51.728  - error: host.SmartHome Caught by controller[0]: /bin/sh: 1: npm: not found
          2024-01-02 19:12:51.728  - error: host.SmartHome Caught by controller[1]: /opt/iobroker/node_modules/iobroker.info/main.js:89
          2024-01-02 19:12:51.728  - error: host.SmartHome Caught by controller[1]:               adapter.log.error("Could not check npm version: " + e);
          2024-01-02 19:12:51.728  - error: host.SmartHome Caught by controller[1]:                       ^
          2024-01-02 19:12:51.728  - error: host.SmartHome Caught by controller[1]: TypeError: Cannot read properties of undefined (reading 'log')
          2024-01-02 19:12:51.728  - error: host.SmartHome Caught by controller[1]:     at getSystemVersions (/opt/iobroker/node_modules/iobroker.info/main.js:89:11)
          2024-01-02 19:12:51.728  - error: host.SmartHome Caught by controller[1]:     at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.info/main.js:58:18)
          2024-01-02 19:12:51.729  - error: host.SmartHome Caught by controller[1]:     at Module._compile (node:internal/modules/cjs/loader:1356:14)
          2024-01-02 19:12:51.729  - error: host.SmartHome Caught by controller[1]:     at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
          2024-01-02 19:12:51.729  - error: host.SmartHome Caught by controller[1]:     at Module.load (node:internal/modules/cjs/loader:1197:32)
          2024-01-02 19:12:51.729  - error: host.SmartHome Caught by controller[1]:     at Module._load (node:internal/modules/cjs/loader:1013:12)
          2024-01-02 19:12:51.729  - error: host.SmartHome Caught by controller[1]:     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
          2024-01-02 19:12:51.729  - error: host.SmartHome Caught by controller[1]:     at node:internal/main/run_main_module:28:49
          2024-01-02 19:12:51.729  - error: host.SmartHome Caught by controller[1]: Node.js v18.19.0
          2024-01-02 19:12:51.729  - error: host.SmartHome instance system.adapter.info.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
          2024-01-02 19:12:51.729  - info: host.SmartHome Restart adapter system.adapter.info.0 because enabled
          
          
          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von Thomas Braun
          #4

          @stenmic sagte in Could not check npm version:

          18.19.0-1nodesource1

          Dann Versuch die zweite Alternative.
          Die dritte Zeile davon reicht.

          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

          S 1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @stenmic sagte in Could not check npm version:

            18.19.0-1nodesource1

            Dann Versuch die zweite Alternative.
            Die dritte Zeile davon reicht.

            S Nicht stören
            S Nicht stören
            stenmic
            schrieb am zuletzt editiert von
            #5

            @thomas-braun sagte in Could not check npm version:

            @stenmic sagte in Could not check npm version:

            18.19.0-1nodesource1

            Dann Versuch die zweite Alternative.
            Die dritte Zeile davon reicht.

            Danke, das hat jetzt den Fehler behoben.

            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

            876

            Online

            32.5k

            Benutzer

            81.7k

            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