Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. info.0 Problem / nodejs is NOT correctly installed

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    info.0 Problem / nodejs is NOT correctly installed

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

      Hallo zusammen,

      irgendwie zickt mein IOBroker etwas herum, obwohl ich nie manuell irgendwo eingegriffen habe.

      Beim Start der IOBroker-Admin-Oberfläche kommt direkt der Hinweis, dass info.0 aufgrund von Fehlern wiederholt gestartet werden muss (Unter Instanzen steht info.0 auf rot scheint aber zu laufen).

      Nun habe ich "iob diag" laufen lassen und es sieht so aus, als wenn dies mit einem Problem mit nodejs zusammenhängt:

      ```Skript v.2023-06-20
      
      *** BASE SYSTEM ***/home/iobroker/.diag.sh: line 52: hostnamectl: command not found
      
      grep: /proc/cpuinfo: No such file or directory
      Docker          : false
      Virtualization  : DockerKernel          : amd64
      /home/iobroker/.diag.sh: line 72: dpkg: command not found
      Userland        :
      
      Systemuptime and Load:
      10:33AM  up 46 days, 12:42, 2 users, load averages: 0.46, 0.45, 0.43
      grep: /proc/cpuinfo: No such file or directory
      CPU threads:
      
      
      *** Time and Time Zones ***
      /home/iobroker/.diag.sh: line 103: timedatectl: command not found
      
      *** User and Groups ***
      root
      /root
      wheel operator
      
      *** X-Server-Setup ***
      X-Server:       false
      Desktop:
      Terminal:
      /home/iobroker/.diag.sh: line 125: systemctl: command not found
      Boot Target:
      
      *** MEMORY ***
      /home/iobroker/.diag.sh: line 129: free: command not found
      
      vmstat: illegal option -- S
      usage: vmstat [-afHhimoPsz] [-M core [-N system]] [-c count] [-n devs]
                    [-p type,if,pass] [-w wait] [disks] [wait [count]]
      
      *** FILESYSTEM ***
      Filesystem                        Type    Size    Used   Avail Capacity  Mounted on
      Pool1/iocage/jails/ioBroker/root  zfs     5.1T    7.0G    5.1T     0%    /
      
      Messages concerning ext4 filesystem in dmesg:
      dmesg: illegal option -- T
      usage: dmesg [-ac] [-M core [-N system]]
      
      Show mounted filesystems (real ones only):
      /home/iobroker/.diag.sh: line 148: findmnt: command not found
      
      Files in neuralgic directories:
      
      /var:
      3.0G    /var/
      1.8G    /var/cache/pkg
      1.8G    /var/cache
      1.1G    /var/db
      1.0G    /var/db/freebsd-update/files
      
      /home/iobroker/.diag.sh: line 162: journalctl: command not found
      
      /opt/iobroker/backups:
       71M    /opt/iobroker/backups/
      
      /opt/iobroker/iobroker-data:
      216M    /opt/iobroker/iobroker-data/
      114M    /opt/iobroker/iobroker-data/files
       93M    /opt/iobroker/iobroker-data/backup-objects
       22M    /opt/iobroker/iobroker-data/files/javascript.admin
       21M    /opt/iobroker/iobroker-data/files/vis
      
      The five largest files in iobroker-data are:
      6.8M    /opt/iobroker/iobroker-data/files/web.admin/static/js/main.edf7552a.js.map
      4.4M    /opt/iobroker/iobroker-data/objects.jsonl
      3.3M    /opt/iobroker/iobroker-data/files/web.admin/static/js/main.edf7552a.js
      2.6M    /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map
      2.6M    /opt/iobroker/iobroker-data/backup-objects/2023-09-16_07-53_objects.jsonl.gz
      
      *** NodeJS-Installation ***
      
      /home/iobroker/.diag.sh: line 177: nodejs: command not found
      
      /usr/local/bin/node             v18.16.0
      /usr/local/bin/npm              9.7.2
      /usr/local/bin/npx              9.7.2
      /home/iobroker/.diag.sh: line 186: nodejs: command not found
      *** nodejs is NOT correctly installed ***
      
      /home/iobroker/.diag.sh: line 223: apt-cache: command not found
      
      Temp directories causing npm8 problem:  0
      No problems detected
      
      Errors in npm tree:        0
      
      *** ioBroker-Installation ***
      
      ioBroker Status
      iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      No configuration change needed.
      
      
      Multihost discovery server: disabled
      Discovery authentication:   enabled
      Persistent activation:      disabled
      Objects:                    jsonl on 127.0.0.1
      States:                     jsonl on 127.0.0.1
      
      Core adapters versions
      js-controller:  5.0.12
      admin:          6.8.0
      javascript:     7.1.4
      
      Adapters from github:   1
      
      Adapter State
      + system.adapter.admin.0                  : admin                 : ioBroker                             -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
      + system.adapter.backitup.0               : backitup              : ioBroker                             -  enabled
        system.adapter.daswetter.0              : daswetter             : ioBroker                             -  enabled
      + system.adapter.discovery.0              : discovery             : ioBroker                             -  enabled
      + system.adapter.homepilot20.0            : homepilot20           : ioBroker                             -  enabled
        system.adapter.icons-mfd-png.0          : icons-mfd-png         : ioBroker                             -  enabled
        system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : ioBroker                             -  enabled
      + system.adapter.influxdb.0               : influxdb              : ioBroker                             -  enabled, port: 8086
        system.adapter.info.0                   : info                  : ioBroker                             -  enabled
      + system.adapter.javascript.0             : javascript            : ioBroker                             -  enabled
      + system.adapter.ping.0                   : ping                  : ioBroker                             -  enabled
      + system.adapter.shelly.0                 : shelly                : ioBroker                             -  enabled, port: 1882, bind: 0.0.0.0
        system.adapter.vis-google-fonts.0       : vis-google-fonts      : ioBroker                             -  enabled
        system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : ioBroker                             -  enabled
        system.adapter.vis-icontwo.0            : vis-icontwo           : ioBroker                             -  enabled
      + system.adapter.vis-inventwo.0           : vis-inventwo          : ioBroker                             -  enabled
        system.adapter.vis-metro.0              : vis-metro             : ioBroker                             -  enabled
        system.adapter.vis-timeandweather.0     : vis-timeandweather    : ioBroker                             -  enabled
        system.adapter.vis-weather.0            : vis-weather           : ioBroker                             -  enabled
        system.adapter.vis.0                    : vis                   : ioBroker                             -  enabled
      + system.adapter.web.0                    : web                   : ioBroker                             -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
      
      + instance is alive
      
      Enabled adapters with bindings
      + system.adapter.admin.0                  : admin                 : ioBroker                             -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
      + system.adapter.influxdb.0               : influxdb              : ioBroker                             -  enabled, port: 8086
      + system.adapter.shelly.0                 : shelly                : ioBroker                             -  enabled, port: 1882, bind: 0.0.0.0
      + system.adapter.web.0                    : web                   : ioBroker                             -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
      
      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.8.0    , installed 6.8.0
      Adapter    "backitup"     : 2.6.23   , installed 2.6.23
      Adapter    "daswetter"    : 3.1.10   , installed 3.1.10
      Adapter    "discovery"    : 3.1.0    , installed 3.1.0
      Adapter    "icons-mfd-png": 1.1.0    , installed 1.1.0
      Adapter    "icons-mfd-svg": 1.1.0    , installed 1.1.0
      Adapter    "influxdb"     : 3.2.0    , installed 3.2.0
      Adapter    "info"         : 1.9.26   , installed 1.9.26
      Adapter    "javascript"   : 7.1.4    , installed 7.1.4
      Controller "js-controller": 5.0.12   , installed 5.0.12
      Adapter    "mqtt"         : 4.1.1    , installed 4.1.1
      Adapter    "ping"         : 1.6.2    , installed 1.6.2
      Adapter    "shelly"       : 6.4.1    , installed 6.4.1
      Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
      Adapter    "socketio"     : 6.5.5    , installed 6.5.5
      Adapter    "vis"          : 1.4.16   , installed 1.4.16
      Adapter    "vis-google-fonts": 1.0.4 , installed 1.0.4
      Adapter    "vis-hqwidgets": 1.4.0    , installed 1.4.0
      Adapter    "vis-icontwo"  : 0.96.0   , installed 0.96.0
      Adapter    "vis-inventwo" : 3.3.3    , installed 3.3.3
      Adapter    "vis-material-advanced": 1.7.2, installed 1.7.2
      Adapter    "vis-metro"    : 1.2.0    , installed 1.2.0
      Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
      Adapter    "vis-weather"  : 2.5.6    , installed 2.5.6
      Adapter    "web"          : 6.1.2    , installed 6.1.2
      Adapter    "ws"           : 2.5.5    , installed 2.5.5
      
      Objects and States
      Please stand by - This may take a while
      Objects:        5556
      States:         5092
      
      *** OS-Repositories and Updates ***
      sudo: apt-get: command not found
      /home/iobroker/.diag.sh: line 286: apt-get: command not found
      usage: grep [-abcDEFGHhIiLlmnOoPqRSsUVvwxz] [-A num] [-B num] [-C num]
              [-e pattern] [-f file] [--binary-files=value] [--color=when]
              [--context=num] [--directories=action] [--label] [--line-buffered]
              [--null] [pattern] [file ...]
      Pending Updates:
      
      *** Listening Ports ***
      netstat: illegal option -- t
      usage: netstat [-46AaCcLnRSTWx] [-f protocol_family | -p protocol]
                     [-M core] [-N system]
             netstat -i | -I interface [-46abdhnW] [-f address_family]
                     [-M core] [-N system]
             netstat -w wait [-I interface] [-46d] [-M core] [-N system]
                     [-q howmany]
             netstat -s [-46sz] [-f protocol_family | -p protocol]
                     [-M core] [-N system]
             netstat -i | -I interface -s [-46s]
                     [-f protocol_family | -p protocol] [-M core] [-N system]
             netstat -m [-M core] [-N system]
             netstat -B [-z] [-I interface]
             netstat -r [-46AnW] [-F fibnum] [-f address_family]
                     [-M core] [-N system]
             netstat -rs [-s] [-M core] [-N system]
             netstat -g [-46W] [-f address_family] [-M core] [-N system]
             netstat -gs [-46s] [-f address_family] [-M core] [-N system]
             netstat -Q
      
      *** Log File - Last 25 Lines ***
      
      2023-09-16 08:26:08.460  - error: info.0 (71078) TypeError: lines.forEach is not a function
          at Object.getValue (/opt/iobroker/node_modules/systeminformation/lib/util.js:122:9)
          at /opt/iobroker/node_modules/systeminformation/lib/system.js:502:33
      2023-09-16 08:26:08.460  - error: info.0 (71078) lines.forEach is not a function
      2023-09-16 08:26:08.475  - info: info.0 (71078) cleaned everything up...
      2023-09-16 08:26:08.476  - info: info.0 (71078) terminating
      2023-09-16 08:26:08.476  - warn: info.0 (71078) Terminated (UNCAUGHT_EXCEPTION): Without reason
      2023-09-16 08:26:08.983  - info: info.0 (71078) terminating
      2023-09-16 08:26:09.064  - error: host.ioBroker Caught by controller[0]: /bin/sh: dmidecode: not found
      2023-09-16 08:26:09.064  - error: host.ioBroker Caught by controller[1]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promiserejected with the reason:
      2023-09-16 08:26:09.065  - error: host.ioBroker Caught by controller[2]: TypeError: lines.forEach is not a function
      2023-09-16 08:26:09.065  - error: host.ioBroker Caught by controller[2]:     atObject.getValue (/opt/iobroker/node_modules/systeminformation/lib/util.js:122:9)
      2023-09-16 08:26:09.065  - error: host.ioBroker Caught by controller[2]:     at/opt/iobroker/node_modules/systeminformation/lib/system.js:502:33
      2023-09-16 08:26:09.065  - error: host.ioBroker instance system.adapter.info.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
      2023-09-16 08:26:09.065  - info: host.ioBroker Restart adapter system.adapter.info.0 because enabled
      2023-09-16 08:26:09.065  - warn: host.ioBroker Do not restart adapter system.adapter.info.0 because restart loop detected
      2023-09-16 08:30:00.019  - info: javascript.0 (70476) script.js.ShellyCounter: Shelly Verbrauch: Verbrauchswerte aktualisiert: 0 | Reboots korrigiert: 0 | Unveränderte Werte: 6
      2023-09-16 08:30:00.031  - info: host.ioBroker instance system.adapter.daswetter.0 started with pid 71743
      2023-09-16 08:30:00.525  - info: daswetter.0 (71743) starting. Version 3.1.10 in /opt/iobroker/node_modules/iobroker.daswetter, node: v18.16.0, js-controller: 5.0.12
      2023-09-16 08:30:02.244  - info: daswetter.0 (71743) Terminated (ADAPTER_REQUESTED_TERMINATION): All data handled, adapter stopped 
      

      Siehe Zeile 86 & 223-240...

      node -v
      v18.16.0
      
      npm -v 
      9.7.2     
      

      Das Ganze läuft in einem TrueNAS Jail (FreeBSD).

      Bin für jeden Tipp dankbar!

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Markus73M last edited by

        @markus73m sagte in info.0 Problem / nodejs is NOT correctly installed:

        FreeBSD

        Okay, ich hab gerade schon gestutzt, weil da so viele Fehler im diag angeschwommen kommen.

        Auf freeBSD ist das aber erklärlich.

        Da kannst du die Diagnose vergessen, das tickt ja alles anders da.

        M 1 Reply Last reply Reply Quote 0
        • M
          Markus73M @Thomas Braun last edited by

          @thomas-braun

          ok, hast du vielleicht einen Tipp oder eine Idee wo ich die Problem der info.0 Instanz eingrenzen kann? ist ja wahrscheinlich nicht normal, dass die ständig eugestartet wird…

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Markus73M last edited by

            @markus73m

            Ich glaube der info-Adapter wird eh nicht mehr gepflegt. Kannste also auch rauswerfen.

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

              @thomas-braun said in info.0 Problem / nodejs is NOT correctly installed:

              Ich glaube der info-Adapter wird eh nicht mehr gepflegt. Kannste also auch rauswerfen.

              Über den Bedarf des Adpaters kann man streiten, du kannst ihn also ziemlich sicher auch rauswerfen.

              Eine regelmäßie Basiswartung erhält der Adapter allerdinsg durchaus:

              • 2.0.0 (2023-09-10) (bluefox) Updated packages
                (bluefox) Breaking change: minimal supported node.js version is 16.x

              • 1.9.26 (2023-02-03) (bluefox) Corrected widget

              • 1.9.25 (2023-01-10) (Apollon77) Updated dependencies

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

              Support us

              ioBroker
              Community Adapters
              Donate
              FAQ Cloud / IOT
              HowTo: Node.js-Update
              HowTo: Backup/Restore
              Downloads
              BLOG

              602
              Online

              32.1k
              Users

              80.6k
              Topics

              1.3m
              Posts

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