NEWS
ebus Adapter Fehlermeldung
-
Ich richte derzeit ein neues System ein und möchte meinen Ebusd-Adapter auslesen. Auf dem Adapter von John ist die Version 24.1 installiert. Die Ebusd-Software läuft auf dem gleichen System, auf dem auch ioBroker installiert ist. Wenn ich im Terminal den Status abfrage, werden die CSV-Dateien erfolgreich geladen und ich kann alle Ausgaben des Adapters einsehen.
Jedoch stoße ich auf ein Problem: Wenn ich den Ebus-Adapter in der Version 3.4.0 in ioBroker installiere und starte, erhalte ich ständig die folgende Fehlermeldung:
error: ebus.0 (40174) TypeError: Cannot read properties of undefined (reading 'split') at FillPolledVars (/opt/iobroker/node_modules/iobroker.ebus/main.js:211:53) at main (/opt/iobroker/node_modules/iobroker.ebus/main.js:97:5) at Object.ready (/opt/iobroker/node_modules/iobroker.ebus/main.js:32:17) at AdapterClass._callReadyHandler (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js:7808:23) at AdapterClass._initAdapter (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js:7793:12)
========== Start marking the full check here ===========
Script v.2024-10-19 *** BASE SYSTEM *** Static hostname: iobroker Icon name: computer-container Chassis: container ☐ Virtualization: lxc Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.8.12-4-pve Architecture: x86-64 OS is similar to: model name : Intel(R) Core(TM) i7-8700T CPU @ 2.40GHz Docker : false Virtualization : lxc Kernel : x86_64 Userland : 64 bit Systemuptime and Load: 23:08:15 up 20 days, 2:31, 2 users, load average: 0.06, 0.10, 0.07 CPU threads: 12 *** LIFE CYCLE STATUS *** Unknown release codenamed ''. Please check yourself if the Operating System is actively maintained. *** TIME AND TIMEZONES *** Local time: Fri 2024-12-27 23:08:15 CET Universal time: Fri 2024-12-27 22:08:15 UTC RTC time: n/a Time zone: Europe/Berlin (CET, +0100) System clock synchronized: yes NTP service: inactive RTC in local TZ: no *** Users and Groups *** User that called 'iob diag': saltevog HOME=/home/saltevog GROUPS=saltevog sudo users iobroker User that is running 'js-controller': iobroker HOME=/home/iobroker GROUPS=iobroker tty dialout audio video plugdev *** DISPLAY-SERVER SETUP *** Display-Server: false Desktop: Terminal: tty *** MEMORY *** total used free shared buff/cache available Mem: 4.3G 735M 1.3G 151K 2.3G 3.6G Swap: 536M 0B 536M Total: 4.8G 735M 1.8G Active iob-Instances: 7 4096 M total memory 701 M used memory 853 M active memory 1849 M inactive memory 1204 M free memory 0 M buffer memory 2189 M swap cache 512 M total swap 0 M used swap 512 M free swap *** top - Table Of Processes *** top - 23:08:15 up 20 days, 2:31, 2 users, load average: 0.06, 0.10, 0.07 Tasks: 41 total, 1 running, 40 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 4096.0 total, 1202.9 free, 703.2 used, 2190.0 buff/cache MiB Swap: 512.0 total, 512.0 free, 0.0 used. 3392.8 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION * run-rpc_pipefs.mount loaded failed failed RPC Pipe File System * logrotate.service loaded failed failed Rotate log files 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. 2 loaded units listed. *** DMESG CRITICAL ERRORS *** dmesg: read kernel buffer failed: Operation not permitted No critical errors detected *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/pve-vm--100--disk--0 ext4 63G 3.8G 56G 7% / none tmpfs 492K 4.0K 488K 1% /dev udev devtmpfs 7.8G 0 7.8G 0% /dev/tty tmpfs tmpfs 7.8G 0 7.8G 0% /dev/shm tmpfs tmpfs 3.1G 144K 3.1G 1% /run tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs tmpfs 1.6G 0 1.6G 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: dmesg: read kernel buffer failed: Operation not permitted Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/mapper/pve-vm--100--disk--0 ext4 rw,relatime,stripe=16 Files in neuralgic directories: /var: 440M /var/ 252M /var/cache 247M /var/cache/apt 172M /var/cache/apt/archives 147M /var/lib Hint: You are currently not seeing messages from other users and the system. Users in groups 'adm', 'systemd-journal' can see all messages. Pass -q to turn off this notice. Archived and active journals take up 8.0M in the file system. /opt/iobroker/backups: 17M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 795M /opt/iobroker/iobroker-data/ 718M /opt/iobroker/iobroker-data/files 617M /opt/iobroker/iobroker-data/files/javascript.admin 560M /opt/iobroker/iobroker-data/files/javascript.admin/static 558M /opt/iobroker/iobroker-data/files/javascript.admin/static/js The five largest files in iobroker-data are: 31M /opt/iobroker/iobroker-data/objects.jsonl 24M /opt/iobroker/iobroker-data/files/scenes.admin/static/js/main.c9369f6c.js.map 12M /opt/iobroker/iobroker-data/files/backitup.admin/static/js/main.bd24114f.js 8.7M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/838.0aa41cb0.chunk.js.map 8.6M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/310.89a60ae1.chunk.js.map USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id': No Devices found 'by-id' *** NodeJS-Installation *** /usr/bin/nodejs v20.18.1 /usr/bin/node v20.18.1 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.29.4 nodejs: Installed: 20.18.1-1nodesource1 Candidate: 20.18.1-1nodesource1 Version table: *** 20.18.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 100 /var/lib/dpkg/status 20.18.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.15.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.13.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.2-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.11.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.8.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.6.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.5.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.3.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 18.19.0+dfsg-6~deb12u2 500 500 http://deb.debian.org/debian bookworm/main amd64 Packages 18.19.0+dfsg-6~deb12u1 500 500 http://security.debian.org bookworm-security/main amd64 Packages Temp directories causing deletion problem: 0 No problems detected Errors in npm tree: 0 No problems detected *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Hosts: iobroker iobroker (version: 7.0.6, hostname: iobroker , alive, uptime: 1306) Core adapters versions js-controller: 7.0.6 admin: 7.1.5 javascript: 8.8.3 nodejs modules from github: 0 Adapter State + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.backitup.0 : backitup : iobroker - enabled + system.adapter.discovery.0 : discovery : iobroker - enabled system.adapter.ebus.0 : ebus : iobroker - enabled + system.adapter.javascript.0 : javascript : iobroker - enabled + system.adapter.notification-manager.0 : notification-manager : iobroker - enabled + system.adapter.scenes.0 : scenes : iobroker - enabled system.adapter.telegram.0 : telegram : iobroker - disabled, port: 8443, bind: 0.0.0.0 + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin ioBroker-Repositories ┌─────────┬──────────┬─────────────────────────────────────────────────────────┬──────────────┐ │ (index) │ name │ url │ auto upgrade │ ├─────────┼──────────┼─────────────────────────────────────────────────────────┼──────────────┤ │ 0 │ 'stable' │ 'http://download.iobroker.net/sources-dist.json' │ false │ │ 1 │ 'beta' │ 'http://download.iobroker.net/sources-dist-latest.json' │ false │ └─────────┴──────────┴─────────────────────────────────────────────────────────┴──────────────┘ Active repo(s): stable Upgrade policy: none Installed ioBroker-Instances Used repository: stable Adapter "admin" : 7.1.5 , installed 7.1.5 Adapter "backitup" : 3.0.25 , installed 3.0.25 Adapter "discovery" : 5.0.0 , installed 5.0.0 Adapter "ebus" : 3.4.0 , installed 3.4.0 Adapter "javascript" : 8.8.3 , installed 8.8.3 Controller "js-controller": 7.0.6 , installed 7.0.6 Adapter "notification-manager": 1.2.1, installed 1.2.1 Adapter "scenes" : 3.2.3 , installed 3.2.3 Adapter "telegram" : 3.9.0 , installed 3.9.0 Objects and States Please stand by - This may take a while Objects: 294 States: 182 *** OS-Repositories and Updates *** Hit:1 http://security.debian.org bookworm-security InRelease Hit:2 http://deb.debian.org/debian bookworm InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease Hit:5 https://repo.ebusd.eu/apt/default/bookworm bookworm InRelease Reading package lists... Pending Updates: 0 *** Listening Ports *** Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 0.0.0.0:8888 0.0.0.0:* LISTEN 0 35344734 40030/ebusd tcp 0 0 0.0.0.0:8889 0.0.0.0:* LISTEN 0 35344735 40030/ebusd tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 209242 1/init tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 168172 298/master tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 35322054 39428/iobroker.js-c tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 35322059 39428/iobroker.js-c tcp6 0 0 :::111 :::* LISTEN 0 209244 1/init tcp6 0 0 :::22 :::* LISTEN 0 168100 1/init tcp6 0 0 ::1:25 :::* LISTEN 0 168173 298/master tcp6 0 0 :::8081 :::* LISTEN 1001 35333571 39885/io.admin.0 udp 0 0 0.0.0.0:68 0.0.0.0:* 0 159425 87/dhclient udp 0 0 0.0.0.0:111 0.0.0.0:* 0 209243 1/init udp6 0 0 :::111 :::* 0 209245 1/init *** Log File - Last 25 Lines *** 2024-12-27 23:03:19.093 - error: ebus.0 (40159) Cannot read properties of undefined (reading 'split') 2024-12-27 23:03:19.097 - info: ebus.0 (40159) cleaned everything up... 2024-12-27 23:03:19.097 - info: ebus.0 (40159) terminating 2024-12-27 23:03:19.097 - warn: ebus.0 (40159) Terminated (UNCAUGHT_EXCEPTION): Without reason 2024-12-27 23:03:19.598 - info: ebus.0 (40159) terminating 2024-12-27 23:03:19.610 - error: host.iobroker instance system.adapter.ebus.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2024-12-27 23:03:19.610 - info: host.iobroker Restart adapter system.adapter.ebus.0 because enabled 2024-12-27 23:03:49.830 - info: host.iobroker instance system.adapter.ebus.0 in version "3.4.0" started with pid 40174 2024-12-27 23:03:50.228 - info: ebus.0 (40174) starting. Version 3.4.0 in /opt/iobroker/node_modules/iobroker.ebus, node: v20.18.1, js-controller: 7.0.6 2024-12-27 23:03:50.234 - error: ebus.0 (40174) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2024-12-27 23:03:50.235 - error: ebus.0 (40174) unhandled promise rejection: Cannot read properties of undefined (reading 'split') 2024-12-27 23:03:50.235 - error: ebus.0 (40174) TypeError: Cannot read properties of undefined (reading 'split') at FillPolledVars (/opt/iobroker/node_modules/iobroker.ebus/main.js:211:53) at main (/opt/iobroker/node_modules/iobroker.ebus/main.js:97:5) at Object.ready (/opt/iobroker/node_modules/iobroker.ebus/main.js:32:17) at AdapterClass._callReadyHandler (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js:7808:23) at AdapterClass._initAdapter (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js:7793:12) 2024-12-27 23:03:50.235 - error: ebus.0 (40174) Cannot read properties of undefined (reading 'split') 2024-12-27 23:03:50.239 - info: ebus.0 (40174) cleaned everything up... 2024-12-27 23:03:50.239 - info: ebus.0 (40174) terminating 2024-12-27 23:03:50.239 - warn: ebus.0 (40174) Terminated (UNCAUGHT_EXCEPTION): Without reason 2024-12-27 23:03:50.740 - info: ebus.0 (40174) terminating 2024-12-27 23:03:50.752 - error: host.iobroker instance system.adapter.ebus.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2024-12-27 23:03:50.752 - info: host.iobroker Restart adapter system.adapter.ebus.0 because enabled 2024-12-27 23:03:50.752 - warn: host.iobroker Do not restart adapter system.adapter.ebus.0 because restart loop detected
============ Mark until here for C&P =============```
-
Ich habe jetzt den ebus Adapter in der Version 3.3.8 installiert, hier bekomme ich keine Fehlermeldung mehr.