NEWS
[Diskussion] js-controller 1.5.14 in latest
-
@hesse Logs?
-
2019-07-30 19:05:52.116 - info: sonos.0 terminating 2019-07-30 19:05:52.124 - error: sonos.0 Got error: Parse Error 2019-07-30 19:05:52.167 - error: Caught by controller[1]: TypeError [ERR_INVALID_CALLBACK]: Callback must be a function 2019-07-30 19:05:52.167 - error: Caught by controller[1]: at maybeCallback (fs.js:128:9) 2019-07-30 19:05:52.168 - error: Caught by controller[1]: at Object.exists (fs.js:196:3) 2019-07-30 19:05:52.168 - error: Caught by controller[1]: at ClientRequest.http.get.res2 (/opt/iobroker/node_modules/iobroker.sonos/main.js:1783:37) 2019-07-30 19:05:52.168 - error: Caught by controller[1]: at Object.onceWrapper (events.js:286:20) 2019-07-30 19:05:52.168 - error: Caught by controller[1]: at ClientRequest.emit (events.js:198:13) 2019-07-30 19:05:52.169 - error: Caught by controller[1]: at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:556:21) 2019-07-30 19:05:52.169 - error: Caught by controller[1]: at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17) 2019-07-30 19:05:52.169 - error: Caught by controller[1]: at Socket.socketOnData (_http_client.js:442:20) 2019-07-30 19:05:52.170 - error: Caught by controller[1]: at Socket.emit (events.js:198:13) 2019-07-30 19:05:52.170 - error: Caught by controller[1]: at addChunk (_stream_readable.js:288:12) 2019-07-30 19:05:52.170 - error: Caught by controller[1]: at readableAddChunk (_stream_readable.js:269:11) 2019-07-30 19:05:52.170 - error: Caught by controller[1]: at Socket.Readable.push (_stream_readable.js:224:10) 2019-07-30 19:05:52.171 - error: Caught by controller[1]: at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17) 2019-07-30 19:05:52.171 - error: host.iobroker instance system.adapter.sonos.0 terminated with code 0 (OK) 2019-07-30 19:05:52.171 - info: host.iobroker Restart adapter system.adapter.sonos.0 because enabled 2019-07-30 19:06:22.198 - info: host.iobroker instance system.adapter.sonos.0 started with pid 21570 2019-07-30 19:06:24.125 - info: sonos.0 starting. Version 1.8.0 in /opt/iobroker/node_modules/iobroker.sonos, node: v10.16.0 2019-07-30 19:06:24.241 - info: sonos.0 http sonos server listening on port 8080
Ich hab jetzt mehrfach rumgedocktert und auch 4 mal eine komplett neue Installation von raspbian (buster und stretch) und iobroker gemacht, aber das Ergebnis ist immer das gleiche ... Ich weiss nun nicht mehr was ich noch testen kann..
Ich hatte auch einen thread aufgemacht mit den LOGs:
https://forum.iobroker.net/topic/24124/sonos-adapter-fehler -
@hesse Report diesen Bug mit der Fehlermeldung mal im sonos Adapter auf GitHub
-
@apollon77 Danke, guter Hinweis, werde ich gleich tun.
Gibt es die Möglichkeit ein Downgrade zu machen, um das ganze nochmal gegen zu prüfen, ob es wirklich an der js-controller version liegt? Wenn ja, wie mache ich das am besten?
Vielen Dank für eure Hilfe.
-
@hesse die Fehlermeldung kommt vom Adapter. Da hat der js-Controller nichts mit zu tun. Und falls doch ist dennoch der Adapter fehlerhaft.
-
@apollon77 Aber warum geht es dann in der "alten" Version Einwandfrei?
Dann muss ich wohl auf einen fix warten, denn so ist das erstmal unbrauchbar für mich und die Testinstalltion kann ich nicht produktiv einsetzen, da ich zuviel verbogen habe
-
Der Fehler hat nichts mit js-controller zu tun ... hast Du ggf noch ein nodej update gemacht?
Versuch mal die version vom GitHub (Version bleibt gleich, aber da war exakt eine zeile die falsch war und seit nodejs 10 wohl Probleme macht
-
Hallo,
habe gerade versucht das Update zu machen und erhalte folgende Meldung:
nuc@BrokerNUC:~$ cd /opt/iobroker nuc@BrokerNUC:/opt/iobroker$ iobroker stop nuc@BrokerNUC:/opt/iobroker$ iobroker update [sudo] Passwort für nuc: Used repository: latest hash not changed, use actual sources update done nuc@BrokerNUC:/opt/iobroker$ iobroker upgrade self Cannot find this controller "js-controller" in repository. nuc@BrokerNUC:/opt/iobroker$ node -v v10.16.0 nuc@BrokerNUC:/opt/iobroker$ nodejs -v v10.16.0 nuc@BrokerNUC:/opt/iobroker$ npm -v 6.9.0
Irgendwie werde die Adapter beim Update nicht gefunden. Woran kann das liegen?
-
Bitte in 15 Minuten nochmal neu versuchen, dann sollte das gefixt sein
-
Es war eine Nagelneue Installation auf aktuellen Raspian und neuer Installation von Nodejs, npm usw und IObroker wie auf der Seite beschrieben.
Dank für die Änderung im Git. Nun hat sich Fehlermeldung verändert:
2019-08-01 20:46:31.869 - info: sonos.0 terminating 2019-08-01 20:46:31.966 - error: Caught by controller[0]: (node:8791) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'startsWith' of undefined 2019-08-01 20:46:31.971 - error: Caught by controller[0]: at isRadio (/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/lib/prototypes/Player/getUriType.js:4:14) 2019-08-01 20:46:31.972 - error: Caught by controller[0]: at Player.getUriType (/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/lib/prototypes/Player/getUriType.js:18:10) 2019-08-01 20:46:31.972 - error: Caught by controller[0]: at parseTrackMetadata.then.track (/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/lib/models/Player.js:243:43) 2019-08-01 20:46:31.972 - error: Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:68:7) 2019-08-01 20:46:31.972 - error: Caught by controller[1]: (node:8791) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) 2019-08-01 20:46:31.972 - error: Caught by controller[1]: (node:8791) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. 2019-08-01 20:46:31.972 - error: Caught by controller[2]: (node:8791) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'startsWith' of undefined 2019-08-01 20:46:31.973 - error: Caught by controller[2]: at isRadio (/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/lib/prototypes/Player/getUriType.js:4:14) 2019-08-01 20:46:31.973 - error: Caught by controller[2]: at Player.getUriType (/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/lib/prototypes/Player/getUriType.js:18:10) 2019-08-01 20:46:31.973 - error: Caught by controller[2]: at parseTrackMetadata.then.track (/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/lib/models/Player.js:243:43) 2019-08-01 20:46:31.973 - error: Caught by controller[2]: at process._tickCallback (internal/process/next_tick.js:68:7) 2019-08-01 20:46:31.973 - error: Caught by controller[3]: (node:8791) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
und ich habe festgestellt, das ein Paar Datenpunkte aktualisert werden (z.B. Lautstärke) aber die überwigende Anzahl leider nicht
-
Hallo, ich bekomme nach dem update diese Meldungen, alles andere läuft soweit:
r-064.0 2019-11-25 16:37:17.552 info (5064) starting. Version 0.4.18 in C:/Program Files/iobroker/SmartHomeneu/node_modules/iobroker.tr-064, node: v10.17.0
host.DESKTOP-0MKUB9D(SmartHomeneu) 2019-11-25 16:37:14.988 info instance system.adapter.tr-064.0 started with pid 5064
host.DESKTOP-0MKUB9D(SmartHomeneu) 2019-11-25 16:37:13.970 info Restart adapter system.adapter.tr-064.0 because enabled
host.DESKTOP-0MKUB9D(SmartHomeneu) 2019-11-25 16:37:13.970 info instance system.adapter.tr-064.0 terminated with code 0 (NO_ERROR)
host.DESKTOP-0MKUB9D(SmartHomeneu) 2019-11-25 16:37:13.969 error Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:68:7)
host.DESKTOP-0MKUB9D(SmartHomeneu) 2019-11-25 16:37:13.969 error Caught by controller[0]: at promise.then (C:\Program Files\iobroker\SmartHomeneu\node_modules\standard-as-callback\built\index.js:19:49)
host.DESKTOP-0MKUB9D(SmartHomeneu) 2019-11-25 16:37:13.969 error Caught by controller[0]: at tryCatcher (C:\Program Files\iobroker\SmartHomeneu\node_modules\standard-as-callback\built\utils.js:11:23)
host.DESKTOP-0MKUB9D(SmartHomeneu) 2019-11-25 16:37:13.969 error Caught by controller[0]: at client.set.err (C:\Program Files\iobroker\SmartHomeneu\node_modules\iobroker.js-controller\lib\objects\objectsInRedis.js:2044:51)
host.DESKTOP-0MKUB9D(SmartHomeneu) 2019-11-25 16:37:13.969 error Caught by controller[0]: at C:\Program Files\iobroker\SmartHomeneu\node_modules\iobroker.tr-064\node_modules\soef\soef.js:609:26
host.DESKTOP-0MKUB9D(SmartHomeneu) 2019-11-25 16:37:13.969 error Caught by controller[0]: at Devices.setState (C:\Program Files\iobroker\SmartHomeneu\node_modules\iobroker.tr-064\node_modules\soef\soef.js:642:36)
host.DESKTOP-0MKUB9D(SmartHomeneu) 2019-11-25 16:37:13.968 error Caught by controller[0]: TypeError: Cannot read property 'val' of undefined
tr-064.0 2019-11-25 16:37:13.418 info (10316) Terminated (NO_ERROR): Without reason
tr-064.0 2019-11-25 16:37:13.416 info (10316) terminating
tr-064.0 2019-11-25 16:37:13.411 error (10316) TypeError: Cannot read property 'val' of undefined at Devices.setState (C:\Program Files\iobroker\SmartHomeneu\node_modules\iobroker.tr-064\node_modules\soef\soef.js:642:36) at C:\Prog
tr-064.0 2019-11-25 16:37:13.410 error (10316) uncaught exception: Cannot read property 'val' of undefinedKann mir jemand sagen was das ist?
Installation ist unter Win auf einem NUC -
@Hosifox sagte in [Diskussion] js-controller 1.5.14 in latest:
Hallo, ich bekomme nach dem update diese Meldungen, alles andere läuft soweit:
Kann mir jemand sagen was das ist?
Installation ist unter Win auf einem NUCBitte benutzt die Code Tags Funktion -> </>
Hier gehts zur Hilfe. -
@Hosifox sagte in [Diskussion] js-controller 1.5.14 in latest:
... \iobroker.tr-064\node_modules\soef\soef.js:609:26...
Nimm anstelle des TR-064 den TR-064 "community", dann geht es
https://github.com/iobroker-community-adapters/ioBroker.tr-064-community -
@Hosifox Und bitte den richtigen Thread nutzen! Ich mache hier mal zu