Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Problem mit dem Unifi Adapter

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    UNSOLVED Problem mit dem Unifi Adapter

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

      Systemdata Bitte Ausfüllen
      Hardwaresystem: Synology Diskstation DS 216+
      Arbeitsspeicher: 4GB
      Festplattenart: WD RED
      Betriebssystem: Synology DSM -Linux (Docker)
      Node-Version: 10.x.x
      Nodejs-Version: 10.17.10
      NPM-Version: 6.11.3
      Installationsart: Docker
      Image genutzt: Ja
      Ort/Name der Imagedatei: buanet iobroker

      Ich bekomme bei der LOG den folgenden Fehler:

      host.buanet-iobroker2	2020-01-08 10:52:21.736	error	Caught by controller[0]: at traverseArray (/opt/iobroker/node_modules/iobroker.unifi/main.js:165:7)
      host.buanet-iobroker2	2020-01-08 10:52:21.736	error	Caught by controller[0]: at Array.every (<anonymous>)
      host.buanet-iobroker2	2020-01-08 10:52:21.736	error	Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.unifi/main.js:168:7
      host.buanet-iobroker2	2020-01-08 10:52:21.736	error	Caught by controller[0]: at traverse (/opt/iobroker/node_modules/iobroker.unifi/main.js:155:5)
      host.buanet-iobroker2	2020-01-08 10:52:21.736	error	Caught by controller[0]: at traverseObject (/opt/iobroker/node_modules/iobroker.unifi/main.js:178:27)
      host.buanet-iobroker2	2020-01-08 10:52:21.736	error	Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.unifi/main.js:288:13
      host.buanet-iobroker2	2020-01-08 10:52:21.736	error	Caught by controller[0]: at traverse (/opt/iobroker/node_modules/iobroker.unifi/main.js:155:5)
      host.buanet-iobroker2	2020-01-08 10:52:21.735	error	Caught by controller[0]: at traverseObject (/opt/iobroker/node_modules/iobroker.unifi/main.js:184:7)
      host.buanet-iobroker2	2020-01-08 10:52:21.735	error	Caught by controller[0]: at traverse (/opt/iobroker/node_modules/iobroker.unifi/main.js:156:32)
      host.buanet-iobroker2	2020-01-08 10:52:21.735	error	Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.unifi/main.js:292:58
      host.buanet-iobroker2	2020-01-08 10:52:21.735	error	Caught by controller[0]: TypeError: Cannot read property 'subsystem' of null
      host.buanet-iobroker2	2020-01-09 09:57:40.721	error	Caught by controller[0]: at traverseArray (/opt/iobroker/node_modules/iobroker.unifi/main.js:165:7)
      host.buanet-iobroker2	2020-01-09 09:57:40.721	error	Caught by controller[0]: at Array.every (<anonymous>)
      host.buanet-iobroker2	2020-01-09 09:57:40.721	error	Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.unifi/main.js:168:7
      host.buanet-iobroker2	2020-01-09 09:57:40.721	error	Caught by controller[0]: at traverse (/opt/iobroker/node_modules/iobroker.unifi/main.js:155:5)
      host.buanet-iobroker2	2020-01-09 09:57:40.721	error	Caught by controller[0]: at traverseObject (/opt/iobroker/node_modules/iobroker.unifi/main.js:178:27)
      host.buanet-iobroker2	2020-01-09 09:57:40.720	error	Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.unifi/main.js:288:13
      host.buanet-iobroker2	2020-01-09 09:57:40.720	error	Caught by controller[0]: at traverse (/opt/iobroker/node_modules/iobroker.unifi/main.js:155:5)
      host.buanet-iobroker2	2020-01-09 09:57:40.720	error	Caught by controller[0]: at traverseObject (/opt/iobroker/node_modules/iobroker.unifi/main.js:184:7)
      host.buanet-iobroker2	2020-01-09 09:57:40.720	error	Caught by controller[0]: at traverse (/opt/iobroker/node_modules/iobroker.unifi/main.js:156:32)
      host.buanet-iobroker2	2020-01-09 09:57:40.720	error	Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.unifi/main.js:292:58
      host.buanet-iobroker2	2020-01-09 09:57:40.719	error	Caught by controller[0]: TypeError: Cannot read property 'subsystem' of null
      unifi.0	2020-01-09 09:57:40.195	info	(15549) Terminated (NO_ERROR): Without reason
      unifi.0	2020-01-09 09:57:40.194	info	(15549) terminating
      unifi.0	2020-01-09 09:57:40.147	info	(15549) cleaned everything up...
      unifi.0	2020-01-09 09:57:40.143	error	(15549) TypeError: Cannot read property 'subsystem' of null at /opt/iobroker/node_modules/iobroker.unifi/main.js:292:58 at traverse (/opt/iobroker/node_modules/iobroker.unifi/main.js:156:32)
      unifi.0	2020-01-09 09:57:40.143	error	(15549) uncaught exception: Cannot read property 'subsystem' of null
      

      Ja das ist eine dumme floskel, aber da ich in der letzten Zeit keine Möglichkeit hatte an der iobroker Installation weiter zu konfigurieren, kommt nun dieser Fehler.
      Der Unifi Adapter hat auch schon gearbeitet und war Grün. Nun ist aber beides Rot, Verbunden mit Host und Lebenszeichen
      Wie ich das letzte mal geschaut habe (vor Weihnachten) waren alle Adapter Grün. Nun kommt diese Fehermeldung.
      Kann es ein Problem am Adapter sein? Denn auf den Unifi Controller (ebenfalls Docker Container, zugreifbar über Hostnetzwerk) funktioniert meines Erachtens Tadellos

      Mod-Edit: Code/Log in Code Tags gepackt und zusammengeführt. Bitte benutzt die Code Tags Funktion -> </>
      Hier gehts zur Hilfe.

      1 Reply Last reply Reply Quote 0
      • T
        TorbenNW last edited by TorbenNW

        Ist glaube ich ein altbekannter Fehler. Der Adapter wird aktuell auch nicht weiterentwickelt und verbraucht recht viel Ressourcen.
        Eine Lösung wird hier angeboten:
        https://forum.iobroker.net/topic/4514/adapter-iobroker-unifi/255

        Homoran 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @TorbenNW last edited by

          @TorbenNW sagte in Problem mit dem Unifi Adapter:

          ist glaube ich ein altbekannter Fehler.

          Läuft bei mir einwandfrei!

          @TorbenNW sagte in Problem mit dem Unifi Adapter:

          verbraucht recht viel Ressourcen.

          das stimmt allerdings

          Ich vermute die Ursache eher hier:

          @sectorchan sagte in Problem mit dem Unifi Adapter:

          ebenfalls Docker Container,

          Da bin ich aber leider raus, da ich wegen solcher Probleme nicht mit Containern wie Docker oder lxc arbeite

          1 Reply Last reply Reply Quote 0
          • S
            sectorchan last edited by

            Was hast du? Einen Cloud Key?

            Ich kann mir das schlecht vorstellen dass das an dem Docker liegen soll, da sich der Docker mit dem Hostnetzwerk, ja wie eine reale installation verhalten soll.

            Interessanterweise, lief es bei dieser IOBroker installation ca 2wochen 😕

            Ich teste es mal mit einer OSX Controller installation ohne Adaptierte Geräte

            1 Reply Last reply Reply Quote 0
            • S
              SirLance last edited by

              Hiho ich klinke mich hier mal ein.

              Meine Situation ist eine ähnliche. Aufbau der ganzen konfig
              Docker-container -> iobroker -> unifi

              Hardware:
              3 AC's 1 USG 1 Server

              Firmware:
              Unifi Controller 5.12.35
              Unifi Adapter 0.3.1

              diese sind auch noch so konfiguriert das sie intern über reverse proxys arbeiten können (traefik und eigener dns)
              freigegebene ports sind soweit alle die unifi zum kommunizieren braucht kann auch alles anpingen usw. kann daran also nicht liegen.

              Der Unifi controller lief auch schon mal und hat daten gesammelt. Das alles hat er gemacht als noch kein USG installiert war. Seitdem das USG auch integriert wurde geht nichts mehr in dem Unifi Adapter. Selbe Fehlermeldung wie der TE.

              actuell mal ein Screenshot von den Daten die ohne USG reingekommen sind

              1 Reply Last reply Reply Quote 0
              • S
                SirLance last edited by

                So nach etwas suchen in den Issues kann auch das ein Grund sein wieso es nicht funktioniert
                https://github.com/jens-maus/ioBroker.unifi/issues/17

                ich werde mich dem mal annehmen und den Adapter debuggen und sehen ob ich einen Pull Request durch bekomme.

                Weezelchen created this issue in jens-maus/ioBroker.unifi

                closed Adapter stürzt ab, wenn ein USG hinzugefügt wird. #17

                1 Reply Last reply Reply Quote 0
                • S
                  sectorchan last edited by

                  Bei mir war es nicht so, das USG habe ich schon seit meinem Start mit Unifi im Netzwerk.
                  Wie bereits gesagt, ging es von "heute auf morgen" nicht mehr und der Fehler kam.

                  Ich habe eine If clause in dem Adapter gesetzt wie bei dem link von @TorbenNW - Der angesprochene Fehler war dann weg

                  1 Reply Last reply Reply Quote 0
                  • S
                    SaschaS last edited by

                    Ich bin auf Controller 5.12.35-12979-1 und erhalte nachstehende Fehler ...
                    Noch eine Chance hierbei etwas zu beheben?

                    host.raspberrypi	2020-02-13 21:06:46.266	info	instance system.adapter.unifi.0 terminated with code 0 (NO_ERROR)
                    host.raspberrypi	2020-02-13 21:06:46.265	error	Caught by controller[0]: at traverseArray (/opt/iobroker/node_modules/iobroker.unifi/main.js:165:7)
                    host.raspberrypi	2020-02-13 21:06:46.265	error	Caught by controller[0]: at Array.every (<anonymous>)
                    host.raspberrypi	2020-02-13 21:06:46.265	error	Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.unifi/main.js:168:7
                    host.raspberrypi	2020-02-13 21:06:46.265	error	Caught by controller[0]: at traverse (/opt/iobroker/node_modules/iobroker.unifi/main.js:155:5)
                    host.raspberrypi	2020-02-13 21:06:46.265	error	Caught by controller[0]: at traverseObject (/opt/iobroker/node_modules/iobroker.unifi/main.js:178:27)
                    host.raspberrypi	2020-02-13 21:06:46.264	error	Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.unifi/main.js:288:13
                    host.raspberrypi	2020-02-13 21:06:46.264	error	Caught by controller[0]: at traverse (/opt/iobroker/node_modules/iobroker.unifi/main.js:155:5)
                    host.raspberrypi	2020-02-13 21:06:46.264	error	Caught by controller[0]: at traverseObject (/opt/iobroker/node_modules/iobroker.unifi/main.js:184:7)
                    host.raspberrypi	2020-02-13 21:06:46.263	error	Caught by controller[0]: at traverse (/opt/iobroker/node_modules/iobroker.unifi/main.js:156:32)
                    host.raspberrypi	2020-02-13 21:06:46.263	error	Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.unifi/main.js:292:58
                    host.raspberrypi	2020-02-13 21:06:46.262	error	Caught by controller[0]: TypeError: Cannot read property 'subsystem' of null
                    unifi.0	2020-02-13 21:06:39.559	info	(30725) Terminated (NO_ERROR): Without reason
                    unifi.0	2020-02-13 21:06:39.556	info	(30725) terminating
                    unifi.0	2020-02-13 21:06:39.495	info	(30725) cleaned everything up...
                    unifi.0	2020-02-13 21:06:39.493	error	(30725) TypeError: Cannot read property 'subsystem' of null at /opt/iobroker/node_modules/iobroker.unifi/main.js:292:58 at traverse (/opt/iobroker/node_modules/iobroker.unifi/main.js:156:32)
                    unifi.0	2020-02-13 21:06:39.491	error	(30725) uncaught exception: Cannot read property 'subsystem' of null
                    unifi.0	2020-02-13 21:06:39.415	info	(30725) getSitesStats: default
                    unifi.0	2020-02-13 21:06:36.016	info	(30725) controller = 192.168.1.17:8443
                    
                    S 1 Reply Last reply Reply Quote 0
                    • S
                      sectorchan @SaschaS last edited by

                      @SaschaS hast du schon https://forum.iobroker.net/topic/4514/adapter-iobroker-unifi/255 versucht wie von @TorbenNW vorgeschlagen? Bei mir halfs

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

                      Support us

                      ioBroker
                      Community Adapters
                      Donate

                      916
                      Online

                      31.9k
                      Users

                      80.1k
                      Topics

                      1.3m
                      Posts

                      unifi
                      5
                      9
                      1714
                      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