NEWS
spotify adapter trotz Verbindung - Abstürze
-
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.
-