NEWS
spotify adapter trotz Verbindung - Abstürze
-
Hallo Zusammen,
ich konnte den Spotify Adapter eigentlich erfolgreich installieren...(grüne Instanz), aber nach einer Weile wenn ich wieder aufs Webinterface gehe kommt die Absturzmeldung
was läuft da falsch?
Über ne Info was ich da machen kann wäre ich Euch sehr dankbar.
Gruss
-
Was steht denn in der genannten Protokolldatei?
-
@thomas-braun Hallo Thomas, kann ich die Protokoll auch nach dem Schliessen des Fensters noch aufrufen?
-
@kusselin Klar.
less -r /opt/iobroker/log/iobroker.current.log
-
@thomas-braun sagte in spotify adapter trotz Verbindung - Abstürze:
less -r /opt/iobroker/log/iobroker.current.log
was sagt das aus?
obroker/node_modules/iobroker.dwd, node: v12.22.6, js-controller: 3.3.21 2021-12-02 00:00:08.220 - info: host.iobroker-live instance system.adapter.meteoalarm.0 started with pid 24924 2021-12-02 00:00:09.076 - info: meteoalarm.0 (24924) starting. Version 2.0.7 in /opt/iobroker/node_modules/iobroker.meteoalarm, node: v12.22.6, js-controller: 3.3.21 2021-12-02 00:00:12.244 - info: host.iobroker-live instance system.adapter.coronavirus-statistics.0 started with pid 24939 2021-12-02 00:00:13.600 - info: coronavirus-statistics.0 (24939) starting. Version 0.8.7 in /opt/iobroker/node_modules/iobroker.coronavirus-statistics, node: v12.22.6, js-controller: 3.3.21 2021-12-02 00:00:13.654 - info: meteoalarm.0 (24924) Updated Weather Alarms for xxxxxxxxxxxxx und Stadt xxxxxxxxxxx -> 0 warning(s) found 2021-12-02 00:00:13.654 - info: meteoalarm.0 (24924) Terminated (NO_ERROR): Without reason 2021-12-02 00:00:14.191 - info: host.iobroker-live instance system.adapter.meteoalarm.0 terminated with code 0 (NO_ERROR) 2021-12-02 00:00:14.211 - info: dwd.0 (24909) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2021-12-02 00:00:14.722 - info: host.iobroker-live instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2021-12-02 00:00:16.261 - info: host.iobroker-live instance system.adapter.daswetter.0 started with pid 24956 /opt/iobroker/log/iobroker.current.log
da steht nix von spotify
-
Da musst du auch schon in das log von gestern schauen.
Geht dann mitzless -r /opt/iobroker/log/DATEINAME_VOM_ENTSPRECHENDEN_LOG.gz
-
@thomas-braun kommt das "z" jetzt davor??
wäre das dann so richtig ?
zless -r /opt/iobroker/log/spotify_LOG.gz
Sorry, ich weiss es nicht!
-
Log Files der Vortage werden mit gz-komprimiert (gezippt). zless kann (entgegen less) die Dateien on-the-fly entpacken und anzeigen.
Ein log vom 01. Dezember 2021 also dann mit
zless -r /opt/iobroker/log/iobroker.2021-12-01.log.gz
Mit Seite rauf/runter kannst du durch das log file blättern. Raus kommst du mit STRG-C (die Rüpeltour) oder besser mit q.
-
@thomas-braun Danke Dir verständlich erklärt
-
kann ich dem logfile auch suchen....also unter telnet in putty das ich zb gleich spotify eingebe udn das log dahinspringt?
-
@kusselin
Wenn du in less drin bist:/spotify
Mit n dann zur nächsten Fundstelle springen, mit N zur vorherigen.
-
2021-12-02 09:47:20.635 - [31merror[39m: spotify-premium.0 (21759) spotify status polling stopped with error Error: getaddrinfo EAI_AGAIN api.spotify.com 021-12-02 11:04:24.783 - [32minfo[39m: spotify-premium.0 (21759) State value to set for "spotify-premium.0.player.playlist.tracksTotal" has to be type "string" but received type "number" 2021-12-02 11:04:24.935 - [31merror[39m: spotify-premium.0 (21759) uncaught exception: Cannot read property 'name' of undefined 2021-12-02 11:04:24.936 - [31merror[39m: spotify-premium.0 (21759) TypeError: Cannot read property 'name' of undefined at Object.listenOnHtmlTracklist [as func] (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:2035:33) at /opt/iobroker/node_modules/iobroker.spotify-premium/lib/cache.js:229:19 at Array.forEach (<anonymous>) at trigger (/opt/iobroker/node_modules/iobroker.spotify-premium/lib/cache.js:223:14) at Object.setExternal (/opt/iobroker/node_modules/iobroker.spotify-premium/lib/cache.js:262:5) at Object.stateChange (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:56:43) at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5706:41) at processImmediate (internal/timers.js:461:21) 2021-12-02 11:04:24.936 - [31merror[39m: spotify-premium.0 (21759) Cannot read property 'name' of undefined 2021-12-02 11:04:24.984 - [32minfo[39m: spotify-premium.0 (21759) State value to set for "spotify-premium.0.player.playlist.trackNo" has to be type "number" but received type "string" 2021-12-02 11:04:24.991 - [32minfo[39m: spotify-premium.0 (21759) terminating 2021-12-02 11:04:24.991 - [33mwarn[39m: spotify-premium.0 (21759) Terminated (UNCAUGHT_EXCEPTION): Without reason 2021-12-02 11:04:25.564 - [31merror[39m: host.iobroker-live instance system.adapter.spotify-premium.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2021-12-02 11:04:25.566 - [32minfo[39m: host.iobroker-live Restart adapter system.adapter.spotify-premium.0 because enabled 2021-12-02 11:04:55.591 - [32minfo[39m: host.iobroker-live instance system.adapter.spotify-premium.0 started with pid 326 2021-12-02 11:04:56.716 - [32minfo[39m: spotify-premium.0 (326) starting. Version 1.1.3 in /opt/iobroker/node_modules/iobroker.spotify-premium, node: v12.22.6, js-controller: 3.3.21 2021-12-02 11:04:57.504 - [31merror[39m: spotify-premium.0 (326) 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(). 2021-12-02 11:04:57.504 - [31merror[39m: spotify-premium.0 (326) unhandled promise rejection: Cannot read property 'name' of undefined 2021-12-02 11:04:57.505 - [31merror[39m: spotify-premium.0 (326) TypeError: Cannot read property 'name' of undefined at Object.listenOnHtmlTracklist [as func] (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:2035:33) at /opt/iobroker/node_modules/iobroker.spotify-premium/lib/cache.js:229:19 at Array.forEach (<anonymous>) at trigger (/opt/iobroker/node_modules/iobroker.spotify-premium/lib/cache.js:223:14) at Object.setValue (/opt/iobroker/node_modules/iobroker.spotify-premium/lib/cache.js:213:13) at copyState (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:435:18) at /opt/iobroker/node_modules/iobroker.spotify-premium/main.js:666:37 2021-12-02 11:04:57.505 - [31merror[39m: spotify-premium.0 (326) Cannot read property 'name' of undefined 2021-12-02 11:04:57.509 - [32minfo[39m: spotify-premium.0 (326) State value to set for "spotify-premium.0.player.playlist.trackNo" has to be type "number" but received type "string" 2021-12-02 11:04:57.516 - [32minfo[39m: spotify-premium.0 (326) terminating 2021-12-02 11:04:57.517 - [33mwarn[39m: spotify-premium.0 (326) Terminated (UNCAUGHT_EXCEPTION): Without reason 2021-12-02 11:04:58.115 - [31merror[39m: host.iobroker-live instance system.adapter.spotify-premium.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2021-12-02 11:04:58.116 - [32minfo[39m: host.iobroker-live Restart adapter system.adapter.spotify-premium.0 because enabled
-
Ich kann da nix draus erkennen. Aber ich kann auch kein javascript.
-
@thomas-braun ok trotzdem danke
-
Deine nodeJS-Installation 'sauber' ist würde ich vielleicht mal ein Issue anlegen.
-