NEWS
Adapter ws und socketio
-
Moin @ All @apollon77
Bin vorgestern auch in die admin@6.17.5 Falle gekommen.
Danach ging nichts mehr.
Also habe ich mal den iobroker komplett neu aufgesetzt und ein Backup eingespielt.
Nun habe ich ein Problem. Der ws oder socketio Adapter startet nicht mehr.
Habe nun den web Adapter auf integriert eingestellt. Das klappt.
Und falls jemand fragen sollte, NEIN, geht auch nicht mit nodejs 18
Aber irgend etwas scheint ja nicht in Ordnung:
Cannot create webserver: TypeError: Cannot read properties of undefined (reading 'createServerAsync')└─┬ iobroker.ws@2.5.11 │ └── @iobroker/adapter-core@3.1.4 deduped
host.rockpro64 2024-04-21 09:21:33.857 info Do not restart adapter system.adapter.ws.0 because desired by instance host.rockpro64 2024-04-21 09:21:33.857 info instance system.adapter.ws.0 terminated by request of the instance itself and will not be restarted, before user restarts it. ws.0 2024-04-21 09:21:33.070 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason ws.0 2024-04-21 09:21:33.067 error Cannot create webserver: TypeError: Cannot read properties of undefined (reading 'createServerAsync') ws.0 2024-04-21 09:21:33.019 info starting. Version 2.5.11 in /opt/iobroker/node_modules/iobroker.ws, node: v20.12.2, js-controller: 5.0.19 host.rockpro64 2024-04-21 09:21:29.862 info instance system.adapter.ws.0 started with pid 423600
-
@apollon77
Neue Adapter Version ws@2.6.0 installiert.
Nun kommt eine neue Fehlermeldung:
Cannot create webserver: TypeError: WebServer is not a constructorhost.rockpro64 2024-04-22 07:59:13.454 info Do not restart adapter system.adapter.ws.0 because desired by instance host.rockpro64 2024-04-22 07:59:13.454 info instance system.adapter.ws.0 terminated by request of the instance itself and will not be restarted, before user restarts it. ws.0 2024-04-22 07:59:12.660 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason ws.0 2024-04-22 07:59:12.657 error Cannot create webserver: TypeError: WebServer is not a constructor ws.0 2024-04-22 07:59:12.609 info starting. Version 2.6.0 in /opt/iobroker/node_modules/iobroker.ws, node: v20.12.2, js-controller: 5.0.19 host.rockpro64 2024-04-22 07:59:09.777 info instance system.adapter.ws.0 started with pid 680956
-
So startet der bei mir auf:
2024-04-22 07:24:11.194 - info: ws.0 (1655) Got terminate signal TERMINATE_YOURSELF 2024-04-22 07:24:11.205 - info: ws.0 (1655) terminating http server on port 8084 2024-04-22 07:24:11.206 - info: ws.0 (1655) terminating 2024-04-22 07:24:11.209 - info: ws.0 (1655) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2024-04-22 07:24:22.944 - error: cloud.0 (1069) Instance web.0 not enabled. Please enable this instance for cloud 2024-04-22 07:24:22.956 - info: cloud.0 (1069) Reconnect because web instance stopped 2024-04-22 07:24:22.985 - info: cloud.0 (1069) Reconnect because web instance started 2024-04-22 07:24:23.003 - info: cloud.0 (1069) Trying to connect as system.user.admin to cloud 2024-04-22 07:24:23.006 - info: cloud.0 (1069) Trying to connect as system.user.admin to cloud 2024-04-22 07:24:22.967 - info: web.0 (20567) Got terminate signal TERMINATE_YOURSELF 2024-04-22 07:24:23.098 - warn: web.0 (20567) setTimeout called, but adapter is shutting down 2024-04-22 07:24:23.104 - info: web.0 (20567) Got terminate signal TERMINATE_YOURSELF 2024-04-22 07:24:23.599 - info: web.0 (20567) terminating 2024-04-22 07:24:23.602 - info: web.0 (20567) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2024-04-22 07:24:27.043 - info: ws.0 (53908) starting. Version 2.6.0 in /opt/iobroker/node_modules/iobroker.ws, node: v18.20.2, js-controller: 5.0.19 2024-04-22 07:24:27.110 - error: ws.0 (53908) Cannot create webserver: TypeError: WebServer is not a constructor 2024-04-22 07:24:27.115 - info: ws.0 (53908) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2024-04-22 07:24:27.646 - info: ws.0 (53908) terminating http server on port 8084 2024-04-22 07:24:29.210 - info: web.0 (53919) starting. Version 6.2.5 in /opt/iobroker/node_modules/iobroker.web, node: v18.20.2, js-controller: 5.0.19 2024-04-22 07:24:29.424 - info: web.0 (53919) socket.io server listening on port 8082 2024-04-22 07:24:29.431 - info: web.0 (53919) http server listening on port 8082
-
Fix in Version 2.6.1 ist online
-
-
@foxriver76 Bei mir startet der socket.io Adapter leider auch mit der Version 2.6.1 nicht. Das (Debug-) Log sieht folgendermassen aus:
socketio.0 2024-04-26 14:58:47.583 info terminating http server on port 8084 socketio.0 2024-04-26 14:58:47.078 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason socketio.0 2024-04-26 14:58:47.077 debug Plugin sentry destroyed socketio.0 2024-04-26 14:58:47.077 error Cannot create webserver: TypeError: Cannot read properties of undefined (reading 'createServerAsync') socketio.0 2024-04-26 14:58:47.054 info starting. Version 6.6.1 in /opt/iobroker/node_modules/iobroker.socketio, node: v18.19.1, js-controller: 5.0.19
Weder ein Neustart des Systems, noch das vollständige Löschen und Neuinstallieren des Adapters haben geholfen...
Bin dankbar für Tipps, wie ich den Adapter wieder zum Laufen bringe!
Edit: Sorry, habe gerade gemerkt, dass es hier um den WS-Adapter geht und nicht den Socket.io... Die Ähnlichkeit der Adapterversionen (WS 2.6.1, Socket.io 6.6.1) haben wohl zu meiner Verwechslung geführt. Wäre trotzdem dankbar, falls jemand einen Tipp hat, wie ich meinen Socket.io-Adapter wieder zum Laufen bringe!
-
@el_rob sagte in Adapter ws und socketio:
Bei mir startet der socket.io Adapter leider auch mit der Version 2.6.1 nicht
Du meinst sicherlich die Version 6.6.1
@el_rob sagte in Adapter ws und socketio:
node: v18.19.1
Bring das mal auf Stand und eine Langfassung von
iob diag
kann auch helfen
-
@el_rob sagte in Adapter ws und socketio:
node: v18.19.1
Vermutlich die dfsg-Version.
Stell das auf die nodesource-Variante um.iob nodejs-update
-
@thomas-braun sagte in Adapter ws und socketio:
@el_rob sagte in Adapter ws und socketio:
node: v18.19.1
Vermutlich die dfsg-Version.
Stell das auf die nodesource-Variante um.iob nodejs-update
Ne, daran scheint es nicht zu liegen...
ioBroker nodejs updater 2023-10-13 Recommended nodejs-version is: 18.20.2 Checking your installation now. Please be patient! Your current setup is: /usr/bin/nodejs v18.20.2 /usr/bin/node v18.20.2 /usr/bin/npm 10.5.0 /usr/bin/npx 10.5.0 /usr/bin/corepack 0.25.2 We found these nodejs versions available for installation: nodejs: Installed: 18.20.2-1nodesource1 Candidate: 18.20.2-1nodesource1 Version table: *** 18.20.2-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 100 /var/lib/dpkg/status 18.20.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.20.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.19.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.19.0+dfsg-6~deb12u1 500 500 http://security.debian.org bookworm-security/main amd64 Packages 18.19.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.18.2-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.18.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.18.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.17.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.16.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.14.2-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.14.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.13.0+dfsg1-1 500 500 http://deb.debian.org/debian bookworm/main amd64 Packages 18.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.9.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages Nothing to do - Your installation is using the correct paths. Nothing to do - Your version is the recommended one.
-
Dann ist jetzt zumindest die Laufzeitumgebung aktuell.
-
@thomas-braun sagte in Adapter ws und socketio:
Dann ist jetzt zumindest die Laufzeitumgebung aktuell.
...wäre aber trotzdem schön, wenn auch der Adapter wieder liefe!
Hier die Ausgabe von
iob diag
Skript v.2023-10-10 *** BASE SYSTEM *** Static hostname: iobroker Icon name: computer-container Chassis: container ☐ Virtualization: lxc Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.8.4-2-pve Architecture: x86-64 model name : Intel(R) Core(TM) i5-6500T CPU @ 2.50GHz Docker : false Virtualization : lxc Kernel : x86_64 Userland : amd64 Systemuptime and Load: 15:31:18 up 45 min, 2 users, load average: 1.16, 1.29, 1.17 CPU threads: 2 *** Time and Time Zones *** Local time: Fri 2024-04-26 15:31:18 CEST Universal time: Fri 2024-04-26 13:31:18 UTC RTC time: n/a Time zone: Europe/Zurich (CEST, +0200) System clock synchronized: yes NTP service: inactive RTC in local TZ: no *** User and Groups *** admin /home/admin admin sudo users iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 8.6G 3.4G 5.1G 114K 105M 5.2G Swap: 0B 0B 0B Total: 8.6G 3.4G 5.1G 8192 M total memory 3236 M used memory 3195 M active memory 0 M inactive memory 4854 M free memory 0 M buffer memory 101 M swap cache 0 M total swap 0 M used swap 0 M free swap *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION * run-rpc_pipefs.mount loaded failed failed RPC Pipe File System * sys-kernel-config.mount loaded failed failed Kernel Configuration File System 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. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on pmx-data/subvol-100-disk-0 zfs 17G 5.3G 12G 33% / none tmpfs 492K 4.0K 488K 1% /dev udev devtmpfs 16G 0 16G 0% /dev/tty tmpfs tmpfs 16G 0 16G 0% /dev/shm tmpfs tmpfs 6.3G 108K 6.3G 1% /run tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock Messages concerning ext4 filesystem in dmesg: dmesg: read kernel buffer failed: Operation not permitted Show mounted filesystems \(real ones only\): TARGET SOURCE FSTYPE OPTIONS / pmx-data/subvol-100-disk-0 zfs rw,relatime,xattr,posixacl,casesensitive Files in neuralgic directories: /var: 365M /var/ 285M /var/cache 283M /var/cache/apt 237M /var/cache/apt/archives 67M /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 453.5K in the file system. /opt/iobroker/backups: 1.8G /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 631M /opt/iobroker/iobroker-data/ 308M /opt/iobroker/iobroker-data/esphome.0/.esphome 308M /opt/iobroker/iobroker-data/esphome.0 275M /opt/iobroker/iobroker-data/esphome.0/.esphome/build 219M /opt/iobroker/iobroker-data/files The five largest files in iobroker-data are: 13M /opt/iobroker/iobroker-data/esphome.0/.esphome/build/nachttischlampe-rob/.pioenvs/nachttischlampe-rob/libFrameworkArduino.a 9.7M /opt/iobroker/iobroker-data/esphome.0/.esphome/build/bedside-lamp-2/.pioenvs/bedside-lamp-2/firmware.elf 9.7M /opt/iobroker/iobroker-data/esphome.0/.esphome/build/bedside-lamp-1/.pioenvs/bedside-lamp-1/firmware.elf 9.4M /opt/iobroker/iobroker-data/files/telegram-menu.admin/build/index.js.map 8.2M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.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.20.2 /usr/bin/node v18.20.2 /usr/bin/npm 10.5.0 /usr/bin/npx 10.5.0 /usr/bin/corepack 0.25.2 nodejs: Installed: 18.20.2-1nodesource1 Candidate: 18.20.2-1nodesource1 Version table: *** 18.20.2-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 100 /var/lib/dpkg/status 18.20.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.20.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.19.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.19.0+dfsg-6~deb12u1 500 500 http://security.debian.org bookworm-security/main amd64 Packages 18.19.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.18.2-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.18.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.18.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.17.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.16.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.14.2-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.14.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.13.0+dfsg1-1 500 500 http://deb.debian.org/debian bookworm/main amd64 Packages 18.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.9.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages Temp directories causing npm8 problem: 0 No problems detected Errors in npm tree: *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 5.0.19 admin: 6.17.6 javascript: 8.0.3 Adapters from github: 1 Adapter State + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.backitup.0 : backitup : iobroker - enabled + system.adapter.bambulab.0 : bambulab : iobroker - enabled, port: 8883 + system.adapter.calendar.0 : calendar : iobroker - enabled, port: 8095 + system.adapter.device-watcher.0 : device-watcher : iobroker - enabled system.adapter.discovery.0 : discovery : iobroker - disabled + system.adapter.email.0 : email : iobroker - enabled + system.adapter.esphome.0 : esphome : iobroker - enabled + system.adapter.fakeroku.0 : fakeroku : iobroker - enabled + system.adapter.fullybrowser.0 : fullybrowser : iobroker - enabled system.adapter.garmin.0 : garmin : iobroker - disabled system.adapter.hyperion_ng.0 : hyperion_ng : iobroker - disabled system.adapter.icons-material-svg.0 : icons-material-svg : iobroker - enabled system.adapter.icons-mfd-svg.0 : icons-mfd-svg : iobroker - enabled system.adapter.icons-ultimate-png.0 : icons-ultimate-png : iobroker - disabled + system.adapter.influxdb.0 : influxdb : iobroker - enabled, port: 8086 + system.adapter.info.0 : info : iobroker - enabled system.adapter.jarvis.0 : jarvis : iobroker - disabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.javascript.0 : javascript : iobroker - enabled + system.adapter.linkeddevices.0 : linkeddevices : iobroker - enabled + system.adapter.logparser.0 : logparser : iobroker - enabled + system.adapter.mielecloudservice.0 : mielecloudservice : iobroker - enabled + system.adapter.netatmo.0 : netatmo : iobroker - enabled + system.adapter.nuki-extended.0 : nuki-extended : iobroker - enabled + system.adapter.nut.0 : nut : iobroker - enabled + system.adapter.omada.0 : omada : iobroker - enabled, port: 8043 + system.adapter.ping.0 : ping : iobroker - enabled + system.adapter.proxmox.0 : proxmox : iobroker - enabled, port: 8006 system.adapter.robonect.0 : robonect : iobroker - disabled system.adapter.roomba.0 : roomba : iobroker - disabled + system.adapter.scheduler.0 : scheduler : iobroker - enabled + system.adapter.shelly.0 : shelly : iobroker - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.simple-api.0 : simple-api : iobroker - enabled, port: 8087, bind: 0.0.0.0, run as: admin system.adapter.snmp.0 : snmp : iobroker - disabled system.adapter.socketio.0 : socketio : iobroker - enabled, port: 8084, bind: 0.0.0.0, run as: admin + system.adapter.sql.0 : sql : iobroker - enabled, port: 3306 system.adapter.squeezeboxrpc.0 : squeezeboxrpc : iobroker - disabled, port: 9000 + system.adapter.statistics.0 : statistics : iobroker - enabled + system.adapter.swiss-weather-api.0 : swiss-weather-api : iobroker - enabled + system.adapter.telegram-menu.0 : telegram-menu : iobroker - enabled + system.adapter.telegram.0 : telegram : iobroker - enabled, port: 8443, bind: 0.0.0.0 system.adapter.vis-2-widgets-material.0 : vis-2-widgets-material: iobroker - enabled + system.adapter.vis-2.0 : vis-2 : iobroker - enabled system.adapter.vis-google-fonts.0 : vis-google-fonts : iobroker - enabled system.adapter.vis.0 : vis : iobroker - disabled system.adapter.web-speedy.0 : web-speedy : iobroker - disabled + system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.withings.0 : withings : iobroker - enabled + system.adapter.zigbee2mqtt.0 : zigbee2mqtt : iobroker - enabled + system.adapter.zwave2.0 : zwave2 : iobroker - enabled + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.bambulab.0 : bambulab : iobroker - enabled, port: 8883 + system.adapter.calendar.0 : calendar : iobroker - enabled, port: 8095 + system.adapter.influxdb.0 : influxdb : iobroker - enabled, port: 8086 + system.adapter.omada.0 : omada : iobroker - enabled, port: 8043 + system.adapter.proxmox.0 : proxmox : iobroker - enabled, port: 8006 + system.adapter.shelly.0 : shelly : iobroker - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.simple-api.0 : simple-api : iobroker - enabled, port: 8087, bind: 0.0.0.0, run as: admin system.adapter.socketio.0 : socketio : iobroker - enabled, port: 8084, bind: 0.0.0.0, run as: admin + system.adapter.sql.0 : sql : iobroker - enabled, port: 3306 + system.adapter.telegram.0 : telegram : iobroker - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo(s): beta Installed ioBroker-Instances Used repository: beta Adapter "admin" : 6.17.6 , installed 6.17.6 Adapter "backitup" : 2.11.0 , installed 2.11.0 Adapter "bambulab" : 0.3.2 , installed 0.3.2 Adapter "calendar" : 1.2.0 , installed 1.2.0 Adapter "device-watcher": 2.12.0 , installed 2.12.0 Adapter "discovery" : 4.5.0 , installed 4.5.0 Adapter "email" : 1.2.2 , installed 1.2.2 Adapter "esphome" : 0.5.0-beta.8, installed 0.5.0-beta.8 Adapter "fakeroku" : 0.2.2 , installed 0.2.2 Adapter "fullybrowser" : 3.0.12 , installed 3.0.12 Adapter "garmin" : 0.1.1 , installed 0.1.1 Adapter "harmony" : 1.4.0 , installed 1.4.0 Adapter "hyperion_ng" : 0.1.23 , installed 0.1.23 Adapter "icons-material-svg": 0.1.0, installed 0.1.0 Adapter "icons-mfd-svg": 1.2.0 , installed 1.2.0 Adapter "icons-ultimate-png": 1.0.1, installed 1.0.1 Adapter "influxdb" : 4.0.2 , installed 4.0.2 Adapter "info" : 2.0.0 , installed 2.0.0 Adapter "jarvis" : 3.1.8 , installed 3.1.8 Adapter "javascript" : 8.0.3 , installed 8.0.3 Controller "js-controller": 5.0.19 , installed 5.0.19 Adapter "linkeddevices": 1.5.5 , installed 1.5.5 Adapter "logparser" : 2.2.2 , installed 2.2.2 Adapter "mielecloudservice": 6.5.4, installed 6.5.4 Adapter "mqtt" : 5.2.0 , installed 5.2.0 Adapter "netatmo" : 3.1.0 , installed 3.1.0 Adapter "nuki-extended": 2.7.0 , installed 2.7.0 Adapter "nut" : 1.6.0 , installed 1.6.0 Adapter "ping" : 1.6.2 , installed 1.6.2 Adapter "proxmox" : 2.2.3 , installed 2.2.3 Adapter "robonect" : 1.3.4 , installed 1.3.4 Adapter "roomba" : 1.2.2 , installed 1.2.2 Adapter "scheduler" : 1.3.10 , installed 1.3.10 Adapter "shelly" : 6.9.0 , installed 6.9.0 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "snmp" : 3.2.0 , installed 3.2.0 Adapter "socketio" : 6.6.1 , installed 6.6.1 Adapter "sql" : 2.2.0 , installed 2.2.0 Adapter "squeezeboxrpc": 1.3.10 , installed 1.3.10 Adapter "statistics" : 2.4.0 , installed 2.4.0 Adapter "swiss-weather-api": 2.1.0, installed 2.1.0 Adapter "telegram" : 3.2.1 , installed 3.2.1 Adapter "telegram-menu": 1.6.3 , installed 1.6.3 Adapter "vis" : 1.5.6 , installed 1.5.6 Adapter "vis-2" : 2.9.51 , installed 2.9.51 Adapter "vis-2-widgets-material": 1.3.30, installed 1.3.30 Adapter "vis-google-fonts": 1.0.4 , installed 1.0.4 Adapter "web" : 6.2.5 , installed 6.2.5 Adapter "web-speedy" : 0.2.0 , installed 0.2.0 Adapter "withings" : 0.0.13 , installed 0.0.13 Adapter "ws" : 2.6.1 , installed 2.6.1 Adapter "zigbee2mqtt" : 2.13.6 , installed 2.13.6 Adapter "zwave2" : 3.1.0 , installed 3.1.0 Objects and States Please stand by - This may take a while Objects: 41540 States: 35417 *** OS-Repositories and Updates *** Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://security.debian.org bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease Reading package lists... Pending Updates: 0 *** Listening Ports *** Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 0.0.0.0:1882 0.0.0.0:* LISTEN 1001 1429027 5208/io.shelly.0 tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 1163027 1/systemd tcp 0 0 0.0.0.0:6052 0.0.0.0:* LISTEN 1001 1431317 5304/python3 tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 1424950 4978/iobroker.js-co tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 1424957 4978/iobroker.js-co tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 1165300 296/master tcp 0 0 192.168.99.5:9093 0.0.0.0:* LISTEN 1001 1442870 5843/io.fakeroku.0 tcp6 0 0 :::111 :::* LISTEN 0 1163029 1/systemd tcp6 0 0 :::22 :::* LISTEN 0 1164954 1/systemd tcp6 0 0 :::51989 :::* LISTEN 1001 1428790 5161/io.nuki-extend tcp6 0 0 ::1:25 :::* LISTEN 0 1165301 296/master tcp6 0 0 :::8087 :::* LISTEN 1001 1437293 5704/io.simple-api. tcp6 0 0 :::8081 :::* LISTEN 1001 1425052 4999/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 1001 1438917 5749/io.web.0 udp 0 0 0.0.0.0:111 0.0.0.0:* 0 1163028 1/systemd udp 0 0 0.0.0.0:1900 0.0.0.0:* 1001 1442871 5843/io.fakeroku.0 udp 0 0 0.0.0.0:5353 0.0.0.0:* 1001 1429502 5283/io.esphome.0 udp 0 0 127.0.0.1:5353 0.0.0.0:* 1001 1431323 5304/python3 udp 0 0 192.168.99.5:5353 0.0.0.0:* 1001 1431322 5304/python3 udp 0 0 0.0.0.0:5353 0.0.0.0:* 1001 1431318 5304/python3 udp6 0 0 :::111 :::* 0 1163030 1/systemd *** Log File - Last 25 Lines *** 2024-04-26 15:31:40.480 - debug: mielecloudservice.0 (5131) Device 000176952557: Value {"processAction":[2],"light":[],"ambientLight":[],"startTime":[],"ventilationStep":[],"programId":[],"targetTemperature":[],"deviceName":true,"powerOn":false,"powerOff":true,"colors":[],"modes":[],"runOnTime":[]} | typeof value object 2024-04-26 15:31:40.480 - debug: mielecloudservice.0 (5131) KnownDevice before updating actions on it: {"lastMessage":1714137684144,"icon":"icons/2.svg","API_ID":"000176952557","deviceType":2,"name":"Trockner","actions":{"processAction":[2],"light":[],"ambientLight":[],"startTime":[],"ventilationStep":[],"programId":[],"targetTemperature":[],"deviceName":true,"powerOn":false,"powerOff":true,"colors":[],"modes":[],"runOnTime":[]},"programs":[{"programId":1,"program":"Automatic plus","parameters":{}},{"programId":2,"program":"Baumwolle","parameters":{}},{"programId":3,"program":"Pflegeleicht","parameters":{}},{"programId":4,"program":"Finish Wolle","parameters":{}},{"programId":5,"program":"Feinwäsche","parameters":{}},{"programId":6,"program":"Lüften warm","parameters":{}},{"programId":7,"program":"Lüften kalt","parameters":{}},{"programId":8,"program":"Express","parameters":{}},{"programId":9,"program":"Baumwolle ","parameters":{}},{"programId":10,"program":"Vorbügeln","parameters":{}},{"programId":11,"program":"Baumwolle Hygiene","parameters":{}},{"programId":12,"program":"Imprägnieren","parameters":{}},{"programId":13,"program":"Jeans","parameters":{}},{"programId":14,"program":"Oberhemden","parameters":{}},{"programId":15,"program":"Sportwäsche","parameters":{}},{"programId":16,"program":"Outdoor","parameters":{}},{"programId":17,"program":"Finish Seide","parameters":{}},{"programId":19,"program":"Kopfkissen","parameters":{}},{"programId":20,"program":"Kopfkissen groß","parameters":{}},{"programId":22,"program":"Korbprogramm","parameters":{}},{"programId":24,"program":"Finish Dampf","parameters":{}},{"programId":25,"program":"Extra leise","parameters":{}},{"programId":31,"program":"Bettwäsche","parameters":{}},{"programId":60,"program":"","parameters":{}}]} 2024-04-26 15:31:40.552 - silly: mielecloudservice.0 (5131) States user redis pmessage mielecloudservice.0.000176952557.ACTIONS.*/mielecloudservice.0.000176952557.ACTIONS.Nickname:{"val":"Trockner","ack":true,"ts":1714138300543,"q":0,"from":"system.adapter.mielecloudservice.0","user":"system.user.admin","lc":1686909005271} 2024-04-26 15:31:40.561 - silly: mielecloudservice.0 (5131) States user redis pmessage mielecloudservice.0.000176952557.ACTIONS.*/mielecloudservice.0.000176952557.ACTIONS.startTime:{"val":"0:00","ack":true,"ts":1714138300547,"q":0,"from":"system.adapter.mielecloudservice.0","user":"system.user.admin","lc":1712052964855} 2024-04-26 15:31:40.566 - silly: mielecloudservice.0 (5131) States user redis pmessage mielecloudservice.0.000176952557.ACTIONS.*/mielecloudservice.0.000176952557.ACTIONS.LastActionResult:{"val":"","ack":true,"ts":1714138300548,"q":0,"from":"system.adapter.mielecloudservice.0","user":"system.user.admin","lc":1650957714882} 2024-04-26 15:31:40.569 - silly: mielecloudservice.0 (5131) States user redis pmessage mielecloudservice.0.000176952557.ACTIONS.*/mielecloudservice.0.000176952557.ACTIONS.Power:{"val":true,"ack":true,"ts":1714138300548,"q":0,"from":"system.adapter.mielecloudservice.0","user":"system.user.admin","lc":1714137719678} 2024-04-26 15:31:40.569 - silly: mielecloudservice.0 (5131) States user redis pmessage mielecloudservice.0.000176952557.ACTIONS.*/mielecloudservice.0.000176952557.ACTIONS.Start:{"val":true,"ack":true,"ts":1714138300548,"q":0,"from":"system.adapter.mielecloudservice.0","user":"system.user.admin","lc":1650957714903} 2024-04-26 15:31:40.569 - silly: mielecloudservice.0 (5131) States user redis pmessage mielecloudservice.0.000176952557.ACTIONS.*/mielecloudservice.0.000176952557.ACTIONS.Stop:{"val":true,"ack":true,"ts":1714138300548,"q":0,"from":"system.adapter.mielecloudservice.0","user":"system.user.admin","lc":1650957714903} 2024-04-26 15:31:40.569 - silly: mielecloudservice.0 (5131) States user redis pmessage mielecloudservice.0.000176952557.ACTIONS.*/mielecloudservice.0.000176952557.ACTIONS.Light:{"val":false,"ack":true,"ts":1714138300548,"q":0,"from":"system.adapter.mielecloudservice.0","user":"system.user.admin","lc":1650957714968} 2024-04-26 15:31:40.569 - debug: mielecloudservice.0 (5131) Programs for device Trockner are already registered. Skipping Query. 2024-04-26 15:31:41.001 - info: javascript.0 (7348) script.js.Statusänderungen.tumbler_laufzeit: Update 1714138301001-946681200000 => 213182:31:41 2024-04-26 15:31:42.001 - info: javascript.0 (7348) script.js.Statusänderungen.tumbler_laufzeit: Update 1714138302001-946681200000 => 213182:31:42 2024-04-26 15:31:43.000 - info: javascript.0 (7348) script.js.Statusänderungen.tumbler_laufzeit: Update 1714138303000-946681200000 => 213182:31:42 2024-04-26 15:31:44.001 - info: javascript.0 (7348) script.js.Statusänderungen.tumbler_laufzeit: Update 1714138304001-946681200000 => 213182:31:44 2024-04-26 15:31:44.110 - info: javascript.0 (7348) script.js.Statusänderungen.temperature_change_json: Temperature Sensor JSON updated 2024-04-26 15:31:44.110 - info: javascript.0 (7348) script.js.Statusänderungen.wetterdaten_aktuell_json: Weatherdata updated 2024-04-26 15:31:44.113 - info: javascript.0 (7348) script.js.Statusänderungen.temperature_change_json: Temperature Sensor JSON updated 2024-04-26 15:31:44.113 - info: javascript.0 (7348) script.js.Statusänderungen.wetterdaten_aktuell_json: Weatherdata updated 2024-04-26 15:31:44.290 - debug: mielecloudservice.0 (5131) Received PING message by SSE: {"type":"ping","data":"ping","lastEventId":"","origin":"https://api.mcs3.miele.com"} 2024-04-26 15:31:45.000 - info: javascript.0 (7348) script.js.Statusänderungen.tumbler_laufzeit: Update 1714138305000-946681200000 => 213182:31:45 2024-04-26 15:31:46.001 - info: javascript.0 (7348) script.js.Statusänderungen.tumbler_laufzeit: Update 1714138306001-946681200000 => 213182:31:46 2024-04-26 15:31:47.001 - info: javascript.0 (7348) script.js.Statusänderungen.tumbler_laufzeit: Update 1714138307001-946681200000 => 213182:31:47 2024-04-26 15:31:48.001 - info: javascript.0 (7348) script.js.Statusänderungen.tumbler_laufzeit: Update 1714138308001-946681200000 => 213182:31:48 2024-04-26 15:31:49.001 - info: javascript.0 (7348) script.js.Statusänderungen.tumbler_laufzeit: Update 1714138309001-946681200000 => 213182:31:49 2024-04-26 15:31:50.000 - info: javascript.0 (7348) script.js.Statusänderungen.tumbler_laufzeit: Update 1714138310000-946681200000 => 213182:31:50
-
@el_rob stell mal die LOGLevels von Silly auf was Vernünftiges um - das haut Dir sonst das LOG voll.
-
@el_rob sagte in Adapter ws und socketio:
CPU threads: 2
Gönn der Kiste ein paar Umdrehungen mehr.
Boot Target: graphical.target
sudo systemctl set-default multi-user.target
Gönn der Kiste ein wenig Swap.
Setz den mielecloudservice auf ein gescheites LogLevel, wenn du den nicht gerade debuggst.
-
Danke für eure Hinweise.
Beim Miele-Adapter habe ich das Log-Level bewusst auf Silly, weil ich gerade an einem JS in Zusammenhang mit diesem Adapter rumbastle und einfach das komplette Logging sehen wollte. Wird danach aber wieder auf "Info" umgestellt.
Habe der Kiste jetzt 4 Kerne und 512M Swap gegeben, sowie multi-user.target als default gesetzt.
Nun muss ich nur den socket.io-Adapter irgendwie wieder zum Laufen bringen, da meine selbst programmierte Android-App daran hängt... Habe jetzt mal auf der Github-Seite des Adapters ein Bug-Issue eröffnet.
-
Habe das gleiche Problem, mir scheint in der main.js folgendes das Problem zu sein:
const LE = utils.commonTools.letsEncrypt;LetsEncrypt wurde im adapter-core wohl entfernt:
https://github.com/ioBroker/adapter-core/commit/d07b06aa0d25ca83ca50a1ef4167322e5036fb4fDeswegen führt LE.createServerAsync schätze ich zu dem Fehler.
EDIT:
Ich habe in /opt/iobroker/node_modules/iobroker.socketio/node_modules/@iobroker/adapter-core/build/cjs/controllerTools.js in Zeile 127 den entfernten Code:letsEncrypt: resolveNamedModule("letsencrypt"),
wieder hinzugefügt, danach startet der Adapter wieder. Scheint also wirklich das Problem hier zu sein. Zumindest bei mir.
-
@inkblot_de Jop ist uns durch die Lappen gegangen müssen wir anpassen https://github.com/ioBroker/ioBroker.socketio/blob/3023b11254c4170c01daff2c7fcc88e7b81df5c1/main.js#L9
-
@inkblot_de sagte in Adapter ws und socketio:
letsEncrypt: resolveNamedModule("letsencrypt"),
Top, das hat's gebracht!!! Vielen Dank für's Teilen, mein socket.io-Adapter läuft jetzt auch wieder
-
socket-io 6.7.0 sollte es wieder tun
-
@foxriver76 said in Adapter ws und socketio:
socket-io 6.7.0 sollte es wieder tun
Danke für das schnelle Update
-
@foxriver76 sagte in Adapter ws und socketio:
socket-io 6.7.0 sollte es wieder tun
Top, läuft wieder Vielen Dank für das schnelle Update!!!