Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. SONOS Instanz stellt Betrieb ein

NEWS

  • Neues YouTube-Video: Visualisierung im Devices-Adapter
    BluefoxB
    Bluefox
    11
    1
    255

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    1.8k

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    11
    1
    772

SONOS Instanz stellt Betrieb ein

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
sonos
25 Beiträge 8 Kommentatoren 2.3k Aufrufe 5 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • H Offline
    H Offline
    hmanfred
    schrieb am zuletzt editiert von
    #1

    Meine SONOS Instanz stellt seit ca. 2 Wochen irgendwann im Laufe des Tages (oder der Nacht) den Betrieb ein.

    Systemdaten:
    Node.js v12.20.1
    NPM 6.14.10
    SONOS 2.1.1

    Die Symptome sehen folgendermaßen aus:
    Die Instanz verliert irgendwann die Verbindung oder beendet sich. Jedenfalls ist sie in der Admin-Übersicht rot.
    Ich habe in der Admin-Oberfläche einen Restart der Instanz alle 30 Minuten eingestellt. Das funktioniett auch, wenn die Instanz läuft. Sobald sie aber (durch was auch immer) auf Rot steht, passiert nichts mehr. Kein Restart, kein Reconnect.
    Wenn ich die Instanz dann irgednwie anfasse (in die Konfig gehen oder die Cron-Zeiten zum Restart ändern) wird sie wieder grün und bleibt so bis ich am nächsten Morgen wieder feststelle , dass sie auf rot steht.

    Jemand eine Idee?

    O frankthegreatF 2 Antworten Letzte Antwort
    0
    • H hmanfred

      Meine SONOS Instanz stellt seit ca. 2 Wochen irgendwann im Laufe des Tages (oder der Nacht) den Betrieb ein.

      Systemdaten:
      Node.js v12.20.1
      NPM 6.14.10
      SONOS 2.1.1

      Die Symptome sehen folgendermaßen aus:
      Die Instanz verliert irgendwann die Verbindung oder beendet sich. Jedenfalls ist sie in der Admin-Übersicht rot.
      Ich habe in der Admin-Oberfläche einen Restart der Instanz alle 30 Minuten eingestellt. Das funktioniett auch, wenn die Instanz läuft. Sobald sie aber (durch was auch immer) auf Rot steht, passiert nichts mehr. Kein Restart, kein Reconnect.
      Wenn ich die Instanz dann irgednwie anfasse (in die Konfig gehen oder die Cron-Zeiten zum Restart ändern) wird sie wieder grün und bleibt so bis ich am nächsten Morgen wieder feststelle , dass sie auf rot steht.

      Jemand eine Idee?

      O Offline
      O Offline
      oFbEQnpoLKKl6mbY5e13
      schrieb am zuletzt editiert von
      #2

      @hmanfred
      Am besten Log posten, sonst kann keiner helfen.

      H 1 Antwort Letzte Antwort
      0
      • O oFbEQnpoLKKl6mbY5e13

        @hmanfred
        Am besten Log posten, sonst kann keiner helfen.

        H Offline
        H Offline
        hmanfred
        schrieb am zuletzt editiert von
        #3

        @ofbeqnpolkkl6mby5e13
        Ich habe die Instanz gerade erst wieder gestartet, nachdem sie 2 Tage down war. Hatte keine Zeit, nachzuschauen. Der Start und der erste scheduled Restart sehen eigentlich ganz okay aus:

        2021-03-09 15:10:32.234  - info: host.ioBroker instance system.adapter.sonos.0 started with pid 32084
        2021-03-09 15:10:33.242  - debug: sonos.0 (32084) Redis Objects: Use Redis connection: 127.0.0.1:9001
        2021-03-09 15:10:33.290  - debug: sonos.0 (32084) Objects client ready ... initialize now
        2021-03-09 15:10:33.292  - debug: sonos.0 (32084) Objects create System PubSub Client
        2021-03-09 15:10:33.294  - debug: sonos.0 (32084) Objects create User PubSub Client
        2021-03-09 15:10:33.296  - debug: sonos.0 (32084) Objects client initialize lua scripts
        2021-03-09 15:10:33.331  - debug: sonos.0 (32084) Objects connected to redis: 127.0.0.1:9001
        2021-03-09 15:10:33.339  - debug: sonos.0 (32084) objectDB connected
        2021-03-09 15:10:33.341  - debug: sonos.0 (32084) Redis States: Use Redis connection: 127.0.0.1:9000
        2021-03-09 15:10:33.356  - debug: sonos.0 (32084) States create System PubSub Client
        2021-03-09 15:10:33.358  - debug: sonos.0 (32084) States create User PubSub Client
        2021-03-09 15:10:33.377  - debug: sonos.0 (32084) States connected to redis: 127.0.0.1:9000
        2021-03-09 15:10:33.378  - debug: sonos.0 (32084) statesDB connected
        2021-03-09 15:10:33.748  - info: sonos.0 (32084) starting. Version 2.1.1 in /opt/iobroker/node_modules/iobroker.sonos, node: v12.20.1, js-controller: 3.2.16
        2021-03-09 15:10:33.821  - debug: sonos.0 (32084) Schedule restart: */30 * * * *
        2021-03-09 15:10:34.311  - debug: sonos.0 (32084) >  playbackState: STOPPED - x-sonosapi-stream:s228764?sid=254&flags=8224&sn=0
        2021-03-09 15:10:34.315  - debug: sonos.0 (32084) Cover exists. Try reading from fs
        2021-03-09 15:10:34.331  - warn: sonos.0 (32084) State "sonos.0.root.192_168_1_61.current_station" has no existing object, this might lead to an error in future versions
        2021-03-09 15:10:34.346  - warn: sonos.0 (32084) State "sonos.0.root.192_168_1_61.shuffle" has no existing object, this might lead to an error in future versions
        2021-03-09 15:10:34.347  - warn: sonos.0 (32084) State "sonos.0.root.192_168_1_61.repeat" has no existing object, this might lead to an error in future versions
        2021-03-09 15:10:34.347  - warn: sonos.0 (32084) State "sonos.0.root.192_168_1_61.crossfade" has no existing object, this might lead to an error in future versions
        2021-03-09 15:10:34.366  - debug: sonos.0 (32084) mute: Mute for http://192.168.1.61:1400: false
        2021-03-09 15:10:34.367  - debug: sonos.0 (32084) volume: Volume for http://192.168.1.61:1400: 28
        2021-03-09 15:10:34.420  - debug: sonos.0 (32084) mute: Mute for http://192.168.1.61:1400: false
        2021-03-09 15:10:34.421  - debug: sonos.0 (32084) group_muted: groupMuted for http://192.168.1.61:1400: false
        2021-03-09 15:10:34.455  - warn: sonos.0 (32084) State "sonos.0.root.192_168_1_61.favorites_list_array" has no existing object, this might lead to an error in future versions
        2021-03-09 15:10:34.470  - debug: sonos.0 (32084) group-volume: Volume for http://192.168.1.61:1400: 28
        2021-03-09 15:10:34.561  - warn: sonos.0 (32084) State "sonos.0.root.192_168_1_61.favorites_list_array" has no existing object, this might lead to an error in future versions
        2021-03-09 15:10:36.369  - debug: sonos.0 (32084) group_volume: groupVolume for http://192.168.1.61:1400: 28
        2021-03-09 15:30:03.343  - debug: sonos.0 (5799) Redis Objects: Use Redis connection: 127.0.0.1:9001
        2021-03-09 15:30:03.421  - debug: sonos.0 (5799) Objects client ready ... initialize now
        2021-03-09 15:30:03.445  - debug: sonos.0 (5799) Objects create System PubSub Client
        2021-03-09 15:30:03.446  - debug: sonos.0 (5799) Objects create User PubSub Client
        2021-03-09 15:30:03.447  - debug: sonos.0 (5799) Objects client initialize lua scripts
        2021-03-09 15:30:03.488  - debug: sonos.0 (5799) Objects connected to redis: 127.0.0.1:9001
        2021-03-09 15:30:03.497  - debug: sonos.0 (5799) objectDB connected
        2021-03-09 15:30:03.500  - debug: sonos.0 (5799) Redis States: Use Redis connection: 127.0.0.1:9000
        2021-03-09 15:30:03.514  - debug: sonos.0 (5799) States create System PubSub Client
        2021-03-09 15:30:03.515  - debug: sonos.0 (5799) States create User PubSub Client
        2021-03-09 15:30:03.540  - debug: sonos.0 (5799) States connected to redis: 127.0.0.1:9000
        2021-03-09 15:30:03.541  - debug: sonos.0 (5799) statesDB connected
        2021-03-09 15:30:03.975  - info: sonos.0 (5799) starting. Version 2.1.1 in /opt/iobroker/node_modules/iobroker.sonos, node: v12.20.1, js-controller: 3.2.16
        2021-03-09 15:30:04.095  - debug: sonos.0 (5799) Schedule restart: */30 * * * *
        2021-03-09 15:30:04.760  - debug: sonos.0 (5799) mute: Mute for http://192.168.1.61:1400: false
        2021-03-09 15:30:04.761  - debug: sonos.0 (5799) volume: Volume for http://192.168.1.61:1400: 28
        2021-03-09 15:30:04.917  - debug: sonos.0 (5799) group-volume: Volume for http://192.168.1.61:1400: 28
        2021-03-09 15:30:05.012  - warn: sonos.0 (5799) State "sonos.0.root.192_168_1_61.favorites_list_array" has no existing object, this might lead to an error in future versions
        2021-03-09 15:30:05.033  - warn: sonos.0 (5799) State "sonos.0.root.192_168_1_61.favorites_list_array" has no existing object, this might lead to an error in future versions
        2021-03-09 15:30:05.042  - debug: sonos.0 (5799) mute: Mute for http://192.168.1.61:1400: false
        2021-03-09 15:30:05.043  - debug: sonos.0 (5799) group_muted: groupMuted for http://192.168.1.61:1400: false
        2021-03-09 15:30:05.066  - debug: sonos.0 (5799) >  playbackState: STOPPED - x-sonosapi-stream:s228764?sid=254&flags=8224&sn=0
        2021-03-09 15:30:05.067  - debug: sonos.0 (5799) Cover exists. Try reading from fs
        2021-03-09 15:30:05.121  - warn: sonos.0 (5799) State "sonos.0.root.192_168_1_61.current_station" has no existing object, this might lead to an error in future versions
        2021-03-09 15:30:05.123  - warn: sonos.0 (5799) State "sonos.0.root.192_168_1_61.shuffle" has no existing object, this might lead to an error in future versions
        2021-03-09 15:30:05.124  - warn: sonos.0 (5799) State "sonos.0.root.192_168_1_61.repeat" has no existing object, this might lead to an error in future versions
        2021-03-09 15:30:05.124  - warn: sonos.0 (5799) State "sonos.0.root.192_168_1_61.crossfade" has no existing object, this might lead to an error in future versions
        2021-03-09 15:30:06.762  - debug: sonos.0 (5799) group_volume: groupVolume for http://192.168.1.61:1400: 28
        2021-03-09 15:44:02.837  - debug: sonos.0 (5799) system.adapter.admin.0: logging true
        

        Wenn er morgen wieder down ist, suche ich im Log mal den Zeitpunkt und poste die Zeilen.

        O 1 Antwort Letzte Antwort
        0
        • H hmanfred

          @ofbeqnpolkkl6mby5e13
          Ich habe die Instanz gerade erst wieder gestartet, nachdem sie 2 Tage down war. Hatte keine Zeit, nachzuschauen. Der Start und der erste scheduled Restart sehen eigentlich ganz okay aus:

          2021-03-09 15:10:32.234  - info: host.ioBroker instance system.adapter.sonos.0 started with pid 32084
          2021-03-09 15:10:33.242  - debug: sonos.0 (32084) Redis Objects: Use Redis connection: 127.0.0.1:9001
          2021-03-09 15:10:33.290  - debug: sonos.0 (32084) Objects client ready ... initialize now
          2021-03-09 15:10:33.292  - debug: sonos.0 (32084) Objects create System PubSub Client
          2021-03-09 15:10:33.294  - debug: sonos.0 (32084) Objects create User PubSub Client
          2021-03-09 15:10:33.296  - debug: sonos.0 (32084) Objects client initialize lua scripts
          2021-03-09 15:10:33.331  - debug: sonos.0 (32084) Objects connected to redis: 127.0.0.1:9001
          2021-03-09 15:10:33.339  - debug: sonos.0 (32084) objectDB connected
          2021-03-09 15:10:33.341  - debug: sonos.0 (32084) Redis States: Use Redis connection: 127.0.0.1:9000
          2021-03-09 15:10:33.356  - debug: sonos.0 (32084) States create System PubSub Client
          2021-03-09 15:10:33.358  - debug: sonos.0 (32084) States create User PubSub Client
          2021-03-09 15:10:33.377  - debug: sonos.0 (32084) States connected to redis: 127.0.0.1:9000
          2021-03-09 15:10:33.378  - debug: sonos.0 (32084) statesDB connected
          2021-03-09 15:10:33.748  - info: sonos.0 (32084) starting. Version 2.1.1 in /opt/iobroker/node_modules/iobroker.sonos, node: v12.20.1, js-controller: 3.2.16
          2021-03-09 15:10:33.821  - debug: sonos.0 (32084) Schedule restart: */30 * * * *
          2021-03-09 15:10:34.311  - debug: sonos.0 (32084) >  playbackState: STOPPED - x-sonosapi-stream:s228764?sid=254&flags=8224&sn=0
          2021-03-09 15:10:34.315  - debug: sonos.0 (32084) Cover exists. Try reading from fs
          2021-03-09 15:10:34.331  - warn: sonos.0 (32084) State "sonos.0.root.192_168_1_61.current_station" has no existing object, this might lead to an error in future versions
          2021-03-09 15:10:34.346  - warn: sonos.0 (32084) State "sonos.0.root.192_168_1_61.shuffle" has no existing object, this might lead to an error in future versions
          2021-03-09 15:10:34.347  - warn: sonos.0 (32084) State "sonos.0.root.192_168_1_61.repeat" has no existing object, this might lead to an error in future versions
          2021-03-09 15:10:34.347  - warn: sonos.0 (32084) State "sonos.0.root.192_168_1_61.crossfade" has no existing object, this might lead to an error in future versions
          2021-03-09 15:10:34.366  - debug: sonos.0 (32084) mute: Mute for http://192.168.1.61:1400: false
          2021-03-09 15:10:34.367  - debug: sonos.0 (32084) volume: Volume for http://192.168.1.61:1400: 28
          2021-03-09 15:10:34.420  - debug: sonos.0 (32084) mute: Mute for http://192.168.1.61:1400: false
          2021-03-09 15:10:34.421  - debug: sonos.0 (32084) group_muted: groupMuted for http://192.168.1.61:1400: false
          2021-03-09 15:10:34.455  - warn: sonos.0 (32084) State "sonos.0.root.192_168_1_61.favorites_list_array" has no existing object, this might lead to an error in future versions
          2021-03-09 15:10:34.470  - debug: sonos.0 (32084) group-volume: Volume for http://192.168.1.61:1400: 28
          2021-03-09 15:10:34.561  - warn: sonos.0 (32084) State "sonos.0.root.192_168_1_61.favorites_list_array" has no existing object, this might lead to an error in future versions
          2021-03-09 15:10:36.369  - debug: sonos.0 (32084) group_volume: groupVolume for http://192.168.1.61:1400: 28
          2021-03-09 15:30:03.343  - debug: sonos.0 (5799) Redis Objects: Use Redis connection: 127.0.0.1:9001
          2021-03-09 15:30:03.421  - debug: sonos.0 (5799) Objects client ready ... initialize now
          2021-03-09 15:30:03.445  - debug: sonos.0 (5799) Objects create System PubSub Client
          2021-03-09 15:30:03.446  - debug: sonos.0 (5799) Objects create User PubSub Client
          2021-03-09 15:30:03.447  - debug: sonos.0 (5799) Objects client initialize lua scripts
          2021-03-09 15:30:03.488  - debug: sonos.0 (5799) Objects connected to redis: 127.0.0.1:9001
          2021-03-09 15:30:03.497  - debug: sonos.0 (5799) objectDB connected
          2021-03-09 15:30:03.500  - debug: sonos.0 (5799) Redis States: Use Redis connection: 127.0.0.1:9000
          2021-03-09 15:30:03.514  - debug: sonos.0 (5799) States create System PubSub Client
          2021-03-09 15:30:03.515  - debug: sonos.0 (5799) States create User PubSub Client
          2021-03-09 15:30:03.540  - debug: sonos.0 (5799) States connected to redis: 127.0.0.1:9000
          2021-03-09 15:30:03.541  - debug: sonos.0 (5799) statesDB connected
          2021-03-09 15:30:03.975  - info: sonos.0 (5799) starting. Version 2.1.1 in /opt/iobroker/node_modules/iobroker.sonos, node: v12.20.1, js-controller: 3.2.16
          2021-03-09 15:30:04.095  - debug: sonos.0 (5799) Schedule restart: */30 * * * *
          2021-03-09 15:30:04.760  - debug: sonos.0 (5799) mute: Mute for http://192.168.1.61:1400: false
          2021-03-09 15:30:04.761  - debug: sonos.0 (5799) volume: Volume for http://192.168.1.61:1400: 28
          2021-03-09 15:30:04.917  - debug: sonos.0 (5799) group-volume: Volume for http://192.168.1.61:1400: 28
          2021-03-09 15:30:05.012  - warn: sonos.0 (5799) State "sonos.0.root.192_168_1_61.favorites_list_array" has no existing object, this might lead to an error in future versions
          2021-03-09 15:30:05.033  - warn: sonos.0 (5799) State "sonos.0.root.192_168_1_61.favorites_list_array" has no existing object, this might lead to an error in future versions
          2021-03-09 15:30:05.042  - debug: sonos.0 (5799) mute: Mute for http://192.168.1.61:1400: false
          2021-03-09 15:30:05.043  - debug: sonos.0 (5799) group_muted: groupMuted for http://192.168.1.61:1400: false
          2021-03-09 15:30:05.066  - debug: sonos.0 (5799) >  playbackState: STOPPED - x-sonosapi-stream:s228764?sid=254&flags=8224&sn=0
          2021-03-09 15:30:05.067  - debug: sonos.0 (5799) Cover exists. Try reading from fs
          2021-03-09 15:30:05.121  - warn: sonos.0 (5799) State "sonos.0.root.192_168_1_61.current_station" has no existing object, this might lead to an error in future versions
          2021-03-09 15:30:05.123  - warn: sonos.0 (5799) State "sonos.0.root.192_168_1_61.shuffle" has no existing object, this might lead to an error in future versions
          2021-03-09 15:30:05.124  - warn: sonos.0 (5799) State "sonos.0.root.192_168_1_61.repeat" has no existing object, this might lead to an error in future versions
          2021-03-09 15:30:05.124  - warn: sonos.0 (5799) State "sonos.0.root.192_168_1_61.crossfade" has no existing object, this might lead to an error in future versions
          2021-03-09 15:30:06.762  - debug: sonos.0 (5799) group_volume: groupVolume for http://192.168.1.61:1400: 28
          2021-03-09 15:44:02.837  - debug: sonos.0 (5799) system.adapter.admin.0: logging true
          

          Wenn er morgen wieder down ist, suche ich im Log mal den Zeitpunkt und poste die Zeilen.

          O Offline
          O Offline
          oFbEQnpoLKKl6mbY5e13
          schrieb am zuletzt editiert von oFbEQnpoLKKl6mbY5e13
          #4

          @hmanfred sagte in SONOS Instanz stellt Betrieb ein:

          192_168_1_61

          Füge den Sonos mit der IP-Adresse mal in der Instanz hinzu oder lösche ihn, wenn er nicht mehr existiert.

          1 Antwort Letzte Antwort
          0
          • H Offline
            H Offline
            hmanfred
            schrieb am zuletzt editiert von
            #5

            So, jetzt habe ich den Abbruch im Log:

            2021-03-10 02:02:09.046 - info: host.ioBroker instance system.adapter.sonos.0 started with pid 12611
            2021-03-10 02:02:09.944 - info: host.ioBroker instance system.adapter.info.0 started with pid 12620
            2021-03-10 02:02:10.749 - debug: sonos.0 (12611) Redis Objects: Use Redis connection: 127.0.0.1:9001
            2021-03-10 02:02:10.814 - debug: sonos.0 (12611) Objects client ready ... initialize now
            2021-03-10 02:02:10.816 - debug: sonos.0 (12611) Objects create System PubSub Client
            2021-03-10 02:02:10.818 - debug: sonos.0 (12611) Objects create User PubSub Client
            2021-03-10 02:02:10.833 - debug: sonos.0 (12611) Objects client initialize lua scripts
            2021-03-10 02:02:10.871 - debug: sonos.0 (12611) Objects connected to redis: 127.0.0.1:9001
            2021-03-10 02:02:10.878 - debug: sonos.0 (12611) objectDB connected
            2021-03-10 02:02:10.881 - debug: sonos.0 (12611) Redis States: Use Redis connection: 127.0.0.1:9000
            2021-03-10 02:02:10.899 - debug: sonos.0 (12611) States create System PubSub Client
            2021-03-10 02:02:10.900 - debug: sonos.0 (12611) States create User PubSub Client
            2021-03-10 02:02:10.921 - debug: sonos.0 (12611) States connected to redis: 127.0.0.1:9000
            2021-03-10 02:02:10.922 - debug: sonos.0 (12611) statesDB connected
            2021-03-10 02:02:11.203 - info: sonos.0 (12611) starting. Version 2.1.1 in /opt/iobroker/node_modules/iobroker.sonos, node: v12.20.1, js-controller: 3.2.16
            2021-03-10 02:02:11.372 - debug: sonos.0 (12611) Schedule restart: */30 * * * *
            2021-03-10 02:02:11.990 - error: sonos.0 (12611) 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-03-10 02:02:12.001 - error: sonos.0 (12611) unhandled promise rejection: Cannot read property 'baseUrl' of undefined
            2021-03-10 02:02:12.008 - error: sonos.0 (12611) TypeError: Cannot read property 'baseUrl' of undefined
            at NotificationListener.topologyChange (/opt/iobroker/node_modules/sonos-discovery/lib/SonosSystem.js:109:30)
            at NotificationListener.emit (events.js:314:20)
            at /opt/iobroker/node_modules/sonos-discovery/lib/NotificationListener.js:117:17
            at processTicksAndRejections (internal/process/task_queues.js:97:5)
            2021-03-10 02:02:12.008 - error: sonos.0 (12611) Cannot read property 'baseUrl' of undefined
            2021-03-10 02:02:12.293 - info: sonos.0 (12611) terminating
            2021-03-10 02:02:12.295 - info: sonos.0 (12611) terminating
            2021-03-10 02:02:12.297 - warn: sonos.0 (12611) Terminated (UNCAUGHT_EXCEPTION): Without reason
            2021-03-10 02:02:12.896 - error: host.ioBroker instance system.adapter.sonos.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
            2021-03-10 02:02:12.897 - info: host.ioBroker Restart adapter system.adapter.sonos.0 because enabled
            2021-03-10 02:02:13.947 - info: host.ioBroker instance system.adapter.sonos.0 started with pid 12766
            2021-03-10 02:02:15.807 - debug: sonos.0 (12766) Redis Objects: Use Redis connection: 127.0.0.1:9001
            2021-03-10 02:02:15.878 - debug: sonos.0 (12766) Objects client ready ... initialize now
            2021-03-10 02:02:15.891 - debug: sonos.0 (12766) Objects create System PubSub Client
            2021-03-10 02:02:15.892 - debug: sonos.0 (12766) Objects create User PubSub Client
            2021-03-10 02:02:15.893 - debug: sonos.0 (12766) Objects client initialize lua scripts
            2021-03-10 02:02:15.938 - debug: sonos.0 (12766) Objects connected to redis: 127.0.0.1:9001
            2021-03-10 02:02:15.946 - debug: sonos.0 (12766) objectDB connected
            2021-03-10 02:02:15.949 - debug: sonos.0 (12766) Redis States: Use Redis connection: 127.0.0.1:9000
            2021-03-10 02:02:15.976 - debug: sonos.0 (12766) States create System PubSub Client
            2021-03-10 02:02:15.977 - debug: sonos.0 (12766) States create User PubSub Client
            2021-03-10 02:02:16.006 - debug: sonos.0 (12766) States connected to redis: 127.0.0.1:9000
            2021-03-10 02:02:16.007 - debug: sonos.0 (12766) statesDB connected
            2021-03-10 02:02:16.395 - info: sonos.0 (12766) starting. Version 2.1.1 in /opt/iobroker/node_modules/iobroker.sonos, node: v12.20.1, js-controller: 3.2.16
            2021-03-10 02:02:16.532 - debug: sonos.0 (12766) Schedule restart: */30 * * * *
            2021-03-10 02:02:16.916 - error: sonos.0 (12766) 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-03-10 02:02:16.917 - error: sonos.0 (12766) unhandled promise rejection: Cannot read property 'baseUrl' of undefined
            2021-03-10 02:02:16.918 - error: sonos.0 (12766) TypeError: Cannot read property 'baseUrl' of undefined
            at NotificationListener.topologyChange (/opt/iobroker/node_modules/sonos-discovery/lib/SonosSystem.js:109:30)
            at NotificationListener.emit (events.js:314:20)
            at /opt/iobroker/node_modules/sonos-discovery/lib/NotificationListener.js:117:17
            at processTicksAndRejections (internal/process/task_queues.js:97:5)
            2021-03-10 02:02:16.919 - error: sonos.0 (12766) Cannot read property 'baseUrl' of undefined
            2021-03-10 02:02:17.363 - info: sonos.0 (12766) terminating
            2021-03-10 02:02:17.365 - info: sonos.0 (12766) terminating
            2021-03-10 02:02:17.367 - warn: sonos.0 (12766) Terminated (UNCAUGHT_EXCEPTION): Without reason
            2021-03-10 02:02:17.981 - warn: sonos.0 (12766) get state error: Connection is closed.
            2021-03-10 02:02:17.982 - warn: sonos.0 (12766) get state error: DB closed
            2021-03-10 02:02:17.983 - warn: sonos.0 (12766) get state error: DB closed
            2021-03-10 02:02:17.983 - warn: sonos.0 (12766) get state error: DB closed
            2021-03-10 02:02:17.983 - warn: sonos.0 (12766) get state error: DB closed
            2021-03-10 02:02:17.984 - warn: sonos.0 (12766) get state error: DB closed
            2021-03-10 02:02:18.796 - error: host.ioBroker instance system.adapter.sonos.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
            2021-03-10 02:02:18.809 - info: host.ioBroker Restart adapter system.adapter.sonos.0 because enabled
            2021-03-10 02:02:19.886 - info: host.ioBroker instance system.adapter.sonos.0 started with pid 13174
            2021-03-10 02:02:22.659 - debug: sonos.0 (13174) Redis Objects: Use Redis connection: 127.0.0.1:9001
            2021-03-10 02:02:22.927 - debug: sonos.0 (13174) Objects client ready ... initialize now
            2021-03-10 02:02:23.017 - debug: sonos.0 (13174) Objects create System PubSub Client
            2021-03-10 02:02:23.019 - debug: sonos.0 (13174) Objects create User PubSub Client
            2021-03-10 02:02:23.020 - debug: sonos.0 (13174) Objects client initialize lua scripts
            2021-03-10 02:02:23.105 - debug: sonos.0 (13174) Objects connected to redis: 127.0.0.1:9001
            2021-03-10 02:02:23.113 - debug: sonos.0 (13174) objectDB connected
            2021-03-10 02:02:23.115 - debug: sonos.0 (13174) Redis States: Use Redis connection: 127.0.0.1:9000
            2021-03-10 02:02:23.214 - debug: sonos.0 (13174) States create System PubSub Client
            2021-03-10 02:02:23.215 - debug: sonos.0 (13174) States create User PubSub Client
            2021-03-10 02:02:23.275 - debug: sonos.0 (13174) States connected to redis: 127.0.0.1:9000
            2021-03-10 02:02:23.276 - debug: sonos.0 (13174) statesDB connected
            2021-03-10 02:02:23.703 - info: sonos.0 (13174) starting. Version 2.1.1 in /opt/iobroker/node_modules/iobroker.sonos, node: v12.20.1, js-controller: 3.2.16
            2021-03-10 02:02:23.907 - debug: sonos.0 (13174) Schedule restart: */30 * * * *
            2021-03-10 02:02:24.655 - error: sonos.0 (13174) 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-03-10 02:02:24.658 - error: sonos.0 (13174) unhandled promise rejection: Cannot read property 'baseUrl' of undefined
            2021-03-10 02:02:24.659 - error: sonos.0 (13174) TypeError: Cannot read property 'baseUrl' of undefined
            at NotificationListener.topologyChange (/opt/iobroker/node_modules/sonos-discovery/lib/SonosSystem.js:109:30)
            at NotificationListener.emit (events.js:314:20)
            at /opt/iobroker/node_modules/sonos-discovery/lib/NotificationListener.js:117:17
            at processTicksAndRejections (internal/process/task_queues.js:97:5)
            2021-03-10 02:02:24.660 - error: sonos.0 (13174) Cannot read property 'baseUrl' of undefined
            2021-03-10 02:02:27.076 - info: sonos.0 (13174) terminating
            2021-03-10 02:02:27.078 - info: sonos.0 (13174) terminating
            2021-03-10 02:02:27.080 - warn: sonos.0 (13174) Terminated (UNCAUGHT_EXCEPTION): Without reason
            2021-03-10 02:02:27.893 - error: host.ioBroker instance system.adapter.sonos.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
            2021-03-10 02:02:27.896 - info: host.ioBroker Restart adapter system.adapter.sonos.0 because enabled
            2021-03-10 02:02:27.896 - warn: host.ioBroker Do not restart adapter system.adapter.sonos.0 because restart loop detected
            


            Es ist ein restart loop, der zum Einstellen der Startversuche führt.
            Die Ursache ist mir allerdings noch nicht klar. Werde mal weitere Analysen und Tests vornehmen.

            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • H hmanfred

              So, jetzt habe ich den Abbruch im Log:

              2021-03-10 02:02:09.046 - info: host.ioBroker instance system.adapter.sonos.0 started with pid 12611
              2021-03-10 02:02:09.944 - info: host.ioBroker instance system.adapter.info.0 started with pid 12620
              2021-03-10 02:02:10.749 - debug: sonos.0 (12611) Redis Objects: Use Redis connection: 127.0.0.1:9001
              2021-03-10 02:02:10.814 - debug: sonos.0 (12611) Objects client ready ... initialize now
              2021-03-10 02:02:10.816 - debug: sonos.0 (12611) Objects create System PubSub Client
              2021-03-10 02:02:10.818 - debug: sonos.0 (12611) Objects create User PubSub Client
              2021-03-10 02:02:10.833 - debug: sonos.0 (12611) Objects client initialize lua scripts
              2021-03-10 02:02:10.871 - debug: sonos.0 (12611) Objects connected to redis: 127.0.0.1:9001
              2021-03-10 02:02:10.878 - debug: sonos.0 (12611) objectDB connected
              2021-03-10 02:02:10.881 - debug: sonos.0 (12611) Redis States: Use Redis connection: 127.0.0.1:9000
              2021-03-10 02:02:10.899 - debug: sonos.0 (12611) States create System PubSub Client
              2021-03-10 02:02:10.900 - debug: sonos.0 (12611) States create User PubSub Client
              2021-03-10 02:02:10.921 - debug: sonos.0 (12611) States connected to redis: 127.0.0.1:9000
              2021-03-10 02:02:10.922 - debug: sonos.0 (12611) statesDB connected
              2021-03-10 02:02:11.203 - info: sonos.0 (12611) starting. Version 2.1.1 in /opt/iobroker/node_modules/iobroker.sonos, node: v12.20.1, js-controller: 3.2.16
              2021-03-10 02:02:11.372 - debug: sonos.0 (12611) Schedule restart: */30 * * * *
              2021-03-10 02:02:11.990 - error: sonos.0 (12611) 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-03-10 02:02:12.001 - error: sonos.0 (12611) unhandled promise rejection: Cannot read property 'baseUrl' of undefined
              2021-03-10 02:02:12.008 - error: sonos.0 (12611) TypeError: Cannot read property 'baseUrl' of undefined
              at NotificationListener.topologyChange (/opt/iobroker/node_modules/sonos-discovery/lib/SonosSystem.js:109:30)
              at NotificationListener.emit (events.js:314:20)
              at /opt/iobroker/node_modules/sonos-discovery/lib/NotificationListener.js:117:17
              at processTicksAndRejections (internal/process/task_queues.js:97:5)
              2021-03-10 02:02:12.008 - error: sonos.0 (12611) Cannot read property 'baseUrl' of undefined
              2021-03-10 02:02:12.293 - info: sonos.0 (12611) terminating
              2021-03-10 02:02:12.295 - info: sonos.0 (12611) terminating
              2021-03-10 02:02:12.297 - warn: sonos.0 (12611) Terminated (UNCAUGHT_EXCEPTION): Without reason
              2021-03-10 02:02:12.896 - error: host.ioBroker instance system.adapter.sonos.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
              2021-03-10 02:02:12.897 - info: host.ioBroker Restart adapter system.adapter.sonos.0 because enabled
              2021-03-10 02:02:13.947 - info: host.ioBroker instance system.adapter.sonos.0 started with pid 12766
              2021-03-10 02:02:15.807 - debug: sonos.0 (12766) Redis Objects: Use Redis connection: 127.0.0.1:9001
              2021-03-10 02:02:15.878 - debug: sonos.0 (12766) Objects client ready ... initialize now
              2021-03-10 02:02:15.891 - debug: sonos.0 (12766) Objects create System PubSub Client
              2021-03-10 02:02:15.892 - debug: sonos.0 (12766) Objects create User PubSub Client
              2021-03-10 02:02:15.893 - debug: sonos.0 (12766) Objects client initialize lua scripts
              2021-03-10 02:02:15.938 - debug: sonos.0 (12766) Objects connected to redis: 127.0.0.1:9001
              2021-03-10 02:02:15.946 - debug: sonos.0 (12766) objectDB connected
              2021-03-10 02:02:15.949 - debug: sonos.0 (12766) Redis States: Use Redis connection: 127.0.0.1:9000
              2021-03-10 02:02:15.976 - debug: sonos.0 (12766) States create System PubSub Client
              2021-03-10 02:02:15.977 - debug: sonos.0 (12766) States create User PubSub Client
              2021-03-10 02:02:16.006 - debug: sonos.0 (12766) States connected to redis: 127.0.0.1:9000
              2021-03-10 02:02:16.007 - debug: sonos.0 (12766) statesDB connected
              2021-03-10 02:02:16.395 - info: sonos.0 (12766) starting. Version 2.1.1 in /opt/iobroker/node_modules/iobroker.sonos, node: v12.20.1, js-controller: 3.2.16
              2021-03-10 02:02:16.532 - debug: sonos.0 (12766) Schedule restart: */30 * * * *
              2021-03-10 02:02:16.916 - error: sonos.0 (12766) 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-03-10 02:02:16.917 - error: sonos.0 (12766) unhandled promise rejection: Cannot read property 'baseUrl' of undefined
              2021-03-10 02:02:16.918 - error: sonos.0 (12766) TypeError: Cannot read property 'baseUrl' of undefined
              at NotificationListener.topologyChange (/opt/iobroker/node_modules/sonos-discovery/lib/SonosSystem.js:109:30)
              at NotificationListener.emit (events.js:314:20)
              at /opt/iobroker/node_modules/sonos-discovery/lib/NotificationListener.js:117:17
              at processTicksAndRejections (internal/process/task_queues.js:97:5)
              2021-03-10 02:02:16.919 - error: sonos.0 (12766) Cannot read property 'baseUrl' of undefined
              2021-03-10 02:02:17.363 - info: sonos.0 (12766) terminating
              2021-03-10 02:02:17.365 - info: sonos.0 (12766) terminating
              2021-03-10 02:02:17.367 - warn: sonos.0 (12766) Terminated (UNCAUGHT_EXCEPTION): Without reason
              2021-03-10 02:02:17.981 - warn: sonos.0 (12766) get state error: Connection is closed.
              2021-03-10 02:02:17.982 - warn: sonos.0 (12766) get state error: DB closed
              2021-03-10 02:02:17.983 - warn: sonos.0 (12766) get state error: DB closed
              2021-03-10 02:02:17.983 - warn: sonos.0 (12766) get state error: DB closed
              2021-03-10 02:02:17.983 - warn: sonos.0 (12766) get state error: DB closed
              2021-03-10 02:02:17.984 - warn: sonos.0 (12766) get state error: DB closed
              2021-03-10 02:02:18.796 - error: host.ioBroker instance system.adapter.sonos.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
              2021-03-10 02:02:18.809 - info: host.ioBroker Restart adapter system.adapter.sonos.0 because enabled
              2021-03-10 02:02:19.886 - info: host.ioBroker instance system.adapter.sonos.0 started with pid 13174
              2021-03-10 02:02:22.659 - debug: sonos.0 (13174) Redis Objects: Use Redis connection: 127.0.0.1:9001
              2021-03-10 02:02:22.927 - debug: sonos.0 (13174) Objects client ready ... initialize now
              2021-03-10 02:02:23.017 - debug: sonos.0 (13174) Objects create System PubSub Client
              2021-03-10 02:02:23.019 - debug: sonos.0 (13174) Objects create User PubSub Client
              2021-03-10 02:02:23.020 - debug: sonos.0 (13174) Objects client initialize lua scripts
              2021-03-10 02:02:23.105 - debug: sonos.0 (13174) Objects connected to redis: 127.0.0.1:9001
              2021-03-10 02:02:23.113 - debug: sonos.0 (13174) objectDB connected
              2021-03-10 02:02:23.115 - debug: sonos.0 (13174) Redis States: Use Redis connection: 127.0.0.1:9000
              2021-03-10 02:02:23.214 - debug: sonos.0 (13174) States create System PubSub Client
              2021-03-10 02:02:23.215 - debug: sonos.0 (13174) States create User PubSub Client
              2021-03-10 02:02:23.275 - debug: sonos.0 (13174) States connected to redis: 127.0.0.1:9000
              2021-03-10 02:02:23.276 - debug: sonos.0 (13174) statesDB connected
              2021-03-10 02:02:23.703 - info: sonos.0 (13174) starting. Version 2.1.1 in /opt/iobroker/node_modules/iobroker.sonos, node: v12.20.1, js-controller: 3.2.16
              2021-03-10 02:02:23.907 - debug: sonos.0 (13174) Schedule restart: */30 * * * *
              2021-03-10 02:02:24.655 - error: sonos.0 (13174) 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-03-10 02:02:24.658 - error: sonos.0 (13174) unhandled promise rejection: Cannot read property 'baseUrl' of undefined
              2021-03-10 02:02:24.659 - error: sonos.0 (13174) TypeError: Cannot read property 'baseUrl' of undefined
              at NotificationListener.topologyChange (/opt/iobroker/node_modules/sonos-discovery/lib/SonosSystem.js:109:30)
              at NotificationListener.emit (events.js:314:20)
              at /opt/iobroker/node_modules/sonos-discovery/lib/NotificationListener.js:117:17
              at processTicksAndRejections (internal/process/task_queues.js:97:5)
              2021-03-10 02:02:24.660 - error: sonos.0 (13174) Cannot read property 'baseUrl' of undefined
              2021-03-10 02:02:27.076 - info: sonos.0 (13174) terminating
              2021-03-10 02:02:27.078 - info: sonos.0 (13174) terminating
              2021-03-10 02:02:27.080 - warn: sonos.0 (13174) Terminated (UNCAUGHT_EXCEPTION): Without reason
              2021-03-10 02:02:27.893 - error: host.ioBroker instance system.adapter.sonos.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
              2021-03-10 02:02:27.896 - info: host.ioBroker Restart adapter system.adapter.sonos.0 because enabled
              2021-03-10 02:02:27.896 - warn: host.ioBroker Do not restart adapter system.adapter.sonos.0 because restart loop detected
              


              Es ist ein restart loop, der zum Einstellen der Startversuche führt.
              Die Ursache ist mir allerdings noch nicht klar. Werde mal weitere Analysen und Tests vornehmen.

              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von
              #6

              @hmanfred sagte in SONOS Instanz stellt Betrieb ein:

              Redis States: Use Redis connection: 127.0.0.1:9000

              Soweit ich weiß läuft redis eigentlich auf anderen Ports, nicht auf 9000 / 9001

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              H 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @hmanfred sagte in SONOS Instanz stellt Betrieb ein:

                Redis States: Use Redis connection: 127.0.0.1:9000

                Soweit ich weiß läuft redis eigentlich auf anderen Ports, nicht auf 9000 / 9001

                H Offline
                H Offline
                hmanfred
                schrieb am zuletzt editiert von
                #7

                @thomas-braun
                Ich habe keine Ahnung, was Redis ist und bin mir auch auch nicht bewusst, da etwas (um)konfiguriert zu haben. Wüsste auch gar nicht wie und wo.

                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • H hmanfred

                  @thomas-braun
                  Ich habe keine Ahnung, was Redis ist und bin mir auch auch nicht bewusst, da etwas (um)konfiguriert zu haben. Wüsste auch gar nicht wie und wo.

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #8

                  @hmanfred

                  iobroker status
                  

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  H 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @hmanfred

                    iobroker status
                    
                    H Offline
                    H Offline
                    hmanfred
                    schrieb am zuletzt editiert von
                    #9

                    @thomas-braun

                    user@ioBroker:/root$ iobroker status
                    iobroker is running on this host.
                    
                    
                    Objects type: file
                    States  type: file
                    
                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • H hmanfred

                      @thomas-braun

                      user@ioBroker:/root$ iobroker status
                      iobroker is running on this host.
                      
                      
                      Objects type: file
                      States  type: file
                      
                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #10

                      @hmanfred
                      Bitte nicht in /root rumhampeln. Da liegt NICHTS drin was du als user benötigst.

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      H 1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @hmanfred
                        Bitte nicht in /root rumhampeln. Da liegt NICHTS drin was du als user benötigst.

                        H Offline
                        H Offline
                        hmanfred
                        schrieb am zuletzt editiert von
                        #11

                        @thomas-braun
                        Ich bitte dich. Wenn ich die Konsole aus Proxmox heraus öffne,m bin ich dort. Soll ich also erst hinaushampeln?😉

                        Thomas BraunT 1 Antwort Letzte Antwort
                        0
                        • H hmanfred

                          @thomas-braun
                          Ich bitte dich. Wenn ich die Konsole aus Proxmox heraus öffne,m bin ich dort. Soll ich also erst hinaushampeln?😉

                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          schrieb am zuletzt editiert von
                          #12

                          @hmanfred Ja.

                          Linux-Werkzeugkasten:
                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                          NodeJS Fixer Skript:
                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          H 1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @hmanfred Ja.

                            H Offline
                            H Offline
                            hmanfred
                            schrieb am zuletzt editiert von
                            #13

                            @thomas-braun
                            Okay. Ich werd's mir merken.

                            Da das aber (vermutlich?) nicht die Ursache meienr Probleme ist, würde ich gerne wieder zum Topic zurückkehren.🤔

                            1 Antwort Letzte Antwort
                            0
                            • H Offline
                              H Offline
                              hmanfred
                              schrieb am zuletzt editiert von
                              #14

                              Ich habe jetzt die SONOS Instanz gelöscht und neu angelegt. Ist ja kein großer Aufwand, die Objektnamen in Scripten und im VIS passen ja wieder.

                              Werde berichten.

                              1 Antwort Letzte Antwort
                              0
                              • H hmanfred

                                Meine SONOS Instanz stellt seit ca. 2 Wochen irgendwann im Laufe des Tages (oder der Nacht) den Betrieb ein.

                                Systemdaten:
                                Node.js v12.20.1
                                NPM 6.14.10
                                SONOS 2.1.1

                                Die Symptome sehen folgendermaßen aus:
                                Die Instanz verliert irgendwann die Verbindung oder beendet sich. Jedenfalls ist sie in der Admin-Übersicht rot.
                                Ich habe in der Admin-Oberfläche einen Restart der Instanz alle 30 Minuten eingestellt. Das funktioniett auch, wenn die Instanz läuft. Sobald sie aber (durch was auch immer) auf Rot steht, passiert nichts mehr. Kein Restart, kein Reconnect.
                                Wenn ich die Instanz dann irgednwie anfasse (in die Konfig gehen oder die Cron-Zeiten zum Restart ändern) wird sie wieder grün und bleibt so bis ich am nächsten Morgen wieder feststelle , dass sie auf rot steht.

                                Jemand eine Idee?

                                frankthegreatF Offline
                                frankthegreatF Offline
                                frankthegreat
                                schrieb am zuletzt editiert von
                                #15

                                @hmanfred sagte in SONOS Instanz stellt Betrieb ein:

                                Meine SONOS Instanz stellt seit ca. 2 Wochen irgendwann im Laufe des Tages (oder der Nacht) den Betrieb ein.
                                Die Symptome sehen folgendermaßen aus:
                                Die Instanz verliert irgendwann die Verbindung oder beendet sich. Jedenfalls ist sie in der Admin-Übersicht rot.
                                Ich habe in der Admin-Oberfläche einen Restart der Instanz alle 30 Minuten eingestellt. Das funktioniett auch, wenn die Instanz läuft. Sobald sie aber (durch was auch immer) auf Rot steht, passiert nichts mehr. Kein Restart, kein Reconnect.
                                Wenn ich die Instanz dann irgednwie anfasse (in die Konfig gehen oder die Cron-Zeiten zum Restart ändern) wird sie wieder grün und bleibt so bis ich am nächsten Morgen wieder feststelle , dass sie auf rot steht.

                                Jemand eine Idee?

                                Moin, ich habe bei mir seit kurzem das gleiche Verhalten. Also irgendwann geht die Instanz auf rot und dann hilft nur ein Restart.
                                Habe das aber erstmal nicht weiter verfolgt.
                                Wenn das allerdings vermehrt auftritt, scheint doch was nicht zu passen.
                                Wäre auf jeden Fall auch an einer Lösung interessiert.

                                1 Antwort Letzte Antwort
                                0
                                • H Offline
                                  H Offline
                                  hmanfred
                                  schrieb am zuletzt editiert von
                                  #16

                                  Nachdem ich die SONOS Instanz gelöscht und komplett neu angelegt habe, bleibt das Problem bestehen.

                                  Der Start des Adapters mündet irgendwann (nachdem er einige Stunden lang lief) immer in:

                                  2021-03-10 23:41:29.518  - info: sonos.0 (31885) starting. Version 2.1.1 in /opt/iobroker/node_modules/iobroker.sonos, node: v12.20.1, js-controller: 3.2.16
                                  2021-03-10 23:41:29.825  - error: sonos.0 (31885) 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-03-10 23:41:29.826  - error: sonos.0 (31885) unhandled promise rejection: Cannot read property 'baseUrl' of undefined
                                  2021-03-10 23:41:29.826  - error: sonos.0 (31885) TypeError: Cannot read property 'baseUrl' of undefined
                                     at NotificationListener.topologyChange (/opt/iobroker/node_modules/sonos-discovery/lib/SonosSystem.js:109:30)
                                     at NotificationListener.emit (events.js:314:20)
                                     at /opt/iobroker/node_modules/sonos-discovery/lib/NotificationListener.js:117:17
                                     at processTicksAndRejections (internal/process/task_queues.js:97:5)
                                  2021-03-10 23:41:29.827  - error: sonos.0 (31885) Cannot read property 'baseUrl' of undefined
                                  2021-03-10 23:41:29.840  - info: sonos.0 (31885) terminating
                                  2021-03-10 23:41:29.842  - info: sonos.0 (31885) terminating
                                  2021-03-10 23:41:29.843  - warn: sonos.0 (31885) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                  2021-03-10 23:41:30.455  - error: host.ioBroker instance system.adapter.sonos.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                  

                                  ...und nach mehreren Startversuchen mit obigem Log-Eintrag:

                                  2021-03-10 23:41:30.456  - info: host.ioBroker Restart adapter system.adapter.sonos.0 because enabled
                                  2021-03-10 23:41:30.456  - warn: host.ioBroker Do not restart adapter system.adapter.sonos.0 because restart loop detected
                                  

                                  Ich bin mit meiner beschränkten Weisheit am Ende.

                                  cashC E 2 Antworten Letzte Antwort
                                  0
                                  • H hmanfred

                                    Nachdem ich die SONOS Instanz gelöscht und komplett neu angelegt habe, bleibt das Problem bestehen.

                                    Der Start des Adapters mündet irgendwann (nachdem er einige Stunden lang lief) immer in:

                                    2021-03-10 23:41:29.518  - info: sonos.0 (31885) starting. Version 2.1.1 in /opt/iobroker/node_modules/iobroker.sonos, node: v12.20.1, js-controller: 3.2.16
                                    2021-03-10 23:41:29.825  - error: sonos.0 (31885) 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-03-10 23:41:29.826  - error: sonos.0 (31885) unhandled promise rejection: Cannot read property 'baseUrl' of undefined
                                    2021-03-10 23:41:29.826  - error: sonos.0 (31885) TypeError: Cannot read property 'baseUrl' of undefined
                                       at NotificationListener.topologyChange (/opt/iobroker/node_modules/sonos-discovery/lib/SonosSystem.js:109:30)
                                       at NotificationListener.emit (events.js:314:20)
                                       at /opt/iobroker/node_modules/sonos-discovery/lib/NotificationListener.js:117:17
                                       at processTicksAndRejections (internal/process/task_queues.js:97:5)
                                    2021-03-10 23:41:29.827  - error: sonos.0 (31885) Cannot read property 'baseUrl' of undefined
                                    2021-03-10 23:41:29.840  - info: sonos.0 (31885) terminating
                                    2021-03-10 23:41:29.842  - info: sonos.0 (31885) terminating
                                    2021-03-10 23:41:29.843  - warn: sonos.0 (31885) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                    2021-03-10 23:41:30.455  - error: host.ioBroker instance system.adapter.sonos.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                    

                                    ...und nach mehreren Startversuchen mit obigem Log-Eintrag:

                                    2021-03-10 23:41:30.456  - info: host.ioBroker Restart adapter system.adapter.sonos.0 because enabled
                                    2021-03-10 23:41:30.456  - warn: host.ioBroker Do not restart adapter system.adapter.sonos.0 because restart loop detected
                                    

                                    Ich bin mit meiner beschränkten Weisheit am Ende.

                                    cashC Offline
                                    cashC Offline
                                    cash
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #17

                                    @hmanfred Ich kann zwar nicht helfen aber bei mir läuft der Adapter ohne Probleme. Mehrmals am Tag speilt er entweder Playlisten oder Radio auf verschiedenen Geräten. Dazu gruppiert er oder löst Gruppen bei Bedarf auf. Alles unauffällig bei mir.

                                    H 1 Antwort Letzte Antwort
                                    0
                                    • H hmanfred

                                      Nachdem ich die SONOS Instanz gelöscht und komplett neu angelegt habe, bleibt das Problem bestehen.

                                      Der Start des Adapters mündet irgendwann (nachdem er einige Stunden lang lief) immer in:

                                      2021-03-10 23:41:29.518  - info: sonos.0 (31885) starting. Version 2.1.1 in /opt/iobroker/node_modules/iobroker.sonos, node: v12.20.1, js-controller: 3.2.16
                                      2021-03-10 23:41:29.825  - error: sonos.0 (31885) 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-03-10 23:41:29.826  - error: sonos.0 (31885) unhandled promise rejection: Cannot read property 'baseUrl' of undefined
                                      2021-03-10 23:41:29.826  - error: sonos.0 (31885) TypeError: Cannot read property 'baseUrl' of undefined
                                         at NotificationListener.topologyChange (/opt/iobroker/node_modules/sonos-discovery/lib/SonosSystem.js:109:30)
                                         at NotificationListener.emit (events.js:314:20)
                                         at /opt/iobroker/node_modules/sonos-discovery/lib/NotificationListener.js:117:17
                                         at processTicksAndRejections (internal/process/task_queues.js:97:5)
                                      2021-03-10 23:41:29.827  - error: sonos.0 (31885) Cannot read property 'baseUrl' of undefined
                                      2021-03-10 23:41:29.840  - info: sonos.0 (31885) terminating
                                      2021-03-10 23:41:29.842  - info: sonos.0 (31885) terminating
                                      2021-03-10 23:41:29.843  - warn: sonos.0 (31885) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                      2021-03-10 23:41:30.455  - error: host.ioBroker instance system.adapter.sonos.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                      

                                      ...und nach mehreren Startversuchen mit obigem Log-Eintrag:

                                      2021-03-10 23:41:30.456  - info: host.ioBroker Restart adapter system.adapter.sonos.0 because enabled
                                      2021-03-10 23:41:30.456  - warn: host.ioBroker Do not restart adapter system.adapter.sonos.0 because restart loop detected
                                      

                                      Ich bin mit meiner beschränkten Weisheit am Ende.

                                      E Offline
                                      E Offline
                                      ente34
                                      schrieb am zuletzt editiert von
                                      #18

                                      @hmanfred
                                      Hier berichtet ein User von dem Fehler, nachdem er ein Stereo-Paar physikalisch getrennt hat und das Pärchen im Sonos-System nicht getrennt hat.

                                      Alternativ könnt ihr testweise Zeile 109 ändern:
                                      /opt/iobroker/node_modules/sonos-discovery/lib/SonosSystem.js

                                          const anyPlayer = _this.getAnyPlayer();
                                          soap.invoke(`${anyPlayer.baseUrl}/MusicServices/Control`, soap.TYPE.ListAvailableServices)
                                      

                                      -->

                                          const anyPlayer = _this.getAnyPlayer();
                                          anyPlayer && anyPlayer.baseUrl && soap.invoke(`${anyPlayer.baseUrl}/MusicServices/Control`, soap.TYPE.ListAvailableServices)
                                      
                                      H 1 Antwort Letzte Antwort
                                      0
                                      • cashC cash

                                        @hmanfred Ich kann zwar nicht helfen aber bei mir läuft der Adapter ohne Probleme. Mehrmals am Tag speilt er entweder Playlisten oder Radio auf verschiedenen Geräten. Dazu gruppiert er oder löst Gruppen bei Bedarf auf. Alles unauffällig bei mir.

                                        H Offline
                                        H Offline
                                        hmanfred
                                        schrieb am zuletzt editiert von
                                        #19

                                        @cash sagte in SONOS Instanz stellt Betrieb ein:

                                        @hmanfred Ich kann zwar nicht helfen aber bei mir läuft der Adapter ohne Probleme. Mehrmals am Tag speilt er entweder Playlisten oder Radio auf verschiedenen Geräten. Dazu gruppiert er oder löst Gruppen bei Bedarf auf. Alles unauffällig bei mir.

                                        Tja, das war es bis... ja, bis zu welchem Ereignis?... bei mir auch.

                                        1 Antwort Letzte Antwort
                                        0
                                        • E ente34

                                          @hmanfred
                                          Hier berichtet ein User von dem Fehler, nachdem er ein Stereo-Paar physikalisch getrennt hat und das Pärchen im Sonos-System nicht getrennt hat.

                                          Alternativ könnt ihr testweise Zeile 109 ändern:
                                          /opt/iobroker/node_modules/sonos-discovery/lib/SonosSystem.js

                                              const anyPlayer = _this.getAnyPlayer();
                                              soap.invoke(`${anyPlayer.baseUrl}/MusicServices/Control`, soap.TYPE.ListAvailableServices)
                                          

                                          -->

                                              const anyPlayer = _this.getAnyPlayer();
                                              anyPlayer && anyPlayer.baseUrl && soap.invoke(`${anyPlayer.baseUrl}/MusicServices/Control`, soap.TYPE.ListAvailableServices)
                                          
                                          H Offline
                                          H Offline
                                          hmanfred
                                          schrieb am zuletzt editiert von
                                          #20

                                          @ente34
                                          Danke für den Tipp. Aber bevor ich anfange interne Konfigfiles zu ändern, lote oich erst mal alle anderen Optionen aus.

                                          1 Antwort Letzte Antwort
                                          0

                                          Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                                          Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                                          Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                                          Registrieren Anmelden
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          523

                                          Online

                                          32.9k

                                          Benutzer

                                          83.0k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe