@AlCalzone und @MCU Das hat geholfen - "einfach" die Objekte löschen. Dann sind die Instanzen weg. Danke für die super Hilfe!!!
NEWS
Latest posts made by adrian.schyja
-
RE: [gelöst] Instanz mit ungültigem Namen löschen
-
RE: [gelöst] Instanz mit ungültigem Namen löschen
@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
-
RE: [gelöst] Instanz mit ungültigem Namen löschen
@MCU said in Instanz mit ungültigem Namen (Großschreibung) löschen:
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.
-
RE: [gelöst] Instanz mit ungültigem Namen löschen
@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.
-
RE: [gelöst] Instanz mit ungültigem Namen löschen
@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.
-
RE: [gelöst] Instanz mit ungültigem Namen löschen
@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...
-
[gelöst] Instanz mit ungültigem Namen löschen
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!