Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ioBroker.Unifi verbindet nicht (Erstinstallation)

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    ioBroker.Unifi verbindet nicht (Erstinstallation)

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

      @dime

      bitte die Ausgabe von

      iob diag
      
      D 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @DiMe last edited by

        @dime

        Wenn der iobrokee auf Stand gebracht worden ist sollte da auch eine Empfehlung zu nodejs@18 erscheinen.
        Oder du erzwingst die 18 direkt:

        iob nodejs-update 18
        
        1 Reply Last reply Reply Quote 0
        • D
          DiMe @Neuschwansteini last edited by

          @ilovegym

          ======================= SUMMARY =======================
          v.2023-10-10

          Copy text starting here:

          ======================= SUMMARY =======================
                                  v.2023-10-10
          
          
             Static hostname: raspberrypi
                   Icon name: computer
            Operating System: Raspbian GNU/Linux 11 (bullseye)
                      Kernel: Linux 6.1.19-v7l+
                Architecture: arm
          
          Installation:           native
          Kernel:                 armv7l
          Userland:               armhf
          Timezone:               Europe/Berlin (CET, +0100)
          User-ID:                1000
          X-Server:               false
          Boot Target:            graphical.target
          
          Pending OS-Updates:     0
          Pending iob updates:    15
          
          This system needs to be REBOOTED NOW!
          
          
          Nodejs-Installation:    /usr/bin/nodejs         v18.18.2
                                  /usr/bin/node           v18.18.2
                                  /usr/bin/npm            9.8.1
                                  /usr/bin/npx            9.8.1
                                  /usr/bin/corepack       0.19.0
          
          Recommended versions are nodejs 16.20.2 and npm 8.19.4
          Your nodejs installation is correct
          
          MEMORY:
                         total        used        free      shared  buff/cache   available
          Mem:            3.8G        1.1G        1.8G        0.0K        926M        2.6G
          Swap:            99M         80M         19M
          Total:          3.9G        1.2G        1.9G
          
          Active iob-Instances:   13
          Active repo(s): stable
          
          ioBroker Core:          js-controller           4.0.24
                                  admin                   6.3.5
          
          ioBroker Status:        iobroker is running on this host.
          
          
          Objects type: jsonl
          States  type: jsonl
          
          Status admin and web instance:
          + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
          
          Objects:                3374
          States:                 3133
          
          Size of iob-Database:
          
          6.8M    /opt/iobroker/iobroker-data/objects.jsonl
          1.2M    /opt/iobroker/iobroker-data/states.jsonl
          
          
          
          =================== END OF SUMMARY ====================
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @DiMe last edited by

            @dime

            This system needs to be REBOOTED NOW!

            Solltest du tun.

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

              @thomas-braun
              Done

              Neuer Diag:

              ======================= SUMMARY =======================
                                      v.2023-10-10
              
              
                 Static hostname: raspberrypi
                       Icon name: computer
                Operating System: Raspbian GNU/Linux 11 (bullseye)
                          Kernel: Linux 6.1.21-v7l+
                    Architecture: arm
              
              Installation:           native
              Kernel:                 armv7l
              Userland:               armhf
              Timezone:               Europe/Berlin (CET, +0100)
              User-ID:                1000
              X-Server:               false
              Boot Target:            graphical.target
              
              Pending OS-Updates:     0
              Pending iob updates:    15
              
              Nodejs-Installation:    /usr/bin/nodejs         v18.18.2
                                      /usr/bin/node           v18.18.2
                                      /usr/bin/npm            9.8.1
                                      /usr/bin/npx            9.8.1
                                      /usr/bin/corepack       0.19.0
              
              Recommended versions are nodejs 16.20.2 and npm 8.19.4
              Your nodejs installation is correct
              
              MEMORY:
                             total        used        free      shared  buff/cache   available
              Mem:            3.8G        1.4G        1.6G        6.0M        917M        2.3G
              Swap:            99M          0B         99M
              Total:          3.9G        1.4G        1.7G
              
              Active iob-Instances:   13
              Active repo(s): stable
              
              ioBroker Core:          js-controller           4.0.24
                                      admin                   6.3.5
              
              ioBroker Status:        iobroker is running on this host.
              
              
              Objects type: jsonl
              States  type: jsonl
              
              Status admin and web instance:
              + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
              + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
              
              Objects:                3430
              States:                 3189
              
              Size of iob-Database:
              
              7.9M    /opt/iobroker/iobroker-data/objects.jsonl
              1.9M    /opt/iobroker/iobroker-data/states.jsonl
              
              
              
              =================== END OF SUMMARY ====================
              
              Neuschwansteini 1 Reply Last reply Reply Quote 0
              • Neuschwansteini
                Neuschwansteini @DiMe last edited by

                @dime sagte in ioBroker.Unifi verbindet nicht (Erstinstallation):

                Pending iob updates: 15

                jetzt den iobroker auf den Stand bringen..

                und wenn du das fertig hast, sagst du uns noch die Versionen von Unifi-Controller und -Netwerk, damit wir den unifi-adapter in Gang bringen.. aber erstmal das Fundament.. mit nem Haus faengt man auch nicht am Dach an zu bauen.. 🙂

                D 1 Reply Last reply Reply Quote 0
                • D
                  DiMe @Neuschwansteini last edited by DiMe

                  @ilovegym
                  Alles klar, mach ich. Möchte nur schnell noch ein Backup meiner SD machen, falls etwas schief gehen sollte. Ich habe da ein Händchen dafür 😁

                  Neuschwansteini 1 Reply Last reply Reply Quote 0
                  • Neuschwansteini
                    Neuschwansteini @DiMe last edited by

                    @dime

                    Das sollte man zwischen diesen Schritten sowieso immer machen.. am besten ganze SD Karte.. die geht sowieso gern kaputt..

                    und auch vom iobroker ein Backup machen, also in der Konsole "iob backup" eingeben, und das dann irgendwohin(wo es sicher ist und man es wieder findet und einfach zurueck kopieren kann) kopieren...

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      DiMe @Neuschwansteini last edited by DiMe

                      @ilovegym
                      SD Karten Backup mache ich eigentlich immer in einem bestimmt Turnus oder bevor ich gerade rumschraube.
                      Habe auch ein Adapter bei mir auf dem Broker wo täglich meine Daten vom Broker sichert (Grafana , Werte usw.).
                      Aber das mit dem "iob Backup" mache ich jetzt trotzdem auch noch. Lieber eine Sicherung zu viel.

                      Kurze Frage mit dem IOBroker update, kann ich den einfach mit

                      iob upgrade self
                      

                      starten oder gibt es noch etwas zu beachten, ich frage für ein Freund 😆

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

                        @dime

                        iob update
                        iob upgrade all
                        iob stop
                        iob fix
                        iob upgrade self
                        iob start
                        
                        D 1 Reply Last reply Reply Quote 0
                        • D
                          DiMe @Thomas Braun last edited by DiMe

                          @thomas-braun @ilovegym

                          So alles erledigt und noch ein Diag gemacht

                          ======================= SUMMARY =======================
                                                  v.2023-10-10
                          
                          
                             Static hostname: raspberrypi
                                   Icon name: computer
                            Operating System: Raspbian GNU/Linux 11 (bullseye)
                                      Kernel: Linux 6.1.21-v7l+
                                Architecture: arm
                          
                          Installation:           native
                          Kernel:                 armv7l
                          Userland:               armhf
                          Timezone:               Europe/Berlin (CET, +0100)
                          User-ID:                1000
                          X-Server:               false
                          Boot Target:            graphical.target
                          
                          Pending OS-Updates:     0
                          Pending iob updates:    0
                          
                          Nodejs-Installation:    /usr/bin/nodejs         v18.18.2
                                                  /usr/bin/node           v18.18.2
                                                  /usr/bin/npm            9.8.1
                                                  /usr/bin/npx            9.8.1
                                                  /usr/bin/corepack       0.19.0
                          
                          Recommended versions are nodejs 18.18.2 and npm 9.8.1
                          Your nodejs installation is correct
                          
                          MEMORY:
                                         total        used        free      shared  buff/cache   available
                          Mem:            3.8G        1.4G        1.5G        6.0M        1.0G        2.3G
                          Swap:            99M          0B         99M
                          Total:          3.9G        1.4G        1.6G
                          
                          Active iob-Instances:   13
                          Active repo(s): stable
                          
                          ioBroker Core:          js-controller           5.0.16
                                                  admin                   6.12.0
                          
                          ioBroker Status:        iobroker is running on this host.
                          
                          
                          Objects type: jsonl
                          States  type: jsonl
                          
                          Status admin and web instance:
                          + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                          + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                          
                          Objects:                3548
                          States:                 3267
                          
                          Size of iob-Database:
                          
                          6.9M    /opt/iobroker/iobroker-data/objects.jsonl
                          1.1M    /opt/iobroker/iobroker-data/states.jsonl
                          
                          
                          
                          =================== END OF SUMMARY ====================
                          

                          Danke für die Codes

                          Thomas Braun Neuschwansteini 2 Replies Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @DiMe last edited by

                            @dime

                            Ja, jetzt ist die Basis auf aktuellem Stand.

                            1 Reply Last reply Reply Quote 0
                            • Neuschwansteini
                              Neuschwansteini @DiMe last edited by

                              @dime

                              Jetzt mal den Unifi Adapter starten und das komplette log vom start bis zur Fehlermeldung posten, bitte..

                              D 1 Reply Last reply Reply Quote 0
                              • D
                                DiMe @Neuschwansteini last edited by

                                @ilovegym
                                Geht klar

                                
                                unifi.0
                                2023-11-16 16:13:58.862	info	terminating
                                
                                unifi.0
                                2023-11-16 16:13:58.358	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                
                                unifi.0
                                2023-11-16 16:13:58.357	debug	Plugin sentry destroyed
                                
                                unifi.0
                                2023-11-16 16:13:58.355	info	terminating
                                
                                unifi.0
                                2023-11-16 16:13:58.354	info	cleaned everything up...
                                
                                unifi.0
                                2023-11-16 16:13:58.351	info	Got terminate signal TERMINATE_YOURSELF
                                
                                unifi.0
                                2023-11-16 16:13:58.200	error	Adapter deactivated due to missing configuration.
                                
                                unifi.0
                                2023-11-16 16:13:58.198	info	UniFi adapter is ready
                                
                                unifi.0
                                2023-11-16 16:13:58.142	info	starting. Version 0.6.6 in /opt/iobroker/node_modules/iobroker.unifi, node: v18.18.2, js-controller: 5.0.16
                                
                                unifi.0
                                2023-11-16 16:13:57.357	debug	Plugin sentry Initialize Plugin (enabled=true)
                                
                                unifi.0
                                2023-11-16 16:13:57.269	debug	States connected to redis: 127.0.0.1:9000
                                
                                unifi.0
                                2023-11-16 16:13:57.193	debug	States create User PubSub Client
                                
                                unifi.0
                                2023-11-16 16:13:57.191	debug	States create System PubSub Client
                                
                                unifi.0
                                2023-11-16 16:13:57.174	debug	Redis States: Use Redis connection: 127.0.0.1:9000
                                
                                unifi.0
                                2023-11-16 16:13:57.134	debug	Objects connected to redis: 127.0.0.1:9001
                                
                                unifi.0
                                2023-11-16 16:13:57.122	debug	Objects client initialize lua scripts
                                
                                unifi.0
                                2023-11-16 16:13:57.076	debug	Objects create User PubSub Client
                                
                                unifi.0
                                2023-11-16 16:13:57.065	debug	Objects create System PubSub Client
                                
                                unifi.0
                                2023-11-16 16:13:57.060	debug	Objects client ready ... initialize now
                                
                                unifi.0
                                2023-11-16 16:13:56.985	debug	Redis Objects: Use Redis connection: 127.0.0.1:9001
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @DiMe last edited by

                                  @dime sagte in ioBroker.Unifi verbindet nicht (Erstinstallation):

                                  Adapter deactivated due to missing configuration.

                                  Ich würde mal in die Einstellungen des Adapters schauen. Da fehlt offenbar irgendwas.

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

                                    @thomas-braun
                                    Wie gesagt es wird ja noch im Readme auf das Nodemodul hingewiesen.
                                    Von den Einstellungen her sollte es passen
                                    07f44ddd-b96d-4631-8701-69ef66882d63-image.png

                                    Die UnifiController Version ist:

                                    Network Version 7.3.83 | Windows 10
                                    
                                    Neuschwansteini 1 Reply Last reply Reply Quote 0
                                    • Neuschwansteini
                                      Neuschwansteini @DiMe last edited by Neuschwansteini

                                      @dime

                                      Nee, am Node-Unifi kann es nicht liegen, er kommt ja garnicht soweit, weil deine Konfiguration fehlerhaft ist..

                                      Schreib doch mal n username in die Konfiguration.. hilft ..

                                      D 1 Reply Last reply Reply Quote 0
                                      • D
                                        DiMe @Neuschwansteini last edited by DiMe

                                        @ilovegym
                                        Oh man,
                                        Admin ist mein Usename,
                                        der vorgegeben Benutzername "Admin" ist aber nicht "aktiv" Als ich ihn nochmals reingeschrieben habe, läuft er.

                                        @ilovegym @Thomas-Braun vielen lieben Dank für eure Unterstützung.
                                        Aber nichtsdestotrotz abe ich trotzdem etwas gelernt (Node-Update und Iobroker-Update)
                                        "kaum macht man's richtig, funktioniert's... 🙂 :-)" true

                                        Meister Mopper 1 Reply Last reply Reply Quote 0
                                        • Neuschwansteini
                                          Neuschwansteini last edited by

                                          @dime sagte in ioBroker.Unifi verbindet nicht (Erstinstallation):

                                          @ilovegym
                                          Oh man,
                                          Admin ist mein Usename,
                                          der vorgegeben Benutzername "Admin" ist aber nicht "aktiv" Als ich ihn nochmals reingeschrieben habe, läuft er.

                                          ja, das ist auch etwas verwirrend bei manchen Adaptern in der Konfig-Gui gemacht.. muss ich sagen..
                                          Was oft fehlt bei den Adaptern, ist ein richtiges Errorhandling, hier haette man das Fenster erst garnicht schliessen und die Konfig speichern duerfen, wenn der Login nicht geaendert wurde..

                                          @ilovegym @Thomas-Braun vielen lieben Dank für eure Unterstützung.
                                          Aber nichtsdestotrotz abe ich trotzdem etwas gelernt (Node-Update und Iobroker-Update)
                                          "kaum macht man's richtig, funktioniert's... 🙂 :-)" true

                                          Gerne, na, jetzt weisst du, wie das System aktuell zu halten ist, ich mach das einmal im Monat, hab da n festen Tag fuer Extra-Backup und Updates, so bleibt man aktuell.. und ja, den Spruch sag ich mir selbst auch immer mal wieder... 🙂

                                          D 1 Reply Last reply Reply Quote 0
                                          • D
                                            DiMe @Neuschwansteini last edited by

                                            @ilovegym
                                            Den Spruch habe ich mir von dir geklaut 😊

                                            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

                                            893
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            31
                                            960
                                            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