Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. spotify adapter trotz Verbindung - Abstürze

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    spotify adapter trotz Verbindung - Abstürze

    This topic has been deleted. Only users with topic management privileges can see it.
    • Kusselin
      Kusselin last edited by

      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
      Image 2.png

      1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active last edited by

        @kusselin

        Was steht denn in der genannten Protokolldatei?

        Kusselin 1 Reply Last reply Reply Quote 0
        • Kusselin
          Kusselin @Thomas Braun last edited by Kusselin

          @thomas-braun Hallo Thomas, kann ich die Protokoll auch nach dem Schliessen des Fensters noch aufrufen?

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Kusselin last edited by

            @kusselin Klar.

            less -r /opt/iobroker/log/iobroker.current.log
            
            Kusselin 1 Reply Last reply Reply Quote 0
            • Kusselin
              Kusselin @Thomas Braun last edited by Kusselin

              @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

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Kusselin last edited by

                @kusselin

                Da musst du auch schon in das log von gestern schauen.
                Geht dann mit

                zless -r /opt/iobroker/log/DATEINAME_VOM_ENTSPRECHENDEN_LOG.gz
                
                Kusselin 1 Reply Last reply Reply Quote 0
                • Kusselin
                  Kusselin @Thomas Braun last edited by Kusselin

                  @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!

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Kusselin last edited by

                    @kusselin

                    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.

                    Kusselin 1 Reply Last reply Reply Quote 0
                    • Kusselin
                      Kusselin @Thomas Braun last edited by

                      @thomas-braun Danke Dir verständlich erklärt

                      1 Reply Last reply Reply Quote 0
                      • Kusselin
                        Kusselin last edited by

                        kann ich dem logfile auch suchen....also unter telnet in putty das ich zb gleich spotify eingebe udn das log dahinspringt?

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Kusselin last edited by Thomas Braun

                          @kusselin
                          Wenn du in less drin bist:

                          /spotify
                          

                          Mit n dann zur nächsten Fundstelle springen, mit N zur vorherigen.

                          Kusselin 1 Reply Last reply Reply Quote 0
                          • Kusselin
                            Kusselin @Thomas Braun last edited by

                            @thomas-braun

                            2021-12-02 09:47:20.635  - error: spotify-premium.0 (21759) spotify status polling stopped with error Error: getaddrinfo EAI_AGAIN api.spotify.com
                            021-12-02 11:04:24.783  - info: 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  - error: spotify-premium.0 (21759) uncaught exception: Cannot read property 'name' of undefined
                            2021-12-02 11:04:24.936  - error: 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  - error: spotify-premium.0 (21759) Cannot read property 'name' of undefined
                            2021-12-02 11:04:24.984  - info: 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  - info: spotify-premium.0 (21759) terminating
                            2021-12-02 11:04:24.991  - warn: spotify-premium.0 (21759) Terminated (UNCAUGHT_EXCEPTION): Without reason
                            2021-12-02 11:04:25.564  - error: host.iobroker-live instance system.adapter.spotify-premium.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                            2021-12-02 11:04:25.566  - info: host.iobroker-live Restart adapter system.adapter.spotify-premium.0 because enabled
                            2021-12-02 11:04:55.591  - info: host.iobroker-live instance system.adapter.spotify-premium.0 started with pid 326
                            2021-12-02 11:04:56.716  - info: 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  - error: 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  - error: spotify-premium.0 (326) unhandled promise rejection: Cannot read property 'name' of undefined
                            2021-12-02 11:04:57.505  - error: 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  - error: spotify-premium.0 (326) Cannot read property 'name' of undefined
                            2021-12-02 11:04:57.509  - info: 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  - info: spotify-premium.0 (326) terminating
                            2021-12-02 11:04:57.517  - warn: spotify-premium.0 (326) Terminated (UNCAUGHT_EXCEPTION): Without reason
                            2021-12-02 11:04:58.115  - error: host.iobroker-live instance system.adapter.spotify-premium.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                            2021-12-02 11:04:58.116  - info: host.iobroker-live Restart adapter system.adapter.spotify-premium.0 because enabled
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Kusselin last edited by

                              @kusselin

                              Ich kann da nix draus erkennen. Aber ich kann auch kein javascript.

                              Kusselin 1 Reply Last reply Reply Quote 0
                              • Kusselin
                                Kusselin @Thomas Braun last edited by

                                @thomas-braun ok trotzdem danke

                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Kusselin last edited by

                                  @kusselin

                                  Deine nodeJS-Installation 'sauber' ist würde ich vielleicht mal ein Issue anlegen.

                                  I 1 Reply Last reply Reply Quote 0
                                  • I
                                    ichwersonst @Thomas Braun last edited by

                                    @Kusselin

                                    Hallo, konntest du das Problem von damals beheben?
                                    Wenn ja wie?

                                    Grüße,

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post

                                    Support us

                                    ioBroker
                                    Community Adapters
                                    Donate
                                    FAQ Cloud / IOT
                                    HowTo: Node.js-Update
                                    HowTo: Backup/Restore
                                    Downloads
                                    BLOG

                                    869
                                    Online

                                    32.0k
                                    Users

                                    80.5k
                                    Topics

                                    1.3m
                                    Posts

                                    3
                                    16
                                    387
                                    Loading More Posts
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    Community
                                    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                    The ioBroker Community 2014-2023
                                    logo