NEWS
SOLVED [gelöst]VIS Verbindungsfehler und andere Probleme
-
Systemdata Bitte Ausfüllen Hardwaresystem: Pi3 Arbeitsspeicher: 1GB Festplattenart: SD-Karte Betriebssystem: Raspbian Node-Version: 10.15.3 Nodejs-Version: 8.17.0 NPM-Version: 6.10.1 Hi zusammen brauche mal bitte eure Hilfe, ich habe mehrere Probleme die ich mir nicht erklären kann.
Vielleicht, liegt es an den Versionen von Node - usw.?!- Die VIS stürzt ständig ab, sobald ich auch nur etwas ändern möchte- inkl. Web.0
- Habe ich seit neustem viele Errors in den Logs.
Vielleicht habt ihr ja ne gute Lösung oder einen Tipp für mich wie ich das Problem schnell beheben könnte.
Vielen Dank
pi@raspberrypi:/opt/iobroker $ node node_modules/iobroker.web/main.js --logs 2020-04-22 12:31:55.173 - error: web.0 (8573) web.0 invalid process id scenario 4302 vs. own ID 8573. Stopping 2020-04-22 12:31:55.189 - info: web.0 (8573) Terminated (ADAPTER_REQUESTED_TERM INATION): Without reason
-
@Thunder1504 sagte in VIS Verbindungsfehler und andere Probleme:
Welche Versionen passen denn am besten zueinander?
Halte es wie der Highlander:
Es darf nur einen geben!bitte beide node-Versionen löschen, dann nur noch EINE neu installieren
-
@Thunder1504 LOG bitte als Text in Code-tags posten!
dann kann ich nämlich das ENOMEM einfach kopieren.
RAM ist voll
-
Hoffe so ist es richtig:
Zeit Meldung host.raspberrypi 2020-04-22 14:31:57.917 info instance system.adapter.hmip.0 started with pid 2885 host.raspberrypi 2020-04-22 14:31:27.880 info Restart adapter system.adapter.hmip.0 because enabled host.raspberrypi 2020-04-22 14:31:27.878 info instance system.adapter.hmip.0 terminated with code 0 (NO_ERROR) hmip.0 2020-04-22 14:31:27.322 info (31677) Terminated (NO_ERROR): Without reason hmip.0 2020-04-22 14:31:27.318 info (31677) terminating hmip.0 2020-04-22 14:31:27.157 info (31677) cleaned everything up... hmip.0 2020-04-22 14:31:27.152 error (31677) Error: undefined is not a valid state value at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1570:39 at HmIpCloudAccesspointAdapter.setState (/opt/iobroker/node_module hmip.0 2020-04-22 14:31:27.134 error (31677) uncaught exception: undefined is not a valid state value javascript.0 2020-04-22 14:31:19.768 info (1117) script.js.common.Waschmaschine_Status: 05. Waschmaschine Steckdose ausschalten javascript.0 2020-04-22 14:31:19.766 info (1117) script.js.common.Waschmaschine_Status: 03. Waschmaschine Aus Zähler + , Ein Zähler =0 host.raspberrypi 2020-04-22 14:30:20.299 info instance system.adapter.ical.0 terminated with code 0 (NO_ERROR) javascript.0 2020-04-22 14:30:19.765 info (1117) script.js.common.Waschmaschine_Status: 03. Waschmaschine Aus Zähler + , Ein Zähler =0 ical.0 2020-04-22 14:30:19.747 info (32552) Terminated (NO_ERROR): Without reason ical.0 2020-04-22 14:30:13.951 info (32552) processing URL: Abfall https://calendar.google.com/calendar/ical/pbio251e2pmqp0hqrvhpv6u6jg%40group.calendar.google.com/private-92278456cf2eb33b1c0744796b3cc210/basic.ics ical.0 2020-04-22 14:30:12.679 info (32552) starting. Version 1.7.0 in /opt/iobroker/node_modules/iobroker.ical, node: v10.15.3, js-controller: 3.0.14 host.raspberrypi 2020-04-22 14:30:10.144 info instance system.adapter.daswetter.0 terminated with code 0 (NO_ERROR) daswetter.0 2020-04-22 14:30:09.582 info (32374) Terminated (NO_ERROR): Without reason daswetter.0 2020-04-22 14:30:09.577 debug (32374) exit, all done daswetter.0 2020-04-22 14:30:09.574 debug (32374) nothing to do daswetter.0 2020-04-22 14:30:07.465 debug (32374) objects in list: 107 daswetter.0 2020-04-22 14:30:07.447 debug (32374) 7 days forecast done, objects in list 107 daswetter.0 2020-04-22 14:30:07.030 debug (32374) calling forecast 7 days: http://api.daswetter.com/index.php?api_lang=de&localidad=26536&affiliate_id=jw23p5boflt2 daswetter.0 2020-04-22 14:30:07.027 debug (32374) using new data structure daswetter.0 2020-04-22 14:30:07.025 debug (32374) deleting unused dataset, reset to true daswetter.0 2020-04-22 14:30:07.022 debug (32374) got 7 channels daswetter.0 2020-04-22 14:30:06.987 debug (32374) got 99 states daswetter.0 2020-04-22 14:30:06.717 debug (32374) checking data structures daswetter.0 2020-04-22 14:30:06.713 debug (32374) set timeout to 60 sec daswetter.0 2020-04-22 14:30:06.623 info (32374) starting. Version 2.8.1 in /opt/iobroker/node_modules/iobroker.daswetter, node: v10.15.3, js-controller: 3.0.14 daswetter.0 2020-04-22 14:30:05.376 debug (32374) statesDB connected daswetter.0 2020-04-22 14:30:05.373 debug (32374) States connected to redis: 127.0.0.1:9000 daswetter.0 2020-04-22 14:30:05.343 debug (32374) States create System PubSub Client daswetter.0 2020-04-22 14:30:05.334 debug (32374) States create User PubSub Client daswetter.0 2020-04-22 14:30:05.311 debug (32374) Redis States: Use Redis connection: 127.0.0.1:9000 daswetter.0 2020-04-22 14:30:05.301 debug (32374) objectDB connected daswetter.0 2020-04-22 14:30:05.268 debug (32374) Objects connected to redis: 127.0.0.1:9001 daswetter.0 2020-04-22 14:30:05.222 debug (32374) Objects client initialize lua scripts daswetter.0 2020-04-22 14:30:05.219 debug (32374) Objects create User PubSub Client daswetter.0 2020-04-22 14:30:05.215 debug (32374) Objects create System PubSub Client daswetter.0 2020-04-22 14:30:05.197 debug (32374) Objects client ready ... initialize now daswetter.0 2020-04-22 14:30:05.056 debug (32374) Redis Objects: Use Redis connection: 127.0.0.1:9001 host.raspberrypi 2020-04-22 14:30:04.091 info instance system.adapter.ical.0 started with pid 32552 host.raspberrypi 2020-04-22 14:30:00.056 info instance system.adapter.daswetter.0 started with pid 32374 hmip.0 2020-04-22 14:29:32.461 info (31677) ws connection opened hmip.0 2020-04-22 14:29:32.300 error (31677) error starting homematic: Error: undefined is not a valid state value hmip.0 2020-04-22 14:29:28.289 info (31677) starting. Version 0.0.11 in /opt/iobroker/node_modules/iobroker.hmip, node: v10.15.3, js-controller: 3.0.14 host.raspberrypi 2020-04-22 14:29:22.411 info instance system.adapter.hmip.0 started with pid 31677 javascript.0 2020-04-22 14:29:19.765 info (1117) script.js.common.Waschmaschine_Status: 03. Waschmaschine Aus Zähler + , Ein Zähler =0 host.raspberrypi 2020-04-22 14:28:52.375 info Restart adapter system.adapter.hmip.0 because enabled host.raspberrypi 2020-04-22 14:28:52.373 info instance system.adapter.hmip.0 terminated with code 0 (NO_ERROR) hmip.0 2020-04-22 14:28:51.803 info (27909) Terminated (NO_ERROR): Without reason hmip.0 2020-04-22 14:28:51.799 info (27909) terminating hmip.0 2020-04-22 14:28:51.669 info (27909) cleaned everything up... hmip.0 2020-04-22 14:28:51.664 error at WebSocket._ws.on (/opt/iobroker/node_modules/iobroker.hmip/api/hm-cloud-api.js:152:18) hmip.0 2020-04-22 14:28:51.664 error at HmCloudAPI._parseEventdata (/opt/iobroker/node_modules/iobroker.hmip/api/hm-cloud-api.js:200:22) hmip.0 2020-04-22 14:28:51.664 error at HmIpCloudAccesspointAdapter._eventRaised (/opt/iobroker/node_modules/iobroker.hmip/main.js:262:28) hmip.0 2020-04-22 14:28:51.664 error at HmIpCloudAccesspointAdapter._updateDeviceStates (/opt/iobroker/node_modules/iobroker.hmip/main.js:353:43) hmip.0 2020-04-22 14:28:51.664 error at HmIpCloudAccesspointAdapter._updateAlarmSirenChannelStates (/opt/iobroker/node_modules/iobroker.hmip/main.js:654:28) hmip.0 2020-04-22 14:28:51.664 error at HmIpCloudAccesspointAdapter.setStateAsync (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1566:16) hmip.0 2020-04-22 14:28:51.664 error at new Promise (<anonymous>) hmip.0 2020-04-22 14:28:51.664 error at Promise (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1567:16) hmip.0 2020-04-22 14:28:51.664 error at HmIpCloudAccesspointAdapter.setState (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5668:21) hmip.0 2020-04-22 14:28:51.664 error at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1570:39 hmip.0 2020-04-22 14:28:51.664 error (27909) Error: undefined is not a valid state value hmip.0 2020-04-22 14:28:51.646 error (27909) uncaught exception: undefined is not a valid state value javascript.0 2020-04-22 14:28:19.765 info (1117) script.js.common.Waschmaschine_Status: 03. Waschmaschine Aus Zähler + , Ein Zähler =0 javascript.0 2020-04-22 14:27:19.765 info (1117) script.js.common.Waschmaschine_Status: 03. Waschmaschine Aus Zähler + , Ein Zähler =0 hmip.0 2020-04-22 14:26:42.593 info (27909) ws connection opened hmip.0 2020-04-22 14:26:42.451 error (27909) error starting homematic: Error: undefined is not a valid state value hmip.0 2020-04-22 14:26:38.658 info (27909) starting. Version 0.0.11 in /opt/iobroker/
-
@Thunder1504
wenn ich das richtig sehe, dann hast Du unterscheidlichenode
undnode-js
Versionen sowie einenpm
Version die nicht zu node v10.x.x passt.Das mußt Du unbedingt korrigieren.
Annahme: Du hast node irrtümlich mal an unterschiedlichen Stellen installiert, so dass nicht alles in einem Rutsch aktualisiert wird -
@BBTown
Welche Versionen passen denn am besten zueinander? Weiß auch nicht, wie das gekommen ist, irgendwann waren sie mal in Ordnung.Hilft mir da ein Update?
-
@Thunder1504 sagte in VIS Verbindungsfehler und andere Probleme:
Welche Versionen passen denn am besten zueinander?
Halte es wie der Highlander:
Es darf nur einen geben!bitte beide node-Versionen löschen, dann nur noch EINE neu installieren
-
@Homoran
Okay, danke ich versuche gleich mal mein Glück -
@BBTown
wie finde ich denn am besten raus, ob ich eventuell mehrer Versionen in verschiedene Ordner installiert hatte? Kann ich da einfach den Fixer drüber laufen lassen? Oder hilft mir reinstall.sh? -
javascript.0 2020-04-22 18:47:50.751 info (6999) script.js.common.Waschmaschine_Status: 03. Waschmaschine Aus Zähler + , Ein Zähler =0 host.raspberrypi 2020-04-22 18:47:50.087 info Restart adapter system.adapter.info.0 because enabled host.raspberrypi 2020-04-22 18:47:50.086 error instance system.adapter.info.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.raspberrypi 2020-04-22 18:47:50.086 error Caught by controller[1]: at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3) host.raspberrypi 2020-04-22 18:47:50.085 error Caught by controller[1]: at startup (internal/bootstrap/node.js:283:19) host.raspberrypi 2020-04-22 18:47:50.084 error Caught by controller[1]: at Function.Module.runMain (internal/modules/cjs/loader.js:754:12) host.raspberrypi 2020-04-22 18:47:50.084 error Caught by controller[1]: at Function.Module._load (internal/modules/cjs/loader.js:531:3) host.raspberrypi 2020-04-22 18:47:50.083 error Caught by controller[1]: at tryModuleLoad (internal/modules/cjs/loader.js:539:12) host.raspberrypi 2020-04-22 18:47:50.083 error Caught by controller[1]: at Module.load (internal/modules/cjs/loader.js:600:32) host.raspberrypi 2020-04-22 18:47:50.082 error Caught by controller[1]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) host.raspberrypi 2020-04-22 18:47:50.082 error Caught by controller[1]: at Module._compile (internal/modules/cjs/loader.js:701:30) host.raspberrypi 2020-04-22 18:47:50.081 error Caught by controller[1]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.info/main.js:48:18) host.raspberrypi 2020-04-22 18:47:50.081 error Caught by controller[1]: at getSystemVersions (/opt/iobroker/node_modules/iobroker.info/main.js:79:17) host.raspberrypi 2020-04-22 18:47:50.080 error Caught by controller[1]: TypeError: Cannot read property 'log' of undefined host.raspberrypi 2020-04-22 18:47:50.080 error Caught by controller[1]: ^ host.raspberrypi 2020-04-22 18:47:50.079 error Caught by controller[1]: adapter.log.error('Could not check npm version: ' + e); host.raspberrypi 2020-04-22 18:47:50.079 error Caught by controller[1]: /opt/iobroker/node_modules/iobroker.info/main.js:79 host.raspberrypi 2020-04-22 18:47:50.078 error Caught by controller[0]: /bin/sh: 1: npm: not found host.raspberrypi 2020-04-22 18:47:48.008 info instance system.adapter.info.0 started with pid 7636 host.raspberrypi 2020-04-22 18:47:17.976 info Restart adapter system.adapter.info.0 because enabled host.raspberrypi 2020-04-22 18:47:17.976 error instance system.adapter.info.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.raspberrypi 2020-04-22 18:47:17.975 error Caught by controller[1]: at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3) host.raspberrypi 2020-04-22 18:47:17.974 error Caught by controller[1]: at startup (internal/bootstrap/node.js:283:19) host.raspberrypi 2020-04-22 18:47:17.974 error Caught by controller[1]: at Function.Module.runMain (internal/modules/cjs/loader.js:754:12) host.raspberrypi 2020-04-22 18:47:17.973 error Caught by controller[1]: at Function.Module._load (internal/modules/cjs/loader.js:531:3) host.raspberrypi 2020-04-22 18:47:17.973 error Caught by controller[1]: at tryModuleLoad (internal/modules/cjs/loader.js:539:12) host.raspberrypi 2020-04-22 18:47:17.972 error Caught by controller[1]: at Module.load (internal/modules/cjs/loader.js:600:32) host.raspberrypi 2020-04-22 18:47:17.972 error Caught by controller[1]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) host.raspberrypi 2020-04-22 18:47:17.971 error Caught by controller[1]: at Module._compile (internal/modules/cjs/loader.js:701:30) host.raspberrypi 2020-04-22 18:47:17.970 error Caught by controller[1]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.info/main.js:48:18) host.raspberrypi 2020-04-22 18:47:17.970 error Caught by controller[1]: at getSystemVersions (/opt/iobroker/node_modules/iobroker.info/main.js:79:17) host.raspberrypi 2020-04-22 18:47:17.969 error Caught by controller[1]: TypeError: Cannot read property 'log' of undefined host.raspberrypi 2020-04-22 18:47:17.969 error Caught by controller[1]: ^ host.raspberrypi 2020-04-22 18:47:17.968 error Caught by controller[1]: adapter.log.error('Could not check npm version: ' + e); host.raspberrypi 2020-04-22 18:47:17.967 error Caught by controller[1]: /opt/iobroker/node_modules/iobroker.info/main.js:79 host.raspberrypi 2020-04-22 18:47:17.966 error Caught by controller[0]: /bin/sh: 1: npm: not found host.raspberrypi 2020-04-22 18:47:15.794 info instance system.adapter.info.0 started with pid 7628 javascript.0 2020-04-22 18:46:50.751 info (6999) script.js.common.Waschmaschine_Status: 03. Waschmaschine Aus Zähler + , Ein Zähler =0 host.raspberrypi 2020-04-22 18:46:45.762 info Restart adapter system.adapter.info.0 because enabled host.raspberrypi 2020-04-22 18:46:45.761 error instance system.adapter.info.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.raspberrypi 2020-04-22 18:46:45.761 error Caught by controller[1]: at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3) host.raspberrypi 2020-04-22 18:46:45.760 error Caught by controller[1]: at startup (internal/bootstrap/node.js:283:19) host.raspberrypi 2020-04-22 18:46:45.760 error Caught by controller[1]: at Function.Module.runMain (internal/modules/cjs/loader.js:754:12) host.raspberrypi 2020-04-22 18:46:45.759 error Caught by controller[1]: at Function.Module._load (internal/modules/cjs/loader.js:531:3) host.raspberrypi 2020-04-22 18:46:45.758 error Caught by controller[1]: at tryModuleLoad (internal/modules/cjs/loader.js:539:12) host.raspberrypi 2020-04-22 18:46:45.758 error Caught by controller[1]: at Module.load (internal/modules/cjs/loader.js:600:32) host.raspberrypi 2020-04-22 18:46:45.757 error Caught by controller[1]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) host.raspberrypi 2020-04-22 18:46:45.757 error Caught by controller[1]: at Module._compile (internal/modules/cjs/loader.js:701:30) host.raspberrypi 2020-04-22 18:46:45.756 error Caught by controller[1]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.info/main.js:48:18) host.raspberrypi 2020-04-22 18:46:45.755 error Caught by controller[1]: at getSystemVersions (/opt/iobroker/node_modules/iobroker.info/main.js:79:17) host.raspberrypi 2020-04-22 18:46:45.754 error Caught by controller[1]: TypeError: Cannot read property 'log' of undefined host.raspberrypi 2020-04-22 18:46:45.754 error Caught by controller[1]: ^ host.raspberrypi 2020-04-22 18:46:45.753 error Caught by controller[1]: adapter.log.error('Could not check npm version: ' + e); host.raspberrypi 2020-04-22 18:46:45.752 error Caught by controller[1]: /opt/iobroker/node_modules/iobroker.info/main.js:79 host.raspberrypi 2020-04-22 18:46:45.751 error Caught by controller[0]: /bin/sh: 1: npm: not found host.raspberrypi 2020-04-22 18:46:43.497 info instance system.adapter.info.0 started with pid 7617 host.raspberrypi 2020-04-22 18:46:13.462 info Restart adapter system.adapter.info.0 because enabled host.raspberrypi 2020-04-22 18:46:13.460 error instance system.adapter.info.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.raspberrypi 2020-04-22 18:46:13.455 error Caught by controller[1]: at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3) host.raspberrypi 2020-04-22 18:46:13.431 error Caught by controller[1]: at startup (internal/bootstrap/node.js:283:19) host.raspberrypi 2020-04-22 18:46:13.430 error Caught by controller[1]: at Function.Module.runMain (internal/modules/cjs/loader.js:754:12) host.raspberrypi 2020-04-22 18:46:13.430 error Caught by controller[1]: at Function.Module._load (internal/modules/cjs/loader.js:531:3) host.raspberrypi 2020-04-22 18:46:13.429 error Caught by controller[1]: at tryModuleLoad (internal/modules/cjs/loader.js:539:12) host.raspberrypi 2020-04-22 18:46:13.428 error Caught by controller[1]: at Module.load (internal/modules/cjs/loader.js:600:32) host.raspberrypi 2020-04-22 18:46:13.427 error Caught by controller[1]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) host.raspberrypi 2020-04-22 18:46:13.427 error Caught by controller[1]: at Module._compile (internal/modules/cjs/loader.js:701:30) host.raspberrypi 2020-04-22 18:46:13.426 error Caught by controller[1]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.info/main.js:48:18) host.raspberrypi 2020-04-22 18:46:13.425 error Caught by controller[1]: at getSystemVersions (/opt/iobroker/node_modules/iobroker.info/main.js:79:17) host.raspberrypi 2020-04-22 18:46:13.424 error Caught by controller[1]: TypeError: Cannot read property 'log' of undefined host.raspberrypi 2020-04-22 18:46:13.423 error Caught by controller[1]: ^ host.raspberrypi 2020-04-22 18:46:13.423 error Caught by controller[1]: adapter.log.error('Could not check npm version: ' + e); host.raspberrypi 2020-04-22 18:46:13.422 error Caught by controller[1]: /opt/iobroker/node_modules/iobroker.info/main.js:79 host.raspberrypi 2020-04-22 18:46:13.420 error Caught by controller[0]: /bin/sh: 1: npm: not found