Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Iobroker lässt sich nicht mehr starten.

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    528

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.7k

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

Iobroker lässt sich nicht mehr starten.

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
80 Beiträge 7 Kommentatoren 6.3k Aufrufe 6 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.
  • M Offline
    M Offline
    Michael_Schotthoefer
    schrieb am zuletzt editiert von
    #1

    Hi. Ich habe das Problem das mein Iobroker nicht mehr startet. Ich konnte schon feststellen das nodejs nicht richtig installiert war und konnte es fixen. Leider komme ich nun nicht mehr weiter.
    Kann mir jemand noch helfen?

    Anbei die Iobroker diag.


    ======== Start marking the full check here =========

    Skript v.2023-10-10
    
    *** BASE SYSTEM ***
       Static hostname: raspberrypi
             Icon name: computer
      Operating System: Raspbian GNU/Linux 11 (bullseye)
                Kernel: Linux 6.1.21-v8+
          Architecture: arm64
    
    Model           : Raspberry Pi 4 Model B Rev 1.5
    Docker          : false
    Virtualization  : none
    Kernel          : aarch64
    Userland        : armhf
    
    Systemuptime and Load:
     19:48:29 up 14 min,  1 user,  load average: 0.39, 0.50, 0.52
    CPU threads: 4
    
    
    *** RASPBERRY THROTTLING ***
    Current issues:
    No throttling issues detected.
    
    Previously detected issues:
    No throttling issues detected.
    
    *** Time and Time Zones ***
                   Local time: Wed 2024-01-17 19:48:29 GMT
               Universal time: Wed 2024-01-17 19:48:29 UTC
                     RTC time: n/a
                    Time zone: Europe/London (GMT, +0000)
    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:            7.8G        231M        6.8G        1.0M        796M        7.5G
    Swap:            99M          0B         99M
    Total:          7.9G        231M        6.9G
    
             7812 M total memory
              231 M used memory
              421 M active memory
              411 M inactive memory
             6784 M free memory
               96 M buffer memory
              699 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
    * grafana-server.service loaded failed failed Grafana instance
    
    LOAD   = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB    = The low-level unit activation state, values depend on unit type.
    1 loaded units listed.
    
    *** FILESYSTEM ***
    Filesystem     Type      Size  Used Avail Use% Mounted on
    /dev/root      ext4       29G   16G   13G  56% /
    devtmpfs       devtmpfs  3.6G     0  3.6G   0% /dev
    tmpfs          tmpfs     3.9G     0  3.9G   0% /dev/shm
    tmpfs          tmpfs     1.6G  1.2M  1.6G   1% /run
    tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
    /dev/mmcblk0p1 vfat      255M   51M  205M  20% /boot
    tmpfs          tmpfs     782M     0  782M   0% /run/user/1000
    
    Messages concerning ext4 filesystem in dmesg:
    [Wed Jan 17 19:34:00 2024] 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=E4:5F:01:E1:AA:91 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=ad490bbd-02 rootfstype=ext4 fsck.repair=yes rootwait
    [Wed Jan 17 19:34:01 2024] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
    [Wed Jan 17 19:34:01 2024] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [Wed Jan 17 19:34:04 2024] 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:
    7.7G    /var/
    5.8G    /var/log
    2.9G    /var/log/journal/2c760f47d5f741e395b4738f4f48cd7d
    2.9G    /var/log/journal
    1.4G    /var/lib
    
    Archived and active journals take up 2.8G in the file system.
    
    /opt/iobroker/backups:
    257M    /opt/iobroker/backups/
    
    /opt/iobroker/iobroker-data:
    1.7G    /opt/iobroker/iobroker-data/
    926M    /opt/iobroker/iobroker-data/files
    507M    /opt/iobroker/iobroker-data/history
    136M    /opt/iobroker/iobroker-data/backup-objects
    112M    /opt/iobroker/iobroker-data/files/vis-2-beta
    
    The five largest files in iobroker-data are:
    94M     /opt/iobroker/iobroker-data/states.jsonl
    46M     /opt/iobroker/iobroker-data/objects.jsonl
    35M     /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map
    33M     /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.1797d034.js.map
    24M     /opt/iobroker/iobroker-data/files/echarts/static/js/main.2b7495c2.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
    /usr/bin/npm            10.2.3
    /usr/bin/npx            10.2.3
    /usr/bin/corepack       0.22.0
    
    
    nodejs:
      Installed: 18.19.0-1nodesource1
      Candidate: 18.19.0-1nodesource1
      Version table:
     *** 18.19.0-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
            100 /var/lib/dpkg/status
         18.18.2-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.18.1-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.18.0-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.17.1-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.17.0-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.16.1-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.16.0-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.15.0-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.14.2-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.14.1-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.14.0-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.13.0-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.12.0-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.11.0-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.10.0-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.9.1-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.9.0-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.8.0-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.7.0-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.6.0-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.5.0-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.4.0-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.3.0-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.2.0-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.1.0-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.0.0-1nodesource1 1001
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         12.22.12~dfsg-1~deb11u4 500
            500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
    
    Temp directories causing npm8 problem: 0
    No problems detected
    
    Errors in npm tree:
    npm ERR! code ELSPROBLEMS
    npm ERR! extraneous: bufferutil@ /opt/iobroker/node_modules/bufferutil
    npm ERR! extraneous: diskusage@ /opt/iobroker/node_modules/diskusage
    npm ERR! missing: iobroker.admin@stable, required by iobroker.inst@3.0.0
    npm ERR! missing: iobroker.backitup@stable, required by iobroker.inst@3.0.0
    npm ERR! missing: iobroker.discovery@stable, required by iobroker.inst@3.0.0
    npm ERR! missing: iobroker.js-controller@stable, required by iobroker.inst@3.0.0
    npm ERR! extraneous: unix-dgram@ /opt/iobroker/node_modules/unix-dgram
    
    npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2024-01-17T19_48_37_592Z-debug-0.log
    
    *** ioBroker-Installation ***
    
    ioBroker Status
    node:internal/modules/cjs/loader:1137
      throw err;
      ^
    
    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
        at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
        at Module._load (node:internal/modules/cjs/loader:975:27)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
        at node:internal/main/run_main_module:28:49 {
      code: 'MODULE_NOT_FOUND',
      requireStack: []
    }
    
    Node.js v18.19.0
    
    Core adapters versions
    node:internal/modules/cjs/loader:1137
      throw err;
      ^
    
    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
        at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
        at Module._load (node:internal/modules/cjs/loader:975:27)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
        at node:internal/main/run_main_module:28:49 {
      code: 'MODULE_NOT_FOUND',
      requireStack: []
    }
    
    Node.js v18.19.0
    js-controller:
    node:internal/modules/cjs/loader:1137
      throw err;
      ^
    
    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
        at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
        at Module._load (node:internal/modules/cjs/loader:975:27)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
        at node:internal/main/run_main_module:28:49 {
      code: 'MODULE_NOT_FOUND',
      requireStack: []
    }
    
    Node.js v18.19.0
    admin:
    node:internal/modules/cjs/loader:1137
      throw err;
      ^
    
    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
        at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
        at Module._load (node:internal/modules/cjs/loader:975:27)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
        at node:internal/main/run_main_module:28:49 {
      code: 'MODULE_NOT_FOUND',
      requireStack: []
    }
    
    Node.js v18.19.0
    javascript:
    
    npm ERR! code ELSPROBLEMS
    npm ERR! extraneous: bufferutil@ /opt/iobroker/node_modules/bufferutil
    npm ERR! extraneous: diskusage@ /opt/iobroker/node_modules/diskusage
    npm ERR! missing: iobroker.admin@stable, required by iobroker.inst@3.0.0
    npm ERR! missing: iobroker.backitup@stable, required by iobroker.inst@3.0.0
    npm ERR! missing: iobroker.discovery@stable, required by iobroker.inst@3.0.0
    npm ERR! missing: iobroker.js-controller@stable, required by iobroker.inst@3.0.0
    npm ERR! extraneous: unix-dgram@ /opt/iobroker/node_modules/unix-dgram
    
    npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2024-01-17T19_48_40_428Z-debug-0.log
    Adapters from github:   0
    
    Adapter State
    node:internal/modules/cjs/loader:1137
      throw err;
      ^
    
    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
        at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
        at Module._load (node:internal/modules/cjs/loader:975:27)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
        at node:internal/main/run_main_module:28:49 {
      code: 'MODULE_NOT_FOUND',
      requireStack: []
    }
    
    Node.js v18.19.0
    
    Enabled adapters with bindings
    node:internal/modules/cjs/loader:1137
      throw err;
      ^
    
    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
        at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
        at Module._load (node:internal/modules/cjs/loader:975:27)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
        at node:internal/main/run_main_module:28:49 {
      code: 'MODULE_NOT_FOUND',
      requireStack: []
    }
    
    Node.js v18.19.0
    
    ioBroker-Repositories
    node:internal/modules/cjs/loader:1137
      throw err;
      ^
    
    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
        at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
        at Module._load (node:internal/modules/cjs/loader:975:27)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
        at node:internal/main/run_main_module:28:49 {
      code: 'MODULE_NOT_FOUND',
      requireStack: []
    }
    
    Node.js v18.19.0
    
    Installed ioBroker-Instances
    node:internal/modules/cjs/loader:1137
      throw err;
      ^
    
    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
        at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
        at Module._load (node:internal/modules/cjs/loader:975:27)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
        at node:internal/main/run_main_module:28:49 {
      code: 'MODULE_NOT_FOUND',
      requireStack: []
    }
    
    Node.js v18.19.0
    
    Objects and States
    Please stand by - This may take a while
    Objects:        0
    States:         0
    
    *** OS-Repositories and Updates ***
    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/enterprise/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
    E: The repository 'https://packagecloud.io/ookla/speedtest-cli/raspbian bullseye Release' does not have a Release file.
    W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
    W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
    W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
    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:5038            0.0.0.0:*               LISTEN      111        14743      703/asterisk
    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          14559      521/sshd: /usr/sbin
    tcp        0      0 127.0.0.1:8088          0.0.0.0:*               LISTEN      999        15797      709/influxd
    tcp6       0      0 :::22                   :::*                    LISTEN      0          14569      521/sshd: /usr/sbin
    tcp6       0      0 :::8086                 :::*                    LISTEN      999        3998       709/influxd
    udp        0      0 0.0.0.0:5060            0.0.0.0:*                           111        14755      703/asterisk
    udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        14476      392/avahi-daemon: r
    udp        0      0 0.0.0.0:43427           0.0.0.0:*                           111        15744      703/asterisk
    udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          15481      702/dhcpcd
    udp        0      0 0.0.0.0:41192           0.0.0.0:*                           108        14478      392/avahi-daemon: r
    udp        0      0 0.0.0.0:4569            0.0.0.0:*                           111        14756      703/asterisk
    udp6       0      0 :::5353                 :::*                                108        14477      392/avahi-daemon: r
    udp6       0      0 :::52261                :::*                                108        14479      392/avahi-daemon: r
    udp6       0      0 :::48892                :::*                                111        15745      703/asterisk
    udp6       0      0 :::546                  :::*                                0          15493      702/dhcpcd
    
    *** Log File - Last 25 Lines ***
    
    2024-01-17 09:35:29.341  - warn: myvbus.0 (2404) get state error: DB closed
    2024-01-17 09:35:29.342  - warn: myvbus.0 (2404) get state error: DB closed
    2024-01-17 09:35:29.343  - warn: myvbus.0 (2404) get state error: DB closed
    2024-01-17 09:35:29.344  - warn: myvbus.0 (2404) get state error: DB closed
    2024-01-17 09:35:29.345  - warn: myvbus.0 (2404) get state error: DB closed
    2024-01-17 09:35:29.347  - warn: myvbus.0 (2404) get state error: DB closed
    2024-01-17 09:35:29.347  - warn: myvbus.0 (2404) get state error: DB closed
    2024-01-17 09:35:29.348  - warn: myvbus.0 (2404) get state error: DB closed
    2024-01-17 09:35:29.348  - warn: myvbus.0 (2404) get state error: DB closed
    2024-01-17 09:35:29.349  - warn: myvbus.0 (2404) get state error: DB closed
    2024-01-17 09:35:29.352  - warn: myvbus.0 (2404) get state error: DB closed
    2024-01-17 09:35:29.353  - warn: myvbus.0 (2404) get state error: DB closed
    2024-01-17 09:35:29.354  - warn: myvbus.0 (2404) get state error: DB closed
    2024-01-17 09:35:29.355  - warn: myvbus.0 (2404) get state error: DB closed
    2024-01-17 09:35:29.355  - warn: myvbus.0 (2404) get state error: DB closed
    2024-01-17 09:35:29.356  - warn: myvbus.0 (2404) get state error: DB closed
    2024-01-17 09:35:29.356  - warn: myvbus.0 (2404) get state error: DB closed
    2024-01-17 09:35:29.357  - warn: myvbus.0 (2404) get state error: DB closed
    2024-01-17 09:35:29.358  - warn: myvbus.0 (2404) get state error: DB closed
    2024-01-17 09:35:29.359  - warn: myvbus.0 (2404) get state error: DB closed
    2024-01-17 09:35:29.359  - warn: myvbus.0 (2404) get state error: DB closed
    2024-01-17 09:35:29.360  - warn: myvbus.0 (2404) get state error: DB closed
    2024-01-17 09:35:29.360  - warn: myvbus.0 (2404) get state error: DB closed
    2024-01-17 09:35:29.423  - error: upnp.0 (2300) Objects database error: connect ECONNREFUSED 127.0.0.1:9001
    2024-01-17 09:35:33.763  - error: history.0 (1038) Objects database error: connect ECONNREFUSED 127.0.0.1:9001
    
    

    ============ Mark until here for C&P =============

    iob diag has finished.


    Copy text starting here:

    ======================= SUMMARY =======================
                            v.2023-10-10
    
    
       Static hostname: raspberrypi
             Icon name: computer
      Operating System: Raspbian GNU/Linux 11 (bullseye)
                Kernel: Linux 6.1.21-v8+
          Architecture: arm64
    
    Installation:           native
    Kernel:                 aarch64
    Userland:               armhf
    Timezone:               Europe/London (GMT, +0000)
    User-ID:                1000
    X-Server:               false
    Boot Target:            multi-user.target
    
    Pending OS-Updates:     0
    node:internal/modules/cjs/loader:1137
      throw err;
      ^
    
    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
        at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
        at Module._load (node:internal/modules/cjs/loader:975:27)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
        at node:internal/main/run_main_module:28:49 {
      code: 'MODULE_NOT_FOUND',
      requireStack: []
    }
    
    Node.js v18.19.0
    Pending iob updates:    0
    
    Nodejs-Installation:    /usr/bin/nodejs         v18.19.0
                            /usr/bin/node           v18.19.0
                            /usr/bin/npm            10.2.3
                            /usr/bin/npx            10.2.3
                            /usr/bin/corepack       0.22.0
    
    Recommended versions are nodejs  and npm
    Your nodejs installation is correct
    
    MEMORY:
                   total        used        free      shared  buff/cache   available
    Mem:            7.8G        233M        6.8G        1.0M        761M        7.5G
    Swap:            99M          0B         99M
    Total:          7.9G        233M        6.9G
    
    node:internal/modules/cjs/loader:1137
      throw err;
      ^
    
    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
        at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
        at Module._load (node:internal/modules/cjs/loader:975:27)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
        at node:internal/main/run_main_module:28:49 {
      code: 'MODULE_NOT_FOUND',
      requireStack: []
    }
    
    Node.js v18.19.0
    Active iob-Instances:   0
    node:internal/modules/cjs/loader:1137
      throw err;
      ^
    
    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
        at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
        at Module._load (node:internal/modules/cjs/loader:975:27)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
        at node:internal/main/run_main_module:28:49 {
      code: 'MODULE_NOT_FOUND',
      requireStack: []
    }
    
    Node.js v18.19.0
    
    node:internal/modules/cjs/loader:1137
      throw err;
      ^
    
    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
        at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
        at Module._load (node:internal/modules/cjs/loader:975:27)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
        at node:internal/main/run_main_module:28:49 {
      code: 'MODULE_NOT_FOUND',
      requireStack: []
    }
    
    Node.js v18.19.0
    ioBroker Core:          js-controller
    node:internal/modules/cjs/loader:1137
      throw err;
      ^
    
    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
        at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
        at Module._load (node:internal/modules/cjs/loader:975:27)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
        at node:internal/main/run_main_module:28:49 {
      code: 'MODULE_NOT_FOUND',
      requireStack: []
    }
    
    Node.js v18.19.0
                            admin
    
    node:internal/modules/cjs/loader:1137
      throw err;
      ^
    
    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
        at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
        at Module._load (node:internal/modules/cjs/loader:975:27)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
        at node:internal/main/run_main_module:28:49 {
      code: 'MODULE_NOT_FOUND',
      requireStack: []
    }
    
    Node.js v18.19.0
    ioBroker Status:
    
    Status admin and web instance:
    node:internal/modules/cjs/loader:1137
      throw err;
      ^
    
    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
        at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
        at Module._load (node:internal/modules/cjs/loader:975:27)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
        at node:internal/main/run_main_module:28:49 {
      code: 'MODULE_NOT_FOUND',
      requireStack: []
    }
    
    Node.js v18.19.0
    
    Objects:                0
    States:                 0
    
    Size of iob-Database:
    
    46M     /opt/iobroker/iobroker-data/objects.jsonl
    94M     /opt/iobroker/iobroker-data/states.jsonl
    
    
    
    =================== END OF SUMMARY ====================
    

    === Mark text until here for copying ===

    Danke schonmal für eure Hilfe.

    Gruß
    Michael

    GlasfaserG Thomas BraunT 4 Antworten Letzte Antwort
    0
    • M Michael_Schotthoefer

      Hi. Ich habe das Problem das mein Iobroker nicht mehr startet. Ich konnte schon feststellen das nodejs nicht richtig installiert war und konnte es fixen. Leider komme ich nun nicht mehr weiter.
      Kann mir jemand noch helfen?

      Anbei die Iobroker diag.


      ======== Start marking the full check here =========

      Skript v.2023-10-10
      
      *** BASE SYSTEM ***
         Static hostname: raspberrypi
               Icon name: computer
        Operating System: Raspbian GNU/Linux 11 (bullseye)
                  Kernel: Linux 6.1.21-v8+
            Architecture: arm64
      
      Model           : Raspberry Pi 4 Model B Rev 1.5
      Docker          : false
      Virtualization  : none
      Kernel          : aarch64
      Userland        : armhf
      
      Systemuptime and Load:
       19:48:29 up 14 min,  1 user,  load average: 0.39, 0.50, 0.52
      CPU threads: 4
      
      
      *** RASPBERRY THROTTLING ***
      Current issues:
      No throttling issues detected.
      
      Previously detected issues:
      No throttling issues detected.
      
      *** Time and Time Zones ***
                     Local time: Wed 2024-01-17 19:48:29 GMT
                 Universal time: Wed 2024-01-17 19:48:29 UTC
                       RTC time: n/a
                      Time zone: Europe/London (GMT, +0000)
      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:            7.8G        231M        6.8G        1.0M        796M        7.5G
      Swap:            99M          0B         99M
      Total:          7.9G        231M        6.9G
      
               7812 M total memory
                231 M used memory
                421 M active memory
                411 M inactive memory
               6784 M free memory
                 96 M buffer memory
                699 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
      * grafana-server.service loaded failed failed Grafana instance
      
      LOAD   = Reflects whether the unit definition was properly loaded.
      ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
      SUB    = The low-level unit activation state, values depend on unit type.
      1 loaded units listed.
      
      *** FILESYSTEM ***
      Filesystem     Type      Size  Used Avail Use% Mounted on
      /dev/root      ext4       29G   16G   13G  56% /
      devtmpfs       devtmpfs  3.6G     0  3.6G   0% /dev
      tmpfs          tmpfs     3.9G     0  3.9G   0% /dev/shm
      tmpfs          tmpfs     1.6G  1.2M  1.6G   1% /run
      tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
      /dev/mmcblk0p1 vfat      255M   51M  205M  20% /boot
      tmpfs          tmpfs     782M     0  782M   0% /run/user/1000
      
      Messages concerning ext4 filesystem in dmesg:
      [Wed Jan 17 19:34:00 2024] 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=E4:5F:01:E1:AA:91 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=ad490bbd-02 rootfstype=ext4 fsck.repair=yes rootwait
      [Wed Jan 17 19:34:01 2024] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
      [Wed Jan 17 19:34:01 2024] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
      [Wed Jan 17 19:34:04 2024] 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:
      7.7G    /var/
      5.8G    /var/log
      2.9G    /var/log/journal/2c760f47d5f741e395b4738f4f48cd7d
      2.9G    /var/log/journal
      1.4G    /var/lib
      
      Archived and active journals take up 2.8G in the file system.
      
      /opt/iobroker/backups:
      257M    /opt/iobroker/backups/
      
      /opt/iobroker/iobroker-data:
      1.7G    /opt/iobroker/iobroker-data/
      926M    /opt/iobroker/iobroker-data/files
      507M    /opt/iobroker/iobroker-data/history
      136M    /opt/iobroker/iobroker-data/backup-objects
      112M    /opt/iobroker/iobroker-data/files/vis-2-beta
      
      The five largest files in iobroker-data are:
      94M     /opt/iobroker/iobroker-data/states.jsonl
      46M     /opt/iobroker/iobroker-data/objects.jsonl
      35M     /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map
      33M     /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.1797d034.js.map
      24M     /opt/iobroker/iobroker-data/files/echarts/static/js/main.2b7495c2.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
      /usr/bin/npm            10.2.3
      /usr/bin/npx            10.2.3
      /usr/bin/corepack       0.22.0
      
      
      nodejs:
        Installed: 18.19.0-1nodesource1
        Candidate: 18.19.0-1nodesource1
        Version table:
       *** 18.19.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
              100 /var/lib/dpkg/status
           18.18.2-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.18.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.18.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.17.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.17.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.16.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.16.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.15.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.14.2-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.14.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.14.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.13.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.12.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.11.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.10.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.9.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.9.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.8.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.7.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.6.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.5.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.4.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.3.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.2.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.1.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.0.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           12.22.12~dfsg-1~deb11u4 500
              500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
      
      Temp directories causing npm8 problem: 0
      No problems detected
      
      Errors in npm tree:
      npm ERR! code ELSPROBLEMS
      npm ERR! extraneous: bufferutil@ /opt/iobroker/node_modules/bufferutil
      npm ERR! extraneous: diskusage@ /opt/iobroker/node_modules/diskusage
      npm ERR! missing: iobroker.admin@stable, required by iobroker.inst@3.0.0
      npm ERR! missing: iobroker.backitup@stable, required by iobroker.inst@3.0.0
      npm ERR! missing: iobroker.discovery@stable, required by iobroker.inst@3.0.0
      npm ERR! missing: iobroker.js-controller@stable, required by iobroker.inst@3.0.0
      npm ERR! extraneous: unix-dgram@ /opt/iobroker/node_modules/unix-dgram
      
      npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2024-01-17T19_48_37_592Z-debug-0.log
      
      *** ioBroker-Installation ***
      
      ioBroker Status
      node:internal/modules/cjs/loader:1137
        throw err;
        ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
          at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
          at Module._load (node:internal/modules/cjs/loader:975:27)
          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
          at node:internal/main/run_main_module:28:49 {
        code: 'MODULE_NOT_FOUND',
        requireStack: []
      }
      
      Node.js v18.19.0
      
      Core adapters versions
      node:internal/modules/cjs/loader:1137
        throw err;
        ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
          at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
          at Module._load (node:internal/modules/cjs/loader:975:27)
          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
          at node:internal/main/run_main_module:28:49 {
        code: 'MODULE_NOT_FOUND',
        requireStack: []
      }
      
      Node.js v18.19.0
      js-controller:
      node:internal/modules/cjs/loader:1137
        throw err;
        ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
          at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
          at Module._load (node:internal/modules/cjs/loader:975:27)
          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
          at node:internal/main/run_main_module:28:49 {
        code: 'MODULE_NOT_FOUND',
        requireStack: []
      }
      
      Node.js v18.19.0
      admin:
      node:internal/modules/cjs/loader:1137
        throw err;
        ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
          at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
          at Module._load (node:internal/modules/cjs/loader:975:27)
          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
          at node:internal/main/run_main_module:28:49 {
        code: 'MODULE_NOT_FOUND',
        requireStack: []
      }
      
      Node.js v18.19.0
      javascript:
      
      npm ERR! code ELSPROBLEMS
      npm ERR! extraneous: bufferutil@ /opt/iobroker/node_modules/bufferutil
      npm ERR! extraneous: diskusage@ /opt/iobroker/node_modules/diskusage
      npm ERR! missing: iobroker.admin@stable, required by iobroker.inst@3.0.0
      npm ERR! missing: iobroker.backitup@stable, required by iobroker.inst@3.0.0
      npm ERR! missing: iobroker.discovery@stable, required by iobroker.inst@3.0.0
      npm ERR! missing: iobroker.js-controller@stable, required by iobroker.inst@3.0.0
      npm ERR! extraneous: unix-dgram@ /opt/iobroker/node_modules/unix-dgram
      
      npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2024-01-17T19_48_40_428Z-debug-0.log
      Adapters from github:   0
      
      Adapter State
      node:internal/modules/cjs/loader:1137
        throw err;
        ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
          at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
          at Module._load (node:internal/modules/cjs/loader:975:27)
          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
          at node:internal/main/run_main_module:28:49 {
        code: 'MODULE_NOT_FOUND',
        requireStack: []
      }
      
      Node.js v18.19.0
      
      Enabled adapters with bindings
      node:internal/modules/cjs/loader:1137
        throw err;
        ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
          at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
          at Module._load (node:internal/modules/cjs/loader:975:27)
          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
          at node:internal/main/run_main_module:28:49 {
        code: 'MODULE_NOT_FOUND',
        requireStack: []
      }
      
      Node.js v18.19.0
      
      ioBroker-Repositories
      node:internal/modules/cjs/loader:1137
        throw err;
        ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
          at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
          at Module._load (node:internal/modules/cjs/loader:975:27)
          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
          at node:internal/main/run_main_module:28:49 {
        code: 'MODULE_NOT_FOUND',
        requireStack: []
      }
      
      Node.js v18.19.0
      
      Installed ioBroker-Instances
      node:internal/modules/cjs/loader:1137
        throw err;
        ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
          at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
          at Module._load (node:internal/modules/cjs/loader:975:27)
          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
          at node:internal/main/run_main_module:28:49 {
        code: 'MODULE_NOT_FOUND',
        requireStack: []
      }
      
      Node.js v18.19.0
      
      Objects and States
      Please stand by - This may take a while
      Objects:        0
      States:         0
      
      *** OS-Repositories and Updates ***
      W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/enterprise/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
      E: The repository 'https://packagecloud.io/ookla/speedtest-cli/raspbian bullseye Release' does not have a Release file.
      W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
      W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
      W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
      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:5038            0.0.0.0:*               LISTEN      111        14743      703/asterisk
      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          14559      521/sshd: /usr/sbin
      tcp        0      0 127.0.0.1:8088          0.0.0.0:*               LISTEN      999        15797      709/influxd
      tcp6       0      0 :::22                   :::*                    LISTEN      0          14569      521/sshd: /usr/sbin
      tcp6       0      0 :::8086                 :::*                    LISTEN      999        3998       709/influxd
      udp        0      0 0.0.0.0:5060            0.0.0.0:*                           111        14755      703/asterisk
      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        14476      392/avahi-daemon: r
      udp        0      0 0.0.0.0:43427           0.0.0.0:*                           111        15744      703/asterisk
      udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          15481      702/dhcpcd
      udp        0      0 0.0.0.0:41192           0.0.0.0:*                           108        14478      392/avahi-daemon: r
      udp        0      0 0.0.0.0:4569            0.0.0.0:*                           111        14756      703/asterisk
      udp6       0      0 :::5353                 :::*                                108        14477      392/avahi-daemon: r
      udp6       0      0 :::52261                :::*                                108        14479      392/avahi-daemon: r
      udp6       0      0 :::48892                :::*                                111        15745      703/asterisk
      udp6       0      0 :::546                  :::*                                0          15493      702/dhcpcd
      
      *** Log File - Last 25 Lines ***
      
      2024-01-17 09:35:29.341  - warn: myvbus.0 (2404) get state error: DB closed
      2024-01-17 09:35:29.342  - warn: myvbus.0 (2404) get state error: DB closed
      2024-01-17 09:35:29.343  - warn: myvbus.0 (2404) get state error: DB closed
      2024-01-17 09:35:29.344  - warn: myvbus.0 (2404) get state error: DB closed
      2024-01-17 09:35:29.345  - warn: myvbus.0 (2404) get state error: DB closed
      2024-01-17 09:35:29.347  - warn: myvbus.0 (2404) get state error: DB closed
      2024-01-17 09:35:29.347  - warn: myvbus.0 (2404) get state error: DB closed
      2024-01-17 09:35:29.348  - warn: myvbus.0 (2404) get state error: DB closed
      2024-01-17 09:35:29.348  - warn: myvbus.0 (2404) get state error: DB closed
      2024-01-17 09:35:29.349  - warn: myvbus.0 (2404) get state error: DB closed
      2024-01-17 09:35:29.352  - warn: myvbus.0 (2404) get state error: DB closed
      2024-01-17 09:35:29.353  - warn: myvbus.0 (2404) get state error: DB closed
      2024-01-17 09:35:29.354  - warn: myvbus.0 (2404) get state error: DB closed
      2024-01-17 09:35:29.355  - warn: myvbus.0 (2404) get state error: DB closed
      2024-01-17 09:35:29.355  - warn: myvbus.0 (2404) get state error: DB closed
      2024-01-17 09:35:29.356  - warn: myvbus.0 (2404) get state error: DB closed
      2024-01-17 09:35:29.356  - warn: myvbus.0 (2404) get state error: DB closed
      2024-01-17 09:35:29.357  - warn: myvbus.0 (2404) get state error: DB closed
      2024-01-17 09:35:29.358  - warn: myvbus.0 (2404) get state error: DB closed
      2024-01-17 09:35:29.359  - warn: myvbus.0 (2404) get state error: DB closed
      2024-01-17 09:35:29.359  - warn: myvbus.0 (2404) get state error: DB closed
      2024-01-17 09:35:29.360  - warn: myvbus.0 (2404) get state error: DB closed
      2024-01-17 09:35:29.360  - warn: myvbus.0 (2404) get state error: DB closed
      2024-01-17 09:35:29.423  - error: upnp.0 (2300) Objects database error: connect ECONNREFUSED 127.0.0.1:9001
      2024-01-17 09:35:33.763  - error: history.0 (1038) Objects database error: connect ECONNREFUSED 127.0.0.1:9001
      
      

      ============ Mark until here for C&P =============

      iob diag has finished.


      Copy text starting here:

      ======================= SUMMARY =======================
                              v.2023-10-10
      
      
         Static hostname: raspberrypi
               Icon name: computer
        Operating System: Raspbian GNU/Linux 11 (bullseye)
                  Kernel: Linux 6.1.21-v8+
            Architecture: arm64
      
      Installation:           native
      Kernel:                 aarch64
      Userland:               armhf
      Timezone:               Europe/London (GMT, +0000)
      User-ID:                1000
      X-Server:               false
      Boot Target:            multi-user.target
      
      Pending OS-Updates:     0
      node:internal/modules/cjs/loader:1137
        throw err;
        ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
          at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
          at Module._load (node:internal/modules/cjs/loader:975:27)
          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
          at node:internal/main/run_main_module:28:49 {
        code: 'MODULE_NOT_FOUND',
        requireStack: []
      }
      
      Node.js v18.19.0
      Pending iob updates:    0
      
      Nodejs-Installation:    /usr/bin/nodejs         v18.19.0
                              /usr/bin/node           v18.19.0
                              /usr/bin/npm            10.2.3
                              /usr/bin/npx            10.2.3
                              /usr/bin/corepack       0.22.0
      
      Recommended versions are nodejs  and npm
      Your nodejs installation is correct
      
      MEMORY:
                     total        used        free      shared  buff/cache   available
      Mem:            7.8G        233M        6.8G        1.0M        761M        7.5G
      Swap:            99M          0B         99M
      Total:          7.9G        233M        6.9G
      
      node:internal/modules/cjs/loader:1137
        throw err;
        ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
          at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
          at Module._load (node:internal/modules/cjs/loader:975:27)
          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
          at node:internal/main/run_main_module:28:49 {
        code: 'MODULE_NOT_FOUND',
        requireStack: []
      }
      
      Node.js v18.19.0
      Active iob-Instances:   0
      node:internal/modules/cjs/loader:1137
        throw err;
        ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
          at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
          at Module._load (node:internal/modules/cjs/loader:975:27)
          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
          at node:internal/main/run_main_module:28:49 {
        code: 'MODULE_NOT_FOUND',
        requireStack: []
      }
      
      Node.js v18.19.0
      
      node:internal/modules/cjs/loader:1137
        throw err;
        ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
          at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
          at Module._load (node:internal/modules/cjs/loader:975:27)
          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
          at node:internal/main/run_main_module:28:49 {
        code: 'MODULE_NOT_FOUND',
        requireStack: []
      }
      
      Node.js v18.19.0
      ioBroker Core:          js-controller
      node:internal/modules/cjs/loader:1137
        throw err;
        ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
          at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
          at Module._load (node:internal/modules/cjs/loader:975:27)
          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
          at node:internal/main/run_main_module:28:49 {
        code: 'MODULE_NOT_FOUND',
        requireStack: []
      }
      
      Node.js v18.19.0
                              admin
      
      node:internal/modules/cjs/loader:1137
        throw err;
        ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
          at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
          at Module._load (node:internal/modules/cjs/loader:975:27)
          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
          at node:internal/main/run_main_module:28:49 {
        code: 'MODULE_NOT_FOUND',
        requireStack: []
      }
      
      Node.js v18.19.0
      ioBroker Status:
      
      Status admin and web instance:
      node:internal/modules/cjs/loader:1137
        throw err;
        ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
          at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
          at Module._load (node:internal/modules/cjs/loader:975:27)
          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
          at node:internal/main/run_main_module:28:49 {
        code: 'MODULE_NOT_FOUND',
        requireStack: []
      }
      
      Node.js v18.19.0
      
      Objects:                0
      States:                 0
      
      Size of iob-Database:
      
      46M     /opt/iobroker/iobroker-data/objects.jsonl
      94M     /opt/iobroker/iobroker-data/states.jsonl
      
      
      
      =================== END OF SUMMARY ====================
      

      === Mark text until here for copying ===

      Danke schonmal für eure Hilfe.

      Gruß
      Michael

      GlasfaserG Offline
      GlasfaserG Offline
      Glasfaser
      schrieb am zuletzt editiert von
      #2

      @michael_schotthoefer

      cd /opt/iobroker
      sudo -H -u iobroker npm install iobroker.js-controller
      

      Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

      M 1 Antwort Letzte Antwort
      0
      • M Michael_Schotthoefer

        Hi. Ich habe das Problem das mein Iobroker nicht mehr startet. Ich konnte schon feststellen das nodejs nicht richtig installiert war und konnte es fixen. Leider komme ich nun nicht mehr weiter.
        Kann mir jemand noch helfen?

        Anbei die Iobroker diag.


        ======== Start marking the full check here =========

        Skript v.2023-10-10
        
        *** BASE SYSTEM ***
           Static hostname: raspberrypi
                 Icon name: computer
          Operating System: Raspbian GNU/Linux 11 (bullseye)
                    Kernel: Linux 6.1.21-v8+
              Architecture: arm64
        
        Model           : Raspberry Pi 4 Model B Rev 1.5
        Docker          : false
        Virtualization  : none
        Kernel          : aarch64
        Userland        : armhf
        
        Systemuptime and Load:
         19:48:29 up 14 min,  1 user,  load average: 0.39, 0.50, 0.52
        CPU threads: 4
        
        
        *** RASPBERRY THROTTLING ***
        Current issues:
        No throttling issues detected.
        
        Previously detected issues:
        No throttling issues detected.
        
        *** Time and Time Zones ***
                       Local time: Wed 2024-01-17 19:48:29 GMT
                   Universal time: Wed 2024-01-17 19:48:29 UTC
                         RTC time: n/a
                        Time zone: Europe/London (GMT, +0000)
        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:            7.8G        231M        6.8G        1.0M        796M        7.5G
        Swap:            99M          0B         99M
        Total:          7.9G        231M        6.9G
        
                 7812 M total memory
                  231 M used memory
                  421 M active memory
                  411 M inactive memory
                 6784 M free memory
                   96 M buffer memory
                  699 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
        * grafana-server.service loaded failed failed Grafana instance
        
        LOAD   = Reflects whether the unit definition was properly loaded.
        ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
        SUB    = The low-level unit activation state, values depend on unit type.
        1 loaded units listed.
        
        *** FILESYSTEM ***
        Filesystem     Type      Size  Used Avail Use% Mounted on
        /dev/root      ext4       29G   16G   13G  56% /
        devtmpfs       devtmpfs  3.6G     0  3.6G   0% /dev
        tmpfs          tmpfs     3.9G     0  3.9G   0% /dev/shm
        tmpfs          tmpfs     1.6G  1.2M  1.6G   1% /run
        tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
        /dev/mmcblk0p1 vfat      255M   51M  205M  20% /boot
        tmpfs          tmpfs     782M     0  782M   0% /run/user/1000
        
        Messages concerning ext4 filesystem in dmesg:
        [Wed Jan 17 19:34:00 2024] 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=E4:5F:01:E1:AA:91 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=ad490bbd-02 rootfstype=ext4 fsck.repair=yes rootwait
        [Wed Jan 17 19:34:01 2024] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
        [Wed Jan 17 19:34:01 2024] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
        [Wed Jan 17 19:34:04 2024] 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:
        7.7G    /var/
        5.8G    /var/log
        2.9G    /var/log/journal/2c760f47d5f741e395b4738f4f48cd7d
        2.9G    /var/log/journal
        1.4G    /var/lib
        
        Archived and active journals take up 2.8G in the file system.
        
        /opt/iobroker/backups:
        257M    /opt/iobroker/backups/
        
        /opt/iobroker/iobroker-data:
        1.7G    /opt/iobroker/iobroker-data/
        926M    /opt/iobroker/iobroker-data/files
        507M    /opt/iobroker/iobroker-data/history
        136M    /opt/iobroker/iobroker-data/backup-objects
        112M    /opt/iobroker/iobroker-data/files/vis-2-beta
        
        The five largest files in iobroker-data are:
        94M     /opt/iobroker/iobroker-data/states.jsonl
        46M     /opt/iobroker/iobroker-data/objects.jsonl
        35M     /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map
        33M     /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.1797d034.js.map
        24M     /opt/iobroker/iobroker-data/files/echarts/static/js/main.2b7495c2.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
        /usr/bin/npm            10.2.3
        /usr/bin/npx            10.2.3
        /usr/bin/corepack       0.22.0
        
        
        nodejs:
          Installed: 18.19.0-1nodesource1
          Candidate: 18.19.0-1nodesource1
          Version table:
         *** 18.19.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                100 /var/lib/dpkg/status
             18.18.2-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.18.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.18.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.17.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.17.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.16.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.16.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.15.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.14.2-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.14.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.14.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.13.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.12.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.11.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.10.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.9.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.9.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.8.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.7.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.6.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.5.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.4.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.3.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.2.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.1.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             18.0.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
             12.22.12~dfsg-1~deb11u4 500
                500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
        
        Temp directories causing npm8 problem: 0
        No problems detected
        
        Errors in npm tree:
        npm ERR! code ELSPROBLEMS
        npm ERR! extraneous: bufferutil@ /opt/iobroker/node_modules/bufferutil
        npm ERR! extraneous: diskusage@ /opt/iobroker/node_modules/diskusage
        npm ERR! missing: iobroker.admin@stable, required by iobroker.inst@3.0.0
        npm ERR! missing: iobroker.backitup@stable, required by iobroker.inst@3.0.0
        npm ERR! missing: iobroker.discovery@stable, required by iobroker.inst@3.0.0
        npm ERR! missing: iobroker.js-controller@stable, required by iobroker.inst@3.0.0
        npm ERR! extraneous: unix-dgram@ /opt/iobroker/node_modules/unix-dgram
        
        npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2024-01-17T19_48_37_592Z-debug-0.log
        
        *** ioBroker-Installation ***
        
        ioBroker Status
        node:internal/modules/cjs/loader:1137
          throw err;
          ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
            at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
            at Module._load (node:internal/modules/cjs/loader:975:27)
            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
            at node:internal/main/run_main_module:28:49 {
          code: 'MODULE_NOT_FOUND',
          requireStack: []
        }
        
        Node.js v18.19.0
        
        Core adapters versions
        node:internal/modules/cjs/loader:1137
          throw err;
          ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
            at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
            at Module._load (node:internal/modules/cjs/loader:975:27)
            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
            at node:internal/main/run_main_module:28:49 {
          code: 'MODULE_NOT_FOUND',
          requireStack: []
        }
        
        Node.js v18.19.0
        js-controller:
        node:internal/modules/cjs/loader:1137
          throw err;
          ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
            at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
            at Module._load (node:internal/modules/cjs/loader:975:27)
            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
            at node:internal/main/run_main_module:28:49 {
          code: 'MODULE_NOT_FOUND',
          requireStack: []
        }
        
        Node.js v18.19.0
        admin:
        node:internal/modules/cjs/loader:1137
          throw err;
          ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
            at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
            at Module._load (node:internal/modules/cjs/loader:975:27)
            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
            at node:internal/main/run_main_module:28:49 {
          code: 'MODULE_NOT_FOUND',
          requireStack: []
        }
        
        Node.js v18.19.0
        javascript:
        
        npm ERR! code ELSPROBLEMS
        npm ERR! extraneous: bufferutil@ /opt/iobroker/node_modules/bufferutil
        npm ERR! extraneous: diskusage@ /opt/iobroker/node_modules/diskusage
        npm ERR! missing: iobroker.admin@stable, required by iobroker.inst@3.0.0
        npm ERR! missing: iobroker.backitup@stable, required by iobroker.inst@3.0.0
        npm ERR! missing: iobroker.discovery@stable, required by iobroker.inst@3.0.0
        npm ERR! missing: iobroker.js-controller@stable, required by iobroker.inst@3.0.0
        npm ERR! extraneous: unix-dgram@ /opt/iobroker/node_modules/unix-dgram
        
        npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2024-01-17T19_48_40_428Z-debug-0.log
        Adapters from github:   0
        
        Adapter State
        node:internal/modules/cjs/loader:1137
          throw err;
          ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
            at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
            at Module._load (node:internal/modules/cjs/loader:975:27)
            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
            at node:internal/main/run_main_module:28:49 {
          code: 'MODULE_NOT_FOUND',
          requireStack: []
        }
        
        Node.js v18.19.0
        
        Enabled adapters with bindings
        node:internal/modules/cjs/loader:1137
          throw err;
          ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
            at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
            at Module._load (node:internal/modules/cjs/loader:975:27)
            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
            at node:internal/main/run_main_module:28:49 {
          code: 'MODULE_NOT_FOUND',
          requireStack: []
        }
        
        Node.js v18.19.0
        
        ioBroker-Repositories
        node:internal/modules/cjs/loader:1137
          throw err;
          ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
            at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
            at Module._load (node:internal/modules/cjs/loader:975:27)
            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
            at node:internal/main/run_main_module:28:49 {
          code: 'MODULE_NOT_FOUND',
          requireStack: []
        }
        
        Node.js v18.19.0
        
        Installed ioBroker-Instances
        node:internal/modules/cjs/loader:1137
          throw err;
          ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
            at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
            at Module._load (node:internal/modules/cjs/loader:975:27)
            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
            at node:internal/main/run_main_module:28:49 {
          code: 'MODULE_NOT_FOUND',
          requireStack: []
        }
        
        Node.js v18.19.0
        
        Objects and States
        Please stand by - This may take a while
        Objects:        0
        States:         0
        
        *** OS-Repositories and Updates ***
        W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/enterprise/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
        E: The repository 'https://packagecloud.io/ookla/speedtest-cli/raspbian bullseye Release' does not have a Release file.
        W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
        W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
        W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
        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:5038            0.0.0.0:*               LISTEN      111        14743      703/asterisk
        tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          14559      521/sshd: /usr/sbin
        tcp        0      0 127.0.0.1:8088          0.0.0.0:*               LISTEN      999        15797      709/influxd
        tcp6       0      0 :::22                   :::*                    LISTEN      0          14569      521/sshd: /usr/sbin
        tcp6       0      0 :::8086                 :::*                    LISTEN      999        3998       709/influxd
        udp        0      0 0.0.0.0:5060            0.0.0.0:*                           111        14755      703/asterisk
        udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        14476      392/avahi-daemon: r
        udp        0      0 0.0.0.0:43427           0.0.0.0:*                           111        15744      703/asterisk
        udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          15481      702/dhcpcd
        udp        0      0 0.0.0.0:41192           0.0.0.0:*                           108        14478      392/avahi-daemon: r
        udp        0      0 0.0.0.0:4569            0.0.0.0:*                           111        14756      703/asterisk
        udp6       0      0 :::5353                 :::*                                108        14477      392/avahi-daemon: r
        udp6       0      0 :::52261                :::*                                108        14479      392/avahi-daemon: r
        udp6       0      0 :::48892                :::*                                111        15745      703/asterisk
        udp6       0      0 :::546                  :::*                                0          15493      702/dhcpcd
        
        *** Log File - Last 25 Lines ***
        
        2024-01-17 09:35:29.341  - warn: myvbus.0 (2404) get state error: DB closed
        2024-01-17 09:35:29.342  - warn: myvbus.0 (2404) get state error: DB closed
        2024-01-17 09:35:29.343  - warn: myvbus.0 (2404) get state error: DB closed
        2024-01-17 09:35:29.344  - warn: myvbus.0 (2404) get state error: DB closed
        2024-01-17 09:35:29.345  - warn: myvbus.0 (2404) get state error: DB closed
        2024-01-17 09:35:29.347  - warn: myvbus.0 (2404) get state error: DB closed
        2024-01-17 09:35:29.347  - warn: myvbus.0 (2404) get state error: DB closed
        2024-01-17 09:35:29.348  - warn: myvbus.0 (2404) get state error: DB closed
        2024-01-17 09:35:29.348  - warn: myvbus.0 (2404) get state error: DB closed
        2024-01-17 09:35:29.349  - warn: myvbus.0 (2404) get state error: DB closed
        2024-01-17 09:35:29.352  - warn: myvbus.0 (2404) get state error: DB closed
        2024-01-17 09:35:29.353  - warn: myvbus.0 (2404) get state error: DB closed
        2024-01-17 09:35:29.354  - warn: myvbus.0 (2404) get state error: DB closed
        2024-01-17 09:35:29.355  - warn: myvbus.0 (2404) get state error: DB closed
        2024-01-17 09:35:29.355  - warn: myvbus.0 (2404) get state error: DB closed
        2024-01-17 09:35:29.356  - warn: myvbus.0 (2404) get state error: DB closed
        2024-01-17 09:35:29.356  - warn: myvbus.0 (2404) get state error: DB closed
        2024-01-17 09:35:29.357  - warn: myvbus.0 (2404) get state error: DB closed
        2024-01-17 09:35:29.358  - warn: myvbus.0 (2404) get state error: DB closed
        2024-01-17 09:35:29.359  - warn: myvbus.0 (2404) get state error: DB closed
        2024-01-17 09:35:29.359  - warn: myvbus.0 (2404) get state error: DB closed
        2024-01-17 09:35:29.360  - warn: myvbus.0 (2404) get state error: DB closed
        2024-01-17 09:35:29.360  - warn: myvbus.0 (2404) get state error: DB closed
        2024-01-17 09:35:29.423  - error: upnp.0 (2300) Objects database error: connect ECONNREFUSED 127.0.0.1:9001
        2024-01-17 09:35:33.763  - error: history.0 (1038) Objects database error: connect ECONNREFUSED 127.0.0.1:9001
        
        

        ============ Mark until here for C&P =============

        iob diag has finished.


        Copy text starting here:

        ======================= SUMMARY =======================
                                v.2023-10-10
        
        
           Static hostname: raspberrypi
                 Icon name: computer
          Operating System: Raspbian GNU/Linux 11 (bullseye)
                    Kernel: Linux 6.1.21-v8+
              Architecture: arm64
        
        Installation:           native
        Kernel:                 aarch64
        Userland:               armhf
        Timezone:               Europe/London (GMT, +0000)
        User-ID:                1000
        X-Server:               false
        Boot Target:            multi-user.target
        
        Pending OS-Updates:     0
        node:internal/modules/cjs/loader:1137
          throw err;
          ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
            at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
            at Module._load (node:internal/modules/cjs/loader:975:27)
            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
            at node:internal/main/run_main_module:28:49 {
          code: 'MODULE_NOT_FOUND',
          requireStack: []
        }
        
        Node.js v18.19.0
        Pending iob updates:    0
        
        Nodejs-Installation:    /usr/bin/nodejs         v18.19.0
                                /usr/bin/node           v18.19.0
                                /usr/bin/npm            10.2.3
                                /usr/bin/npx            10.2.3
                                /usr/bin/corepack       0.22.0
        
        Recommended versions are nodejs  and npm
        Your nodejs installation is correct
        
        MEMORY:
                       total        used        free      shared  buff/cache   available
        Mem:            7.8G        233M        6.8G        1.0M        761M        7.5G
        Swap:            99M          0B         99M
        Total:          7.9G        233M        6.9G
        
        node:internal/modules/cjs/loader:1137
          throw err;
          ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
            at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
            at Module._load (node:internal/modules/cjs/loader:975:27)
            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
            at node:internal/main/run_main_module:28:49 {
          code: 'MODULE_NOT_FOUND',
          requireStack: []
        }
        
        Node.js v18.19.0
        Active iob-Instances:   0
        node:internal/modules/cjs/loader:1137
          throw err;
          ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
            at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
            at Module._load (node:internal/modules/cjs/loader:975:27)
            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
            at node:internal/main/run_main_module:28:49 {
          code: 'MODULE_NOT_FOUND',
          requireStack: []
        }
        
        Node.js v18.19.0
        
        node:internal/modules/cjs/loader:1137
          throw err;
          ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
            at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
            at Module._load (node:internal/modules/cjs/loader:975:27)
            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
            at node:internal/main/run_main_module:28:49 {
          code: 'MODULE_NOT_FOUND',
          requireStack: []
        }
        
        Node.js v18.19.0
        ioBroker Core:          js-controller
        node:internal/modules/cjs/loader:1137
          throw err;
          ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
            at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
            at Module._load (node:internal/modules/cjs/loader:975:27)
            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
            at node:internal/main/run_main_module:28:49 {
          code: 'MODULE_NOT_FOUND',
          requireStack: []
        }
        
        Node.js v18.19.0
                                admin
        
        node:internal/modules/cjs/loader:1137
          throw err;
          ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
            at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
            at Module._load (node:internal/modules/cjs/loader:975:27)
            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
            at node:internal/main/run_main_module:28:49 {
          code: 'MODULE_NOT_FOUND',
          requireStack: []
        }
        
        Node.js v18.19.0
        ioBroker Status:
        
        Status admin and web instance:
        node:internal/modules/cjs/loader:1137
          throw err;
          ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
            at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
            at Module._load (node:internal/modules/cjs/loader:975:27)
            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
            at node:internal/main/run_main_module:28:49 {
          code: 'MODULE_NOT_FOUND',
          requireStack: []
        }
        
        Node.js v18.19.0
        
        Objects:                0
        States:                 0
        
        Size of iob-Database:
        
        46M     /opt/iobroker/iobroker-data/objects.jsonl
        94M     /opt/iobroker/iobroker-data/states.jsonl
        
        
        
        =================== END OF SUMMARY ====================
        

        === Mark text until here for copying ===

        Danke schonmal für eure Hilfe.

        Gruß
        Michael

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

        @michael_schotthoefer sagte in Iobroker lässt sich nicht mehr starten.:

        Kernel : aarch64
        Userland : armhf

        Mix aus 32 und 64Bit. Installier das Betriebssystem NEU und sortenrein.
        Dann im neuen System deine Backups einspielen, fertig.

        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

        M 2 Antworten Letzte Antwort
        0
        • M Michael_Schotthoefer

          Hi. Ich habe das Problem das mein Iobroker nicht mehr startet. Ich konnte schon feststellen das nodejs nicht richtig installiert war und konnte es fixen. Leider komme ich nun nicht mehr weiter.
          Kann mir jemand noch helfen?

          Anbei die Iobroker diag.


          ======== Start marking the full check here =========

          Skript v.2023-10-10
          
          *** BASE SYSTEM ***
             Static hostname: raspberrypi
                   Icon name: computer
            Operating System: Raspbian GNU/Linux 11 (bullseye)
                      Kernel: Linux 6.1.21-v8+
                Architecture: arm64
          
          Model           : Raspberry Pi 4 Model B Rev 1.5
          Docker          : false
          Virtualization  : none
          Kernel          : aarch64
          Userland        : armhf
          
          Systemuptime and Load:
           19:48:29 up 14 min,  1 user,  load average: 0.39, 0.50, 0.52
          CPU threads: 4
          
          
          *** RASPBERRY THROTTLING ***
          Current issues:
          No throttling issues detected.
          
          Previously detected issues:
          No throttling issues detected.
          
          *** Time and Time Zones ***
                         Local time: Wed 2024-01-17 19:48:29 GMT
                     Universal time: Wed 2024-01-17 19:48:29 UTC
                           RTC time: n/a
                          Time zone: Europe/London (GMT, +0000)
          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:            7.8G        231M        6.8G        1.0M        796M        7.5G
          Swap:            99M          0B         99M
          Total:          7.9G        231M        6.9G
          
                   7812 M total memory
                    231 M used memory
                    421 M active memory
                    411 M inactive memory
                   6784 M free memory
                     96 M buffer memory
                    699 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
          * grafana-server.service loaded failed failed Grafana instance
          
          LOAD   = Reflects whether the unit definition was properly loaded.
          ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
          SUB    = The low-level unit activation state, values depend on unit type.
          1 loaded units listed.
          
          *** FILESYSTEM ***
          Filesystem     Type      Size  Used Avail Use% Mounted on
          /dev/root      ext4       29G   16G   13G  56% /
          devtmpfs       devtmpfs  3.6G     0  3.6G   0% /dev
          tmpfs          tmpfs     3.9G     0  3.9G   0% /dev/shm
          tmpfs          tmpfs     1.6G  1.2M  1.6G   1% /run
          tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
          /dev/mmcblk0p1 vfat      255M   51M  205M  20% /boot
          tmpfs          tmpfs     782M     0  782M   0% /run/user/1000
          
          Messages concerning ext4 filesystem in dmesg:
          [Wed Jan 17 19:34:00 2024] 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=E4:5F:01:E1:AA:91 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=ad490bbd-02 rootfstype=ext4 fsck.repair=yes rootwait
          [Wed Jan 17 19:34:01 2024] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
          [Wed Jan 17 19:34:01 2024] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
          [Wed Jan 17 19:34:04 2024] 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:
          7.7G    /var/
          5.8G    /var/log
          2.9G    /var/log/journal/2c760f47d5f741e395b4738f4f48cd7d
          2.9G    /var/log/journal
          1.4G    /var/lib
          
          Archived and active journals take up 2.8G in the file system.
          
          /opt/iobroker/backups:
          257M    /opt/iobroker/backups/
          
          /opt/iobroker/iobroker-data:
          1.7G    /opt/iobroker/iobroker-data/
          926M    /opt/iobroker/iobroker-data/files
          507M    /opt/iobroker/iobroker-data/history
          136M    /opt/iobroker/iobroker-data/backup-objects
          112M    /opt/iobroker/iobroker-data/files/vis-2-beta
          
          The five largest files in iobroker-data are:
          94M     /opt/iobroker/iobroker-data/states.jsonl
          46M     /opt/iobroker/iobroker-data/objects.jsonl
          35M     /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map
          33M     /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.1797d034.js.map
          24M     /opt/iobroker/iobroker-data/files/echarts/static/js/main.2b7495c2.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
          /usr/bin/npm            10.2.3
          /usr/bin/npx            10.2.3
          /usr/bin/corepack       0.22.0
          
          
          nodejs:
            Installed: 18.19.0-1nodesource1
            Candidate: 18.19.0-1nodesource1
            Version table:
           *** 18.19.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                  100 /var/lib/dpkg/status
               18.18.2-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.18.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.18.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.17.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.17.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.16.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.16.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.15.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.14.2-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.14.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.14.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.13.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.12.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.11.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.10.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.9.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.9.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.8.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.7.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.6.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.5.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.4.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.3.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.2.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.1.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.0.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               12.22.12~dfsg-1~deb11u4 500
                  500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
          
          Temp directories causing npm8 problem: 0
          No problems detected
          
          Errors in npm tree:
          npm ERR! code ELSPROBLEMS
          npm ERR! extraneous: bufferutil@ /opt/iobroker/node_modules/bufferutil
          npm ERR! extraneous: diskusage@ /opt/iobroker/node_modules/diskusage
          npm ERR! missing: iobroker.admin@stable, required by iobroker.inst@3.0.0
          npm ERR! missing: iobroker.backitup@stable, required by iobroker.inst@3.0.0
          npm ERR! missing: iobroker.discovery@stable, required by iobroker.inst@3.0.0
          npm ERR! missing: iobroker.js-controller@stable, required by iobroker.inst@3.0.0
          npm ERR! extraneous: unix-dgram@ /opt/iobroker/node_modules/unix-dgram
          
          npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2024-01-17T19_48_37_592Z-debug-0.log
          
          *** ioBroker-Installation ***
          
          ioBroker Status
          node:internal/modules/cjs/loader:1137
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
              at Module._load (node:internal/modules/cjs/loader:975:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v18.19.0
          
          Core adapters versions
          node:internal/modules/cjs/loader:1137
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
              at Module._load (node:internal/modules/cjs/loader:975:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v18.19.0
          js-controller:
          node:internal/modules/cjs/loader:1137
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
              at Module._load (node:internal/modules/cjs/loader:975:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v18.19.0
          admin:
          node:internal/modules/cjs/loader:1137
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
              at Module._load (node:internal/modules/cjs/loader:975:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v18.19.0
          javascript:
          
          npm ERR! code ELSPROBLEMS
          npm ERR! extraneous: bufferutil@ /opt/iobroker/node_modules/bufferutil
          npm ERR! extraneous: diskusage@ /opt/iobroker/node_modules/diskusage
          npm ERR! missing: iobroker.admin@stable, required by iobroker.inst@3.0.0
          npm ERR! missing: iobroker.backitup@stable, required by iobroker.inst@3.0.0
          npm ERR! missing: iobroker.discovery@stable, required by iobroker.inst@3.0.0
          npm ERR! missing: iobroker.js-controller@stable, required by iobroker.inst@3.0.0
          npm ERR! extraneous: unix-dgram@ /opt/iobroker/node_modules/unix-dgram
          
          npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2024-01-17T19_48_40_428Z-debug-0.log
          Adapters from github:   0
          
          Adapter State
          node:internal/modules/cjs/loader:1137
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
              at Module._load (node:internal/modules/cjs/loader:975:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v18.19.0
          
          Enabled adapters with bindings
          node:internal/modules/cjs/loader:1137
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
              at Module._load (node:internal/modules/cjs/loader:975:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v18.19.0
          
          ioBroker-Repositories
          node:internal/modules/cjs/loader:1137
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
              at Module._load (node:internal/modules/cjs/loader:975:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v18.19.0
          
          Installed ioBroker-Instances
          node:internal/modules/cjs/loader:1137
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
              at Module._load (node:internal/modules/cjs/loader:975:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v18.19.0
          
          Objects and States
          Please stand by - This may take a while
          Objects:        0
          States:         0
          
          *** OS-Repositories and Updates ***
          W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/enterprise/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
          E: The repository 'https://packagecloud.io/ookla/speedtest-cli/raspbian bullseye Release' does not have a Release file.
          W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
          W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
          W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
          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:5038            0.0.0.0:*               LISTEN      111        14743      703/asterisk
          tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          14559      521/sshd: /usr/sbin
          tcp        0      0 127.0.0.1:8088          0.0.0.0:*               LISTEN      999        15797      709/influxd
          tcp6       0      0 :::22                   :::*                    LISTEN      0          14569      521/sshd: /usr/sbin
          tcp6       0      0 :::8086                 :::*                    LISTEN      999        3998       709/influxd
          udp        0      0 0.0.0.0:5060            0.0.0.0:*                           111        14755      703/asterisk
          udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        14476      392/avahi-daemon: r
          udp        0      0 0.0.0.0:43427           0.0.0.0:*                           111        15744      703/asterisk
          udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          15481      702/dhcpcd
          udp        0      0 0.0.0.0:41192           0.0.0.0:*                           108        14478      392/avahi-daemon: r
          udp        0      0 0.0.0.0:4569            0.0.0.0:*                           111        14756      703/asterisk
          udp6       0      0 :::5353                 :::*                                108        14477      392/avahi-daemon: r
          udp6       0      0 :::52261                :::*                                108        14479      392/avahi-daemon: r
          udp6       0      0 :::48892                :::*                                111        15745      703/asterisk
          udp6       0      0 :::546                  :::*                                0          15493      702/dhcpcd
          
          *** Log File - Last 25 Lines ***
          
          2024-01-17 09:35:29.341  - warn: myvbus.0 (2404) get state error: DB closed
          2024-01-17 09:35:29.342  - warn: myvbus.0 (2404) get state error: DB closed
          2024-01-17 09:35:29.343  - warn: myvbus.0 (2404) get state error: DB closed
          2024-01-17 09:35:29.344  - warn: myvbus.0 (2404) get state error: DB closed
          2024-01-17 09:35:29.345  - warn: myvbus.0 (2404) get state error: DB closed
          2024-01-17 09:35:29.347  - warn: myvbus.0 (2404) get state error: DB closed
          2024-01-17 09:35:29.347  - warn: myvbus.0 (2404) get state error: DB closed
          2024-01-17 09:35:29.348  - warn: myvbus.0 (2404) get state error: DB closed
          2024-01-17 09:35:29.348  - warn: myvbus.0 (2404) get state error: DB closed
          2024-01-17 09:35:29.349  - warn: myvbus.0 (2404) get state error: DB closed
          2024-01-17 09:35:29.352  - warn: myvbus.0 (2404) get state error: DB closed
          2024-01-17 09:35:29.353  - warn: myvbus.0 (2404) get state error: DB closed
          2024-01-17 09:35:29.354  - warn: myvbus.0 (2404) get state error: DB closed
          2024-01-17 09:35:29.355  - warn: myvbus.0 (2404) get state error: DB closed
          2024-01-17 09:35:29.355  - warn: myvbus.0 (2404) get state error: DB closed
          2024-01-17 09:35:29.356  - warn: myvbus.0 (2404) get state error: DB closed
          2024-01-17 09:35:29.356  - warn: myvbus.0 (2404) get state error: DB closed
          2024-01-17 09:35:29.357  - warn: myvbus.0 (2404) get state error: DB closed
          2024-01-17 09:35:29.358  - warn: myvbus.0 (2404) get state error: DB closed
          2024-01-17 09:35:29.359  - warn: myvbus.0 (2404) get state error: DB closed
          2024-01-17 09:35:29.359  - warn: myvbus.0 (2404) get state error: DB closed
          2024-01-17 09:35:29.360  - warn: myvbus.0 (2404) get state error: DB closed
          2024-01-17 09:35:29.360  - warn: myvbus.0 (2404) get state error: DB closed
          2024-01-17 09:35:29.423  - error: upnp.0 (2300) Objects database error: connect ECONNREFUSED 127.0.0.1:9001
          2024-01-17 09:35:33.763  - error: history.0 (1038) Objects database error: connect ECONNREFUSED 127.0.0.1:9001
          
          

          ============ Mark until here for C&P =============

          iob diag has finished.


          Copy text starting here:

          ======================= SUMMARY =======================
                                  v.2023-10-10
          
          
             Static hostname: raspberrypi
                   Icon name: computer
            Operating System: Raspbian GNU/Linux 11 (bullseye)
                      Kernel: Linux 6.1.21-v8+
                Architecture: arm64
          
          Installation:           native
          Kernel:                 aarch64
          Userland:               armhf
          Timezone:               Europe/London (GMT, +0000)
          User-ID:                1000
          X-Server:               false
          Boot Target:            multi-user.target
          
          Pending OS-Updates:     0
          node:internal/modules/cjs/loader:1137
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
              at Module._load (node:internal/modules/cjs/loader:975:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v18.19.0
          Pending iob updates:    0
          
          Nodejs-Installation:    /usr/bin/nodejs         v18.19.0
                                  /usr/bin/node           v18.19.0
                                  /usr/bin/npm            10.2.3
                                  /usr/bin/npx            10.2.3
                                  /usr/bin/corepack       0.22.0
          
          Recommended versions are nodejs  and npm
          Your nodejs installation is correct
          
          MEMORY:
                         total        used        free      shared  buff/cache   available
          Mem:            7.8G        233M        6.8G        1.0M        761M        7.5G
          Swap:            99M          0B         99M
          Total:          7.9G        233M        6.9G
          
          node:internal/modules/cjs/loader:1137
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
              at Module._load (node:internal/modules/cjs/loader:975:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v18.19.0
          Active iob-Instances:   0
          node:internal/modules/cjs/loader:1137
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
              at Module._load (node:internal/modules/cjs/loader:975:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v18.19.0
          
          node:internal/modules/cjs/loader:1137
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
              at Module._load (node:internal/modules/cjs/loader:975:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v18.19.0
          ioBroker Core:          js-controller
          node:internal/modules/cjs/loader:1137
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
              at Module._load (node:internal/modules/cjs/loader:975:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v18.19.0
                                  admin
          
          node:internal/modules/cjs/loader:1137
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
              at Module._load (node:internal/modules/cjs/loader:975:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v18.19.0
          ioBroker Status:
          
          Status admin and web instance:
          node:internal/modules/cjs/loader:1137
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
              at Module._load (node:internal/modules/cjs/loader:975:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v18.19.0
          
          Objects:                0
          States:                 0
          
          Size of iob-Database:
          
          46M     /opt/iobroker/iobroker-data/objects.jsonl
          94M     /opt/iobroker/iobroker-data/states.jsonl
          
          
          
          =================== END OF SUMMARY ====================
          

          === Mark text until here for copying ===

          Danke schonmal für eure Hilfe.

          Gruß
          Michael

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

          @michael_schotthoefer sagte in Iobroker lässt sich nicht mehr starten.:

                      Time zone: Europe/London (GMT, +0000)
          

          Vermutlich auch falsch.

          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

          1 Antwort Letzte Antwort
          0
          • GlasfaserG Glasfaser

            @michael_schotthoefer

            cd /opt/iobroker
            sudo -H -u iobroker npm install iobroker.js-controller
            
            M Offline
            M Offline
            Michael_Schotthoefer
            schrieb am zuletzt editiert von
            #5

            @glasfaser
            das kam dabei raus.


            sudo -H -u iobroker npm install iobroker.js-controller
            npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
            npm WARN deprecated har-validator@5.1.5: this library is no longer supported
            npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
            npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
            npm ERR! code 1
            npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
            npm ERR! command failed
            npm ERR! command sh -c node iobroker.js setup first
            npm ERR! node:internal/modules/cjs/loader:1137
            npm ERR! throw err;
            npm ERR! ^
            npm ERR!
            npm ERR! Error: Cannot find module 'tar'
            npm ERR! Require stack:
            npm ERR! - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js
            npm ERR! - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js
            npm ERR! - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
            npm ERR! at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
            npm ERR! at Module._load (node:internal/modules/cjs/loader:975:27)
            npm ERR! at Module.require (node:internal/modules/cjs/loader:1225:19)
            npm ERR! at require (node:internal/modules/helpers:177:18)
            npm ERR! at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js:12:31)
            npm ERR! at Module._compile (node:internal/modules/cjs/loader:1356:14)
            npm ERR! at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
            npm ERR! at Module.load (node:internal/modules/cjs/loader:1197:32)
            npm ERR! at Module._load (node:internal/modules/cjs/loader:1013:12)
            npm ERR! at Module.require (node:internal/modules/cjs/loader:1225:19) {
            npm ERR! code: 'MODULE_NOT_FOUND',
            npm ERR! requireStack: [
            npm ERR! '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js',
            npm ERR! '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js',
            npm ERR! '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
            npm ERR! ]
            npm ERR! }
            npm ERR!
            npm ERR! Node.js v18.19.0

            npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-01-17T19_59_00_782Z-debug-0.log

            danke schonmal.

            GlasfaserG 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @michael_schotthoefer sagte in Iobroker lässt sich nicht mehr starten.:

              Kernel : aarch64
              Userland : armhf

              Mix aus 32 und 64Bit. Installier das Betriebssystem NEU und sortenrein.
              Dann im neuen System deine Backups einspielen, fertig.

              M Offline
              M Offline
              Michael_Schotthoefer
              schrieb am zuletzt editiert von
              #6

              @thomas-braun
              hi thomas.
              heißt sd-karte formatieren und alles neu aufspielen?

              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • M Michael_Schotthoefer

                @thomas-braun
                hi thomas.
                heißt sd-karte formatieren und alles neu aufspielen?

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

                @michael_schotthoefer sagte in Iobroker lässt sich nicht mehr starten.:

                heißt sd-karte formatieren und alles neu aufspielen?

                Ich würde es auf eine konsistente und aktuelle Basis setzen.

                https://forum.iobroker.net/topic/51869/installation-auf-raspi-einfacher-geht-s-nicht

                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

                M 2 Antworten Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @michael_schotthoefer sagte in Iobroker lässt sich nicht mehr starten.:

                  heißt sd-karte formatieren und alles neu aufspielen?

                  Ich würde es auf eine konsistente und aktuelle Basis setzen.

                  https://forum.iobroker.net/topic/51869/installation-auf-raspi-einfacher-geht-s-nicht

                  M Offline
                  M Offline
                  Michael_Schotthoefer
                  schrieb am zuletzt editiert von
                  #8

                  @thomas-braun
                  dann werde ich das morgen mal angehen.
                  ich werde berichten.

                  danke schonmal.

                  1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @michael_schotthoefer sagte in Iobroker lässt sich nicht mehr starten.:

                    heißt sd-karte formatieren und alles neu aufspielen?

                    Ich würde es auf eine konsistente und aktuelle Basis setzen.

                    https://forum.iobroker.net/topic/51869/installation-auf-raspi-einfacher-geht-s-nicht

                    M Offline
                    M Offline
                    Michael_Schotthoefer
                    schrieb am zuletzt editiert von
                    #9

                    @thomas-braun

                    gibt es eine möglichkeit iobroker ein backup zu ziehen über putty?
                    habe backitup laufen gehabt aber habe nicht gemerkt das es schon länger nicht mehr sichert. habe über filezilla jetzt mal das ganze iobroker gesichert auf dem nas.
                    reicht das?

                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • M Michael_Schotthoefer

                      @thomas-braun

                      gibt es eine möglichkeit iobroker ein backup zu ziehen über putty?
                      habe backitup laufen gehabt aber habe nicht gemerkt das es schon länger nicht mehr sichert. habe über filezilla jetzt mal das ganze iobroker gesichert auf dem nas.
                      reicht das?

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

                      @michael_schotthoefer sagte in Iobroker lässt sich nicht mehr starten.:

                      gibt es eine möglichkeit iobroker ein backup zu ziehen über putty?

                      iobroker backup
                      

                      Datei liegt dann in /opt/iobroker/backups
                      Wobei ich mir halt auch anschauen würde, warum dein Backitup nicht funktioniert. Insgesamt scheint mir deine Kiste leicht zu hinken...

                      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

                      M 1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @michael_schotthoefer sagte in Iobroker lässt sich nicht mehr starten.:

                        Kernel : aarch64
                        Userland : armhf

                        Mix aus 32 und 64Bit. Installier das Betriebssystem NEU und sortenrein.
                        Dann im neuen System deine Backups einspielen, fertig.

                        M Offline
                        M Offline
                        Michael_Schotthoefer
                        schrieb am zuletzt editiert von
                        #11

                        @thomas-braun
                        wenn ich es richtig sehe benötige ich 64bit oder?

                        1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @michael_schotthoefer sagte in Iobroker lässt sich nicht mehr starten.:

                          gibt es eine möglichkeit iobroker ein backup zu ziehen über putty?

                          iobroker backup
                          

                          Datei liegt dann in /opt/iobroker/backups
                          Wobei ich mir halt auch anschauen würde, warum dein Backitup nicht funktioniert. Insgesamt scheint mir deine Kiste leicht zu hinken...

                          M Offline
                          M Offline
                          Michael_Schotthoefer
                          schrieb am zuletzt editiert von
                          #12

                          @thomas-braun
                          das hatte ich schon probiert.
                          geht leider nicht da anscheinend alles zerschossen ist.

                          Thomas BraunT 1 Antwort Letzte Antwort
                          0
                          • M Michael_Schotthoefer

                            @thomas-braun
                            das hatte ich schon probiert.
                            geht leider nicht da anscheinend alles zerschossen ist.

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

                            @michael_schotthoefer sagte in Iobroker lässt sich nicht mehr starten.:

                            geht leider nicht da anscheinend alles zerschossen ist.

                            Ja, wissen wir.

                            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

                            1 Antwort Letzte Antwort
                            0
                            • M Michael_Schotthoefer

                              @glasfaser
                              das kam dabei raus.


                              sudo -H -u iobroker npm install iobroker.js-controller
                              npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
                              npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                              npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
                              npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                              npm ERR! code 1
                              npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                              npm ERR! command failed
                              npm ERR! command sh -c node iobroker.js setup first
                              npm ERR! node:internal/modules/cjs/loader:1137
                              npm ERR! throw err;
                              npm ERR! ^
                              npm ERR!
                              npm ERR! Error: Cannot find module 'tar'
                              npm ERR! Require stack:
                              npm ERR! - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js
                              npm ERR! - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js
                              npm ERR! - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
                              npm ERR! at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
                              npm ERR! at Module._load (node:internal/modules/cjs/loader:975:27)
                              npm ERR! at Module.require (node:internal/modules/cjs/loader:1225:19)
                              npm ERR! at require (node:internal/modules/helpers:177:18)
                              npm ERR! at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js:12:31)
                              npm ERR! at Module._compile (node:internal/modules/cjs/loader:1356:14)
                              npm ERR! at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
                              npm ERR! at Module.load (node:internal/modules/cjs/loader:1197:32)
                              npm ERR! at Module._load (node:internal/modules/cjs/loader:1013:12)
                              npm ERR! at Module.require (node:internal/modules/cjs/loader:1225:19) {
                              npm ERR! code: 'MODULE_NOT_FOUND',
                              npm ERR! requireStack: [
                              npm ERR! '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js',
                              npm ERR! '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js',
                              npm ERR! '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                              npm ERR! ]
                              npm ERR! }
                              npm ERR!
                              npm ERR! Node.js v18.19.0

                              npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-01-17T19_59_00_782Z-debug-0.log

                              danke schonmal.

                              GlasfaserG Offline
                              GlasfaserG Offline
                              Glasfaser
                              schrieb am zuletzt editiert von
                              #14

                              @michael_schotthoefer

                              Kannst du etwas testen :

                              iob stop
                              iob fix  
                              iob nodejs-update
                              iob setup first
                              sudo reboot
                              

                              Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                              M 1 Antwort Letzte Antwort
                              0
                              • M Michael_Schotthoefer

                                Hi. Ich habe das Problem das mein Iobroker nicht mehr startet. Ich konnte schon feststellen das nodejs nicht richtig installiert war und konnte es fixen. Leider komme ich nun nicht mehr weiter.
                                Kann mir jemand noch helfen?

                                Anbei die Iobroker diag.


                                ======== Start marking the full check here =========

                                Skript v.2023-10-10
                                
                                *** BASE SYSTEM ***
                                   Static hostname: raspberrypi
                                         Icon name: computer
                                  Operating System: Raspbian GNU/Linux 11 (bullseye)
                                            Kernel: Linux 6.1.21-v8+
                                      Architecture: arm64
                                
                                Model           : Raspberry Pi 4 Model B Rev 1.5
                                Docker          : false
                                Virtualization  : none
                                Kernel          : aarch64
                                Userland        : armhf
                                
                                Systemuptime and Load:
                                 19:48:29 up 14 min,  1 user,  load average: 0.39, 0.50, 0.52
                                CPU threads: 4
                                
                                
                                *** RASPBERRY THROTTLING ***
                                Current issues:
                                No throttling issues detected.
                                
                                Previously detected issues:
                                No throttling issues detected.
                                
                                *** Time and Time Zones ***
                                               Local time: Wed 2024-01-17 19:48:29 GMT
                                           Universal time: Wed 2024-01-17 19:48:29 UTC
                                                 RTC time: n/a
                                                Time zone: Europe/London (GMT, +0000)
                                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:            7.8G        231M        6.8G        1.0M        796M        7.5G
                                Swap:            99M          0B         99M
                                Total:          7.9G        231M        6.9G
                                
                                         7812 M total memory
                                          231 M used memory
                                          421 M active memory
                                          411 M inactive memory
                                         6784 M free memory
                                           96 M buffer memory
                                          699 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
                                * grafana-server.service loaded failed failed Grafana instance
                                
                                LOAD   = Reflects whether the unit definition was properly loaded.
                                ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
                                SUB    = The low-level unit activation state, values depend on unit type.
                                1 loaded units listed.
                                
                                *** FILESYSTEM ***
                                Filesystem     Type      Size  Used Avail Use% Mounted on
                                /dev/root      ext4       29G   16G   13G  56% /
                                devtmpfs       devtmpfs  3.6G     0  3.6G   0% /dev
                                tmpfs          tmpfs     3.9G     0  3.9G   0% /dev/shm
                                tmpfs          tmpfs     1.6G  1.2M  1.6G   1% /run
                                tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
                                /dev/mmcblk0p1 vfat      255M   51M  205M  20% /boot
                                tmpfs          tmpfs     782M     0  782M   0% /run/user/1000
                                
                                Messages concerning ext4 filesystem in dmesg:
                                [Wed Jan 17 19:34:00 2024] 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=E4:5F:01:E1:AA:91 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=ad490bbd-02 rootfstype=ext4 fsck.repair=yes rootwait
                                [Wed Jan 17 19:34:01 2024] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
                                [Wed Jan 17 19:34:01 2024] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                                [Wed Jan 17 19:34:04 2024] 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:
                                7.7G    /var/
                                5.8G    /var/log
                                2.9G    /var/log/journal/2c760f47d5f741e395b4738f4f48cd7d
                                2.9G    /var/log/journal
                                1.4G    /var/lib
                                
                                Archived and active journals take up 2.8G in the file system.
                                
                                /opt/iobroker/backups:
                                257M    /opt/iobroker/backups/
                                
                                /opt/iobroker/iobroker-data:
                                1.7G    /opt/iobroker/iobroker-data/
                                926M    /opt/iobroker/iobroker-data/files
                                507M    /opt/iobroker/iobroker-data/history
                                136M    /opt/iobroker/iobroker-data/backup-objects
                                112M    /opt/iobroker/iobroker-data/files/vis-2-beta
                                
                                The five largest files in iobroker-data are:
                                94M     /opt/iobroker/iobroker-data/states.jsonl
                                46M     /opt/iobroker/iobroker-data/objects.jsonl
                                35M     /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map
                                33M     /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.1797d034.js.map
                                24M     /opt/iobroker/iobroker-data/files/echarts/static/js/main.2b7495c2.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
                                /usr/bin/npm            10.2.3
                                /usr/bin/npx            10.2.3
                                /usr/bin/corepack       0.22.0
                                
                                
                                nodejs:
                                  Installed: 18.19.0-1nodesource1
                                  Candidate: 18.19.0-1nodesource1
                                  Version table:
                                 *** 18.19.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                        100 /var/lib/dpkg/status
                                     18.18.2-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.18.1-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.18.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.17.1-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.17.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.16.1-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.16.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.15.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.14.2-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.14.1-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.14.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.13.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.12.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.11.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.10.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.9.1-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.9.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.8.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.7.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.6.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.5.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.4.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.3.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.2.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.1.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     18.0.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                     12.22.12~dfsg-1~deb11u4 500
                                        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                
                                Temp directories causing npm8 problem: 0
                                No problems detected
                                
                                Errors in npm tree:
                                npm ERR! code ELSPROBLEMS
                                npm ERR! extraneous: bufferutil@ /opt/iobroker/node_modules/bufferutil
                                npm ERR! extraneous: diskusage@ /opt/iobroker/node_modules/diskusage
                                npm ERR! missing: iobroker.admin@stable, required by iobroker.inst@3.0.0
                                npm ERR! missing: iobroker.backitup@stable, required by iobroker.inst@3.0.0
                                npm ERR! missing: iobroker.discovery@stable, required by iobroker.inst@3.0.0
                                npm ERR! missing: iobroker.js-controller@stable, required by iobroker.inst@3.0.0
                                npm ERR! extraneous: unix-dgram@ /opt/iobroker/node_modules/unix-dgram
                                
                                npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2024-01-17T19_48_37_592Z-debug-0.log
                                
                                *** ioBroker-Installation ***
                                
                                ioBroker Status
                                node:internal/modules/cjs/loader:1137
                                  throw err;
                                  ^
                                
                                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
                                    at Module._load (node:internal/modules/cjs/loader:975:27)
                                    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                    at node:internal/main/run_main_module:28:49 {
                                  code: 'MODULE_NOT_FOUND',
                                  requireStack: []
                                }
                                
                                Node.js v18.19.0
                                
                                Core adapters versions
                                node:internal/modules/cjs/loader:1137
                                  throw err;
                                  ^
                                
                                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
                                    at Module._load (node:internal/modules/cjs/loader:975:27)
                                    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                    at node:internal/main/run_main_module:28:49 {
                                  code: 'MODULE_NOT_FOUND',
                                  requireStack: []
                                }
                                
                                Node.js v18.19.0
                                js-controller:
                                node:internal/modules/cjs/loader:1137
                                  throw err;
                                  ^
                                
                                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
                                    at Module._load (node:internal/modules/cjs/loader:975:27)
                                    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                    at node:internal/main/run_main_module:28:49 {
                                  code: 'MODULE_NOT_FOUND',
                                  requireStack: []
                                }
                                
                                Node.js v18.19.0
                                admin:
                                node:internal/modules/cjs/loader:1137
                                  throw err;
                                  ^
                                
                                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
                                    at Module._load (node:internal/modules/cjs/loader:975:27)
                                    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                    at node:internal/main/run_main_module:28:49 {
                                  code: 'MODULE_NOT_FOUND',
                                  requireStack: []
                                }
                                
                                Node.js v18.19.0
                                javascript:
                                
                                npm ERR! code ELSPROBLEMS
                                npm ERR! extraneous: bufferutil@ /opt/iobroker/node_modules/bufferutil
                                npm ERR! extraneous: diskusage@ /opt/iobroker/node_modules/diskusage
                                npm ERR! missing: iobroker.admin@stable, required by iobroker.inst@3.0.0
                                npm ERR! missing: iobroker.backitup@stable, required by iobroker.inst@3.0.0
                                npm ERR! missing: iobroker.discovery@stable, required by iobroker.inst@3.0.0
                                npm ERR! missing: iobroker.js-controller@stable, required by iobroker.inst@3.0.0
                                npm ERR! extraneous: unix-dgram@ /opt/iobroker/node_modules/unix-dgram
                                
                                npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2024-01-17T19_48_40_428Z-debug-0.log
                                Adapters from github:   0
                                
                                Adapter State
                                node:internal/modules/cjs/loader:1137
                                  throw err;
                                  ^
                                
                                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
                                    at Module._load (node:internal/modules/cjs/loader:975:27)
                                    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                    at node:internal/main/run_main_module:28:49 {
                                  code: 'MODULE_NOT_FOUND',
                                  requireStack: []
                                }
                                
                                Node.js v18.19.0
                                
                                Enabled adapters with bindings
                                node:internal/modules/cjs/loader:1137
                                  throw err;
                                  ^
                                
                                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
                                    at Module._load (node:internal/modules/cjs/loader:975:27)
                                    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                    at node:internal/main/run_main_module:28:49 {
                                  code: 'MODULE_NOT_FOUND',
                                  requireStack: []
                                }
                                
                                Node.js v18.19.0
                                
                                ioBroker-Repositories
                                node:internal/modules/cjs/loader:1137
                                  throw err;
                                  ^
                                
                                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
                                    at Module._load (node:internal/modules/cjs/loader:975:27)
                                    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                    at node:internal/main/run_main_module:28:49 {
                                  code: 'MODULE_NOT_FOUND',
                                  requireStack: []
                                }
                                
                                Node.js v18.19.0
                                
                                Installed ioBroker-Instances
                                node:internal/modules/cjs/loader:1137
                                  throw err;
                                  ^
                                
                                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
                                    at Module._load (node:internal/modules/cjs/loader:975:27)
                                    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                    at node:internal/main/run_main_module:28:49 {
                                  code: 'MODULE_NOT_FOUND',
                                  requireStack: []
                                }
                                
                                Node.js v18.19.0
                                
                                Objects and States
                                Please stand by - This may take a while
                                Objects:        0
                                States:         0
                                
                                *** OS-Repositories and Updates ***
                                W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/enterprise/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                E: The repository 'https://packagecloud.io/ookla/speedtest-cli/raspbian bullseye Release' does not have a Release file.
                                W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                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:5038            0.0.0.0:*               LISTEN      111        14743      703/asterisk
                                tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          14559      521/sshd: /usr/sbin
                                tcp        0      0 127.0.0.1:8088          0.0.0.0:*               LISTEN      999        15797      709/influxd
                                tcp6       0      0 :::22                   :::*                    LISTEN      0          14569      521/sshd: /usr/sbin
                                tcp6       0      0 :::8086                 :::*                    LISTEN      999        3998       709/influxd
                                udp        0      0 0.0.0.0:5060            0.0.0.0:*                           111        14755      703/asterisk
                                udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        14476      392/avahi-daemon: r
                                udp        0      0 0.0.0.0:43427           0.0.0.0:*                           111        15744      703/asterisk
                                udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          15481      702/dhcpcd
                                udp        0      0 0.0.0.0:41192           0.0.0.0:*                           108        14478      392/avahi-daemon: r
                                udp        0      0 0.0.0.0:4569            0.0.0.0:*                           111        14756      703/asterisk
                                udp6       0      0 :::5353                 :::*                                108        14477      392/avahi-daemon: r
                                udp6       0      0 :::52261                :::*                                108        14479      392/avahi-daemon: r
                                udp6       0      0 :::48892                :::*                                111        15745      703/asterisk
                                udp6       0      0 :::546                  :::*                                0          15493      702/dhcpcd
                                
                                *** Log File - Last 25 Lines ***
                                
                                2024-01-17 09:35:29.341  - warn: myvbus.0 (2404) get state error: DB closed
                                2024-01-17 09:35:29.342  - warn: myvbus.0 (2404) get state error: DB closed
                                2024-01-17 09:35:29.343  - warn: myvbus.0 (2404) get state error: DB closed
                                2024-01-17 09:35:29.344  - warn: myvbus.0 (2404) get state error: DB closed
                                2024-01-17 09:35:29.345  - warn: myvbus.0 (2404) get state error: DB closed
                                2024-01-17 09:35:29.347  - warn: myvbus.0 (2404) get state error: DB closed
                                2024-01-17 09:35:29.347  - warn: myvbus.0 (2404) get state error: DB closed
                                2024-01-17 09:35:29.348  - warn: myvbus.0 (2404) get state error: DB closed
                                2024-01-17 09:35:29.348  - warn: myvbus.0 (2404) get state error: DB closed
                                2024-01-17 09:35:29.349  - warn: myvbus.0 (2404) get state error: DB closed
                                2024-01-17 09:35:29.352  - warn: myvbus.0 (2404) get state error: DB closed
                                2024-01-17 09:35:29.353  - warn: myvbus.0 (2404) get state error: DB closed
                                2024-01-17 09:35:29.354  - warn: myvbus.0 (2404) get state error: DB closed
                                2024-01-17 09:35:29.355  - warn: myvbus.0 (2404) get state error: DB closed
                                2024-01-17 09:35:29.355  - warn: myvbus.0 (2404) get state error: DB closed
                                2024-01-17 09:35:29.356  - warn: myvbus.0 (2404) get state error: DB closed
                                2024-01-17 09:35:29.356  - warn: myvbus.0 (2404) get state error: DB closed
                                2024-01-17 09:35:29.357  - warn: myvbus.0 (2404) get state error: DB closed
                                2024-01-17 09:35:29.358  - warn: myvbus.0 (2404) get state error: DB closed
                                2024-01-17 09:35:29.359  - warn: myvbus.0 (2404) get state error: DB closed
                                2024-01-17 09:35:29.359  - warn: myvbus.0 (2404) get state error: DB closed
                                2024-01-17 09:35:29.360  - warn: myvbus.0 (2404) get state error: DB closed
                                2024-01-17 09:35:29.360  - warn: myvbus.0 (2404) get state error: DB closed
                                2024-01-17 09:35:29.423  - error: upnp.0 (2300) Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                2024-01-17 09:35:33.763  - error: history.0 (1038) Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                
                                

                                ============ Mark until here for C&P =============

                                iob diag has finished.


                                Copy text starting here:

                                ======================= SUMMARY =======================
                                                        v.2023-10-10
                                
                                
                                   Static hostname: raspberrypi
                                         Icon name: computer
                                  Operating System: Raspbian GNU/Linux 11 (bullseye)
                                            Kernel: Linux 6.1.21-v8+
                                      Architecture: arm64
                                
                                Installation:           native
                                Kernel:                 aarch64
                                Userland:               armhf
                                Timezone:               Europe/London (GMT, +0000)
                                User-ID:                1000
                                X-Server:               false
                                Boot Target:            multi-user.target
                                
                                Pending OS-Updates:     0
                                node:internal/modules/cjs/loader:1137
                                  throw err;
                                  ^
                                
                                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
                                    at Module._load (node:internal/modules/cjs/loader:975:27)
                                    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                    at node:internal/main/run_main_module:28:49 {
                                  code: 'MODULE_NOT_FOUND',
                                  requireStack: []
                                }
                                
                                Node.js v18.19.0
                                Pending iob updates:    0
                                
                                Nodejs-Installation:    /usr/bin/nodejs         v18.19.0
                                                        /usr/bin/node           v18.19.0
                                                        /usr/bin/npm            10.2.3
                                                        /usr/bin/npx            10.2.3
                                                        /usr/bin/corepack       0.22.0
                                
                                Recommended versions are nodejs  and npm
                                Your nodejs installation is correct
                                
                                MEMORY:
                                               total        used        free      shared  buff/cache   available
                                Mem:            7.8G        233M        6.8G        1.0M        761M        7.5G
                                Swap:            99M          0B         99M
                                Total:          7.9G        233M        6.9G
                                
                                node:internal/modules/cjs/loader:1137
                                  throw err;
                                  ^
                                
                                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
                                    at Module._load (node:internal/modules/cjs/loader:975:27)
                                    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                    at node:internal/main/run_main_module:28:49 {
                                  code: 'MODULE_NOT_FOUND',
                                  requireStack: []
                                }
                                
                                Node.js v18.19.0
                                Active iob-Instances:   0
                                node:internal/modules/cjs/loader:1137
                                  throw err;
                                  ^
                                
                                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
                                    at Module._load (node:internal/modules/cjs/loader:975:27)
                                    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                    at node:internal/main/run_main_module:28:49 {
                                  code: 'MODULE_NOT_FOUND',
                                  requireStack: []
                                }
                                
                                Node.js v18.19.0
                                
                                node:internal/modules/cjs/loader:1137
                                  throw err;
                                  ^
                                
                                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
                                    at Module._load (node:internal/modules/cjs/loader:975:27)
                                    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                    at node:internal/main/run_main_module:28:49 {
                                  code: 'MODULE_NOT_FOUND',
                                  requireStack: []
                                }
                                
                                Node.js v18.19.0
                                ioBroker Core:          js-controller
                                node:internal/modules/cjs/loader:1137
                                  throw err;
                                  ^
                                
                                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
                                    at Module._load (node:internal/modules/cjs/loader:975:27)
                                    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                    at node:internal/main/run_main_module:28:49 {
                                  code: 'MODULE_NOT_FOUND',
                                  requireStack: []
                                }
                                
                                Node.js v18.19.0
                                                        admin
                                
                                node:internal/modules/cjs/loader:1137
                                  throw err;
                                  ^
                                
                                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
                                    at Module._load (node:internal/modules/cjs/loader:975:27)
                                    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                    at node:internal/main/run_main_module:28:49 {
                                  code: 'MODULE_NOT_FOUND',
                                  requireStack: []
                                }
                                
                                Node.js v18.19.0
                                ioBroker Status:
                                
                                Status admin and web instance:
                                node:internal/modules/cjs/loader:1137
                                  throw err;
                                  ^
                                
                                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
                                    at Module._load (node:internal/modules/cjs/loader:975:27)
                                    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                    at node:internal/main/run_main_module:28:49 {
                                  code: 'MODULE_NOT_FOUND',
                                  requireStack: []
                                }
                                
                                Node.js v18.19.0
                                
                                Objects:                0
                                States:                 0
                                
                                Size of iob-Database:
                                
                                46M     /opt/iobroker/iobroker-data/objects.jsonl
                                94M     /opt/iobroker/iobroker-data/states.jsonl
                                
                                
                                
                                =================== END OF SUMMARY ====================
                                

                                === Mark text until here for copying ===

                                Danke schonmal für eure Hilfe.

                                Gruß
                                Michael

                                GlasfaserG Offline
                                GlasfaserG Offline
                                Glasfaser
                                schrieb am zuletzt editiert von
                                #15

                                @michael_schotthoefer sagte in Iobroker lässt sich nicht mehr starten.:

                                readonly on device

                                Hast du den Netz-Stecker gezogen !?

                                Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                1 Antwort Letzte Antwort
                                0
                                • GlasfaserG Glasfaser

                                  @michael_schotthoefer

                                  Kannst du etwas testen :

                                  iob stop
                                  iob fix  
                                  iob nodejs-update
                                  iob setup first
                                  sudo reboot
                                  
                                  M Offline
                                  M Offline
                                  Michael_Schotthoefer
                                  schrieb am zuletzt editiert von Homoran
                                  #16

                                  @glasfaser sagte in Iobroker lässt sich nicht mehr starten.:

                                  @michael_schotthoefer

                                  Kannst du etwas testen :

                                  iob stop
                                  iob fix  
                                  iob nodejs-update
                                  iob setup first
                                  sudo reboot
                                  

                                  habe es getestet. das kam dabei raus.

                                   ioBroker nodejs updater 2023-10-13
                                  No recommendation for a nodejs version found on your system. We recommend to install latest version from nodejs v18 tree.
                                  
                                  Your current setup is:
                                  /usr/bin/nodejs         v18.19.0
                                  /usr/bin/node           v18.19.0
                                  /usr/bin/npm            10.2.3
                                  /usr/bin/npx            10.2.3
                                  /usr/bin/corepack       0.22.0
                                  
                                  We found these nodejs versions available for installation:
                                  
                                  nodejs:
                                    Installed: 18.19.0-1nodesource1
                                    Candidate: 18.19.0-1nodesource1
                                    Version table:
                                   *** 18.19.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                          100 /var/lib/dpkg/status
                                       18.18.2-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.18.1-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.18.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.17.1-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.17.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.16.1-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.16.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.15.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.14.2-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.14.1-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.14.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.13.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.12.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.11.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.10.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.9.1-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.9.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.8.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.7.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.6.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.5.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.4.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.3.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.2.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.1.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       18.0.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                       12.22.12~dfsg-1~deb11u4 500
                                          500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                  
                                  
                                  
                                  Nothing to do - Your installation is using the correct paths.
                                  
                                  You are running nodejs v18.19.0. Do you want to install latest version from nodejs v.18 tree?
                                  
                                  Press <y> to continue or any other key to quit
                                  Trying to update your installation now. Please be patient.
                                  
                                  Waiting for ioBroker to shut down - Give me a minute...
                                  ############################################################
                                  
                                  *** These repos are active on your system:
                                  Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                                  Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                  Get:3 https://packages.grafana.com/enterprise/deb stable InRelease [5984 B]
                                  Err:3 https://packages.grafana.com/enterprise/deb stable InRelease
                                    The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                  Ign:4 https://packagecloud.io/ookla/speedtest-cli/raspbian bullseye InRelease
                                  Err:5 https://packagecloud.io/ookla/speedtest-cli/raspbian bullseye Release
                                    404  Not Found [IP: 2600:1f1c:2e5:6900:e12:7a5d:4cf3:3662 443]
                                  Reading package lists... Done
                                  W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/enterprise/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                  E: The repository 'https://packagecloud.io/ookla/speedtest-cli/raspbian bullseye Release' does not have a Release file.
                                  N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                                  N: See apt-secure(8) manpage for repository creation and user configuration details.
                                  W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                  W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                  W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                  
                                  *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                                  
                                  *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
                                  
                                  deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
                                  Package: nodejs
                                  Pin: origin deb.nodesource.com
                                  Pin-Priority: 1001
                                  
                                  *** These repos are active after the adjustments:
                                  Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                                  Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                  Get:3 https://packages.grafana.com/enterprise/deb stable InRelease [5984 B]
                                  Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
                                  Err:3 https://packages.grafana.com/enterprise/deb stable InRelease
                                    The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                  Ign:5 https://packagecloud.io/ookla/speedtest-cli/raspbian bullseye InRelease
                                  Err:6 https://packagecloud.io/ookla/speedtest-cli/raspbian bullseye Release
                                    404  Not Found [IP: 2600:1f1c:2e5:6900:e12:7a5d:4cf3:3662 443]
                                  Reading package lists... Done
                                  W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/enterprise/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                  E: The repository 'https://packagecloud.io/ookla/speedtest-cli/raspbian bullseye Release' does not have a Release file.
                                  N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                                  N: See apt-secure(8) manpage for repository creation and user configuration details.
                                  W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                  W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                  W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                  
                                  Installing the recommended nodejs version now!
                                  
                                  Exact recommended version unknown, installing a fallback!
                                  dpkg: warning: downgrading nodejs from 18.19.0-1nodesource1 to 18.0.0-1nodesource1
                                  (Reading database ... 67384 files and directories currently installed.)
                                  Preparing to unpack .../nodejs_18.0.0-1nodesource1_armhf.deb ...
                                  Detected old npm client, removing...
                                  Unpacking nodejs (18.0.0-1nodesource1) over (18.19.0-1nodesource1) ...
                                  Setting up nodejs (18.0.0-1nodesource1) ...
                                  Processing triggers for man-db (2.9.4-2) ...
                                  
                                  Updating fallback to latest nodejs v18 release
                                  W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/enterprise/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                  E: The repository 'https://packagecloud.io/ookla/speedtest-cli/raspbian bullseye Release' does not have a Release file.
                                  W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                  W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                  W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                  (Reading database ... 67647 files and directories currently installed.)
                                  Preparing to unpack .../nodejs_18.19.0-1nodesource1_armhf.deb ...
                                  Detected old npm client, removing...
                                  Unpacking nodejs (18.19.0-1nodesource1) over (18.0.0-1nodesource1) ...
                                  Setting up nodejs (18.19.0-1nodesource1) ...
                                  Processing triggers for man-db (2.9.4-2) ...
                                  v18.19.0 has been installed! You are using the latest version now!
                                  Installing the recommended nodejs version!
                                  W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/enterprise/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                  E: The repository 'https://packagecloud.io/ookla/speedtest-cli/raspbian bullseye Release' does not have a Release file.
                                  W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                  W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                  W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                  
                                  We tried our best to update or fix your nodejs. Please run iob diag again to verify.
                                  
                                  *** RESTARTING ioBroker NOW! ***
                                   Please refresh or restart your browser in a few moments.
                                  
                                  pi@raspberrypi:~ $ iob setup first
                                  node:internal/modules/cjs/loader:1137
                                    throw err;
                                    ^
                                  
                                  Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                      at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
                                      at Module._load (node:internal/modules/cjs/loader:975:27)
                                      at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                      at node:internal/main/run_main_module:28:49 {
                                    code: 'MODULE_NOT_FOUND',
                                    requireStack: []
                                  }
                                  
                                  Node.js v18.19.0
                                  

                                  danke für die vielen hilfen von euch.

                                  GlasfaserG 1 Antwort Letzte Antwort
                                  0
                                  • M Michael_Schotthoefer

                                    @glasfaser sagte in Iobroker lässt sich nicht mehr starten.:

                                    @michael_schotthoefer

                                    Kannst du etwas testen :

                                    iob stop
                                    iob fix  
                                    iob nodejs-update
                                    iob setup first
                                    sudo reboot
                                    

                                    habe es getestet. das kam dabei raus.

                                     ioBroker nodejs updater 2023-10-13
                                    No recommendation for a nodejs version found on your system. We recommend to install latest version from nodejs v18 tree.
                                    
                                    Your current setup is:
                                    /usr/bin/nodejs         v18.19.0
                                    /usr/bin/node           v18.19.0
                                    /usr/bin/npm            10.2.3
                                    /usr/bin/npx            10.2.3
                                    /usr/bin/corepack       0.22.0
                                    
                                    We found these nodejs versions available for installation:
                                    
                                    nodejs:
                                      Installed: 18.19.0-1nodesource1
                                      Candidate: 18.19.0-1nodesource1
                                      Version table:
                                     *** 18.19.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                            100 /var/lib/dpkg/status
                                         18.18.2-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.18.1-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.18.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.17.1-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.17.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.16.1-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.16.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.15.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.14.2-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.14.1-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.14.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.13.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.12.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.11.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.10.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.9.1-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.9.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.8.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.7.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.6.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.5.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.4.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.3.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.2.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.1.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.0.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         12.22.12~dfsg-1~deb11u4 500
                                            500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                    
                                    
                                    
                                    Nothing to do - Your installation is using the correct paths.
                                    
                                    You are running nodejs v18.19.0. Do you want to install latest version from nodejs v.18 tree?
                                    
                                    Press <y> to continue or any other key to quit
                                    Trying to update your installation now. Please be patient.
                                    
                                    Waiting for ioBroker to shut down - Give me a minute...
                                    ############################################################
                                    
                                    *** These repos are active on your system:
                                    Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                                    Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                    Get:3 https://packages.grafana.com/enterprise/deb stable InRelease [5984 B]
                                    Err:3 https://packages.grafana.com/enterprise/deb stable InRelease
                                      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                    Ign:4 https://packagecloud.io/ookla/speedtest-cli/raspbian bullseye InRelease
                                    Err:5 https://packagecloud.io/ookla/speedtest-cli/raspbian bullseye Release
                                      404  Not Found [IP: 2600:1f1c:2e5:6900:e12:7a5d:4cf3:3662 443]
                                    Reading package lists... Done
                                    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/enterprise/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                    E: The repository 'https://packagecloud.io/ookla/speedtest-cli/raspbian bullseye Release' does not have a Release file.
                                    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                                    N: See apt-secure(8) manpage for repository creation and user configuration details.
                                    W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                    W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                    W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                    
                                    *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                                    
                                    *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
                                    
                                    deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
                                    Package: nodejs
                                    Pin: origin deb.nodesource.com
                                    Pin-Priority: 1001
                                    
                                    *** These repos are active after the adjustments:
                                    Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                                    Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                    Get:3 https://packages.grafana.com/enterprise/deb stable InRelease [5984 B]
                                    Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
                                    Err:3 https://packages.grafana.com/enterprise/deb stable InRelease
                                      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                    Ign:5 https://packagecloud.io/ookla/speedtest-cli/raspbian bullseye InRelease
                                    Err:6 https://packagecloud.io/ookla/speedtest-cli/raspbian bullseye Release
                                      404  Not Found [IP: 2600:1f1c:2e5:6900:e12:7a5d:4cf3:3662 443]
                                    Reading package lists... Done
                                    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/enterprise/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                    E: The repository 'https://packagecloud.io/ookla/speedtest-cli/raspbian bullseye Release' does not have a Release file.
                                    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                                    N: See apt-secure(8) manpage for repository creation and user configuration details.
                                    W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                    W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                    W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                    
                                    Installing the recommended nodejs version now!
                                    
                                    Exact recommended version unknown, installing a fallback!
                                    dpkg: warning: downgrading nodejs from 18.19.0-1nodesource1 to 18.0.0-1nodesource1
                                    (Reading database ... 67384 files and directories currently installed.)
                                    Preparing to unpack .../nodejs_18.0.0-1nodesource1_armhf.deb ...
                                    Detected old npm client, removing...
                                    Unpacking nodejs (18.0.0-1nodesource1) over (18.19.0-1nodesource1) ...
                                    Setting up nodejs (18.0.0-1nodesource1) ...
                                    Processing triggers for man-db (2.9.4-2) ...
                                    
                                    Updating fallback to latest nodejs v18 release
                                    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/enterprise/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                    E: The repository 'https://packagecloud.io/ookla/speedtest-cli/raspbian bullseye Release' does not have a Release file.
                                    W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                    W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                    W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                    (Reading database ... 67647 files and directories currently installed.)
                                    Preparing to unpack .../nodejs_18.19.0-1nodesource1_armhf.deb ...
                                    Detected old npm client, removing...
                                    Unpacking nodejs (18.19.0-1nodesource1) over (18.0.0-1nodesource1) ...
                                    Setting up nodejs (18.19.0-1nodesource1) ...
                                    Processing triggers for man-db (2.9.4-2) ...
                                    v18.19.0 has been installed! You are using the latest version now!
                                    Installing the recommended nodejs version!
                                    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/enterprise/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                    E: The repository 'https://packagecloud.io/ookla/speedtest-cli/raspbian bullseye Release' does not have a Release file.
                                    W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                    W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                    W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                                    
                                    We tried our best to update or fix your nodejs. Please run iob diag again to verify.
                                    
                                    *** RESTARTING ioBroker NOW! ***
                                     Please refresh or restart your browser in a few moments.
                                    
                                    pi@raspberrypi:~ $ iob setup first
                                    node:internal/modules/cjs/loader:1137
                                      throw err;
                                      ^
                                    
                                    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                        at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
                                        at Module._load (node:internal/modules/cjs/loader:975:27)
                                        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                        at node:internal/main/run_main_module:28:49 {
                                      code: 'MODULE_NOT_FOUND',
                                      requireStack: []
                                    }
                                    
                                    Node.js v18.19.0
                                    

                                    danke für die vielen hilfen von euch.

                                    GlasfaserG Offline
                                    GlasfaserG Offline
                                    Glasfaser
                                    schrieb am zuletzt editiert von
                                    #17

                                    @michael_schotthoefer

                                    der letzte Befehl war

                                    sudo reboot
                                    

                                    und jetzt

                                    cd /opt/iobroker
                                    sudo -H -u iobroker npm install iobroker.js-controller@5.0.17
                                    

                                    Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                    M 1 Antwort Letzte Antwort
                                    0
                                    • GlasfaserG Glasfaser

                                      @michael_schotthoefer

                                      der letzte Befehl war

                                      sudo reboot
                                      

                                      und jetzt

                                      cd /opt/iobroker
                                      sudo -H -u iobroker npm install iobroker.js-controller@5.0.17
                                      
                                      M Offline
                                      M Offline
                                      Michael_Schotthoefer
                                      schrieb am zuletzt editiert von
                                      #18

                                      @glasfaser sagte in Iobroker lässt sich nicht mehr starten.:

                                      @michael_schotthoefer

                                      der letzte Befehl war

                                      sudo reboot
                                      

                                      und jetzt

                                      cd /opt/iobroker
                                      sudo -H -u iobroker npm install iobroker.js-controller@5.0.17
                                      

                                      hat leider nicht funktioniert.

                                      crunchipC 1 Antwort Letzte Antwort
                                      0
                                      • M Michael_Schotthoefer

                                        @glasfaser sagte in Iobroker lässt sich nicht mehr starten.:

                                        @michael_schotthoefer

                                        der letzte Befehl war

                                        sudo reboot
                                        

                                        und jetzt

                                        cd /opt/iobroker
                                        sudo -H -u iobroker npm install iobroker.js-controller@5.0.17
                                        

                                        hat leider nicht funktioniert.

                                        crunchipC Abwesend
                                        crunchipC Abwesend
                                        crunchip
                                        Forum Testing Most Active
                                        schrieb am zuletzt editiert von
                                        #19

                                        @michael_schotthoefer sagte in Iobroker lässt sich nicht mehr starten.:

                                        hat leider nicht funktioniert

                                        Warum? MELDUNGEN?

                                        umgestiegen von Proxmox auf Unraid

                                        B 2 Antworten Letzte Antwort
                                        0
                                        • crunchipC crunchip

                                          @michael_schotthoefer sagte in Iobroker lässt sich nicht mehr starten.:

                                          hat leider nicht funktioniert

                                          Warum? MELDUNGEN?

                                          B Offline
                                          B Offline
                                          Borkenkäfer
                                          schrieb am zuletzt editiert von
                                          #20

                                          @crunchip
                                          hallo
                                          hänge mich hier mal rein da ich gleichen Fehlermeldungen habe
                                          nach reboot und dem install iobroker.js-controller@5.0.17 komt
                                          npm ERR! invalid Version
                                          < cd /opt/iobroker
                                          ulli@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller@5.0.17
                                          npm ERR! Invalid Version:

                                          npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-01-22T17_03_13_632Z-debug-0.log>

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


                                          Support us

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

                                          839

                                          Online

                                          32.5k

                                          Benutzer

                                          81.8k

                                          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