NEWS
SOLVED [gelöst] Fehler Adapter tr-064 - Startet nicht
-
nee klappt nicht
pi@raspberrypi:~ $ iobroker fix Commands: iobroker setup [--objects <host>] [--states <host>] [custom] iobroker start - starts the js-controller iobroker stop - stops the js-controller iobroker start <adapter>[.instance] - starts a specified adapter instance iobroker stop <adapter>.[instance] - stops a specified adapter instance iobroker start all - starts js-controller and all adapters iobroker restart - restarts the js-controller iobroker restart <adapter>[.instance] - restarts a specified adapter iobroker 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 info iobroker logs [adapter] [--watch] [--lines=1000] iobroker add <adapter> [desiredNumber] [--enabled] [--host <host>] [--port <port>] iobroker install <adapter> - installs a specified adapter iobroker rebuild <adapter>|self [--install] iobroker url <url> [<name>] - install adapter from specified url, e.g. GitHub iobroker del <adapter> - remove adapter from system iobroker del <adapter>.<instance> - remove adapter instance iobroker update [repository url] [--updatable/--u] [--installed/--i] [--force/--f] - update repository and optionally filter installed/updateable adapters, use --force to bypass hash check iobroker upgrade [repository url] iobroker upgrade self [repository url] - upgrade js-controller and all adapters, optionally you can specify the repository url iobroker upgrade <adapter> [repository url] - upgrade specified adapter, optionally you can specify the repository url iobroker upload <pathToLocalFile> <pathIniobroker> iobroker upload all - upload all adapter files to make them available for instances iobroker upload <adapter> - upload specified adapter files to make them available for instances iobroker object get <id> - get object specified by id iobroker object set <id> <json-value> - set object with the given id by providing a new json object iobroker object set <id> propertyname=<value or json-value> - update part of the object by providing a new value or partial object iobroker object extend <id> <json-value> - extend object with the given id by providing a new json object iobroker 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 id iobroker 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 sync iobroker 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 this iobroker 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 create iobroker cert view [<certificate name>] iobroker clean iobroker backup iobroker restore <backup name or path> - restore a specified backup iobroker validate <backup name or path> - validate a specified backup iobroker <command> --timeout 5000 iobroker status [all|<adapter>.<instance>] iobroker repo [name] iobroker repo add <name> <path or url> iobroker repo set <name> iobroker repo del <name> iobroker uuid iobroker unsetup iobroker fix - execute the installation fixer script, this updates your ioBroker installation iobroker multihost <enable|disable> [--secure true|false] iobroker multihost browse iobroker multihost connect iobroker compact status - show if compact mode is enabled in general iobroker compact <enable|on|disable|off> - enable or disable compact mode in general iobroker compact <adapter>.<instance> status - show if compact mode is enabled for a specific instance iobroker compact <adapter>.<instance> group <group-id> - define compact group of a specific adapter iobroker compact <adapter>.<instance> <disable|off> - enable or disable compact mode for specified adapter instance iobroker compact <adapter>.<instance> <enable|on> [group-id] - enable or disable compact mode for specified adapter instance and set comapct group optionally iobroker plugin enable <pluginname> [--host <hostname>] - enables a plugin for the specified host. If no host is specified, the current one is used iobroker plugin disable <pluginname> [--host <hostname>] - disables a plugin for the specified host. If no host is specified, the current one is used iobroker plugin status <pluginname> [--host <hostname>] - checks if a plugin is enabled for the specified host. If no host is specified, the current one is used iobroker 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 adapter iobroker [adapter] -v - show version of js-controller or specified adapter Options: --help Hilfe anzeigen [boolean] --version Version anzeigen [boolean]
und danach noch über putty:
pi@raspberrypi:~ $ curl -sL https://iobroker.net/fix.sh | bash - library: loaded Library version=2020-06-12 ioBroker or some processes are still running: io.discovery.0 io.fritzbox.0 io.terminal.0 io.zigbee.0 io.alexa2.0 io.shelly.0 io.fhem.0 io.info.0 io.iot.0 io.web.0 io.yahka.0 io.admin.0 Please stop them first and try again!
dann kommt aber wieder die Meldung...und was komisch ist....im Log erscheint noch die Meldung:
fritzbox.0 2020-06-16 17:53:29.314 warn (780) restartConnection: 192.168.200.1
ich hatte den tr-064 deinstalliert...aber anscheined nicht richtig oder?
-
@Mento
bekannter Fehler aller! Soef-Adapter, egal ob Tr-064, Wifilight, FireTV, etc..Abhilfe:
Adapter stoppen ( über Admin oder per iobroker stop tr-064 )
cd /opt/iobroker
cd node_modules
cd iobroker.tr-064
sudo npm install soefdanach Adapter wieder starten, und der Fehler ist weg.
-
@Kusselin
Es ist auch immer bisschen blöd wenn man sich auf alte Posts verlässt, da der Adapter mittlerweile ganz normal über Admin installiert wird. -
ich sehe aber gerade das der tr-064 adapter läuft...aber er nicht sichtbar ist unter den adaptern....wie kann ich den jetzt erst komplett deinstallieren??
-
@Kusselin
Deinstallieren und über Admin installieren. Dir fehlt die Instanz, was klar ist wenn man von Git was rein ballert und nicht weiß was man tut. Hast den roten Warnhinweis nicht gelesen? -
wie deinstallieren wenn ich den adapter nicht sehe???
wie sieht der code aus über putty....ich bin nicht so der Linux freak
-
@Kusselin sagte in [gelöst] Fehler Adapter tr-064 - Startet nicht:
wie deinstallieren wenn ich den adapter nicht sehe???
wie sieht der code aus über putty....ich bin nicht so der Linux freak
Hat mit Linux nix zu tun:
iobroker del ADAPTERNAME
-
@Kusselin
und wie kommst überhaupt drauf dass der noch da ist? -
@Kusselin sagte in [gelöst] Fehler Adapter tr-064 - Startet nicht:
pi@raspberrypi:~ $ curl -sL https://iobroker.net/fix.sh | bash -
pi@raspberrypi:~ $ curl -sL https://iobroker.net/fix.sh | bash - library: loaded Library version=2020-06-12 ioBroker or some processes are still running: io.discovery.0 io.fritzbox.0 io.terminal.0 io.zigbee.0 io.alexa2.0 io.shelly.0 io.fhem.0 io.info.0 io.iot.0 io.web.0 io.yahka.0 io.admin.0 Please stop them first and try again! code_text
-
@Kusselin sagte in [gelöst] Fehler Adapter tr-064 - Startet nicht:
Please stop them first and try again!
iobroker stop
-
@Kusselin
Was willst denn eigentlich mit dem Fixer? Du hast doch ein Problem mit dem TR0-64 Adapter? -
genau...das hat mir glasfaser gesagt siehst doch im post oben
-
Im Log stand ... keine Berechtigung ...
-
sorry, so komm ich nicht weiter......
-
@Kusselin Ich glaube, du fummelst da irgendwie etwas planlos herum...
which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
Und wenn das sauber ist, dann würde ich mal den ioBroker in Gänze aktualisieren.
-
@thomas....gleich....
hab das net noch gemacht...was sagt mir das??pi@raspberrypi:~ $ iobroker del tr-064 Delete adapter "tr-064" npm uninstall iobroker.tr-064 --error --prefix "/opt/iobroker" (System call) npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/dgram npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/ip npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/safe-buffer npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/dns-packet npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/sprintf-js npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.5 (node_modules/iobroker.info/node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/serialport/package.json' npm ERR! code EACCES npm ERR! syscall access npm ERR! path /opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext' npm ERR! { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext'] npm ERR! stack: npm ERR! 'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext\'', npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: npm ERR! '/opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext' } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2020-06-16T19_12_04_255Z-debug.log Error deleting adapter tr-064 from disk: Error: host.raspberrypi: Cannot uninstall iobroker.tr-064: 243 You might have to delete it yourself!
-
@Kusselin
Das sagt mir, dass du entweder die Rechte verfummelt hast, keine richtigen user hast oder deine SD-Karte die Grätsche macht. -
Stopp mal alles was du machst !!
Bitte nur noch den Anweisungen von @Thomas-Braun folgen !!!
-
o.k.......das hab ich jetzt mal gemacht wie thomas gesagt hat:
pi@raspberrypi:~ $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs /usr/bin/nodejs v10.21.0 /usr/bin/node v10.21.0 /usr/bin/npm 6.14.5 nodejs: Installiert: 10.21.0-1nodesource1 Installationskandidat: 10.21.0-1nodesource1 Versionstabelle: *** 10.21.0-1nodesource1 500 500 https://deb.nodesource.com/node_10.x stretch/main armhf Packages 100 /var/lib/dpkg/status 8.11.1~dfsg-2~bpo9+1 500 500 http://archive.raspberrypi.org/debian stretch/main armhf Packages 4.8.2~dfsg-1 500 500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages nodejs: Installiert: 10.21.0-1nodesource1 Installationskandidat: 10.21.0-1nodesource1 Versionstabelle: *** 10.21.0-1nodesource1 500 500 https://deb.nodesource.com/node_10.x stretch/main armhf Packages 100 /var/lib/dpkg/status 8.11.1~dfsg-2~bpo9+1 500 500 http://archive.raspberrypi.org/debian stretch/main armhf Packages 4.8.2~dfsg-1 500 500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages N: Paket which kann nicht gefunden werden. v10.21.0 /usr/bin/node v10.21.0 /usr/bin/npm 6.14.5 nodejs: Installiert: 10.21.0-1nodesource1 Installationskandidat: 10.21.0-1nodesource1 Versionstabelle: *** 10.21.0-1nodesource1 500 500 https://deb.nodesource.com/node_10.x stretch/main armhf Packages 100 /var/lib/dpkg/status 8.11.1~dfsg-2~bpo9+1 500 500 http://archive.raspberrypi.org/debian stretch/main armhf Packages 4.8.2~dfsg-1 500 500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages pi@raspberrypi:~ $
-
@Kusselin
Dann schauen wir jetzt mal, was du da überhaupt alles aktiv hast:iobroker list adapters
-
Danke @Thomas-Braun
pi@raspberrypi:~ $ iobroker list adapters system.adapter.admin : admin - v4.0.10 system.adapter.alexa2 : alexa2 - v3.0.5 system.adapter.ble : ble - v0.11.6 system.adapter.cloud : cloud - v3.0.3 system.adapter.daswetter : daswetter - v3.0.1 system.adapter.denon : denon - v1.7.7 system.adapter.discovery : discovery - v2.2.2 system.adapter.fhem : fhem - v1.4.2 system.adapter.fritzbox : fritzbox - v0.2.1 system.adapter.g-homa : g-homa - v0.5.2 system.adapter.habpanel : habpanel - v0.4.1 system.adapter.ical : ical - v1.7.0 system.adapter.info : info - v1.7.2 system.adapter.iot : iot - v1.5.3 system.adapter.javascript : javascript - v4.5.1 system.adapter.material : material - v0.13.8 system.adapter.mqtt : mqtt - v2.1.2 system.adapter.onkyo : onkyo - v2.0.3 system.adapter.pushover : pushover - v2.0.2 system.adapter.scenes : scenes - v1.1.0 system.adapter.shelly : shelly - v3.2.8 system.adapter.sonoff : sonoff - v2.3.3 system.adapter.terminal : terminal - v0.1.2 system.adapter.text2command : text2command - v1.3.0 system.adapter.vis : vis - v1.2.4 system.adapter.web : web - v3.0.7 system.adapter.yahka : yahka - v0.11.0 system.adapter.zigbee : zigbee - v1.0.4 pi@raspberrypi:~ $
der Fritz adapter ist noch aktiv obwohl er nicht zu sehen ist unter adapters