Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Instanz mit ungültigem Namen löschen

    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

    [gelöst] Instanz mit ungültigem Namen löschen

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

      Hallo zusammen,

      ich versuche einen eigenen Adapter zu entwickeln. Ich habe mir die JS Vorlage heruntergeladen und die Dateien package.json und io-package.json angepasst.

      In der Datei io-package.json habe ich als Name "myTest" verwendet.
      In der Datei package.json habe ich als Name "iobroker.mytest" verwendet.

      Den Adapter konnte ich ohne Probleme installieren und auch Instanzen erstellen. Allerdings kann ich die Instanzen und den Adapter nicht mehr löschen. Meine Vermutung: Großschreibung. Wenn ich die Instanzen oder den Adapeter löschen möchte, dann erhalte ich einen Fehler und es wird die Hilfe zu den Kommando "iobroker" ausgegeben, sonst nichts.

      Ich kann den Adapter manuell löschen (/opt/iobroker/node_modules/iobroker.mytest löschen), allerdings bleiben die Instanzen bestehen.

      $ ./iobroker del myTest.0
      ERROR: Commands:iobroker setup [--objects <host>] [--states <host>] [custom]iobroker start - starts the js-controlleriobroker stop - stops the js-controlleriobroker start <adapter>[.instance] - starts a specified adapter instanceiobroker stop <adapter>.[instance] - stops a specified adapter instanceiobroker start all - starts js-controller and all adaptersiobroker restart - restarts the js-controlleriobroker restart <adapter>[.instance] - restarts a specified adapteriobroker debug <adapter> [--ip=<ip>] [--port=<port>] [--wait] - Starts a Node.js debugging session for the adapter    --wait stops the execution until the debugger is attached.    --ip and --port can be used to change the listen IP and port. Use IP 0.0.0.0 for remote debugging.iobroker info - shows the host infoiobroker logs [adapter] [--watch] [--lines=1000]iobroker add <adapter> [desiredNumber] [--enabled] [--host <host>] [--port <port>]iobroker install <adapter> - installs a specified adapteriobroker rebuild <adapter>|self [--install]iobroker url <url> [<name>] - install adapter from specified url, e.g. GitHubiobroker del <adapter> - remove adapter from systemiobroker del <adapter>.<instance> - remove adapter instanceiobroker update [repository url] [--updatable/--u] [--installed/--i] [--force/--f] - update repository and optionally filter installed/updateable adapters, use --force to bypass hash checkiobroker upgrade [repository url]iobroker upgrade self [repository url] - upgrade js-controller and all adapters, optionally you can specify the repository urliobroker upgrade <adapter> [repository url] - upgrade specified adapter, optionally you can specify the repository urliobroker upload <pathToLocalFile> <pathIniobroker>iobroker upload all - upload all adapter files to make them available for instancesiobroker upload <adapter> - upload specified adapter files to make them available for instancesiobroker object get <id> - get object specified by idiobroker object set <id> <json-value> - set object with the given id by providing a new json objectiobroker object set <id> propertyname=<value or json-value> - update part of the object by providing a new value or partial objectiobroker object extend <id> <json-value> - extend object with the given id by providing a new json objectiobroker object del <id|pattern> [--yes]iobroker object chmod <object-mode> [state-mode] <id>iobroker object chown <user> <group> <id>iobroker object list <id>iobroker state get <id> - get state, specified by idiobroker state getplain <id> [--pretty]iobroker state getvalue <id>iobroker state set <id> <value> [ack]iobroker state del <id>iobroker message <adapter>[.instance] <command> [<message>]iobroker list <type> [filter]iobroker chmod <mode> <file>iobroker chown <user> <group> <file>iobroker touch <file>iobroker rm <file>iobroker file read <iobroker-path-to-read> [<filesystem-path-to-write>]iobroker file write <filesystem-path-to-read> <iobroker-path-to-write>iobroker file rm <iobroker-path-to-delete>iobroker file synciobroker user add <user> [--ingroup group] [--password pass]iobroker user del <user>iobroker user passwd <user> [--password pass]iobroker user enable <user>iobroker user disable <user>iobroker user get <user>iobroker user check <user> [--password pass]iobroker group add <group>iobroker group del <group>iobroker group list <group>iobroker group enable <group>iobroker group disable <group>iobroker group get <group>iobroker group adduser <group> <user>iobroker group deluser <group> <user>iobroker host thisiobroker host <hostname>iobroker host set <hostname>iobroker host remove <hostname>iobroker set <adapter>.<instance> [--port port] [--ip address] [--ssl true|false]iobroker license <license.file or license.text>iobroker cert createiobroker cert view [<certificate name>]iobroker cleaniobroker backupiobroker restore <backup name or path> - restore a specified backupiobroker validate <backup name or path> - validate a specified backupiobroker <command> --timeout 5000iobroker status [all|<adapter>.<instance>]iobroker repo [name]iobroker repo add <name> <path or url>iobroker repo set <name>iobroker repo del <name>iobroker uuidiobroker unsetupiobroker fix - execute the installation fixer script, this updates your ioBroker installationiobroker multihost <enable|disable> [--secure true|false]iobroker multihost browseiobroker multihost connectiobroker compact status - show if compact mode is enabled in generaliobroker compact <enable|on|disable|off> - enable or disable compact mode in generaliobroker compact <adapter>.<instance> status - show if compact mode is enabled for a specific instanceiobroker compact <adapter>.<instance> group <group-id> - define compact group of a specific adapteriobroker compact <adapter>.<instance> <disable|off> - enable or disable compact mode for specified adapter instanceiobroker compact <adapter>.<instance> <enable|on> [group-id] - enable or disable compact mode for specified adapter instance and set comapct group optionallyiobroker plugin enable <pluginname> [--host <hostname>] - enables a plugin for the specified host. If no host is specified, the current one is usediobroker plugin disable <pluginname> [--host <hostname>] - disables a plugin for the specified host. If no host is specified, the current one is usediobroker plugin status <pluginname> [--host <hostname>] - checks if a plugin is enabled for the specified host. If no host is specified, the current one is usediobroker plugin enable <pluginname> --instance <adapter>[.<nr>] - enables a plugin for the specified adapter instance (defaults to instance 0)iobroker plugin disable <pluginname> --instance <adapter>[.<nr>] - disables a plugin for the specified adapter instance (defaults to instance 0)iobroker plugin status <pluginname> --instance <adapter>[.<nr>] - checks if a plugin is enabled for the specified adapter instance (defaults to instance 0)iobroker version [adapter] - show version of js-controller or specified adapteriobroker [adapter] -v - show version of js-controller or specified adapterOptions:  --help     Hilfe anzeigen  [boolean]  --version  Version anzeigen  [boolean]
      ERROR: process exited with code 2
      

      Kann ich die Instanzen irgendwo manuell austragen?

      Danke für eure Hilfe!

      M UncleSam Thomas Braun 3 Replies Last reply Reply Quote 0
      • M
        MCU @adrian.schyja last edited by

        @adrian-schyja Und wenn man dem Adapter die Grundlage weg nimmt? Direktes löschen unter iobroker-Verzeichnis? Schon mal versucht?

        A 1 Reply Last reply Reply Quote 0
        • UncleSam
          UncleSam Developer @adrian.schyja last edited by

          @adrian-schyja sagte in Instanz mit ungültigem Namen (Großschreibung) löschen:

          ich versuche einen eigenen Adapter zu entwickeln. Ich habe mir die JS Vorlage heruntergeladen und die Dateien package.json und io-package.json angepasst.

          Nimm doch bitte den Adapter Creator, damit ersparst du dir solche Fehler.

          A 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @adrian.schyja last edited by

            @adrian-schyja So einen Fall hatte ich Mal mit dem rtspStream Adapter. Der war auch nur mit viel Gewalt wieder aus dem System zu fummeln. Schau mal über die Suche danach

            1 Reply Last reply Reply Quote 0
            • A
              adrian.schyja @UncleSam last edited by

              @UncleSam Danke für den Tipp. Habe ich gemacht, damit klappt das hinzufügen und wieder löschen. Will jetzt nur die alten Instanzen loswerden...

              1 Reply Last reply Reply Quote 0
              • A
                adrian.schyja @MCU last edited by

                @MCU said in Instanz mit ungültigem Namen (Großschreibung) löschen:

                @adrian-schyja Und wenn man dem Adapter die Grundlage weg nimmt? Direktes löschen unter iobroker-Verzeichnis? Schon mal versucht?

                Habe den Adapter in /opt/iobroker/node_modules/... gelöscht.

                Der Adapter ist dann weg, aber die Instanzen bleiben.

                M 1 Reply Last reply Reply Quote 0
                • M
                  MCU @adrian.schyja last edited by

                  @adrian-schyja Auch nach Neustart vom iobroker?

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    adrian.schyja @MCU last edited by

                    @MCU said in Instanz mit ungültigem Namen (Großschreibung) löschen:

                    @adrian-schyja Auch nach Neustart vom iobroker?

                    Ja, habe 2 Instanzen zum Testen erstellt, bleiben beide drin. Wenn ich die löschen will, kommt wie beim löschen des Adapters die iobroker Hilfe Ausgabe.

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      MCU @adrian.schyja last edited by

                      @adrian-schyja

                      iobroker del AdapterName.0
                      

                      funktioniert auch nicht mehr?

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        adrian.schyja @MCU last edited by

                        @MCU said in Instanz mit ungültigem Namen (Großschreibung) löschen:

                        @adrian-schyja

                        iobroker del AdapterName.0
                        

                        funktioniert auch nicht mehr?

                        Nein, es kommt nur die Hilfe von iobroker - das selbe wie beim Löschen des Adapters per admin Oberfläche.

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          MCU @adrian.schyja last edited by

                          @adrian-schyja Und den fixer laufen lassen? Vielleicht erkennt er das Problem?

                          AlCalzone A 2 Replies Last reply Reply Quote 0
                          • AlCalzone
                            AlCalzone Developer @MCU last edited by

                            @MCU sagte in Instanz mit ungültigem Namen (Großschreibung) löschen:
                            Der

                            fixer

                            arbeitet auf Betriebssystemebene und biegt Berechtigungen, User-Account, etc. gerade. Mit dem was in ioBroker ist, hat er nichts am Hut.

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              MCU @AlCalzone last edited by

                              @AlCalzone Ok. Danke. Eine Idee für das Problem von @adrian-schyja ? Ich habe nämlich keine mehr.

                              1 Reply Last reply Reply Quote 0
                              • A
                                adrian.schyja @MCU last edited by

                                @MCU said in Instanz mit ungültigem Namen (Großschreibung) löschen:

                                @adrian-schyja Und den fixer laufen lassen? Vielleicht erkennt er das Problem?

                                Fixer hat auch nicht geholfen. Irgendwo in einer Konfig muss doch eingetragen sein, dass es diese 2 Instanzen gibt 🤔

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  MCU @adrian.schyja last edited by

                                  @adrian-schyja https://forum.iobroker.net/topic/37209/wo-liegt-die-statistik/19
                                  Hab was gefunden von @AlCalzone

                                  iobroker object del objekt-id
                                  

                                  Hab es nur gefunden, kenne die Auswirkungen nicht!!

                                  1 Reply Last reply Reply Quote 0
                                  • AlCalzone
                                    AlCalzone Developer last edited by

                                    Instanz- und Adapter-Objekt in der Objekt-Ansicht (Expertenmodus an!) manuell löschen, am besten per Admin, dann werden auch alle darunter liegenden Objekte mit entfernt:

                                    system.adapter.AdapterName.0
                                    system.adapter.AdapterName
                                    Außerdem meta-Objekte, die den Adapter im Namen haben.

                                    A 1 Reply Last reply Reply Quote 1
                                    • A
                                      adrian.schyja @AlCalzone last edited by adrian.schyja

                                      👍 @AlCalzone und @MCU Das hat geholfen - "einfach" die Objekte löschen. Dann sind die Instanzen weg. Danke für die super Hilfe!!!

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        MCU @adrian.schyja last edited by

                                        @adrian-schyja Bitte im 1. Post [gelöst] vor die Überschrift. Danke.

                                        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

                                        596
                                        Online

                                        31.9k
                                        Users

                                        80.3k
                                        Topics

                                        1.3m
                                        Posts

                                        instanz löschen
                                        5
                                        18
                                        2177
                                        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