Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Adapter löschen - IOBroker tot

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    [gelöst] Adapter löschen - IOBroker tot

    This topic has been deleted. Only users with topic management privileges can see it.
    • arteck
      arteck Developer Most Active @WolfgangFB last edited by

      @wolfgangfb sagte in Adapter löschen - IOBroker tot:

      Try last Backup!

      1 Reply Last reply Reply Quote 0
      • W
        WolfgangFB last edited by

        @arteck
        Da beißt sich die Katze in den Schwanz. Dann frage ich anders rum. Wie werde ich die amokgelaufene ble Instanz wieder los? Wenn ich das Backup nehme ist die ble Instanz wieder da, wenn ich versuche die zu löschen stirbt IOBroker.

        J 1 Reply Last reply Reply Quote 0
        • J
          Jan1 @WolfgangFB last edited by Jan1

          @wolfgangfb
          Stellt sich die Frage warum die Instanz beim Löschen des Adapter nicht einfach mit verschwindet so wie es eigentlich sein soll?

          Wenn Du das Backup restorst, wird eh alles frisch installiert und dann sollte sich auch der Adpter "normal" deinstallieren lassen. Ist das nicht der Fall, ist was anderes krumm.

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

            @wolfgangfb sagte in Adapter löschen - IOBroker tot:

            host.raspberrypi4: Only 62000 objects left to be deleted.

            das ist wohl zu viel

            W 1 Reply Last reply Reply Quote 0
            • W
              WolfgangFB @Homoran last edited by

              @homoran

              Das das zu viel ist sehe ich auch so. Keine Ahnung woher der ble Adapter so viele Einträge hat. Aber wie werde ich den wieder los?
              Wenn ich ihn versuche mit

              iobroker del ble
              

              zu löschen reist mir das das System in den Tod.

              Auf welche Arten kann man einen Adapter (mit Objekten) noch löschen?

              J 1 Reply Last reply Reply Quote 0
              • J
                Jan1 @WolfgangFB last edited by

                @wolfgangfb
                Wenn Du dem Adapter erlaubst alle BT Geräte zu erkennen, dann hast je nach Wohnlage schnell mal paar tausend Objekte drin 😉
                Kannst die Objekte nicht manuell löschen (wird wohl lange dauern) und dann den Adapter normal deinstallieren?

                1 Reply Last reply Reply Quote 0
                • W
                  WolfgangFB last edited by

                  @jan1

                  Ich habe jetzt mal versucht aus der "Objekte" Instanz die ersten 10 Datenpunkte von Hand zu löschen. Alleine das genügt um die objeects.json zu zerstören -:(

                  Hat noch irgend jemand eine Idee wie ich das repariert bekomme?

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

                    @wolfgangfb

                    Hast du das

                    iobroker del ble
                    

                    abgeschossen?

                    Lass das mal sein Werk tun, ggf. übernacht.
                    Und den Datenpunkt 'Allow new devices' oder so ähnlich auf false setzen.

                    Warum ist das eigentlich noch
                    Objects type: file
                    States type: file
                    und nicht zum aktuellen Format konvertiert? Mit dem js-controller 4 sollte das eigentlich der Fall sein.

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

                      @thomas-braun

                      Ich habe den ble Adapter inzwischen ausgeschaltet.

                      iobroker del ble
                      

                      läuft durch

                      host.raspberrypi4: Only 1000 states left to be deleted.
                      host.raspberrypi4: Only 800 states left to be deleted.
                      host.raspberrypi4: Only 600 states left to be deleted.
                      host.raspberrypi4: Only 400 states left to be deleted.
                      host.raspberrypi4: Only 200 states left to be deleted.
                      npm uninstall iobroker.ble --loglevel error --prefix "/opt/iobroker" (System call)
                      

                      Aber schon zuvor ist das System tot.

                       Cannot find view "system" for search "enum"
                      host.raspberrypi4 error: Error: Cannot find view "system"
                       Cannot find view "system" for search "enum"
                      host.raspberrypi4 error: Error: Cannot find view "system"
                      host.raspberrypi4 Deleting 26769 state(s). Be patient...
                      host.raspberrypi4: Only 26600 states left to be deleted.
                      host.raspberrypi4: Only 26400 states left to be deleted.
                      

                      Ab diesem Zeitpunkt ist die objects.json kaputt und IOBrokker läuft nicht mehr.

                      Ich habe jetzt mal geschaut, ob es einen json Editor gibt, mit dem ich den ganzen ble Tree löschen kann. Ich habe aber noch keinen gefunden, der eine 37 MB große Datei laden kann.

                      BananaJoe 1 Reply Last reply Reply Quote 0
                      • BananaJoe
                        BananaJoe Most Active @WolfgangFB last edited by

                        @wolfgangfb Notepad++ wird das können.

                        W 1 Reply Last reply Reply Quote 0
                        • W
                          WolfgangFB @BananaJoe last edited by

                          @bananajoe

                          Notepadd++ kann die Datei zwar laden, aber nicht als Json Tree darstellen. Es wird eine Zeile mit 37142573 Zeichen angezeigt. Wenn ich zum Vergleich die iobroker.json lade bekomme ich die Baumstruktur.

                          FredF 1 Reply Last reply Reply Quote 0
                          • FredF
                            FredF Most Active Forum Testing @WolfgangFB last edited by

                            @wolfgangfb Für Notepad++ gibt es ein JSON Viewer als Plugin

                            W 1 Reply Last reply Reply Quote 0
                            • W
                              WolfgangFB @FredF last edited by

                              @fredf

                              Hallo an alle

                              Notepad++ versucht sich immer noch an der Datei. Das wird wohl nichts mehr.
                              Aber: Mit UltraEdit konnte ich den ersten Block mit ca. 20000 Objekten löschen. Anschließend hat dann auch iobroker del ble funktioniert!
                              Jetzt bin ich den ble Adapter endlich los, das System läuft auf einmal wieder richtig flott. Ich hoffe dass mir das so schnell nicht wieder passiert.

                              FredF 1 Reply Last reply Reply Quote 1
                              • FredF
                                FredF Most Active Forum Testing @WolfgangFB last edited by

                                @wolfgangfb Schreibst noch ein [gelöst] in den Titel deines Beitrags?

                                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

                                478
                                Online

                                32.1k
                                Users

                                80.7k
                                Topics

                                1.3m
                                Posts

                                7
                                15
                                702
                                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