NEWS
iobroker Absturz
-
Hallo zusammen,
ich nutze seit ca. einem Jahr iobroker auf einem Raspberry 4 (4 GB RAM) mit 120 GB SSD und Ice-Tower-Kühler-Gehäuse.
Versorgt wird der Raspberry über ein Hutschienen-Netzteil von Meanwell, es sind 5,1 V Ausgangsspannung eingestellt (und gemessen).Es laufen 28 Instanzen, 31 Skripte sowie 38 installierte Adapter.
iobroker-Version bis heute 7.1.5 und gerade aktualisiert auf 7.4.10.
Angezeigt wird:
94% freier Festplattenspeicher, RAM-Auslastung 2841 Mb, frei 27% = 1019 Mb, 29 ProzesseDie Prozessortemperatur liegt bei max. 30 °C, je nachdem ob ich auf den Raspberry zugreife oder er "normal" läuft.
In unregelmäßigen Abständen stürzt der iobroker ab, das erste Mal ca. 6 Woche nach der Erstinbetriebnahme. Ich habe seit den ersten Abstürzen den Raspberry getauscht, neues Gehäuse, neue Kühlung.
Ich weiß nun nicht, wie ich das Problem finden könnte bzw. welche Infos ich zwecks Hilfe noch posten soll.
In meinem Log tauchen immer wieder die gleichen Warnungen auf, hier ein Auszug. Ob diese Warnungen für die Abstürze verantwortlich sind weiß ich leider nicht. Vielleicht kann mir jemand bitte weiterhelfen.
Schon mal besten Dank vorab.Peter
2025-01-19 14:00:00.106 - info: javascript.0 (421197) script.js.common.Astrozeiten: Astro: Gültige Zeiten: [aktueller Tag: 7] | [nächster Tag: 7] | [Aktualisiert: 0] | Aktuelle Tageszeit: Mittag | Kommende Tageszeit: früher Abend 2025-01-19 14:00:00.114 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.openDTU_Erreichbarkeit" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:00:00.115 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:00:00.115 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:00:00.116 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:00:00.116 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:00:00.121 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.WR_Sued_AC_Produktion" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:00:00.122 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:00:00.123 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:00:00.123 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:00:00.123 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:00:00.126 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.openDTU_Erreichbarkeit" has to be type "string" but received type "number" 2025-01-19 14:00:00.131 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.WR_Sued_Netz_verbunden" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:00:00.133 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:00:00.133 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:00:00.133 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:00:00.134 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:00:00.136 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.WR_Sued_AC_Produktion" has to be type "string" but received type "number" 2025-01-19 14:00:00.143 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.akt_mondphase_konvertiert" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:00:00.147 - warn: javascript.0 (421197) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:00:00.148 - warn: javascript.0 (421197) at Object. (script.js.common.Mondphase_konvertieren:5:3) 2025-01-19 14:00:00.148 - warn: javascript.0 (421197) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1452:38) 2025-01-19 14:00:00.148 - warn: javascript.0 (421197) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:645:29) 2025-01-19 14:00:00.149 - warn: javascript.0 (421197) at Immediate._onImmediate (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:11048:62) 2025-01-19 14:00:00.149 - warn: javascript.0 (421197) at processImmediate (node:internal/timers:476:21) 2025-01-19 14:00:00.150 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil3_bool_in_string" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:00:00.151 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:00:00.151 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:00:00.152 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:00:00.152 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:00:00.157 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.WR_Sued_Netz_verbunden" has to be type "string" but received type "number" 2025-01-19 14:00:00.162 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.akt_mondphase_konvertiert" has to be type "string" but received type "number" 2025-01-19 14:00:00.164 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil2_bool_in_string" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:00:00.166 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:00:00.167 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:00:00.167 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:00:00.168 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:00:00.169 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil1_bool_in_string" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:00:00.171 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:00:00.171 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:00:00.171 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:00:00.172 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:00:00.175 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil3_bool_in_string" has to be type "string" but received type "number" 2025-01-19 14:00:00.177 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil2_bool_in_string" has to be type "string" but received type "number" 2025-01-19 14:00:00.215 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil1_bool_in_string" has to be type "string" but received type "number" 2025-01-19 14:00:01.854 - warn: hm-rega.0 (421262) State value to set for "hm-rega.0.10636" has value "10357.634845" greater than max "8800" 2025-01-19 14:01:00.111 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil1_bool_in_string" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:01:00.112 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:01:00.113 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:01:00.115 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:01:00.116 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:01:00.118 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil2_bool_in_string" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:01:00.119 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:01:00.120 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:01:00.120 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:01:00.121 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:01:00.124 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil3_bool_in_string" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:01:00.125 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:01:00.126 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:01:00.126 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:01:00.127 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:01:00.129 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil1_bool_in_string" has to be type "string" but received type "number" 2025-01-19 14:01:00.130 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil2_bool_in_string" has to be type "string" but received type "number" 2025-01-19 14:01:00.134 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil3_bool_in_string" has to be type "string" but received type "number" 2025-01-19 14:01:00.139 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.WR_Sued_Netz_verbunden" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:01:00.140 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:01:00.141 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:01:00.141 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:01:00.144 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:01:00.154 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.WR_Sued_Netz_verbunden" has to be type "string" but received type "number" 2025-01-19 14:01:00.156 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.WR_Sued_AC_Produktion" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:01:00.157 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:01:00.158 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:01:00.158 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:01:00.159 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:01:00.162 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.openDTU_Erreichbarkeit" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:01:00.163 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:01:00.163 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:01:00.164 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:01:00.164 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:01:00.170 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.WR_Sued_AC_Produktion" has to be type "string" but received type "number" 2025-01-19 14:01:00.211 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.openDTU_Erreichbarkeit" has to be type "string" but received type "number" 2025-01-19 14:02:00.117 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.openDTU_Erreichbarkeit" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:02:00.119 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:02:00.120 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:02:00.120 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:02:00.121 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:02:00.122 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.WR_Sued_AC_Produktion" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:02:00.123 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:02:00.124 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:02:00.124 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:02:00.124 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:02:00.127 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.openDTU_Erreichbarkeit" has to be type "string" but received type "number" 2025-01-19 14:02:00.129 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.WR_Sued_AC_Produktion" has to be type "string" but received type "number" 2025-01-19 14:02:00.134 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.WR_Sued_Netz_verbunden" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:02:00.135 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:02:00.136 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:02:00.136 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:02:00.136 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:02:00.142 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.WR_Sued_Netz_verbunden" has to be type "string" but received type "number" 2025-01-19 14:02:00.162 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil3_bool_in_string" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:02:00.163 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:02:00.163 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:02:00.163 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:02:00.163 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:02:00.167 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil3_bool_in_string" has to be type "string" but received type "number" 2025-01-19 14:02:00.183 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil2_bool_in_string" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:02:00.184 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:02:00.184 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:02:00.184 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:02:00.184 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:02:00.188 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil2_bool_in_string" has to be type "string" but received type "number" 2025-01-19 14:02:00.190 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil1_bool_in_string" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:02:00.192 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:02:00.192 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:02:00.192 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:02:00.192 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:02:00.198 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil1_bool_in_string" has to be type "string" but received type "number" 2025-01-19 14:03:00.111 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil1_bool_in_string" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:03:00.113 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:03:00.113 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:03:00.113 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:03:00.113 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:03:00.119 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil1_bool_in_string" has to be type "string" but received type "number" 2025-01-19 14:03:00.122 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil2_bool_in_string" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:03:00.123 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:03:00.124 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:03:00.124 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:03:00.124 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:03:00.129 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil2_bool_in_string" has to be type "string" but received type "number" 2025-01-19 14:03:00.139 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil3_bool_in_string" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:03:00.141 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:03:00.141 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:03:00.141 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:03:00.141 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:03:00.149 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil3_bool_in_string" has to be type "string" but received type "number" 2025-01-19 14:03:00.162 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.WR_Sued_Netz_verbunden" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:03:00.164 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:03:00.165 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:03:00.165 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:03:00.165 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:03:00.169 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.WR_Sued_Netz_verbunden" has to be type "string" but received type "number" 2025-01-19 14:03:00.170 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.WR_Sued_AC_Produktion" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:03:00.171 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:03:00.171 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:03:00.171 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:03:00.171 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:03:00.175 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.WR_Sued_AC_Produktion" has to be type "string" but received type "number" 2025-01-19 14:03:00.180 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.openDTU_Erreichbarkeit" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:03:00.182 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:03:00.182 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:03:00.183 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:03:00.183 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:03:00.189 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.openDTU_Erreichbarkeit" has to be type "string" but received type "number" 2025-01-19 14:04:00.110 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.openDTU_Erreichbarkeit" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:04:00.111 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:04:00.112 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:04:00.112 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:04:00.112 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:04:00.117 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.openDTU_Erreichbarkeit" has to be type "string" but received type "number" 2025-01-19 14:04:00.118 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.WR_Sued_AC_Produktion" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:04:00.121 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:04:00.121 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:04:00.121 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:04:00.122 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:04:00.126 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.WR_Sued_Netz_verbunden" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:04:00.128 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:04:00.128 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:04:00.128 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:04:00.128 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:04:00.131 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.WR_Sued_AC_Produktion" has to be type "string" but received type "number" 2025-01-19 14:04:00.136 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.WR_Sued_Netz_verbunden" has to be type "string" but received type "number" 2025-01-19 14:04:00.138 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil3_bool_in_string" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:04:00.139 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:04:00.140 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:04:00.140 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:04:00.140 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:04:00.148 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil2_bool_in_string" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:04:00.150 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:04:00.151 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:04:00.151 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:04:00.152 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:04:00.154 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil3_bool_in_string" has to be type "string" but received type "number" 2025-01-19 14:04:00.155 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil1_bool_in_string" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 14:04:00.157 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 14:04:00.157 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 14:04:00.157 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 14:04:00.158 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 14:04:00.162 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil2_bool_in_string" has to be type "string" but received type "number" 2025-01-19 14:04:00.164 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil1_bool_in_string" has to be type "string" but received type "number"
-
@pb74 bitte erst einmal die Langfassung von
iob diag
postensiehe auch https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1
@pb74 sagte in iobroker Absturz:
immer wieder die gleichen Warnungen auf,
dürften hiermit aber nichts zu tun haben.
Du solltest aber trotzdem die genannten Maßnahmen ergreifen@pb74 sagte in iobroker Absturz:
Please fix your code to use a string or change the state type to number.
-
-
Hier die Langfassung, ich hoffe es ist alles dabei.
Vielleicht noch folgendes: Wenn mein iobroker abstürzt, kann ich ihn nur wieder in Betrieb nehmen wenn ich ihn längere Zeit (z.B. 1/2 Stunde) von der Versorgungsspannung trenne...
bash Script v.2024-12-09 Raspbian+zigbee diag+masking *** BASE SYSTEM *** Static hostname: iobroker001 Icon name: computer Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.6.31+rpt-rpi-v8 Architecture: arm64 OS is similar to: Model : Raspberry Pi 4 Model B Rev 1.5 Docker : false Virtualization : none Kernel : aarch64 Userland : 64 bit Systemuptime and Load: 18:17:26 up 9 days, 12:51, 2 users, load average: 1.84, 1.19, 0.73 CPU threads: 4 *** LIFE CYCLE STATUS *** Unknown release codenamed 'bookworm'. Please check yourself if the Operating System is actively maintained. *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** TIME AND TIMEZONES *** Local time: Sun 2025-01-19 18:17:27 CET Universal time: Sun 2025-01-19 17:17:27 UTC RTC time: n/a Time zone: Europe/Berlin (CET, +0100) System clock synchronized: yes NTP service: active RTC in local TZ: no *** Users and Groups *** User that called 'iob diag': peter HOME=/home/peter GROUPS=peter adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker User that is running 'js-controller': iobroker HOME=/home/iobroker GROUPS=iobroker tty dialout audio video plugdev bluetooth gpio i2c *** DISPLAY-SERVER SETUP *** Display-Server: false Desktop: Terminal: tty *** MEMORY *** total used free shared buff/cache available Mem: 4.0G 2.7G 498M 196K 846M 1.3G Swap: 209M 208M 1.7M Total: 4.2G 2.9G 499M Active iob-Instances: 29 3791 M total memory 2564 M used memory 1207 M active memory 1955 M inactive memory 474 M free memory 35 M buffer memory 771 M swap cache 199 M total swap 198 M used swap 1 M free swap *** top - Table Of Processes *** top - 18:17:27 up 9 days, 12:51, 2 users, load average: 1.93, 1.22, 0.74 Tasks: 202 total, 3 running, 198 sleeping, 0 stopped, 1 zombie %Cpu(s): 0.0 us, 40.0 sy, 0.0 ni, 60.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 3791.1 total, 474.6 free, 2564.6 used, 807.4 buff/cache MiB Swap: 200.0 total, 1.6 free, 198.4 used. 1226.5 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. *** DMESG CRITICAL ERRORS *** No critical errors detected *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 1.6G 0 1.6G 0% /dev tmpfs tmpfs 380M 1.2M 378M 1% /run /dev/sda2 ext4 235G 13G 210G 6% / tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs tmpfs 5.0M 16K 5.0M 1% /run/lock /dev/sda1 vfat 510M 64M 447M 13% /boot/firmware tmpfs tmpfs 380M 0 380M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Fri Jan 10 05:25:38 2025] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=D8:3A:DD:7F:7D:45 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=ttyS0,115200 console=tty1 root=PARTUUID=2edada06-02 rootfstype=ext4 fsck.repair=yes rootwait [Fri Jan 10 05:25:42 2025] EXT4-fs (sda2): mounted filesystem 93c89e92-8f2e-4522-ad32-68faed883d2f ro with ordered data mode. Quota mode: none. [Fri Jan 10 05:25:44 2025] EXT4-fs (sda2): re-mounted 93c89e92-8f2e-4522-ad32-68faed883d2f r/w. Quota mode: none. Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime `-/boot/firmware /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 5.6G /var/ 4.0G /var/log/journal/a8a92d47c12b42b58df1e1120bb26229 4.0G /var/log/journal 4.0G /var/log 1.3G /var/lib Archived and active journals take up 3.9G in the file system. /opt/iobroker/backups: 6.0M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 1.6G /opt/iobroker/iobroker-data/ 1.3G /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: 35M /opt/iobroker/iobroker-data/objects.jsonl 24M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.js.map 24M /opt/iobroker/iobroker-data/files/vis-2/static/js/main.f305bc29.js.map 24M /opt/iobroker/iobroker-data/files/vis-2/static/js/main.8e80ccb0.js.map 24M /opt/iobroker/iobroker-data/files/vis-2/customWidgets.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' Zigbee Network Settings on your coordinator/in nvbackup are: zigbee.X Extended Pan ID: *** MASKED *** Pan ID: *** MASKED *** Channel: *** MASKED *** Network Key: *** MASKED *** To unmask the settings run 'iob diag --unmask' *** NodeJS-Installation *** /usr/bin/nodejs v18.20.3 /usr/bin/node v18.20.3 /usr/bin/npm 10.7.0 /usr/bin/npx 10.7.0 /usr/bin/corepack 0.28.0 nodejs: Installed: 18.20.3-1nodesource1 Candidate: 18.20.5-1nodesource1 Version table: 18.20.5-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.20.4-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages *** 18.20.3-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 100 /var/lib/dpkg/status 18.20.2-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.20.1-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.20.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.19.1-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.19.0+dfsg-6~deb12u2 500 500 http://deb.debian.org/debian bookworm/main arm64 Packages 18.19.0+dfsg-6~deb12u1 500 500 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages 18.19.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.18.2-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.18.1-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.18.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.17.1-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.17.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.16.1-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.16.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.15.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.2-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.1-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.13.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.12.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.11.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.10.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.9.1-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.9.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.8.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.7.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.6.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.5.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.4.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.3.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.2.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.1.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.0.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 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: iobroker001 iobroker001 (version: 7.0.6, hostname: iobroker001 , alive, uptime: 18651) Core adapters versions js-controller: 7.0.6 admin: 7.4.10 javascript: 8.8.3 nodejs modules from github: 1 +-- iobroker.time-switch@2.2.2 (git+ssh://git@github.com/walli545/ioBroker.time-switch.git#45b5addb484d270dcac6d1bfdb1a9f86b444d80e) Adapter State + system.adapter.admin.0 : admin : iobroker001 - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.backitup.0 : backitup : iobroker001 - enabled + system.adapter.discovery.0 : discovery : iobroker001 - enabled + system.adapter.hm-rega.0 : hm-rega : iobroker001 - enabled + system.adapter.hm-rpc.0 : hm-rpc : iobroker001 - enabled, port: 0 + system.adapter.hm-rpc.1 : hm-rpc : iobroker001 - enabled, port: 0 + system.adapter.hm-rpc.2 : hm-rpc : iobroker001 - enabled, port: 0 system.adapter.icons-icons8.0 : icons-icons8 : iobroker001 - disabled system.adapter.icons-material-png.0 : icons-material-png : iobroker001 - disabled system.adapter.icons-mfd-png.0 : icons-mfd-png : iobroker001 - disabled system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: iobroker001 - disabled system.adapter.icons-ultimate-png.0 : icons-ultimate-png : iobroker001 - disabled + system.adapter.influxdb.0 : influxdb : iobroker001 - enabled, port: 8086 + system.adapter.javascript.0 : javascript : iobroker001 - enabled + system.adapter.modbus.0 : modbus : iobroker001 - enabled + system.adapter.mytime.0 : mytime : iobroker001 - enabled + system.adapter.opendtu.0 : opendtu : iobroker001 - enabled + system.adapter.pvforecast.0 : pvforecast : iobroker001 - enabled + system.adapter.pvforecast.1 : pvforecast : iobroker001 - enabled + system.adapter.rpi2.0 : rpi2 : iobroker001 - enabled + system.adapter.s7.0 : s7 : iobroker001 - enabled + system.adapter.s7.1 : s7 : iobroker001 - enabled + system.adapter.s7.2 : s7 : iobroker001 - enabled + system.adapter.socketio.0 : socketio : iobroker001 - enabled, port: 8084, bind: 0.0.0.0, run as: admin + system.adapter.sonoff.0 : sonoff : iobroker001 - enabled, port: 1883, bind: 192.168.1.141 + system.adapter.sourceanalytix.0 : sourceanalytix : iobroker001 - enabled + system.adapter.telegram.0 : telegram : iobroker001 - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.terminal.0 : terminal : iobroker001 - enabled, port: 8090, bind: 0.0.0.0, run as: admin + system.adapter.time-switch.0 : time-switch : iobroker001 - enabled + system.adapter.tr-064.0 : tr-064 : iobroker001 - enabled + system.adapter.vis-2.0 : vis-2 : iobroker001 - enabled system.adapter.vis-hqwidgets.0 : vis-hqwidgets : iobroker001 - disabled system.adapter.vis-icontwo.0 : vis-icontwo : iobroker001 - disabled + system.adapter.vis-inventwo.0 : vis-inventwo : iobroker001 - enabled system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd : iobroker001 - disabled system.adapter.vis-materialdesign.0 : vis-materialdesign : iobroker001 - disabled system.adapter.vis-plumb.0 : vis-plumb : iobroker001 - disabled system.adapter.vis-timeandweather.0 : vis-timeandweather : iobroker001 - disabled system.adapter.vis.0 : vis : iobroker001 - enabled + system.adapter.web.0 : web : iobroker001 - enabled, port: 8082, bind: 0.0.0.0, run as: admin + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : iobroker001 - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.hm-rpc.0 : hm-rpc : iobroker001 - enabled, port: 0 + system.adapter.hm-rpc.1 : hm-rpc : iobroker001 - enabled, port: 0 + system.adapter.hm-rpc.2 : hm-rpc : iobroker001 - enabled, port: 0 + system.adapter.influxdb.0 : influxdb : iobroker001 - enabled, port: 8086 + system.adapter.socketio.0 : socketio : iobroker001 - enabled, port: 8084, bind: 0.0.0.0, run as: admin + system.adapter.sonoff.0 : sonoff : iobroker001 - enabled, port: 1883, bind: 192.168.1.141 + system.adapter.telegram.0 : telegram : iobroker001 - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.terminal.0 : terminal : iobroker001 - enabled, port: 8090, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : iobroker001 - enabled, port: 8082, 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.4.10 , installed 7.4.10 Adapter "backitup" : 3.0.31 , installed 3.0.25 [Updatable] Adapter "discovery" : 5.0.0 , installed 5.0.0 Adapter "hm-rega" : 5.1.0 , installed 5.1.0 Adapter "hm-rpc" : 2.0.2 , installed 2.0.2 Adapter "icons-icons8" : 0.0.1 , installed 0.0.1 Adapter "icons-material-png": 0.1.0, installed 0.1.0 Adapter "icons-mfd-png": 1.2.1 , installed 1.2.1 Adapter "icons-open-icon-library-png": 0.1.2, installed 0.1.2 Adapter "icons-ultimate-png": 1.0.1, installed 1.0.1 Adapter "influxdb" : 4.0.2 , installed 4.0.2 Adapter "javascript" : 8.8.3 , installed 8.8.3 Controller "js-controller": 7.0.6 , installed 7.0.6 Adapter "modbus" : 6.3.2 , installed 6.3.2 Adapter "mytime" : 1.2.2 , installed 0.7.12 [Updatable] Adapter "opendtu" : 3.1.0 , installed 2.0.0 [Updatable] Adapter "pvforecast" : 4.1.0 , installed 4.1.0 Adapter "rpi2" : 2.2.1 , installed 2.2.1 Adapter "s7" : 1.4.3 , installed 1.4.3 Adapter "signal-cmb" : 0.3.0 , installed 0.3.0 Adapter "simple-api" : 2.8.0 , installed 2.8.0 Adapter "socketio" : 6.7.1 , installed 6.7.1 Adapter "sonoff" : 3.1.2 , installed 3.1.2 Adapter "telegram" : 3.9.0 , installed 3.9.0 Adapter "terminal" : 1.0.0 , installed 1.0.0 Adapter "tr-064" : 4.3.0 , installed 4.3.0 Adapter "vis" : 1.5.6 , installed 1.5.6 Adapter "vis-2" : 2.9.64 , installed 2.9.64 Adapter "vis-hqwidgets": 1.5.1 , installed 1.5.1 Adapter "vis-icontwo" : 1.11.0 , installed 1.5.0 [Updatable] Adapter "vis-inventwo" : 3.3.4 , installed 3.3.4 Adapter "vis-jqui-mfd" : 1.1.1 , installed 1.1.1 Adapter "vis-materialdesign": 0.5.9, installed 0.5.9 Adapter "vis-plumb" : 1.0.2 , installed 1.0.2 Adapter "vis-timeandweather": 1.2.2, installed 1.2.2 Adapter "web" : 6.2.5 , installed 6.2.5 Adapter "ws" : 2.6.2 , installed 2.6.2 Objects and States Please stand by - This may take a while Objects: 5625 States: 4772 *** OS-Repositories and Updates *** Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://repos.influxdata.com/debian stable InRelease Hit:5 http://archive.raspberrypi.com/debian bookworm InRelease Hit:6 https://deb.nodesource.com/node_18.x nodistro InRelease Hit:7 https://packages.grafana.com/oss/deb stable InRelease Reading package lists... Done Pending Updates: 141 *** Listening Ports *** Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 5690 678/sshd: /usr/sbin tcp 0 0 192.168.1.141:8701 0.0.0.0:* LISTEN 1001 19805433 421332/io.hm-rpc.2 tcp 0 0 127.0.0.1:8088 0.0.0.0:* LISTEN 999 6240 738/influxd tcp 0 0 192.168.1.141:2010 0.0.0.0:* LISTEN 1001 19803875 421300/io.hm-rpc.1 tcp 0 0 192.168.1.141:2001 0.0.0.0:* LISTEN 1001 19803746 421285/io.hm-rpc.0 tcp 0 0 192.168.1.141:1883 0.0.0.0:* LISTEN 1001 19804051 421485/io.sonoff.0 tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 19803555 421136/iobroker.js- tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 19803562 421136/iobroker.js- tcp6 0 0 :::3000 :::* LISTEN 106 5815 788/grafana tcp6 0 0 :::22 :::* LISTEN 0 5692 678/sshd: /usr/sbin tcp6 0 0 :::8081 :::* LISTEN 1001 19803623 421155/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 1001 19807597 421654/io.web.0 tcp6 0 0 :::8084 :::* LISTEN 1001 19806779 421564/io.socketio. tcp6 0 0 :::8086 :::* LISTEN 999 7275 738/influxd tcp6 0 0 :::8090 :::* LISTEN 1001 19808459 421575/io.terminal. udp 0 0 0.0.0.0:5353 0.0.0.0:* 104 551 532/avahi-daemon: r udp 0 0 0.0.0.0:38376 0.0.0.0:* 104 553 532/avahi-daemon: r udp6 0 0 :::41205 :::* 104 554 532/avahi-daemon: r udp6 0 0 fe80::9948:b004:76b:546 :::* 0 7218 606/NetworkManager udp6 0 0 :::5353 :::* 104 552 532/avahi-daemon: r *** Log File - Last 25 Lines *** 2025-01-19 18:18:00.125 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.WR_Sued_AC_Produktion" has to be type "string" but received type "number" 2025-01-19 18:18:00.128 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.WR_Sued_Netz_verbunden" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 18:18:00.129 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 18:18:00.130 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 18:18:00.130 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 18:18:00.130 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 18:18:00.140 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.WR_Sued_Netz_verbunden" has to be type "string" but received type "number" 2025-01-19 18:18:00.141 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil3_bool_in_string" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 18:18:00.145 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 18:18:00.147 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 18:18:00.147 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 18:18:00.147 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 18:18:00.151 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil2_bool_in_string" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 18:18:00.154 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 18:18:00.155 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 18:18:00.155 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 18:18:00.155 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 18:18:00.157 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil3_bool_in_string" has to be type "string" but received type "number" 2025-01-19 18:18:00.158 - warn: javascript.0 (421197) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil1_bool_in_string" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-19 18:18:00.159 - warn: javascript.0 (421197) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-19 18:18:00.160 - warn: javascript.0 (421197) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-19 18:18:00.160 - warn: javascript.0 (421197) at listOnTimeout (node:internal/timers:571:11) 2025-01-19 18:18:00.160 - warn: javascript.0 (421197) at processTimers (node:internal/timers:512:7) 2025-01-19 18:18:00.166 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil2_bool_in_string" has to be type "string" but received type "number" 2025-01-19 18:18:00.207 - info: javascript.0 (421197) State value to set for "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil1_bool_in_string" has to be type "string" but received type "number"
-
@pb74 sagte in iobroker Absturz:
load average: 1.84, 1.19, 0.73
da war in den letzten 5 Minuten schon einiges los.
sollte selbst bei
@pb74 sagte in iobroker Absturz:
Active iob-Instances: 29
nicht der Fall sein.
@pb74 sagte in iobroker Absturz:
Wenn mein iobroker abstürzt,
das ist wann zuletzt passiert?
@pb74 sagte in iobroker Absturz:
up 9 days, 12:51
zumindest der Raspi nicht in letzter Zeit.
@pb74 sagte in iobroker Absturz:
wenn ich ihn .... von der Versorgungsspannung trenne...
riskiert du irreversible Schäden an der SD Karte
@pb74 sagte in iobroker Absturz:
nodejs v18.20.3
ist nicht aktuell
und das Betriebssystem erst recht nicht
@pb74 sagte in iobroker Absturz:Pending Updates: 141
-
@homoran said in iobroker Absturz:
das ist wann zuletzt passiert?
vor den angegebenen 9 Tagen...
Das Trennen von der Versorgungsspannung war die einzige Möglichkeit, da der Raspberry nicht mehr erreichbar war.
Können die ältere Nodejs-Version oder die ausstehenden OS-Updates für die Abstürze verantwortlich sein? Im Normalfall wird es ja immer wieder mal passieren, das man nicht die aktuellesten Softwarestände auf seinem System hat.
-
@pb74 sagte in iobroker Absturz:
Das Trennen von der Versorgungsspannung war die einzige Möglichkeit, da der Raspberry nicht mehr erreichbar war.
oder einfach warten!
über Tastatur und Moitor geht's auch sauber.@pb74 sagte in iobroker Absturz:
Können die ältere Nodejs-Version oder die ausstehenden OS-Updates für die Abstürze verantwortlich sein?
könnte!
wahrscheinlicher ist, dass irgendein Script Amok läuft undeine Load average über 4 (und mehr) hochtreibt
-
@pb74
So ganz nebenbei solltest Du mal Deine Scripte überprüfen.State value to set for "0_userdata.0.eig_Datenpunkte.xxx" has to be type yyy ...
Du schreibst da entweder die falschen Werte oder die Datenpunkte sind falsch definiert.
-
@codierknecht
as I told:@homoran sagte in iobroker Absturz:
dürften hiermit aber nichts zu tun haben.
Du solltest aber trotzdem die genannten Maßnahmen ergreifen
@pb74 sagte in iobroker Absturz:Please fix your code to use a string or change the state type to number.
-
@homoran
Hast Recht - ist sinngemäß das Gleiche -
Danke euch beiden erstmal.
Ich werde mich demnächst mal mit dem fehlerhaften Code befassen...kann aber etwas dauern. Wenn ich Fragen zum Code habe (das kann ich garantieren ) melde ich mich an dieser Stelle wieder.Bis dahin und viele Grüße
Peter -
@homoran said in iobroker Absturz:
wahrscheinlicher ist, dass irgendein Script Amok läuft undeine Load average über 4 (und mehr) hochtreibt
Was bedeutet das eigentlich???
-
@pb74 said in iobroker Absturz:
Was bedeutet das eigentlich???
....das Load average? Wie muss man das einschätzen?
-
@pb74 sagte in iobroker Absturz:
Was bedeutet das eigentlich???
Wenn Du schon so generelle Fehler in Deinen Scripten hast und falsche Datentypen in die States schreibst, ist zu befürchten dass da noch schlimmere Kinken drin sind.
Kandidaten sind da z.B. "Trigger in Trigger" und nicht beendete Timeouts.Dann geht die durchschnittliche Last auf Deiner Kiste (LoadAverage) schnell in die Höhe.
-
@pb74 sagte in iobroker Absturz:
@pb74 said in iobroker Absturz:
Was bedeutet das eigentlich???
....das Load average? Wie muss man das einschätzen?
die load average betrachtet diverse Parameter zur Systemlast, und der Wert sollte grob gesagt die Anzahl Kerne nicht überschreiten.
Passiert das, staut sich die Abarbeitung was im schlimmsten Fall zur Lähmung des Systems führt.Es wäre vielleicht sinnvoll auf den entsprechenden Wert unter system.host.xyz zu triggern, beim Erreichen einer Schwelle eine WARN ins log schreiben, damit man später im Log sehen kann was da etwa passiert ist.
-
Hallo zusammen!
Ich hatte über die letzten Monate ebenfalls das Problem, dass mein IOBroker in unregelmäßigen Abständen abgestürzt ist.
Interessant war, das der IOB nach einem Absturz oftmals nach ein paar Stunden wieder abstürzte.
Dann gab es wieder Zeiten in denen lange Ruhe war.
Bei aller Suche bin ich lange Zeit nicht auf den Grund gestoßen.Schlussendlich habe ich mehr oder weniger zufällig ein Script gefunden, welches in ungünstigen Fällen eine Division durch 0 berechnet hat.
Der Datenpunkt war der von mir berechnete Autarkiegrad meines Hauses.
Nachdem ich die Berechnung korrigiert habe (den Wert auf >1 begrenzt) ist nun seit 2 Monaten Ruhe.
In den Logfiles habe ich keinen Hinweis auf dieses Problem gefunden. Schön wäre, wenn das abgefangen werden würde und eine "DivideByZeroException" exception oder ähnliches im Log zu finden wäre.Anyway, unter Umständen hilft das dem Ein oder Anderem, vielleicht auch bei dieser Problemstellung.
LG
Wolfgang -
@eitljoerggmx-at said in iobroker Absturz:
Schlussendlich habe ich mehr oder weniger zufällig ein Script gefunden, welches in ungünstigen Fällen eine Division durch 0 berechnet hat.
Der Datenpunkt war der von mir berechnete Autarkiegrad meines Hauses.
Nachdem ich die Berechnung korrigiert habe (den Wert auf >1 begrenzt) ist nun seit 2 Monaten Ruhe.
In den Logfiles habe ich keinen Hinweis auf dieses Problem gefunden. Schön wäre, wenn das abgefangen werden würde und eine "DivideByZeroException" exception oder ähnliches im Log zu finden wäre.Wenn das Problem reproduzierbar ist erstell bitte ein Issue mit einem Mini-Demo-Script dass das Problem zeigt beim javascript Adapter. Dann kann sich das sicher wer ansehen. Das hilft dann anderen sicher wenn das Verhalten verbessert wird.
-
Hallo zusammen,
mit der Fehlersuche in den Scripten habe ich aus Zeitgründen noch nicht anfangen können, bisher wurde nur das OS auf den neuesten Stand gebracht.
Gestern Abend ist mein iobroker wieder abgestürzt, leider habe ich es erst so gegen 23:00 Uhr bemerkt.
Seitdem wurde er nicht spannungslos gemacht.
Ich werde heute gegen Abend mal probieren, ob bzw. wie der iobroker erreichbar ist.Macht es Sinn iob_diag nochmal auszuführen und das Ergebnis hier einzustellen?
-
@pb74 sagte in iobroker Absturz:
Macht es Sinn iob_diag nochmal auszuführen
Ein frischer Lauf von dem Ding ist immer sinnvoll.
-
An Deiner Stelle würde ich zuerst den SWAP vergrößern. Der ist nämlich aufgebraucht.
D.h. dass der RAM im laufenden Betrieb auch schon mal am Ende war.
4GB ist unterste Grenze, da muss der Kleine wenigstens auslagern können.Ich denke Du benutzt keine SD-Karte, sondern etwas anderes!? Dann kannst Du den SWAP ruhig auf 4GB machen, oder sogar das 1 1/2-fache vom RAM.
Anleitungen gibt es genügend im Web.
Geht schnell, kost nix, bringt was.