Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. iobroker diagnostics/node

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    iobroker diagnostics/node

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

      Hallo,
      Ich bräuchte bitte eure Hilfe !
      Bekomme folgende Fehlermeldung wenn ich den IOBROKER starten will:

      node:internal/modules/cjs/loader:446
            throw err;
            ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/@dabh/diagnostics/node'. Please verify that the package.json has a valid "main" entry
          at tryPackage (node:internal/modules/cjs/loader:438:19)
          at Module._findPath (node:internal/modules/cjs/loader:680:18)
          at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
          at Module._load (node:internal/modules/cjs/loader:922:27)
          at Module.require (node:internal/modules/cjs/loader:1143:19)
          at require (node:internal/modules/cjs/helpers:119:18)
          at Object.<anonymous> (/opt/iobroker/node_modules/winston/lib/winston/exception-handler.js:12:15)
          at Module._compile (node:internal/modules/cjs/loader:1256:14)
          at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
          at Module.load (node:internal/modules/cjs/loader:1119:32) {
        code: 'MODULE_NOT_FOUND',
        path: '/opt/iobroker/node_modules/@dabh/diagnostics/package.json',
        requestPath: '@dabh/diagnostics'
      }
      
      Node.js v18.18.2
      

      Jeder Versuch irgend eine Info zu bekommen (z.B. die iobroker Version) endet in oben stehenden Fehler

      Aus iob diag kommt auch nichts raus - außer oben stehenden Fehler

      Kann mir irgendwer helfen? Danke vorab für eure Hilfe
      lg
      Klaus

      K 1 Reply Last reply Reply Quote 0
      • K
        klaus88 @klaus88 last edited by

        Sorry sicherheitshalber den Inhalt der iob diag Summary:

        ======================= SUMMARY =======================
                                v.2023-10-10
        
        
           Static hostname: iobroker
                 Icon name: computer
          Operating System: Debian GNU/Linux 11 (bullseye)
                    Kernel: Linux 6.1.21-v8+
              Architecture: arm64
        
        Installation:           native
        Kernel:                 aarch64
        Userland:               arm64
        Timezone:               Europe/Vienna (CEST, +0200)
        User-ID:                1000
        X-Server:               false
        Boot Target:            multi-user.target
        
        Pending OS-Updates:     0
        node:internal/modules/cjs/loader:446
              throw err;
              ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/@dabh/diagnostics/node'. Please verify that the package.json has a valid "main" entry
            at tryPackage (node:internal/modules/cjs/loader:438:19)
            at Module._findPath (node:internal/modules/cjs/loader:680:18)
            at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
            at Module._load (node:internal/modules/cjs/loader:922:27)
            at Module.require (node:internal/modules/cjs/loader:1143:19)
            at require (node:internal/modules/cjs/helpers:119:18)
            at Object.<anonymous> (/opt/iobroker/node_modules/winston/lib/winston/exception-handler.js:12:15)
            at Module._compile (node:internal/modules/cjs/loader:1256:14)
            at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
            at Module.load (node:internal/modules/cjs/loader:1119:32) {
          code: 'MODULE_NOT_FOUND',
          path: '/opt/iobroker/node_modules/@dabh/diagnostics/package.json',
          requestPath: '@dabh/diagnostics'
        }
        
        Node.js v18.18.2
        Pending iob updates:    0
        
        Nodejs-Installation:    /usr/bin/nodejs         v18.18.2
                                /usr/bin/node           v18.18.2
                                /usr/bin/npm            9.8.1
                                /usr/bin/npx            9.8.1
                                /usr/bin/corepack       0.19.0
        
        Recommended versions are nodejs  and npm
        Your nodejs installation is correct
        
        MEMORY:
                       total        used        free      shared  buff/cache   available
        Mem:            3.8G        137M        3.0G        1.0M        692M        3.6G
        Swap:            99M          0B         99M
        Total:          3.9G        137M        3.1G
        
        node:internal/modules/cjs/loader:446
              throw err;
              ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/@dabh/diagnostics/node'. Please verify that the package.json has a valid "main" entry
            at tryPackage (node:internal/modules/cjs/loader:438:19)
            at Module._findPath (node:internal/modules/cjs/loader:680:18)
            at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
            at Module._load (node:internal/modules/cjs/loader:922:27)
            at Module.require (node:internal/modules/cjs/loader:1143:19)
            at require (node:internal/modules/cjs/helpers:119:18)
            at Object.<anonymous> (/opt/iobroker/node_modules/winston/lib/winston/exception-handler.js:12:15)
            at Module._compile (node:internal/modules/cjs/loader:1256:14)
            at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
            at Module.load (node:internal/modules/cjs/loader:1119:32) {
          code: 'MODULE_NOT_FOUND',
          path: '/opt/iobroker/node_modules/@dabh/diagnostics/package.json',
          requestPath: '@dabh/diagnostics'
        }
        
        Node.js v18.18.2
        Active iob-Instances:   0
        node:internal/modules/cjs/loader:446
              throw err;
              ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/@dabh/diagnostics/node'. Please verify that the package.json has a valid "main" entry
            at tryPackage (node:internal/modules/cjs/loader:438:19)
            at Module._findPath (node:internal/modules/cjs/loader:680:18)
            at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
            at Module._load (node:internal/modules/cjs/loader:922:27)
            at Module.require (node:internal/modules/cjs/loader:1143:19)
            at require (node:internal/modules/cjs/helpers:119:18)
            at Object.<anonymous> (/opt/iobroker/node_modules/winston/lib/winston/exception-handler.js:12:15)
            at Module._compile (node:internal/modules/cjs/loader:1256:14)
            at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
            at Module.load (node:internal/modules/cjs/loader:1119:32) {
          code: 'MODULE_NOT_FOUND',
          path: '/opt/iobroker/node_modules/@dabh/diagnostics/package.json',
          requestPath: '@dabh/diagnostics'
        }
        
        Node.js v18.18.2
        
        node:internal/modules/cjs/loader:446
              throw err;
              ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/@dabh/diagnostics/node'. Please verify that the package.json has a valid "main" entry
            at tryPackage (node:internal/modules/cjs/loader:438:19)
            at Module._findPath (node:internal/modules/cjs/loader:680:18)
            at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
            at Module._load (node:internal/modules/cjs/loader:922:27)
            at Module.require (node:internal/modules/cjs/loader:1143:19)
            at require (node:internal/modules/cjs/helpers:119:18)
            at Object.<anonymous> (/opt/iobroker/node_modules/winston/lib/winston/exception-handler.js:12:15)
            at Module._compile (node:internal/modules/cjs/loader:1256:14)
            at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
            at Module.load (node:internal/modules/cjs/loader:1119:32) {
          code: 'MODULE_NOT_FOUND',
          path: '/opt/iobroker/node_modules/@dabh/diagnostics/package.json',
          requestPath: '@dabh/diagnostics'
        }
        
        Node.js v18.18.2
        ioBroker Core:          js-controller
        node:internal/modules/cjs/loader:446
              throw err;
              ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/@dabh/diagnostics/node'. Please verify that the package.json has a valid "main" entry
            at tryPackage (node:internal/modules/cjs/loader:438:19)
            at Module._findPath (node:internal/modules/cjs/loader:680:18)
            at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
            at Module._load (node:internal/modules/cjs/loader:922:27)
            at Module.require (node:internal/modules/cjs/loader:1143:19)
            at require (node:internal/modules/cjs/helpers:119:18)
            at Object.<anonymous> (/opt/iobroker/node_modules/winston/lib/winston/exception-handler.js:12:15)
            at Module._compile (node:internal/modules/cjs/loader:1256:14)
            at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
            at Module.load (node:internal/modules/cjs/loader:1119:32) {
          code: 'MODULE_NOT_FOUND',
          path: '/opt/iobroker/node_modules/@dabh/diagnostics/package.json',
          requestPath: '@dabh/diagnostics'
        }
        
        Node.js v18.18.2
                                admin
        
        node:internal/modules/cjs/loader:446
              throw err;
              ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/@dabh/diagnostics/node'. Please verify that the package.json has a valid "main" entry
            at tryPackage (node:internal/modules/cjs/loader:438:19)
            at Module._findPath (node:internal/modules/cjs/loader:680:18)
            at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
            at Module._load (node:internal/modules/cjs/loader:922:27)
            at Module.require (node:internal/modules/cjs/loader:1143:19)
            at require (node:internal/modules/cjs/helpers:119:18)
            at Object.<anonymous> (/opt/iobroker/node_modules/winston/lib/winston/exception-handler.js:12:15)
            at Module._compile (node:internal/modules/cjs/loader:1256:14)
            at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
            at Module.load (node:internal/modules/cjs/loader:1119:32) {
          code: 'MODULE_NOT_FOUND',
          path: '/opt/iobroker/node_modules/@dabh/diagnostics/package.json',
          requestPath: '@dabh/diagnostics'
        }
        
        Node.js v18.18.2
        ioBroker Status:
        
        Status admin and web instance:
        node:internal/modules/cjs/loader:446
              throw err;
              ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/@dabh/diagnostics/node'. Please verify that the package.json has a valid "main" entry
            at tryPackage (node:internal/modules/cjs/loader:438:19)
            at Module._findPath (node:internal/modules/cjs/loader:680:18)
            at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
            at Module._load (node:internal/modules/cjs/loader:922:27)
            at Module.require (node:internal/modules/cjs/loader:1143:19)
            at require (node:internal/modules/cjs/helpers:119:18)
            at Object.<anonymous> (/opt/iobroker/node_modules/winston/lib/winston/exception-handler.js:12:15)
            at Module._compile (node:internal/modules/cjs/loader:1256:14)
            at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
            at Module.load (node:internal/modules/cjs/loader:1119:32) {
          code: 'MODULE_NOT_FOUND',
          path: '/opt/iobroker/node_modules/@dabh/diagnostics/package.json',
          requestPath: '@dabh/diagnostics'
        }
        
        Node.js v18.18.2
        
        Objects:                0
        States:                 0
        
        Size of iob-Database:
        
        14M     /opt/iobroker/iobroker-data/objects.jsonl
        4.4M    /opt/iobroker/iobroker-data/states.jsonl
        
        
        
        =================== END OF SUMMARY ====================
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @klaus88 last edited by

          @klaus88

          Aus iob diag kommt auch nichts raus - außer oben stehenden Fehler

          Und wie kommst du dann an die Summary? Das ist der gleiche Lauf des Skripts. Bitte die Langfassung von iob diag.

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

            @thomas-braun

            Anbei die Langfassung:

            pi@iobroker:~ $ iob diag
            *** iob diag is starting up, please wait ***
            node:internal/modules/cjs/loader:446
                  throw err;
                  ^
            
            Error: Cannot find module '/opt/iobroker/node_modules/@dabh/diagnostics/node'. Please verify that the package.json has a valid "main" entry
                at tryPackage (node:internal/modules/cjs/loader:438:19)
                at Module._findPath (node:internal/modules/cjs/loader:680:18)
                at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
                at Module._load (node:internal/modules/cjs/loader:922:27)
                at Module.require (node:internal/modules/cjs/loader:1143:19)
                at require (node:internal/modules/cjs/helpers:119:18)
                at Object.<anonymous> (/opt/iobroker/node_modules/winston/lib/winston/exception-handler.js:12:15)
                at Module._compile (node:internal/modules/cjs/loader:1256:14)
                at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                at Module.load (node:internal/modules/cjs/loader:1119:32) {
              code: 'MODULE_NOT_FOUND',
              path: '/opt/iobroker/node_modules/@dabh/diagnostics/package.json',
              requestPath: '@dabh/diagnostics'
            }
            
            Node.js v18.18.2
            node:internal/modules/cjs/loader:446
                  throw err;
                  ^
            
            Error: Cannot find module '/opt/iobroker/node_modules/@dabh/diagnostics/node'. Please verify that the package.json has a valid "main" entry
                at tryPackage (node:internal/modules/cjs/loader:438:19)
                at Module._findPath (node:internal/modules/cjs/loader:680:18)
                at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
                at Module._load (node:internal/modules/cjs/loader:922:27)
                at Module.require (node:internal/modules/cjs/loader:1143:19)
                at require (node:internal/modules/cjs/helpers:119:18)
                at Object.<anonymous> (/opt/iobroker/node_modules/winston/lib/winston/exception-handler.js:12:15)
                at Module._compile (node:internal/modules/cjs/loader:1256:14)
                at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                at Module.load (node:internal/modules/cjs/loader:1119:32) {
              code: 'MODULE_NOT_FOUND',
              path: '/opt/iobroker/node_modules/@dabh/diagnostics/package.json',
              requestPath: '@dabh/diagnostics'
            }
            
            Node.js v18.18.2
            node:internal/modules/cjs/loader:446
                  throw err;
                  ^
            
            Error: Cannot find module '/opt/iobroker/node_modules/@dabh/diagnostics/node'. Please verify that the package.json has a valid "main" entry
                at tryPackage (node:internal/modules/cjs/loader:438:19)
                at Module._findPath (node:internal/modules/cjs/loader:680:18)
                at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
                at Module._load (node:internal/modules/cjs/loader:922:27)
                at Module.require (node:internal/modules/cjs/loader:1143:19)
                at require (node:internal/modules/cjs/helpers:119:18)
                at Object.<anonymous> (/opt/iobroker/node_modules/winston/lib/winston/exception-handler.js:12:15)
                at Module._compile (node:internal/modules/cjs/loader:1256:14)
                at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                at Module.load (node:internal/modules/cjs/loader:1119:32) {
              code: 'MODULE_NOT_FOUND',
              path: '/opt/iobroker/node_modules/@dabh/diagnostics/package.json',
              requestPath: '@dabh/diagnostics'
            }
            
            Node.js v18.18.2
            
            *** ioBroker Diagnosis ***
            
            Please stretch the window of your terminal programm (puTTY) as wide as possible or switch to full screen
            
            The following checks may give hints to potential malconfigurations or errors, please post them in our forum:
            
            https://forum.iobroker.net
            
            Just copy and paste the Summary Page, including the ``` characters at start and end.
            It helps us to help you!
            
            Press any key to continue
            
            ======== Start marking the full check here =========
            
            
            Skript v.2023-10-10
            
            *** BASE SYSTEM ***
               Static hostname: iobroker
                     Icon name: computer
              Operating System: Debian GNU/Linux 11 (bullseye)
                        Kernel: Linux 6.1.21-v8+
                  Architecture: arm64
            
            Model           : Raspberry Pi 4 Model B Rev 1.1
            Docker          : false
            Virtualization  : none
            Kernel          : aarch64
            Userland        : arm64
            
            Systemuptime and Load:
             18:07:41 up 3 min,  1 user,  load average: 0.28, 0.34, 0.17
            CPU threads: 4
            
            
            *** RASPBERRY THROTTLING ***
            Current issues:
            No throttling issues detected.
            
            Previously detected issues:
            No throttling issues detected.
            
            *** Time and Time Zones ***
                           Local time: Sat 2023-10-21 18:07:41 CEST
                       Universal time: Sat 2023-10-21 16:07:41 UTC
                             RTC time: n/a
                            Time zone: Europe/Vienna (CEST, +0200)
            System clock synchronized: yes
                          NTP service: active
                      RTC in local TZ: no
            
            *** User and Groups ***
            pi
            /home/pi
            pi adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker
            
            *** X-Server-Setup ***
            X-Server:       false
            Desktop:
            Terminal:       tty
            Boot Target:    multi-user.target
            
            *** MEMORY ***
                           total        used        free      shared  buff/cache   available
            Mem:            3.8G        156M        3.3G        1.0M        306M        3.6G
            Swap:            99M          0B         99M
            Total:          3.9G        156M        3.4G
            
                     3794 M total memory
                      157 M used memory
                      331 M active memory
                       47 M inactive memory
                     3330 M free memory
                       24 M buffer memory
                      282 M swap cache
                       99 M total swap
                        0 M used swap
                       99 M free swap
            
            Raspberry only:
            oom events: 0
            lifetime oom required: 0 Mbytes
            total time in oom handler: 0 ms
            max time spent in oom handler: 0 ms
            
            *** FAILED SERVICES ***
            
              UNIT LOAD ACTIVE SUB DESCRIPTION
            0 loaded units listed.
            
            *** FILESYSTEM ***
            Filesystem     Type      Size  Used Avail Use% Mounted on
            /dev/root      ext4      116G  7.2G  104G   7% /
            devtmpfs       devtmpfs  1.7G     0  1.7G   0% /dev
            tmpfs          tmpfs     1.9G     0  1.9G   0% /dev/shm
            tmpfs          tmpfs     759M  1.1M  758M   1% /run
            tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
            /dev/mmcblk0p1 vfat      255M   31M  225M  13% /boot
            tmpfs          tmpfs     380M  4.0K  380M   1% /run/user/1000
            
            Messages concerning ext4 filesystem in dmesg:
            [Sat Oct 21 18:03:49 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0  smsc95xx.macaddr=DC:A6:32:36:D9:66 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=401c1d47-02 rootfstype=ext4 fsck.repair=yes rootwait
            [Sat Oct 21 18:03:50 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
            [Sat Oct 21 18:03:50 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
            [Sat Oct 21 18:03:52 2023] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
            
            Show mounted filesystems \(real ones only\):
            TARGET  SOURCE         FSTYPE OPTIONS
            /       /dev/mmcblk0p2 ext4   rw,noatime
            `-/boot /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
            
            Files in neuralgic directories:
            
            /var:
            2.0G    /var/
            1.1G    /var/log
            953M    /var/log/journal/9394eca1e90d4271be439bf143c935f2
            953M    /var/log/journal
            680M    /var/cache
            
            Archived and active journals take up 952.1M in the file system.
            
            /opt/iobroker/backups:
            509M    /opt/iobroker/backups/
            
            /opt/iobroker/iobroker-data:
            1.2G    /opt/iobroker/iobroker-data/
            732M    /opt/iobroker/iobroker-data/history
            384M    /opt/iobroker/iobroker-data/files
            80M     /opt/iobroker/iobroker-data/backup-objects
            78M     /opt/iobroker/iobroker-data/files/icons-open-icon-library-png
            
            The five largest files in iobroker-data are:
            21M     /opt/iobroker/iobroker-data/files/web.admin/static/js/main.edf7552a.js.map
            15M     /opt/iobroker/iobroker-data/files/telegram.admin/rules/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06.44fe4a3f.chunk.js.map
            14M     /opt/iobroker/iobroker-data/objects.jsonl
            9.4M    /opt/iobroker/iobroker-data/files/vis.0/main/vis-views.json
            8.9M    /opt/iobroker/iobroker-data/files/scenes.admin/static/js/2.7de3299d.chunk.js.map
            
            USB-Devices by-id:
            USB-Sticks -  Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id':
            
            /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0014B940FD-if00
            
            *** NodeJS-Installation ***
            
            /usr/bin/nodejs         v18.18.2
            /usr/bin/node           v18.18.2
            /usr/bin/npm            9.8.1
            /usr/bin/npx            9.8.1
            /usr/bin/corepack       0.19.0
            
            
            nodejs:
              Installed: 18.18.2-1nodesource1
              Candidate: 18.18.2-1nodesource1
              Version table:
             *** 18.18.2-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                    100 /var/lib/dpkg/status
                 18.18.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.18.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.17.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.17.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.16.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.16.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.15.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.14.2-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.14.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.14.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.13.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.12.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.11.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.10.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.9.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.9.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.8.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.7.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.6.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.5.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.4.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.3.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.2.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.1.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 18.0.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                 12.22.12~dfsg-1~deb11u4 500
                    500 http://deb.debian.org/debian bullseye/main arm64 Packages
                    500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
            
            Temp directories causing npm8 problem: 0
            No problems detected
            
            Errors in npm tree:
            
            *** ioBroker-Installation ***
            
            ioBroker Status
            node:internal/modules/cjs/loader:446
                  throw err;
                  ^
            
            Error: Cannot find module '/opt/iobroker/node_modules/@dabh/diagnostics/node'. Please verify that the package.json has a valid "main" entry
                at tryPackage (node:internal/modules/cjs/loader:438:19)
                at Module._findPath (node:internal/modules/cjs/loader:680:18)
                at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
                at Module._load (node:internal/modules/cjs/loader:922:27)
                at Module.require (node:internal/modules/cjs/loader:1143:19)
                at require (node:internal/modules/cjs/helpers:119:18)
                at Object.<anonymous> (/opt/iobroker/node_modules/winston/lib/winston/exception-handler.js:12:15)
                at Module._compile (node:internal/modules/cjs/loader:1256:14)
                at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                at Module.load (node:internal/modules/cjs/loader:1119:32) {
              code: 'MODULE_NOT_FOUND',
              path: '/opt/iobroker/node_modules/@dabh/diagnostics/package.json',
              requestPath: '@dabh/diagnostics'
            }
            
            Node.js v18.18.2
            
            Core adapters versions
            node:internal/modules/cjs/loader:446
                  throw err;
                  ^
            
            Error: Cannot find module '/opt/iobroker/node_modules/@dabh/diagnostics/node'. Please verify that the package.json has a valid "main" entry
                at tryPackage (node:internal/modules/cjs/loader:438:19)
                at Module._findPath (node:internal/modules/cjs/loader:680:18)
                at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
                at Module._load (node:internal/modules/cjs/loader:922:27)
                at Module.require (node:internal/modules/cjs/loader:1143:19)
                at require (node:internal/modules/cjs/helpers:119:18)
                at Object.<anonymous> (/opt/iobroker/node_modules/winston/lib/winston/exception-handler.js:12:15)
                at Module._compile (node:internal/modules/cjs/loader:1256:14)
                at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                at Module.load (node:internal/modules/cjs/loader:1119:32) {
              code: 'MODULE_NOT_FOUND',
              path: '/opt/iobroker/node_modules/@dabh/diagnostics/package.json',
              requestPath: '@dabh/diagnostics'
            }
            
            Node.js v18.18.2
            js-controller:
            node:internal/modules/cjs/loader:446
                  throw err;
                  ^
            
            Error: Cannot find module '/opt/iobroker/node_modules/@dabh/diagnostics/node'. Please verify that the package.json has a valid "main" entry
                at tryPackage (node:internal/modules/cjs/loader:438:19)
                at Module._findPath (node:internal/modules/cjs/loader:680:18)
                at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
                at Module._load (node:internal/modules/cjs/loader:922:27)
                at Module.require (node:internal/modules/cjs/loader:1143:19)
                at require (node:internal/modules/cjs/helpers:119:18)
                at Object.<anonymous> (/opt/iobroker/node_modules/winston/lib/winston/exception-handler.js:12:15)
                at Module._compile (node:internal/modules/cjs/loader:1256:14)
                at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                at Module.load (node:internal/modules/cjs/loader:1119:32) {
              code: 'MODULE_NOT_FOUND',
              path: '/opt/iobroker/node_modules/@dabh/diagnostics/package.json',
              requestPath: '@dabh/diagnostics'
            }
            
            Node.js v18.18.2
            admin:
            node:internal/modules/cjs/loader:446
                  throw err;
                  ^
            
            Error: Cannot find module '/opt/iobroker/node_modules/@dabh/diagnostics/node'. Please verify that the package.json has a valid "main" entry
                at tryPackage (node:internal/modules/cjs/loader:438:19)
                at Module._findPath (node:internal/modules/cjs/loader:680:18)
                at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
                at Module._load (node:internal/modules/cjs/loader:922:27)
                at Module.require (node:internal/modules/cjs/loader:1143:19)
                at require (node:internal/modules/cjs/helpers:119:18)
                at Object.<anonymous> (/opt/iobroker/node_modules/winston/lib/winston/exception-handler.js:12:15)
                at Module._compile (node:internal/modules/cjs/loader:1256:14)
                at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                at Module.load (node:internal/modules/cjs/loader:1119:32) {
              code: 'MODULE_NOT_FOUND',
              path: '/opt/iobroker/node_modules/@dabh/diagnostics/package.json',
              requestPath: '@dabh/diagnostics'
            }
            
            Node.js v18.18.2
            javascript:
            
            Adapters from github:   4
            
            Adapter State
            node:internal/modules/cjs/loader:446
                  throw err;
                  ^
            
            Error: Cannot find module '/opt/iobroker/node_modules/@dabh/diagnostics/node'. Please verify that the package.json has a valid "main" entry
                at tryPackage (node:internal/modules/cjs/loader:438:19)
                at Module._findPath (node:internal/modules/cjs/loader:680:18)
                at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
                at Module._load (node:internal/modules/cjs/loader:922:27)
                at Module.require (node:internal/modules/cjs/loader:1143:19)
                at require (node:internal/modules/cjs/helpers:119:18)
                at Object.<anonymous> (/opt/iobroker/node_modules/winston/lib/winston/exception-handler.js:12:15)
                at Module._compile (node:internal/modules/cjs/loader:1256:14)
                at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                at Module.load (node:internal/modules/cjs/loader:1119:32) {
              code: 'MODULE_NOT_FOUND',
              path: '/opt/iobroker/node_modules/@dabh/diagnostics/package.json',
              requestPath: '@dabh/diagnostics'
            }
            
            Node.js v18.18.2
            
            Enabled adapters with bindings
            node:internal/modules/cjs/loader:446
                  throw err;
                  ^
            
            Error: Cannot find module '/opt/iobroker/node_modules/@dabh/diagnostics/node'. Please verify that the package.json has a valid "main" entry
                at tryPackage (node:internal/modules/cjs/loader:438:19)
                at Module._findPath (node:internal/modules/cjs/loader:680:18)
                at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
                at Module._load (node:internal/modules/cjs/loader:922:27)
                at Module.require (node:internal/modules/cjs/loader:1143:19)
                at require (node:internal/modules/cjs/helpers:119:18)
                at Object.<anonymous> (/opt/iobroker/node_modules/winston/lib/winston/exception-handler.js:12:15)
                at Module._compile (node:internal/modules/cjs/loader:1256:14)
                at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                at Module.load (node:internal/modules/cjs/loader:1119:32) {
              code: 'MODULE_NOT_FOUND',
              path: '/opt/iobroker/node_modules/@dabh/diagnostics/package.json',
              requestPath: '@dabh/diagnostics'
            }
            
            Node.js v18.18.2
            
            ioBroker-Repositories
            node:internal/modules/cjs/loader:446
                  throw err;
                  ^
            
            Error: Cannot find module '/opt/iobroker/node_modules/@dabh/diagnostics/node'. Please verify that the package.json has a valid "main" entry
                at tryPackage (node:internal/modules/cjs/loader:438:19)
                at Module._findPath (node:internal/modules/cjs/loader:680:18)
                at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
                at Module._load (node:internal/modules/cjs/loader:922:27)
                at Module.require (node:internal/modules/cjs/loader:1143:19)
                at require (node:internal/modules/cjs/helpers:119:18)
                at Object.<anonymous> (/opt/iobroker/node_modules/winston/lib/winston/exception-handler.js:12:15)
                at Module._compile (node:internal/modules/cjs/loader:1256:14)
                at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                at Module.load (node:internal/modules/cjs/loader:1119:32) {
              code: 'MODULE_NOT_FOUND',
              path: '/opt/iobroker/node_modules/@dabh/diagnostics/package.json',
              requestPath: '@dabh/diagnostics'
            }
            
            Node.js v18.18.2
            
            Installed ioBroker-Instances
            node:internal/modules/cjs/loader:446
                  throw err;
                  ^
            
            Error: Cannot find module '/opt/iobroker/node_modules/@dabh/diagnostics/node'. Please verify that the package.json has a valid "main" entry
                at tryPackage (node:internal/modules/cjs/loader:438:19)
                at Module._findPath (node:internal/modules/cjs/loader:680:18)
                at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
                at Module._load (node:internal/modules/cjs/loader:922:27)
                at Module.require (node:internal/modules/cjs/loader:1143:19)
                at require (node:internal/modules/cjs/helpers:119:18)
                at Object.<anonymous> (/opt/iobroker/node_modules/winston/lib/winston/exception-handler.js:12:15)
                at Module._compile (node:internal/modules/cjs/loader:1256:14)
                at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                at Module.load (node:internal/modules/cjs/loader:1119:32) {
              code: 'MODULE_NOT_FOUND',
              path: '/opt/iobroker/node_modules/@dabh/diagnostics/package.json',
              requestPath: '@dabh/diagnostics'
            }
            
            Node.js v18.18.2
            
            Objects and States
            Please stand by - This may take a while
            Objects:        0
            States:         0
            
            *** OS-Repositories and Updates ***
            Hit:1 http://deb.debian.org/debian bullseye InRelease
            Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
            Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
            Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
            Hit:5 https://repos.influxdata.com/debian bullseye 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:22              0.0.0.0:*               LISTEN      0          13640      535/sshd: /usr/sbin
            tcp6       0      0 :::22                   :::*                    LISTEN      0          13642      535/sshd: /usr/sbin
            udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        13581      387/avahi-daemon: r
            udp        0      0 0.0.0.0:52892           0.0.0.0:*                           108        13583      387/avahi-daemon: r
            udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          12018      655/dhcpcd
            udp6       0      0 :::5353                 :::*                                108        13582      387/avahi-daemon: r
            udp6       0      0 :::38316                :::*                                108        13584      387/avahi-daemon: r
            
            *** Log File - Last 25 Lines ***
            
            2023-10-21 09:00:39.963  - info: host.iobroker instance system.adapter.upnp.0 terminated with code 0 (NO_ERROR)
            2023-10-21 09:00:40.030  - info: host.iobroker instance system.adapter.energiefluss.0 terminated with code 0 (NO_ERROR)
            2023-10-21 09:00:40.030  - warn: host.iobroker instance system.adapter.admin.0 terminated due to SIGTERM
            2023-10-21 09:00:40.031  - info: host.iobroker instance system.adapter.admin.0 terminated with code null ()
            2023-10-21 09:00:40.160  - warn: host.iobroker instance system.adapter.ping.0 terminated due to SIGTERM
            2023-10-21 09:00:40.160  - info: host.iobroker instance system.adapter.ping.0 terminated with code null ()
            2023-10-21 09:00:40.160  - warn: host.iobroker instance system.adapter.sonoff.0 terminated due to SIGTERM
            2023-10-21 09:00:40.160  - info: host.iobroker instance system.adapter.sonoff.0 terminated with code null ()
            2023-10-21 09:00:40.221  - warn: host.iobroker instance system.adapter.zigbee.0 terminated due to SIGTERM
            2023-10-21 09:00:40.221  - info: host.iobroker instance system.adapter.zigbee.0 terminated with code null ()
            2023-10-21 09:00:40.222  - warn: host.iobroker instance system.adapter.fully-tablet-control.0 terminated due to SIGTERM
            2023-10-21 09:00:40.222  - info: host.iobroker instance system.adapter.fully-tablet-control.0 terminated with code null ()
            2023-10-21 09:00:40.275  - warn: host.iobroker instance system.adapter.parser.0 terminated due to SIGTERM
            2023-10-21 09:00:40.276  - info: host.iobroker instance system.adapter.parser.0 terminated with code null ()
            2023-10-21 09:00:40.368  - warn: host.iobroker instance system.adapter.hmip.0 terminated due to SIGTERM
            2023-10-21 09:00:40.369  - info: host.iobroker instance system.adapter.hmip.0 terminated with code null ()
            2023-10-21 09:00:40.369  - warn: host.iobroker instance system.adapter.web.0 terminated due to SIGTERM
            2023-10-21 09:00:40.369  - info: host.iobroker instance system.adapter.web.0 terminated with code null ()
            2023-10-21 09:00:40.402  - info: host.iobroker instance system.adapter.socketio.0 terminated with code 0 (NO_ERROR)
            2023-10-21 09:00:40.628  - warn: host.iobroker instance system.adapter.javascript.0 terminated due to SIGTERM
            2023-10-21 09:00:40.628  - info: host.iobroker instance system.adapter.javascript.0 terminated with code null ()
            2023-10-21 09:00:40.662  - info: host.iobroker instance system.adapter.influxdb.0 terminated with code 0 (NO_ERROR)
            2023-10-21 09:00:40.828  - info: host.iobroker instance system.adapter.history.0 terminated with code 0 (NO_ERROR)
            2023-10-21 09:00:40.829  - info: host.iobroker All instances are stopped.
            2023-10-21 09:00:41.037  - info: host.iobroker terminated
            
            
            
            ============ Mark until here for C&P =============
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @klaus88 last edited by

              @klaus88

              cd /opt/iobroker
              sudo -H -u iobroker npm install iobroker.js-controller
              
              K 1 Reply Last reply Reply Quote 0
              • K
                klaus88 @Thomas Braun last edited by klaus88

                @thomas-braun sagte in iobroker diagnostics/node:

                sudo -H -u iobroker npm install iobroker.js-controller

                Meldung war:

                sudo -H -u iobroker npm install iobroker.js-controller
                
                up to date in 9s
                
                117 packages are looking for funding
                  run `npm fund` for details
                

                npm fund brachte folgendes Ergebnis:

                pi@iobroker:/opt/iobroker $ npm fund
                iobroker.inst@3.0.0
                ├── https://github.com/sponsors/jaredhanson
                │   └── passport@0.6.0
                ├── https://github.com/sponsors/isaacs
                │   └── glob@9.2.1, minimatch@7.4.2, path-scurry@1.6.1, minimatch@7.4.6, rimraf@3.0.2, glob@7.2.3
                ├── https://github.com/sponsors/feross
                │   └── safe-buffer@5.2.1, base64-js@1.5.1, simple-concat@1.0.1, buffer@5.7.1, ieee754@1.2.1
                ├── https://github.com/sponsors/RubenVerborgh
                │   └── follow-redirects@1.15.2
                ├── https://github.com/sponsors/ljharb
                │   └── qs@6.11.0, side-channel@1.0.4, call-bind@1.0.2, get-intrinsic@1.2.0, has-symbols@1.0.3, object-inspect@1.12.3, resolve@1.22.1, is-core-module@2.11.0, supports-preserve-symlinks-flag@1.0.0, object.assign@4.1.4, define-properties@1.2.0, has-property-descriptors@1.0.0, minimist@1.2.8, is-nan@1.3.2, es-abstract@1.21.2, array-buffer-byte-length@1.0.0, available-typed-arrays@1.0.5, es-to-primitive@1.2.1, is-date-object@1.0.5, is-symbol@1.0.4, function.prototype.name@1.1.5, functions-have-names@1.2.3, get-symbol-description@1.0.0, globalthis@1.0.3, gopd@1.0.1, has-proto@1.0.1, is-array-buffer@3.0.2, is-callable@1.2.7, is-negative-zero@2.0.2, is-regex@1.1.4, is-shared-array-buffer@1.0.2, is-string@1.0.7, is-typed-array@1.1.10, is-weakref@1.0.2, regexp.prototype.flags@1.5.0, safe-regex-test@1.0.0, string.prototype.trim@1.2.7, string.prototype.trimend@1.0.6, string.prototype.trimstart@1.0.6, typed-array-length@1.0.4, unbox-primitive@1.0.2, has-bigints@1.0.2, which-boxed-primitive@1.0.2, is-bigint@1.0.4, is-boolean-object@1.1.2, is-number-object@1.0.7, which-typed-array@1.1.10, has-tostringtag@1.0.0
                ├── https://github.com/sponsors/sindresorhus
                │   └── is-stream@2.0.1, decompress-response@6.0.0, mimic-response@3.1.0, get-stream@6.0.1, lowercase-keys@3.0.0, responselike@3.0.0, mimic-response@4.0.0, normalize-url@8.0.0, quick-lru@5.1.1, make-dir@3.1.0, mimic-response@2.1.0, delay@5.0.0, onetime@5.1.2
                ├─┬ https://github.com/sindresorhus/got?sponsor=1
                │ │ └── got@12.6.0
                │ └── https://github.com/sindresorhus/is?sponsor=1
                │     └── @sindresorhus/is@5.6.0
                ├── https://github.com/sponsors/epoberezkin
                │   └── ajv@6.12.6
                ├── https://paypal.me/naturalintelligence
                │   └── fast-xml-parser@4.3.0
                ├─┬ https://opencollective.com/node-fetch
                │ │ └── node-fetch@3.3.2
                │ └── https://github.com/sponsors/jimmywarting
                │     └── fetch-blob@3.2.0, node-domexception@1.0.0
                ├── https://opencollective.com/serialport/donate
                │   └── serialport@11.0.1, @serialport/parser-byte-length@11.0.1, @serialport/parser-cctalk@11.0.1, @serialport/parser-inter-byte-timeout@11.0.1, @serialport/parser-readline@11.0.1, @serialport/parser-ready@11.0.1, @serialport/parser-regex@11.0.1, @serialport/parser-slip-encoder@11.0.1, @serialport/parser-spacepacket@11.0.1, @serialport/bindings-cpp@11.0.3, @serialport/parser-readline@11.0.0, @serialport/parser-delimiter@11.0.0, @serialport/parser-delimiter@11.0.1, @serialport/stream@11.0.1
                ├── https://tidelift.com/funding/github/npm/loglevel
                │   └── loglevel@1.8.1
                ├── https://www.buymeacoffee.com/systeminfo
                │   └── systeminformation@5.21.9
                ├── https://opencollective.com/ioredis
                │   └── ioredis@4.28.5
                ├── https://github.com/sindresorhus/execa?sponsor=1
                │   └── execa@5.1.1
                ├─┬ https://paulmillr.com/funding/
                │ │ └── chokidar@3.5.3
                │ └── https://github.com/sponsors/jonschlinkert
                │     └── picomatch@2.3.1
                ├─┬ https://github.com/chalk/wrap-ansi?sponsor=1
                │ │ └── wrap-ansi@7.0.0
                │ └── https://github.com/chalk/ansi-styles?sponsor=1
                │     └── ansi-styles@4.3.0
                └── https://github.com/sponsors/sibiraj-s
                    └── ci-info@3.8.0
                

                iobroker hat bei start gleiche Fehlermeldung

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

                  @klaus88

                  Installier es neu.

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

                    @thomas-braun

                    Alles klar - Danke vielmals für deine Hilfe! (vor allem um diese Uhrzeit!!) - Schönes Wochenende!

                    lg
                    Klaus

                    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

                    914
                    Online

                    31.9k
                    Users

                    80.1k
                    Topics

                    1.3m
                    Posts

                    node.js
                    2
                    8
                    366
                    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