NEWS
javascript Adapter RAM wächst und CPU last 100%
-
Hallo zusammen,
ich habe seit einer Woche nichts an meinen IOB gemacht, nur seit 2 Tagen wird der RAM Verbrauch beim Adapter bis zu 500MB und die CPU Last geht auf 100%. ---> System tod/überlastet
Der Adapter startet auch in regelmäßigen, kurzen, Abständen immer wieder neu.
Ich vermute mal, dass es mit dem update auf node.js 18.19.1 zu tun hat, vorher ging alles glatt.
Das update dürfte mit einem normalen apt update && apt upgrade eingespielt geworden sein.
Kann man das rückgängig machen?Das ganze lauft in einem Proxmox LXC Container.
Das System ist update.
Plattform: linux
Betriebssystem: linux
Architektur: x64
CPUs: 2
Geschwindigkeit: 2891 MHz
Modell: Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz
RAM: 5.9 GB
System-Betriebszeit: 00:07:07
Node.js: v18.19.1
time: 1709903561872
timeOffset: -60
NPM: 10.2.4
Adapter-Anzahl: 534
Datenträgergröße: 7.8 GB
Freier Festplattenspeicher: 3.3 GB
Aktive Instanzen: 32
Pfad: /opt/iobroker/
Betriebszeit: 00:07:04
aktiv: -
Ich habe hier ein ähnliches Problem - konnte aber noch nicht einkreisen, woran es liegen könnte:
Der ioBroker läuft auf einem Proxmox in einem LXC. Wenn ich den Container neu starte, dann beruhigt sich alles wieder... Bis zum nächsten mal in ein paar Tagen wo der NUC den "Staubsaugermodus" aktiviert...
htop zeigt nach dem Neustart erstmal keine Auffälligkeiten - werde ich aber beobachten. -
@australien @guitardoc
In der Regel läuft dann ein Script Amok.Um dem auf die Schliche zu kommen:
50 % der Scripte stoppen und schauen, ob das Problem behoben ist.
Wenn ja, dann die gestoppten Scripte nach und nach wieder in Betrieb nehmen und beobachten.
Wenn nein, sollte der Fehler in den anderen 50 % steckenGute Kandidaten sind immer Scripte mit "Trigger in Trigger" oder mit Schleifen ohne saubere Abbruchbedingung.
-
@australien Wieviele Objekte hat dein System? Welche Version des JavaScript-Adapters?
-
@codierknecht said in javascript Adapter RAM wächst und CPU last 100%:
In der Regel läuft dann ein Script Amok.
Ich habe das eine Script, welches ich in letzter Zeit geschrieben habe, noch mal überprüft und nichts gefunden, was den Speicherüberlauf erklären würde. Aber ich habe in letzter Zeit eCharts gebaut, diese in separaten Fenstern anzeigen lassen und diese Fenster sind in meinem Browser permanent geöffnet. Kann es daran liegen? Werde den Adapter mal ausschalten, mal sehen was sich dann tut.
-
@guitardoc sagte in javascript Adapter RAM wächst und CPU last 100%:
Kann es daran liegen?
wäre dann wegen der Datenaufbereitung.
Bei sehr vielen Datenpunkten, hochauflösende Datensammlu g, die aggregiert wird, wäre das durchaus möglich -
Ich habe jetzt mal spaßeshalber das System knappe 16 Stunden laufen lassen und die Werte aus htop wie folgt dokumentiert:
Danach hab ich den LXC neu gestartet und gewartet, bis alle Adapter gestartet sind.
-
Hier sind die Werte aus htop ca. 10 Minuten nach dem Neustart (hab nur die mit dem meisten Speicher genommen):
-
Nach dem Neustart ist der Speicherbedarf natürlich erheblich niedriger:
Aber auffallend ist auch, dass neben dem js-controller auch andere Adapter immer mehr Speicher allokieren und offensichtlich nicht wieder freigeben... Kann hier ein systematischer Fehler irgendwo vorliegen?
======== Start marking the full check here ========= 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.5.13-1-pve Architecture: x86-64 model name : Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz Docker : false Virtualization : lxc Kernel : x86_64 Userland : amd64 Systemuptime and Load: 09:11:38 up 16 min, 3 users, load average: 0.25, 0.33, 0.42 CPU threads: 2 *** Time and Time Zones *** Local time: Fri 2024-03-22 09:11:38 CET Universal time: Fri 2024-03-22 08:11:38 UTC RTC time: n/a Time zone: Europe/Berlin (CET, +0100) System clock synchronized: yes NTP service: inactive RTC in local TZ: no *** User and Groups *** mn /home/mn mn adm dialout sudo users iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 4.3G 2.2G 1.7G 139K 347M 2.0G Swap: 536M 0B 536M Total: 4.8G 2.2G 2.2G 4096 M total memory 2141 M used memory 2160 M active memory 187 M inactive memory 1623 M free memory 0 M buffer memory 331 M swap cache 512 M total swap 0 M used swap 512 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 /dev/mapper/pve-vm--101--disk--0 ext4 7.8G 5.3G 2.1G 72% / none tmpfs 492K 4.0K 488K 1% /dev /dev/mapper/pve-root ext4 94G 7.1G 83G 8% /dev/ttyACM0 udev devtmpfs 32G 0 32G 0% /dev/tty tmpfs tmpfs 32G 0 32G 0% /dev/shm tmpfs tmpfs 13G 128K 13G 1% /run tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs tmpfs 6.3G 0 6.3G 0% /run/user/1001 Messages concerning ext4 filesystem in dmesg: dmesg: read kernel buffer failed: Operation not permitted Show mounted filesystems \(real ones only\): TARGET SOURCE FSTYPE OPTIONS / /dev/mapper/pve-vm--101--disk--0 ext4 rw,relatime,stripe=16 `-/dev/ttyACM0 /dev/mapper/pve-root[/var/lib/lxc/101/devices/ttyACM0] ext4 rw,relatime,errors=remount-ro Files in neuralgic directories: /var: 1.3G /var/ 509M /var/lib 430M /var/cache 411M /var/cache/apt 354M /var/lib/mysql Archived and active journals take up 327.0M in the file system. /opt/iobroker/backups: 252M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 479M /opt/iobroker/iobroker-data/ 329M /opt/iobroker/iobroker-data/files 109M /opt/iobroker/iobroker-data/backup-objects 89M /opt/iobroker/iobroker-data/files/echarts.admin 57M /opt/iobroker/iobroker-data/files/javascript.admin The five largest files in iobroker-data are: 37M /opt/iobroker/iobroker-data/objects.jsonl 24M /opt/iobroker/iobroker-data/files/echarts/static/js/main.2b7495c2.js.map 24M /opt/iobroker/iobroker-data/files/echarts.admin/chart/static/js/main.2b7495c2.js.map 23M /opt/iobroker/iobroker-data/files/echarts.admin/static/js/main.245b61c0.js.map 22M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.c05ba1d3.js.map USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id': /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2285504-if00 *** NodeJS-Installation *** /usr/bin/nodejs v18.19.1 /usr/bin/node v18.19.1 /usr/bin/npm 10.2.4 /usr/bin/npx 10.2.4 /usr/bin/corepack 0.22.0 nodejs: Installed: 18.19.1-1nodesource1 Candidate: 18.19.1-1nodesource1 Version table: *** 18.19.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 100 /var/lib/dpkg/status 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.13.16 javascript: 7.8.0 Adapters from github: 2 Adapter State + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.alarm.0 : alarm : iobroker - disabled + system.adapter.backitup.0 : backitup : iobroker - enabled + system.adapter.cloud.0 : cloud : iobroker - enabled + system.adapter.discovery.0 : discovery : iobroker - enabled + system.adapter.echarts.0 : echarts : iobroker - enabled + system.adapter.eusec.0 : eusec : iobroker - enabled system.adapter.feiertage.0 : feiertage : iobroker - enabled system.adapter.flot.0 : flot : iobroker - disabled + system.adapter.followthesun.0 : followthesun : iobroker - enabled + system.adapter.homeconnect.0 : homeconnect : iobroker - enabled + system.adapter.javascript.0 : javascript : iobroker - enabled + system.adapter.logparser.0 : logparser : iobroker - enabled + system.adapter.modbus.0 : modbus : iobroker - enabled + system.adapter.mqtt.0 : mqtt : iobroker - enabled, port: 1886, bind: 0.0.0.0 + system.adapter.shelly.0 : shelly : iobroker - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.shelly.1 : shelly : iobroker - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.shuttercontrol.0 : shuttercontrol : iobroker - enabled + system.adapter.shuttercontrol.1 : shuttercontrol : iobroker - enabled + system.adapter.shuttercontrol.2 : shuttercontrol : iobroker - enabled + system.adapter.simple-api.0 : simple-api : iobroker - enabled, port: 8087, bind: 0.0.0.0, run as: admin system.adapter.smartmeter.0 : smartmeter : iobroker - disabled + 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.tuya.0 : tuya : iobroker - enabled + system.adapter.viessmannapi.0 : viessmannapi : iobroker - enabled system.adapter.vis-map.0 : vis-map : iobroker - disabled system.adapter.vis-materialdesign.0 : vis-materialdesign : iobroker - disabled system.adapter.vis.0 : vis : iobroker - enabled + system.adapter.vw-connect.0 : vw-connect : iobroker - enabled system.adapter.weatherunderground.0 : weatherunderground : iobroker - enabled + system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.yahka.0 : yahka : iobroker - enabled + system.adapter.zigbee.0 : zigbee : iobroker - enabled, port: /dev/ttyACM0 + 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.mqtt.0 : mqtt : iobroker - enabled, port: 1886, bind: 0.0.0.0 + system.adapter.shelly.0 : shelly : iobroker - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.shelly.1 : shelly : iobroker - enabled, port: 1883, 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.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 + system.adapter.zigbee.0 : zigbee : iobroker - enabled, port: /dev/ttyACM0 ioBroker-Repositories stable : https://download.iobroker.net/sources-dist.json beta : https://download.iobroker.net/sources-dist-latest.json live-stable : http://iobroker.live/repo/sources-dist.json live-beta : http://iobroker.live/repo/sources-dist-latest.json Active repo(s): stable Installed ioBroker-Instances Used repository: stable Adapter "admin" : 6.13.16 , installed 6.13.16 Adapter "alarm" : 3.6.0 , installed 3.6.0 Adapter "backitup" : 2.10.11 , installed 2.10.11 Adapter "cloud" : 4.4.1 , installed 4.4.1 Adapter "discovery" : 4.4.0 , installed 4.4.0 Adapter "echarts" : 1.7.2 , installed 1.7.2 Adapter "eusec" : 1.2.1 , installed 1.2.1 Adapter "feiertage" : 1.1.4 , installed 1.1.4 Adapter "flot" : 1.12.0 , installed 1.12.0 Adapter "followthesun" : 0.5.0 , installed 0.5.0 Adapter "homeconnect" : 1.3.0 , installed 1.3.0 Adapter "javascript" : 7.8.0 , installed 7.8.0 Controller "js-controller": 5.0.19 , installed 5.0.19 Adapter "logparser" : 2.2.2 , installed 2.2.2 Adapter "modbus" : 6.1.0 , installed 6.1.0 Adapter "mqtt" : 5.2.0 , installed 5.2.0 Adapter "shelly" : 6.6.1 , installed 6.6.1 Adapter "shuttercontrol": 1.7.0 , installed 1.7.0 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "smartmeter" : 3.4.0 , installed 3.4.0 Adapter "socketio" : 6.6.0 , installed 6.6.0 Adapter "sql" : 2.2.0 , installed 2.2.0 Adapter "telegram" : 3.1.0 , installed 3.1.0 Adapter "tuya" : 3.15.0 , installed 3.15.0 Adapter "viessmannapi" : 2.3.0 , installed 2.3.0 Adapter "vis" : 1.5.4 , installed 1.5.4 Adapter "vis-map" : 1.0.5 , installed 1.0.5 Adapter "vis-materialdesign": 0.5.9, installed 0.5.9 Adapter "weatherunderground": 3.6.0, installed 3.6.0 Adapter "web" : 6.2.3 , installed 6.2.3 Adapter "ws" : 2.5.10 , installed 2.5.10 Adapter "yahka" : 1.0.3 , installed 1.0.3 Adapter "zigbee" : 1.10.1 , installed 1.10.1 Objects and States Please stand by - This may take a while Objects: 14340 States: 11247 *** 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 127.0.0.1:43423 0.0.0.0:* LISTEN 1000 184673136 804/io.yahka.0 tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1000 184662573 129/iobroker.js-con tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1000 184663574 129/iobroker.js-con tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 105 184662398 202/mariadbd tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 184663385 388/master tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 184662057 1/init tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 1000 184664932 539/io.shelly.1 tcp 0 0 0.0.0.0:1886 0.0.0.0:* LISTEN 1000 184665115 509/io.mqtt.0 tcp 0 0 0.0.0.0:1887 0.0.0.0:* LISTEN 1000 184665116 509/io.mqtt.0 tcp 0 0 0.0.0.0:8555 0.0.0.0:* LISTEN 1000 184670878 721/go2rtc tcp6 0 0 ::1:25 :::* LISTEN 0 184663386 388/master tcp6 0 0 :::111 :::* LISTEN 0 184662059 1/init tcp6 0 0 :::22 :::* LISTEN 0 184646599 1/init tcp6 0 0 :::1984 :::* LISTEN 1000 184670870 721/go2rtc tcp6 0 0 :::39913 :::* LISTEN 1000 184673081 804/io.yahka.0 tcp6 0 0 :::8081 :::* LISTEN 1000 184663633 404/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 1000 184669628 661/io.web.0 tcp6 0 0 :::8087 :::* LISTEN 1000 184674648 774/io.simple-api.0 tcp6 0 0 :::8554 :::* LISTEN 1000 184670873 721/go2rtc udp 0 0 0.0.0.0:111 0.0.0.0:* 0 184662058 1/init udp 0 0 0.0.0.0:33135 0.0.0.0:* 1000 184771405 524/io.shelly.0 udp 0 0 0.0.0.0:33483 0.0.0.0:* 1000 184670810 706/io.eusec.0 udp 0 0 0.0.0.0:5353 0.0.0.0:* 1000 184673082 804/io.yahka.0 udp 0 0 0.0.0.0:5683 0.0.0.0:* 1000 184665153 524/io.shelly.0 udp 0 0 0.0.0.0:6666 0.0.0.0:* 1000 184665020 584/io.tuya.0 udp 0 0 0.0.0.0:6667 0.0.0.0:* 1000 184665021 584/io.tuya.0 udp 0 0 0.0.0.0:8555 0.0.0.0:* 1000 184670874 721/go2rtc udp 0 0 0.0.0.0:49397 0.0.0.0:* 1000 184670805 706/io.eusec.0 udp6 0 0 :::111 :::* 0 184662060 1/init *** Log File - Last 25 Lines *** 2024-03-22 08:57:08.504 - info: yahka.0 (804) adding Shuttercontrol initialisieren with UUID: 9c2a1d81-5e7e-4df8-b02c-229089c4ef82 2024-03-22 08:57:08.505 - info: yahka.0 (804) adding Bresser Luftfeuchte with UUID: 88b321ed-a3c7-468c-9345-e9c7750bb1a2 2024-03-22 08:57:08.505 - info: yahka.0 (804) adding Bresser Lufttemperatur with UUID: db647d3b-cc68-4ad6-9b06-97b75a8f2c7f 2024-03-22 08:57:08.506 - info: yahka.0 (804) adding Bresser Helligkeit with UUID: 5c1e34be-8e9f-4356-80c6-4c25b55db697 2024-03-22 08:57:08.506 - info: yahka.0 (804) adding Bresser Bodenfeuchte with UUID: 4703a9aa-8572-44a5-b6e5-3baf35a133aa 2024-03-22 08:57:08.507 - info: yahka.0 (804) adding Bresser Bodentemperatur with UUID: 30b70e34-ac7e-4999-9d1d-7538f0f6debe 2024-03-22 08:57:08.507 - info: yahka.0 (804) adding Manuelle Bewässerung with UUID: 09b7e90a-e067-4f34-a1dc-e5966e5997cf 2024-03-22 08:57:08.508 - info: yahka.0 (804) adding Fensterputzmodus with UUID: 616febab-744f-4652-aa61-2ab267ba632a 2024-03-22 08:57:08.508 - info: yahka.0 (804) publishing bridge Yahka-0 on 0.0.0.0 using avahi 2024-03-22 08:57:12.237 - info: viessmannapi.0 (819) starting. Version 2.3.0 in /opt/iobroker/node_modules/iobroker.viessmannapi, node: v18.19.1, js-controller: 5.0.19 2024-03-22 08:57:15.316 - info: viessmannapi.0 (819) 1 installations found. 2024-03-22 08:57:15.338 - info: viessmannapi.0 (819) State value to set for "viessmannapi.0.2457409.gateways01.devices01.id" has to be type "number" but received type "string" 2024-03-22 08:57:15.341 - info: viessmannapi.0 (819) State value to set for "viessmannapi.0.2457409.gateways01.devices04.id" has to be type "string" but received type "number" 2024-03-22 08:57:16.209 - info: homeconnect.0 (834) starting. Version 1.3.0 in /opt/iobroker/node_modules/iobroker.homeconnect, node: v18.19.1, js-controller: 5.0.19 2024-03-22 08:57:16.532 - info: homeconnect.0 (834) Found 1 devices 2024-03-22 08:57:18.805 - info: homeconnect.0 (834) 011070386308002348/programs/active: There is no program active. 2024-03-22 08:57:18.806 - info: homeconnect.0 (834) 011070386308002348/programs/active/options: There is no program active. 2024-03-22 08:57:18.811 - info: homeconnect.0 (834) No array: active 2024-03-22 08:57:18.812 - info: homeconnect.0 (834) No array: selected 2024-03-22 08:57:20.084 - info: echarts.0 (849) starting. Version 1.7.2 in /opt/iobroker/node_modules/iobroker.echarts, node: v18.19.1, js-controller: 5.0.19 2024-03-22 08:57:40.416 - info: cloud.0 (691) Trying to connect as system.user.admin to cloud 2024-03-22 08:57:40.553 - info: cloud.0 (691) Connection changed: connect 2024-03-22 09:00:00.050 - info: javascript.0 (431) script.js.common.Astronomie.Astronomische_Daten_ermitteln: Astro: Gültige Zeiten: [aktueller Tag: 7] | [nächster Tag: 7] | [Aktualisiert: 0] | Aktuelle Tageszeit: später Vormittag | Kommende Tageszeit: Mittag 2024-03-22 09:06:47.333 - error: eusec.0 (706) Station: T8010N2320201304 command CMD_SDINFO_EX failed with error: undefined (-148) 2024-03-22 09:06:47.348 - error: eusec.0 (706) Station: T8010P2320100018 command CMD_SDINFO_EX failed with error: undefined (-148) ============ Mark until here for C&P =============
======================= SUMMARY ======================= v.2023-10-10 Static hostname: iobroker Icon name: computer-container Chassis: container ☐ Virtualization: lxc Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.5.13-1-pve Architecture: x86-64 Installation: lxc Kernel: x86_64 Userland: amd64 Timezone: Europe/Berlin (CET, +0100) User-ID: 1001 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.19.1 /usr/bin/node v18.19.1 /usr/bin/npm 10.2.4 /usr/bin/npx 10.2.4 /usr/bin/corepack 0.22.0 Recommended versions are nodejs 18.19.1 and npm 10.2.4 Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 4.3G 2.3G 1.5G 143K 559M 2.0G Swap: 536M 0B 536M Total: 4.8G 2.3G 2.0G Active iob-Instances: 27 Active repo(s): stable ioBroker Core: js-controller 5.0.19 admin 6.13.16 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 14340 States: 11247 Size of iob-Database: 37M /opt/iobroker/iobroker-data/objects.jsonl 5.6M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
-
@guitardoc sagte in javascript Adapter RAM wächst und CPU last 100%:
Kann hier ein systematischer Fehler irgendwo vorliegen?
-
@homoran Ja, das wäre alles OK, wenn denn nicht nach ein paar Tagen (manchmal auch erst zwei-drei Wochen) der Speicher "alle" wäre, die CPU auf 100% stünde und das System den "Staubsaugermodustod" sterben würde... Deswegen suche ich ja verzweifelt nach dem Auslöser...
-
@guitardoc Hast du ggf. Speicher überprovisioniert?
-
@homoran Was bedeutet überprovisioniert?
-
@guitardoc du darfst allen VMs /LXC in Summe nicht den gesamten verfügbaren Speicher zuweisen.
Die PVE braucht je nach Konfiguration selbst noch e7n gutes Häppchen.
Das gilt auch für den Festplattenplatz -
@homoran Das dürfte nicht der Fall sein. Ich habe insgesamt 8GB für die laufenden LXC zugewiesen.
-
@haus-automatisierung
Hallo Matthias,Objekte: 39713, Zustände: 35313
JavaScript 7.8.0
Node.js: v18.19.1
NPM: 10.2.4
der Rest des Systems ist uptodate.ich konnte mittlerweile den Übeltäter ausforschen. Der Vaillant Adapter ab Version 0.4.0 bis 0.7.0
Gelöst wurde es meinerseits mit Versuchen von downgrade auf 0.1.2, dann funktionierte es wieder. Nach weiterer Suche, u.a. auf https://github.com/TA2k/ioBroker.vaillant, machte ich folgen des:- deinstall Vaillant Adapter komplett
- install der Version 0.7.0
seitdem ist alles wieder im Lot.
-
@australien sagte in javascript Adapter RAM wächst und CPU last 100%:
der Rest des Systems ist uptodate
na dann zeig mal bitte die Langfassung von
iob diag
in Codetags posten - dann kann man besser helfen
-
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.5.13-1-pve Architecture: x86-64 model name : Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz Docker : false Virtualization : lxc Kernel : x86_64 Userland : amd64 Systemuptime and Load: 18:44:52 up 4 days, 8:02, 3 users, load average: 0.32, 0.36, 0.42 CPU threads: 2 *** Time and Time Zones *** Local time: Fri 2024-03-22 18:44:52 CET Universal time: Fri 2024-03-22 17:44:52 UTC RTC time: n/a Time zone: Europe/Vienna (CET, +0100) System clock synchronized: yes NTP service: inactive RTC in local TZ: no *** User and Groups *** robert /home/robert robert sudo users *** X-Server-Setup *** X-Server: false Desktop: Terminal: Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 6.4G 3.5G 1.3G 118K 1.6G 2.8G Swap: 2.1G 0B 2.1G Total: 8.5G 3.5G 3.4G 6096 M total memory 3379 M used memory 3317 M active memory 1369 M inactive memory 1223 M free memory 0 M buffer memory 1492 M swap cache 2024 M total swap 0 M used swap 2024 M free swap *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/pve-vm--100--disk--0 ext4 7.8G 5.0G 2.5G 67% / none tmpfs 492K 4.0K 488K 1% /dev tmpfs tmpfs 7.8G 0 7.8G 0% /dev/shm tmpfs tmpfs 3.1G 108K 3.1G 1% /run tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock 10.68.0.77:/volume1/fhembackup/proxmox nfs4 3.6T 2.5T 1.2T 68% /opt/iobroker/backups Messages concerning ext4 filesystem in dmesg: [Fri Mar 8 14:05:23 2024] EXT4-fs (dm-1): mounted filesystem 7b5055a9-c1b9-4321-b699-9cbe3cc2c84d ro with ordered data mode. Quota mode: none. [Fri Mar 8 14:05:24 2024] EXT4-fs (dm-1): re-mounted 7b5055a9-c1b9-4321-b699-9cbe3cc2c84d r/w. Quota mode: none. [Fri Mar 8 14:05:34 2024] EXT4-fs (dm-7): mounted filesystem 5a09945b-a66b-463c-b079-9807db96e0f0 r/w with ordered data mode. Quota mode: none. [Fri Mar 8 14:05:36 2024] EXT4-fs (dm-6): mounted filesystem 01155889-4c62-4892-8113-e8b417f68e56 r/w with ordered data mode. Quota mode: none. [Fri Mar 8 14:05:39 2024] EXT4-fs (dm-8): mounted filesystem a9b4cfcd-3d16-496b-b272-1755ee3d4cee r/w with ordered data mode. Quota mode: none. [Fri Mar 8 14:05:42 2024] EXT4-fs (dm-10): mounted filesystem 315a4ea0-46c3-4c2a-83b4-5e8f5c2bd639 r/w with ordered data mode. Quota mode: none. [Fri Mar 8 14:05:46 2024] EXT4-fs (dm-11): mounted filesystem f5c43128-b411-4c5b-9872-53ae00c89369 r/w with ordered data mode. Quota mode: none. [Fri Mar 8 14:05:49 2024] EXT4-fs (dm-9): mounted filesystem 75db9238-7c5b-4366-92b2-0430db96e9dc r/w with ordered data mode. Quota mode: none. [Fri Mar 8 16:54:53 2024] EXT4-fs (dm-7): unmounting filesystem 5a09945b-a66b-463c-b079-9807db96e0f0. [Fri Mar 8 16:54:53 2024] EXT4-fs (dm-7): mounted filesystem 5a09945b-a66b-463c-b079-9807db96e0f0 r/w with ordered data mode. Quota mode: none. [Fri Mar 8 19:41:35 2024] EXT4-fs (dm-7): unmounting filesystem 5a09945b-a66b-463c-b079-9807db96e0f0. [Fri Mar 8 19:41:35 2024] EXT4-fs (dm-7): mounted filesystem 5a09945b-a66b-463c-b079-9807db96e0f0 r/w with ordered data mode. Quota mode: none. [Sat Mar 9 07:45:48 2024] EXT4-fs (dm-7): unmounting filesystem 5a09945b-a66b-463c-b079-9807db96e0f0. [Sat Mar 9 07:45:49 2024] EXT4-fs (dm-7): mounted filesystem 5a09945b-a66b-463c-b079-9807db96e0f0 r/w with ordered data mode. Quota mode: none. [Sat Mar 9 08:58:01 2024] EXT4-fs (dm-9): unmounting filesystem 75db9238-7c5b-4366-92b2-0430db96e9dc. [Sat Mar 9 08:58:02 2024] EXT4-fs (dm-9): mounted filesystem 75db9238-7c5b-4366-92b2-0430db96e9dc r/w with ordered data mode. Quota mode: none. [Sat Mar 9 13:05:58 2024] EXT4-fs (dm-7): unmounting filesystem 5a09945b-a66b-463c-b079-9807db96e0f0. [Sat Mar 9 13:05:59 2024] EXT4-fs (dm-7): mounted filesystem 5a09945b-a66b-463c-b079-9807db96e0f0 r/w with ordered data mode. Quota mode: none. [Sun Mar 10 20:09:39 2024] EXT4-fs (dm-7): unmounting filesystem 5a09945b-a66b-463c-b079-9807db96e0f0. [Sun Mar 10 20:09:40 2024] EXT4-fs (dm-7): mounted filesystem 5a09945b-a66b-463c-b079-9807db96e0f0 r/w with ordered data mode. Quota mode: none. [Mon Mar 11 09:17:27 2024] EXT4-fs (dm-7): unmounting filesystem 5a09945b-a66b-463c-b079-9807db96e0f0. [Mon Mar 11 09:17:28 2024] EXT4-fs (dm-7): mounted filesystem 5a09945b-a66b-463c-b079-9807db96e0f0 r/w with ordered data mode. Quota mode: none. [Mon Mar 11 09:19:28 2024] EXT4-fs (dm-7): unmounting filesystem 5a09945b-a66b-463c-b079-9807db96e0f0. [Mon Mar 11 09:19:29 2024] EXT4-fs (dm-7): mounted filesystem 5a09945b-a66b-463c-b079-9807db96e0f0 r/w with ordered data mode. Quota mode: none. [Mon Mar 18 10:01:12 2024] EXT4-fs (dm-11): unmounting filesystem f5c43128-b411-4c5b-9872-53ae00c89369. [Mon Mar 18 10:01:13 2024] EXT4-fs (dm-11): mounted filesystem f5c43128-b411-4c5b-9872-53ae00c89369 r/w with ordered data mode. Quota mode: none. [Mon Mar 18 10:42:41 2024] EXT4-fs (dm-7): unmounting filesystem 5a09945b-a66b-463c-b079-9807db96e0f0. [Mon Mar 18 10:42:42 2024] EXT4-fs (dm-7): mounted filesystem 5a09945b-a66b-463c-b079-9807db96e0f0 r/w with ordered data mode. Quota mode: none. Show mounted filesystems \(real ones only\): TARGET SOURCE FSTYPE OPTIONS / /dev/mapper/pve-vm--100--disk--0 ext4 rw,relatime,stripe=16 `-/opt/iobroker/backups 10.68.0.77:/volume1/fhembackup/proxmox nfs4 rw,relatime,vers=4.0,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.68.10.11,local_lock=none,addr=10.68.0.77 Files in neuralgic directories: /var: 551M /var/ 255M /var/cache 251M /var/cache/apt 175M /var/cache/apt/archives 150M /var/log/journal/eb946daf72cf4f5ebad0dae16554b71a 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: 156M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 693M /opt/iobroker/iobroker-data/ 461M /opt/iobroker/iobroker-data/files 167M /opt/iobroker/iobroker-data/files/vis-2 142M /opt/iobroker/iobroker-data/backup-objects 81M /opt/iobroker/iobroker-data/files/vis-2/static The five largest files in iobroker-data are: find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to restore initial working directory: /root: Permission denied USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id': find: Failed to restore initial working directory: /root: Permission denied *** NodeJS-Installation *** /usr/bin/nodejs v18.19.1 /usr/bin/node v18.19.1 /usr/bin/npm 10.2.4 /usr/bin/npx 10.2.4 /usr/bin/corepack 0.22.0 nodejs: Installed: 18.19.1-1nodesource1 Candidate: 18.19.1-1nodesource1 Version table: *** 18.19.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 100 /var/lib/dpkg/status 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 find: Failed to restore initial working directory: /root: Permission denied Temp directories causing npm8 problem: 0 No problems detected Errors in npm tree: npm ERR! code ELSPROBLEMS npm ERR! missing: aes-js@^3.1.2, required by iobroker.javascript@7.8.0 npm ERR! missing: csvjson@^5.1.0, required by iobroker.javascript@7.8.0 npm ERR! missing: dayjs@^1.11.10, required by iobroker.javascript@7.8.0 npm ERR! missing: fs@^0.0.1-security, required by iobroker.javascript@7.8.0 npm ERR! missing: moment-parseformat@^4.0.0, required by iobroker.javascript@7.8.0 npm ERR! invalid: moment@2.29.4 /opt/iobroker/node_modules/moment npm ERR! missing: request-promise-native@^1.0.9, required by iobroker.javascript@7.8.0 npm ERR! invalid: xml2js@0.4.23 /opt/iobroker/node_modules/xml2js npm ERR! A complete log of this run can be found in: /home/robert/.npm/_logs/2024-03-22T17_44_54_361Z-debug-0.log *** 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.13.16 javascript: 7.8.0 Adapters from github: 4 Adapter State + system.adapter.accuweather.0 : accuweather : iobroker - enabled + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.alexa2.0 : alexa2 : iobroker - disabled system.adapter.alias-manager.0 : alias-manager : iobroker - disabled + system.adapter.backitup.0 : backitup : iobroker - enabled + system.adapter.cloud.0 : cloud : iobroker - enabled system.adapter.devices.0 : devices : iobroker - disabled system.adapter.discovery.0 : discovery : iobroker - disabled system.adapter.energiefluss.0 : energiefluss : iobroker - disabled + system.adapter.enigma2.0 : enigma2 : iobroker - enabled + system.adapter.fahrplan.0 : fahrplan : iobroker - enabled system.adapter.feiertage.0 : feiertage : iobroker - enabled + system.adapter.fhem.0 : fhem : iobroker - enabled, port: 7072 system.adapter.fuelpricemonitor.0 : fuelpricemonitor : iobroker - disabled system.adapter.ical.0 : ical : iobroker - enabled system.adapter.ical.1 : ical : iobroker - enabled system.adapter.ical.2 : ical : iobroker - enabled system.adapter.icons-mfd-svg.0 : icons-mfd-svg : iobroker - disabled + system.adapter.influxdb.0 : influxdb : iobroker - enabled, port: 8086 + system.adapter.javascript.0 : javascript : iobroker - enabled + system.adapter.mqtt.0 : mqtt : iobroker - enabled, port: 1886, bind: 0.0.0.0 + system.adapter.mqtt.1 : mqtt : iobroker - enabled, port: 1883, bind: 0.0.0.0 system.adapter.netatmo-crawler.0 : netatmo-crawler : iobroker - enabled + system.adapter.octoprint.0 : octoprint : iobroker - enabled + system.adapter.onkyo.0 : onkyo : iobroker - enabled system.adapter.openweathermap.0 : openweathermap : iobroker - enabled + system.adapter.parser.0 : parser : iobroker - enabled system.adapter.ping.0 : ping : iobroker - disabled + system.adapter.pvforecast.0 : pvforecast : iobroker - enabled system.adapter.samsung.0 : samsung : iobroker - disabled + system.adapter.shelly.0 : shelly : iobroker - enabled, port: 1882, bind: 0.0.0.0 system.adapter.shuttercontrol.0 : shuttercontrol : iobroker - disabled + system.adapter.sonoff.0 : sonoff : iobroker - enabled, port: 1884, bind: 0.0.0.0 + system.adapter.sonos.0 : sonos : iobroker - enabled + system.adapter.sourceanalytix.0 : sourceanalytix : iobroker - enabled system.adapter.spotify-premium.0 : spotify-premium : iobroker - disabled + system.adapter.telegram.0 : telegram : iobroker - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.text2command.0 : text2command : iobroker - enabled + system.adapter.trashschedule.0 : trashschedule : iobroker - enabled + system.adapter.unifi.0 : unifi : iobroker - enabled + system.adapter.vaillant.0 : vaillant : iobroker - enabled system.adapter.vis-2-widgets-energy.0 : vis-2-widgets-energy : iobroker - disabled system.adapter.vis-2-widgets-gauges.0 : vis-2-widgets-gauges : iobroker - disabled system.adapter.vis-2-widgets-material.0 : vis-2-widgets-material: iobroker - disabled + system.adapter.vis-2.0 : vis-2 : iobroker - enabled system.adapter.vis-weather.0 : vis-weather : iobroker - disabled system.adapter.vis.0 : vis : iobroker - disabled + system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.wled.0 : wled : iobroker - disabled system.adapter.yr.0 : yr : 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.fhem.0 : fhem : iobroker - enabled, port: 7072 + system.adapter.influxdb.0 : influxdb : iobroker - enabled, port: 8086 + system.adapter.mqtt.0 : mqtt : iobroker - enabled, port: 1886, bind: 0.0.0.0 + system.adapter.mqtt.1 : mqtt : iobroker - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.shelly.0 : shelly : iobroker - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.sonoff.0 : sonoff : iobroker - enabled, port: 1884, bind: 0.0.0.0 + 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): stable Installed ioBroker-Instances Used repository: stable Adapter "accuweather" : 1.3.2 , installed 1.3.2 Adapter "admin" : 6.13.16 , installed 6.13.16 Adapter "alexa2" : 3.26.4 , installed 3.26.4 Adapter "alias-manager": 1.2.6 , installed 1.2.6 Adapter "backitup" : 2.10.11 , installed 2.10.11 Adapter "cloud" : 4.4.1 , installed 4.4.1 Adapter "devices" : 1.1.5 , installed 1.1.5 Adapter "discovery" : 4.4.0 , installed 4.4.0 Adapter "energiefluss" : 3.6.0 , installed 3.6.0 Adapter "enigma2" : 2.0.5 , installed 2.0.5 Adapter "fahrplan" : 1.2.3 , installed 1.2.3 Adapter "feiertage" : 1.1.4 , installed 1.1.4 Adapter "fhem" : 2.0.5 , installed 2.0.5 Adapter "fuelpricemonitor": 0.4.0 , installed 0.4.0 Adapter "ical" : 1.13.3 , installed 1.13.3 Adapter "icons-mfd-svg": 1.2.0 , installed 1.2.0 Adapter "influxdb" : 4.0.2 , installed 4.0.2 Adapter "javascript" : 7.8.0 , installed 7.8.0 Controller "js-controller": 5.0.19 , installed 5.0.19 Adapter "mqtt" : 5.2.0 , installed 5.2.0 Adapter "netatmo-crawler": 0.8.1 , installed 0.8.1 Adapter "octoprint" : 5.1.0 , installed 5.1.0 Adapter "onkyo" : 2.1.2 , installed 2.1.2 Adapter "openweathermap": 1.0.4 , installed 1.0.4 Adapter "parser" : 2.1.0 , installed 2.1.0 Adapter "ping" : 1.6.2 , installed 1.6.2 Adapter "pvforecast" : 2.9.1 , installed 2.9.1 Adapter "rpi2" : 1.3.2 , installed 1.3.2 Adapter "samsung" : 0.5.11 , installed 0.5.11 Adapter "shelly" : 6.6.1 , installed 6.6.1 Adapter "shuttercontrol": 1.7.0 , installed 1.7.0 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "socketio" : 6.6.0 , installed 6.6.0 Adapter "sonoff" : 3.0.3 , installed 3.0.3 Adapter "sonos" : 3.0.0 , installed 3.0.0 Adapter "spotify-premium": 1.3.1 , installed 1.3.1 Adapter "telegram" : 3.1.0 , installed 3.1.0 Adapter "text2command" : 3.0.3 , installed 3.0.3 Adapter "trashschedule": 3.2.0 , installed 3.2.0 Adapter "unifi" : 0.6.7 , installed 0.6.7 Adapter "vaillant" : 0.1.2 , installed 0.7.0 Adapter "vis" : 1.5.4 , installed 1.5.4 Adapter "vis-2" : 2.9.32 , installed 2.9.32 Adapter "vis-2-widgets-energy": 0.3.9, installed 0.3.9 Adapter "vis-2-widgets-gauges": 1.0.2, installed 1.0.2 Adapter "vis-2-widgets-material": 1.3.18, installed 1.3.18 Adapter "vis-weather" : 2.5.9 , installed 2.5.9 Adapter "web" : 6.2.3 , installed 6.2.3 Adapter "wled" : 0.7.2 , installed 0.7.2 Adapter "ws" : 2.5.10 , installed 2.5.10 Adapter "yr" : 5.3.0 , installed 5.3.0 Objects and States Please stand by - This may take a while Objects: 39715 States: 35527 *** 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 127.0.0.1:25 0.0.0.0:* LISTEN 0 33615392 298/master tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1000 33613285 332/iobroker.js-con tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1000 33613281 332/iobroker.js-con tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 33613937 1/init tcp 0 0 0.0.0.0:1882 0.0.0.0:* LISTEN 1000 33700324 1601/io.shelly.0 tcp 0 0 0.0.0.0:1884 0.0.0.0:* LISTEN 1000 38380074 39456/io.sonoff.0 tcp 0 0 0.0.0.0:1886 0.0.0.0:* LISTEN 1000 33618018 528/io.mqtt.0 tcp 0 0 0.0.0.0:43441 0.0.0.0:* LISTEN 0 47561095 - tcp6 0 0 ::1:25 :::* LISTEN 0 33615393 298/master tcp6 0 0 :::8081 :::* LISTEN 1000 33614544 350/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 1000 33620723 828/io.web.0 tcp6 0 0 :::40071 :::* LISTEN 0 47561096 - tcp6 0 0 :::22 :::* LISTEN 0 33615101 1/init tcp6 0 0 :::111 :::* LISTEN 0 33613939 1/init tcp6 0 0 :::3500 :::* LISTEN 1000 33620157 618/io.sonos.0 udp 0 0 0.0.0.0:111 0.0.0.0:* 0 33613938 1/init udp6 0 0 :::111 :::* 0 33613940 1/init *** Log File - Last 25 Lines *** 2024-03-22 18:45:19.279 - info: fhem.0 (440) event FHEM: alle_Rollo_gleichzeitig_EG | structure alle_Rollo_gleichzeitig_EG undefined | state > fhem.0.alle_Rollo_gleichzeitig_EG.state undefined 2024-03-22 18:45:19.279 - info: fhem.0 (440) event FHEM: alle_Rollo_gleichzeitig_SE | structure alle_Rollo_gleichzeitig_SE 0 | state > fhem.0.alle_Rollo_gleichzeitig_SE.state 0 2024-03-22 18:45:19.280 - info: fhem.0 (440) event FHEM: alle_Rollo_gleichzeitig | structure alle_Rollo_gleichzeitig undefined | state > fhem.0.alle_Rollo_gleichzeitig.state undefined 2024-03-22 18:45:19.280 - info: fhem.0 (440) event FHEM: alle_Rollo_gleichzeitig_EG | structure alle_Rollo_gleichzeitig_EG undefined | state > fhem.0.alle_Rollo_gleichzeitig_EG.state undefined 2024-03-22 18:45:19.280 - info: fhem.0 (440) event FHEM: alle_Rollo_gleichzeitig_SE | structure alle_Rollo_gleichzeitig_SE 0 | state > fhem.0.alle_Rollo_gleichzeitig_SE.state 0 2024-03-22 18:45:19.280 - info: fhem.0 (440) event FHEM: alle_Rollo_gleichzeitig | structure alle_Rollo_gleichzeitig undefined | state > fhem.0.alle_Rollo_gleichzeitig.state undefined 2024-03-22 18:45:19.280 - info: fhem.0 (440) event FHEM: alle_Rollo_gleichzeitig_EG | structure alle_Rollo_gleichzeitig_EG undefined | state > fhem.0.alle_Rollo_gleichzeitig_EG.state undefined 2024-03-22 18:45:19.280 - info: fhem.0 (440) event FHEM: alle_Rollo_gleichzeitig_SE | structure alle_Rollo_gleichzeitig_SE 0 | state > fhem.0.alle_Rollo_gleichzeitig_SE.state 0 2024-03-22 18:45:19.596 - info: fhem.0 (440) event FHEM: alle_Rollo_gleichzeitig | structure alle_Rollo_gleichzeitig undefined | state > fhem.0.alle_Rollo_gleichzeitig.state undefined 2024-03-22 18:45:19.596 - info: fhem.0 (440) event FHEM: alle_Rollo_gleichzeitig_EG | structure alle_Rollo_gleichzeitig_EG undefined | state > fhem.0.alle_Rollo_gleichzeitig_EG.state undefined 2024-03-22 18:45:19.596 - info: fhem.0 (440) event FHEM: alle_Rollo_gleichzeitig_S | structure alle_Rollo_gleichzeitig_S undefined | state > fhem.0.alle_Rollo_gleichzeitig_S.state undefined 2024-03-22 18:45:19.597 - info: fhem.0 (440) event FHEM: alle_Rollo_gleichzeitig | structure alle_Rollo_gleichzeitig undefined | state > fhem.0.alle_Rollo_gleichzeitig.state undefined 2024-03-22 18:45:19.597 - info: fhem.0 (440) event FHEM: alle_Rollo_gleichzeitig_EG | structure alle_Rollo_gleichzeitig_EG undefined | state > fhem.0.alle_Rollo_gleichzeitig_EG.state undefined 2024-03-22 18:45:19.597 - info: fhem.0 (440) event FHEM: alle_Rollo_gleichzeitig_S | structure alle_Rollo_gleichzeitig_S undefined | state > fhem.0.alle_Rollo_gleichzeitig_S.state undefined 2024-03-22 18:45:23.783 - info: fhem.0 (440) event FHEM: MQTT2_shellyem3 | MQTT2_DEVICE MQTT2_shellyem3 off | state > fhem.0.MQTT2_shellyem3.state off 2024-03-22 18:45:23.783 - info: fhem.0 (440) event FHEM: MQTT2_shellyem3 | MQTT2_DEVICE MQTT2_shellyem3 off | switch > fhem.0.MQTT2_shellyem3.state_switch false 2024-03-22 18:45:24.826 - info: fhem.0 (440) event FHEM: alle_Rollo_gleichzeitig | structure alle_Rollo_gleichzeitig undefined | state > fhem.0.alle_Rollo_gleichzeitig.state undefined 2024-03-22 18:45:24.826 - info: fhem.0 (440) event FHEM: alle_Rollo_gleichzeitig_EG | structure alle_Rollo_gleichzeitig_EG undefined | state > fhem.0.alle_Rollo_gleichzeitig_EG.state undefined 2024-03-22 18:45:24.826 - info: fhem.0 (440) event FHEM: alle_Rollo_gleichzeitig_S | structure alle_Rollo_gleichzeitig_S undefined | state > fhem.0.alle_Rollo_gleichzeitig_S.state undefined 2024-03-22 18:45:24.826 - info: fhem.0 (440) event FHEM: alle_Rollo_gleichzeitig | structure alle_Rollo_gleichzeitig undefined | state > fhem.0.alle_Rollo_gleichzeitig.state undefined 2024-03-22 18:45:24.826 - info: fhem.0 (440) event FHEM: alle_Rollo_gleichzeitig_EG | structure alle_Rollo_gleichzeitig_EG undefined | state > fhem.0.alle_Rollo_gleichzeitig_EG.state undefined 2024-03-22 18:45:24.826 - info: fhem.0 (440) event FHEM: alle_Rollo_gleichzeitig_S | structure alle_Rollo_gleichzeitig_S undefined | state > fhem.0.alle_Rollo_gleichzeitig_S.state undefined 2024-03-22 18:45:24.826 - info: fhem.0 (440) event FHEM: alle_Rollo_gleichzeitig | structure alle_Rollo_gleichzeitig undefined | state > fhem.0.alle_Rollo_gleichzeitig.state undefined 2024-03-22 18:45:24.826 - info: fhem.0 (440) event FHEM: alle_Rollo_gleichzeitig_EG | structure alle_Rollo_gleichzeitig_EG undefined | state > fhem.0.alle_Rollo_gleichzeitig_EG.state undefined 2024-03-22 18:45:24.826 - info: fhem.0 (440) event FHEM: alle_Rollo_gleichzeitig_S | structure alle_Rollo_gleichzeitig_S undefined | state > fhem.0.alle_Rollo_gleichzeitig_S.state undefined
======================= SUMMARY ======================= v.2023-10-10 Static hostname: iobroker Icon name: computer-container Chassis: container ☐ Virtualization: lxc Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.5.13-1-pve Architecture: x86-64 Installation: lxc Kernel: x86_64 Userland: amd64 Timezone: Europe/Vienna (CET, +0100) User-ID: 1001 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.19.1 /usr/bin/node v18.19.1 /usr/bin/npm 10.2.4 /usr/bin/npx 10.2.4 /usr/bin/corepack 0.22.0 Recommended versions are nodejs 18.19.1 and npm 10.2.4 Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 6.4G 3.5G 1.3G 118K 1.6G 2.9G Swap: 2.1G 0B 2.1G Total: 8.5G 3.5G 3.4G Active iob-Instances: 27 Active repo(s): stable ioBroker Core: js-controller 5.0.19 admin 6.13.16 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 39726 States: 35528 Size of iob-Database: 63M /opt/iobroker/iobroker-data/objects.jsonl 17M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
wie kann man das beheben?
Errors in npm tree: npm ERR! code ELSPROBLEMS npm ERR! missing: aes-js@^3.1.2, required by iobroker.javascript@7.8.0 npm ERR! missing: csvjson@^5.1.0, required by iobroker.javascript@7.8.0 npm ERR! missing: dayjs@^1.11.10, required by iobroker.javascript@7.8.0 npm ERR! missing: fs@^0.0.1-security, required by iobroker.javascript@7.8.0 npm ERR! missing: moment-parseformat@^4.0.0, required by iobroker.javascript@7.8.0 npm ERR! invalid: moment@2.29.4 /opt/iobroker/node_modules/moment npm ERR! missing: request-promise-native@^1.0.9, required by iobroker.javascript@7.8.0 npm ERR! invalid: xml2js@0.4.23 /opt/iobroker/node_modules/xml2js {1} npm ERR! A complete log of this run can be found in: /home/robert/.npm/_logs/2024-03-22T17_11_47_077Z-debug-0.log {1}
-
edit: erledigt
-
@meister-mopper musste noch editieren, dass meintest du nehme ich an.