NEWS
Kann Zigbee-Adapter nicht upgraden
-
@arteck sagte in Kann Zigbee-Adapter nicht upgraden:
rm -R /opt/iobroker/node-modules/iobroker.zigbee/
Den Adapter habe ich über den "Interfaces"-Tab im Admin gestoppt. So sieht es aus, wenn ich den Befehl über die Konsole ausführe:
pi@raspberrypiiobroker:~ $ rm -R /opt/iobroker/node-modules/iobroker.zigbee/ rm: cannot remove '/opt/iobroker/node-modules/iobroker.zigbee/': No such file or directory pi@raspberrypiiobroker:~ $
-
rm -R opt/iobroker/node_modules/iobroker.zigbee
-
Ändert nichts:
pi@raspberrypiiobroker:~ $ rm -R opt/iobroker/node_modules/iobroker.zigbee rm: cannot remove 'opt/iobroker/node_modules/iobroker.zigbee': No such file or directory pi@raspberrypiiobroker:~ $
-
@mistaluna sagte in Kann Zigbee-Adapter nicht upgraden:
pi@raspberrypiiobroker:~ $
pi@raspberrypiiobroker:~ $rm -R opt/iobroker/node_modules/iobroker.zigbeenur
rm -R opt/iobroker/node_modules/iobroker.zigbee
eingeben
-
@djmarc75 Sorry, hatte quatsch aus meiner Konsole kopiert. Habe ich gemacht.
pi@raspberrypiiobroker:~ $ rm -R opt/iobroker/node_modules/iobroker.zigbee rm: cannot remove 'opt/iobroker/node_modules/iobroker.zigbee': No such file or directory pi@raspberrypiiobroker:~ $
-
@mistaluna gibt es das Verzeichnis überhaupt ?
cd /opt/iobroker/node_modules/iobroker.zigbee
-
@djmarc75 War im falschen Verzeichnis. Musste erst mal über cd ../.. raus. Jetzt ist der Befehl angenommen worden.
Neuinstallation direkt von Github klappt immer noch nicht. Nur die Fehlermeldung ist jetzt anders:
$ iobroker url https://github.com/ioBroker/ioBroker.zigbee --host raspberrypiiobroker --debug install ioBroker/ioBroker.zigbee#51f9fd0067c1686617eb316ca011ee074213112d NPM version: 8.19.2 Installing ioBroker/ioBroker.zigbee#51f9fd0067c1686617eb316ca011ee074213112d... (System call) npm ERR! Invalid Version: 1.6.0o host.raspberrypiiobroker Cannot install ioBroker/ioBroker.zigbee#51f9fd0067c1686617eb316ca011ee074213112d: 1 ERROR: Process exited with code 25
-
Ich habe mal die npm installation gescheckt wie auf https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian beschrieben.
Bekomme folgenden output:
pi@raspberrypiiobroker:/ $ cd /opt/iobroker pi@raspberrypiiobroker:/opt/iobroker $ npm ls | grep -E 'github|ERR' ├── iobroker.controme@0.3.4-alpha.2 (git+ssh://git@github.com/MadErstam/ioBroker.controme.git#a40ea285ecb022df5f8283976e721b650b1ebe37) ├── UNMET DEPENDENCY iobroker.zigbee@github:ioBroker/ioBroker.zigbee#old_herdsman npm ERR! code ELSPROBLEMS npm ERR! missing: iobroker.zigbee@github:ioBroker/ioBroker.zigbee#old_herdsman, required by iobroker.inst@3.0.0 npm ERR! extraneous: zigbee-herdsman-converters@14.0.217 /opt/iobroker/node_modules/zigbee-herdsman-converters npm ERR! extraneous: zigbee-herdsman@0.13.93 /opt/iobroker/node_modules/zigbee-herdsman npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-12-05T10_41_44_636Z-debug-0.log pi@raspberrypiiobroker:/opt/iobroker $
Aber das ist vielleicht normal, weil ich ja vorher iobroker.zigbee gelöscht habe.
-
@mistaluna du kannst mal testhalber folgendes prüfen, ob anderweitig auch noch Probleme bestehen oder wirklich nur an dem zigbee liegt.
Was zeigtfor i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do echo ${i%}; done
dann noch ein
sudo -u iobroker npm cache clean --force
und nochmal probieren zigbee zu installieren
ansonsten hab ich auf die schnelle nur das gefunden
https://forum.iobroker.net/topic/51817/gelöst-zigbee-update-von-1-6-0o-auf-1-6-x -
@mistaluna hast du ein Multihost ?
ich dachte du denkst mitalso nochmal
rm -R /opt/iobroker/node_modules/iobroker.zigbee
auf ALLEN maschienen die du hast.. und die GIT nur auf dem Host wo auch der adapter läuft
-
@arteck , ich habe neuerdings nach dem Upgrade das im Log:
zigbee.0 2022-12-05 13:43:02.161 error Error 225 on send command to 0x00178801081d33a1. Error: Error: Command 0x00178801081d33a1/11 genOnOff.off({}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'MAC channel access failure' (225)) at ZStackAdapter.sendZclFrameToEndpointInternal (/opt/iobroker/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:415:23) at Queue.executeNext (/opt/iobroker/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32) zigbee.0 2022-12-05 13:41:13.318 error Error 225 on send command to 0x84fd27fffe9b3baf. Error: Error: Command 0x84fd27fffe9b3baf/1 genOnOff.off({}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'MAC channel access failure' (225)) at ZStackAdapter.sendZclFrameToEndpointInternal (/opt/iobroker/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:415:23) at Queue.executeNext (/opt/iobroker/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32) zigbee.0 2022-12-05 13:41:04.817 error Error 225 on send command to 0x84fd27fffe9b3baf. Error: Error: Command 0x84fd27fffe9b3baf/1 genOnOff.on({}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'MAC channel access failure' (225)) at ZStackAdapter.sendZclFrameToEndpointInternal (/opt/iobroker/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:415:23) at Queue.executeNext (/opt/iobroker/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32) zigbee.0 2022-12-05 13:40:53.856 error Error 225 on send command to 0x84fd27fffe93d9f2. Error: Error: Command 0x84fd27fffe93d9f2/1 genOnOff.off({}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'MAC channel access failure' (225)) at ZStackAdapter.sendZclFrameToEndpointInternal (/opt/iobroker/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:415:23) at Queue.executeNext (/opt/iobroker/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32)
aber es funktioniert alles.
-
@arteck Nein, habe kein Multihost.
-
@esp8266 sagte in Kann Zigbee-Adapter nicht upgraden:
habe neuerdings nach dem Upgrade
mach ein eigenen thread für auf
-
@arteck ok
-
@mistaluna dann wurde der Ordner nicht gelöscht
wenn der iobroker.zigbee ordner weg ist dann kommt der Fehler nicht..
also nochmal
löschen
rm -R /opt/iobroker/node_modules/iobroker.zigbee
Ergebniss posten
danncd /opt/iobroker/node_modules/iobroker.zigbee
Ergebniss posten
-
@crunchip sagte in Kann Zigbee-Adapter nicht upgraden:
@mistaluna du kannst mal testhalber folgendes prüfen, ob anderweitig auch noch Probleme bestehen oder wirklich nur an dem zigbee liegt.
Was zeigtfor i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do echo ${i%}; done
Zeigt bei mir gar nichts:
pi@raspberrypiiobroker:/ $ for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do echo ${i%}; done pi@raspberrypiiobroker:/ $
dann noch ein
sudo -u iobroker npm cache clean --force
Ergibt nur das hier:
pi@raspberrypiiobroker:/ $ sudo -u iobroker npm cache clean --force npm WARN using --force Recommended protections disabled. (⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠦ : WARN using --force Recommended protections disabled.
und nochmal probieren zigbee zu installieren
ansonsten hab ich auf die schnelle nur das gefunden
https://forum.iobroker.net/topic/51817/gelöst-zigbee-update-von-1-6-0o-auf-1-6-xProbiere ich gleich.
-
@arteck sagte in Kann Zigbee-Adapter nicht upgraden:
@mistaluna dann wurde der Ordner nicht gelöscht
wenn der iobroker.zigbee ordner weg ist dann kommt der Fehler nicht..
also nochmal
löschen
rm -R /opt/iobroker/node_modules/iobroker.zigbee
Ergebniss posten:
pi@raspberrypiiobroker:/ $ ls bin boot dev etc home lib lost+found media mnt opt proc root run sbin srv sys tmp usr var pi@raspberrypiiobroker:/ $ rm -R /opt/iobroker/node_modules/iobroker.zigbee rm: cannot remove '/opt/iobroker/node_modules/iobroker.zigbee': No such file or directory pi@raspberrypiiobroker:/ $ cd opt/iobroker/node_modules/ pi@raspberrypiiobroker:/opt/iobroker/node_modules $ ls @abandonware has-property-descriptors one-time abbrev has-symbols onetime accepts has-tostringtag on-finished acme-http-01-standalone has-unicode on-headers acorn has-yarn open acorn-walk he options addressparser help-me org-regex after homematic-xmlrpc os-tmpdir agent-base hosted-git-info oui agentkeepalive hot-patcher ow aggregate-error hpagent package-json ajv htmlparser2 pako @alcalzone http2-wrapper parent-module ansi-align http-cache-semantics parse5 ansi-colors http-errors parse5-htmlparser2-tree-adapter ansi-escapes http-parser-js parse-json ansi-regex http-proxy-agent parsejson ansi-styles http-signature parseqs anymatch https-proxy-agent parseuri any-observable humanize-ms parseurl append-field human-signals passport aproba i18next passport-http-bearer argparse iconv-lite passport-local arraybuffer.slice ieee754 passport-oauth2-client-password array-flatten ignore passport-strategy array-indexofobject ignore-walk path-exists array.prototype.findindex immediate path-is-absolute array-union import-fresh path-key arrify import-lazy path-parse asn1 import-local path-posix assert-plus imurmurhash path-to-regexp async indent-string path-type async-exit-hook indexof pause asynckit inflight pause-stream async-mutex inherits p-cancelable at-least-node ini p-defer aws4 inquirer performance-now @aws-crypto inquirer-autosubmit-prompt p-event @aws-sdk internal-slot p-finally aws-sign2 @iobroker picocolors axios iobroker.admin picomatch @babel iobroker.backitup pidusage backo2 iobroker.bosesoundtouch ping balanced-match iobroker.controme pkg-dir base-64 iobroker.daswetter pkginfo base64-arraybuffer iobroker.devices p-limit base64id iobroker.discovery p-locate base64-js iobroker.history p-map basic-auth iobroker.hm-rega p-memoize bcrypt iobroker.hm-rpc p-queue bcryptjs iobroker.homekit-controller p-reflect bcrypt-pbkdf iobroker.icons-ultimate-png prepend-http better-assert iobroker.info process-nextick-args bignumber.js iobroker.javascript promise-timeout binary iobroker.js-controller promisify-child-process binary-extensions iobroker.klf200 prompt bindings iobroker.linkeddevices proxy-addr binrpc iobroker.net-tools proxy-from-env bl iobroker.node-red p-settle blob iobroker.panasonic-viera pseudomap bluebird iobroker.simple-api psl body-parser iobroker.socketio p-timeout boolbase iobroker.statistics p-try bowser iobroker.telegram pump boxen iobroker.text2command punycode brace-expansion iobroker.vis pupa braces iobroker.vis-canvas-gauges put bson iobroker.vis-fancyswitch q buffer iobroker.vis-hqwidgets qjobs buffer-equal-constant-time iobroker.vis-icontwo qs buffer-from iobroker.vis-justgage querystringify buffers iobroker.vis-timeandweather queue-microtask builtins iobroker.web quick-lru busboy iobroker.ws random-bytes byte-length iobroker.ws.server range-parser bytes ioredis rasha cacheable-lookup ip raw-body cacheable-request ipaddr.js rc call-bind is read callsite isarray readable-stream callsites is-arrayish readdirp camelcase is-bigint readline camelcase-keys is-binary-path readline-sync caseless is-boolean-object read-pkg cert-info is-buffer read-pkg-up chainsaw is-callable redent chalk is-ci redirect-https chardet is-core-module redis-commands charenc is-date-object redis-errors char-spinner is-docker redis-parser cheerio isexe regenerator-runtime cheerio-select is-extglob regexp.prototype.flags chokidar is-fullwidth-code-point registry-auth-token chownr is-glob registry-url ci-info is-installed-globally reinterval clean-stack is-interactive request cli is-nan request-promise cli-boxes is-negative-zero request-promise-core cli-cursor is-npm require-directory cliff is-number require-from-string cli-table is-number-object requires-port cli-truncate is-obj resolve cli-width is-observable resolve-alpn clone is-path-cwd resolve-cwd clone-response is-path-inside resolve-from cluster-key-slot is-plain-obj respjs code-point-at is-promise responselike coffeescript is-regex restore-cursor color is-scoped retry color-convert is-shared-array-buffer reusify color-name is-stream revalidator @colors isstream rfdc colorspace is-string rimraf color-string issue-regex @root color-support is-symbol rsa-compat combined-stream is-typedarray run-async commist is-unicode-supported run-parallel complex.js is-url-superb rxjs component-bind is-utf8 safe-buffer component-emitter is-weakref safer-buffer component-inherit is-wsl safe-regex-test compressible is-yarn-global safe-replace compression javascript-natural-sort safe-stable-stringify concat-map jquery @samverschueren concat-stream js2xmlparser saslprep configstore jsbn sax connect-flash jshashes scoped-regex console-control-strings json3 seed-random content-disposition jsonata seedrandom content-type json-bigint @selderee cookie json-buffer semver cookie-parser jsonc-parser semver-diff cookie-signature jsonfile send core-util-is jsonify sentiment cors json-parse-even-better-errors @sentry cosmiconfig json-schema seq-logging country-data json-schema-traverse @serialport cron json-stable-stringify serialport cronosjs json-stringify-safe serve-static cron-parser jsonwebtoken set-blocking cross-spawn jsprim setimmediate crypt js-sdsl setprototypeof crypto-random-string js-tokens shebang-command css-select jszip shebang-regex css-what jwa side-channel currency-symbol-map jws signal-exit cycle keypairs simple-statistics @dabh keyv simple-swizzle daemonize2 kind-of @sindresorhus dashdash klf-200-api @sinonjs @datalust kuler slash date-fns latest-version slice-ansi debug layerr smart-buffer decache le-acme-core @socket.io decamelize le-challenge-fs socket.io decamelize-keys le-sni-auto socket.io-adapter decimal.js leven socket.io-client deep-clone libsodium socket.io-parser deep-extend libsodium-wrappers socks defer-to-connect lie socksv5 define-properties lines-and-columns sorted-array-functions del listr source-map delayed-stream listr-input source-map-support delegates listr-silent-renderer sparse-bitfield denque listr-update-renderer spdx-correct depd listr-verbose-renderer spdx-exceptions destroy loadavg-windows spdx-expression-parse dgram localforage spdx-license-ids dir-glob locate-path split diskusage lodash split2 dns-packet lodash.assign sshpk dnssd lodash.clonedeep stack-trace domelementtype lodash.defaults standard-as-callback domhandler lodash.flatten statuses dom-serializer lodash.get stealthy-require domutils lodash.has stream-combiner dot-prop lodash.includes stream-shift dropbox-v2-api lodash.isarguments string_decoder duplexer lodash.isboolean string-format duplexer3 lodash.isequal string.prototype.trimend duplexify lodash.isinteger string.prototype.trimstart ecc-jsbn lodash.isnumber string-width ecdsa-sig-formatter lodash.isplainobject strip-ansi eckles lodash.isstring strip-final-newline ee-first lodash.once strip-indent elegant-spinner lodash.uniq strip-json-comments emoji-regex lodash.zip strnum enabled logform suncalc2 encodeurl log-symbols supports-color end-of-stream log-update supports-hyperlinks engine.io long-timeout supports-preserve-symlinks-flag engine.io-client lowercase-keys symbol-observable engine.io-parser lru-cache systeminformation enquirer lru_map @szmarczak entities luxon tar error-ex make-dir tar-fs es6-promise map-age-cleaner tar-stream es-abstract @mapbox terminal-link esbuild map-obj text-hex escalade map-stream text-table escape-goat mathjs through escape-html md5 tiny-emitter escape-latex mdns-discovery tmp escape-string-regexp media-typer to-array es-shim-unscopables memory-pager toidentifier es-to-primitive memorystore @tootallnate etag meow to-readable-stream eventemitter3 merge2 to-regex-range event-stream merge-descriptors tough-cookie evilscan merge-stream tr46 execa methods traverse express micromatch trim-newlines express-fileupload mime triple-beam express-session mime-db tslib extend mime-types tunnel-agent external-editor mimic-fn tweetnacl extsprintf mimic-response twitter-ng eyes minimatch typedarray fast-deep-equal minimist typedarray-to-buffer fast-glob minimist-options typed-function fast-json-stable-stringify min-indent type-fest fastq minipass type-is fast-srp-hap minizlib @types fast-text-encoding mkdirp typescript fast-xml-parser mkdirp-classic uglify-js fecha moment uid2 feedparser moment-duration-format uid-safe fetch-enhanced moment-timezone ultron figures mongodb unbox-primitive file-stream-rotator mongodb-connection-string-url underscore file-type mqtt @ungap file-uri-to-path mqtt-packet unique-string fill-range mri universalify finalhandler ms unix-dgram find-up multer unpipe fn.name mustache update-notifier follow-redirects mute-stream uri-js forever-agent nan url-join form-data negotiator url-parse forwarded nested-property url-parse-lax fraction.js netmask url-template fresh new-github-release-url ursa-optional from node-addon-api usb fs-constants node-arp util-deprecate fs-extra node-disk-info utils-merge fs-minipass node.extend uuid fs.notify node-fetch vali-date fs.realpath node-forge validate-npm-package-license ftp node-gyp-build validate-npm-package-name function-bind node-hkdf-sync vary function.prototype.name node-inspect verror functions-have-names @nodelib virtual-tsc gaxios node-mndp vows gcp-metadata node-panasonic-viera weak-daemon get-caller-file @node-red webdav get-intrinsic node-red webidl-conversions getpass node-red-admin whatwg-url get-stream node-red-contrib-aggregator which get-symbol-description node-red-contrib-os which-boxed-primitive github-url-from-git node-red-contrib-polymer wide-align glob node-red-dashboard widest-line global-dirs node-red-node-email winston globby node-red-node-feedparser winston-daily-rotate-file glob-parent node-red-node-sentiment winston-seq-updated glossy node-red-node-twitter winston-syslog @googleapis node-schedule winston-transport googleapis-common node-ssdp wol google-auth-library node-telegram-bot-api wrap-ansi google-p12-pem node-watch wrappy got node-wol write-file-atomic graceful-fs nopt ws @greenlock normalize-package-data wtf-8 greenlock normalize-path xdg-basedir greenlock-express normalize-url xml2js greenlock-manager-fs np xml2json-light greenlock-store-fs npm-name xmlbuilder gridstack npm-run-path xmlcreate gtoken nth-check xmlhttprequest-ssl hap-controller number-allocator xregexp hard-rejection number-is-nan xtend har-schema oauth y18n har-validator oauth2orize yallist has oauth-sign yaml has-ansi object-assign yargs-parser has-bigints object.assign yeast has-binary object-component yocto-queue has-binary2 object-hash zigbee-herdsman has-cors object-inspect zigbee-herdsman-converters has-flag object-keys hash-sum once pi@raspberrypiiobroker:/opt/iobroker/node_modules $
dann
cd /opt/iobroker/node_modules/iobroker.zigbee
Ergebniss posten
pi@raspberrypiiobroker:/opt/iobroker/node_modules $ cd iobroker.zigbee -bash: cd: iobroker.zigbee: No such file or directory pi@raspberrypiiobroker:/opt/iobroker/node_modules $
-
@mistaluna und jetzt von git installieren
so wie ich es gepostet habe -
Übrigens wird der Adapter in Instanzen noch angezeigt:
-
#vom Author gelöscht da irrelevant#