NEWS
Zigbee Startprobleme
-
In einem anderen Zusammenhang hatte ich mal Probleme mit dem "brltty" Dienst, der sollte aber auf einem Linux ohne grafischer UI nicht gestartet werden ... und eigentlich ist der lsusb nicht passend dazu, dass brltty daneben greifen könnte...
-
@martinp sagte in Zigbee Startprobleme:
der sollte aber auf einem Linux ohne grafischer UI nicht gestartet werden
Doch gerade dort. Ist ja der Treiber für ein Braille-Gerät.
Insbesondere bei Ubuntus kommt der sich gerne mit dem Rest ins Gehege.Muss man mal in den Boot-Vorgang schauen, insbesondere in die udev-Regeln.
-
na dann kommen wir der Sache vielleicht näher
-
Danke für eure Rückmeldungen!
-
@arteck sagte in Zigbee Startprobleme:
@meister-mopper welcher pi 4 oder 3 ?
das Problem kenn ich aber.. konnte noch nicht lokalisieren wodran es liegt..
Es ist ein RaspberryPi 4B mit 8G.
-
Habe ebenfalls Probleme, vermute erste seit Linux-Updates heute, ich bin mir aber nicht sicher ob es der selbe Fehler ist
v1.10.3
VM in Proxmox2024-06-11 12:03:06.084 - info: host.iobroker-slave-proxmox "system.adapter.zigbee.0" disabled 2024-06-11 12:03:07.621 - info: host.iobroker-slave-proxmox "system.adapter.zigbee.0" enabled 2024-06-11 12:03:07.873 - info: host.iobroker-slave-proxmox instance system.adapter.zigbee.0 started with pid 2609 2024-06-11 12:03:08.334 - error: host.iobroker-slave-proxmox Caught by controller[0]: node:internal/modules/cjs/loader:1143 2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: throw err; 2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: ^ 2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: Error: Cannot find module 'uri-js' 2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: Require stack: 2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: - /opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/common.js 2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: - /opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/inovelli.js 2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: - /opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/index.js 2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: - /opt/iobroker/node_modules/zigbee-herdsman-converters/index.js 2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/lib/utils.js 2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/lib/commands.js 2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/main.js 2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15) 2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:981:27) 2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1231:19) 2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: at require (node:internal/modules/helpers:177:18) 2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Object. (/opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/common.js:35:26) 2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1364:14) 2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1422:10) 2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1203:32) 2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1019:12) 2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1231:19) { 2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: requireStack: [ 2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/common.js', 2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/inovelli.js', 2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/index.js', 2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman-converters/index.js', 2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/lib/utils.js', 2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/lib/commands.js', 2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/main.js' 2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: ] 2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: } 2024-06-11 12:03:08.337 - error: host.iobroker-slave-proxmox Caught by controller[1]: Node.js v18.20.3 2024-06-11 12:03:08.337 - error: host.iobroker-slave-proxmox instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-06-11 12:03:08.337 - info: host.iobroker-slave-proxmox Rebuild for adapter system.adapter.zigbee.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually
-
@robbsen sagte in Zigbee Startprobleme:
ich bin mir aber nicht sicher ob es der selbe Fehler ist
Das ist ein anderer Fehler.
Was sagt
iob diag
? -
@meister-mopper bei mir scheint es was mit dem update von 5 auf 6 zusammen zu hängen. Hatte eben ein Backup eingespielt und der Adapter lief nach dem Update bleibt es rot. Ist ggf. bei mir einfach die Node.js das Thema?
Ist übrigens nen Slave======================= SUMMARY ======================= v.2024-05-22 Static hostname: iobroker-slave-proxmox Icon name: computer-vm Chassis: vm Virtualization: kvm Operating System: Ubuntu 20.04.6 LTS Kernel: Linux 5.4.0-177-generic Architecture: x86-64 Installation: kvm Kernel: x86_64 Userland: 64 bit Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 Display-Server: true Boot Target: graphical.target Pending OS-Updates: 45 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.20.0 /usr/bin/node v18.20.0 /usr/bin/npm 10.5.0 /usr/bin/npx 10.5.0 /usr/bin/corepack 0.25.2 Recommended versions are nodejs and npm Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 3.9G 450M 2.0G 1.0M 1.5G 3.2G Swap: 3.9G 0B 3.9G Total: 7.9G 450M 5.9G Active iob-Instances: 26 Active repo(s): Beta (latest) ioBroker Core: js-controller 6.0.1 admin "admin" not found ioBroker Status: iobroker is running on this host. At least one iobroker host is running. Objects type: jsonl States type: redis Status admin and web instance: + system.adapter.admin.0 : admin : ioBroker - enabled, port: 7777, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.web.0 : web : ioBroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 10591 States: 10135 Size of iob-Database: 284K /opt/iobroker/iobroker-data/objects.jsonl 280K /opt/iobroker/iobroker-data/objects.json.migrated 264K /opt/iobroker/iobroker-data/objects.json.bak.migrated 204K /opt/iobroker/iobroker-data/states.json.bak 204K /opt/iobroker/iobroker-data/states.json =================== END OF SUMMARY ====================
-
@robbsen sagte in Zigbee Startprobleme:
Ist ggf. bei mir einfach die Node.js das Thema?
Ist zumindest nicht die aktuellste und empfohlene Version.
Installier da auf Master wie Slave die Version 20.Und schalt den Desktop aus:
Display-Server: true
Boot Target: graphical.target
Geht mit
sudo systemctl set-default multi-user.target
Bring die Kiste auf Stand:
Pending OS-Updates: 45
Sind 45 zuviel.
-
Hab noch mal das Backup eingespielt, dieses mal erst das Update auf die aktuelle Node.js dann Linux Updates, hier gab es abhängigkeitsfehler also noch mal updates mit sudo apt dist-upgrade
Final dann das update vom js controller auf js-controller 6.0.12024-06-11 15:23:32.925 - error: host.iobroker-slave-proxmox Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/main.js 2024-06-11 15:23:32.925 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15) 2024-06-11 15:23:32.925 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:986:27) 2024-06-11 15:23:32.925 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1233:19) 2024-06-11 15:23:32.925 - error: host.iobroker-slave-proxmox Caught by controller[0]: at require (node:internal/modules/helpers:179:18) 2024-06-11 15:23:32.925 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/common.js:35:26) 2024-06-11 15:23:32.925 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1358:14) 2024-06-11 15:23:32.925 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) 2024-06-11 15:23:32.926 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1208:32) 2024-06-11 15:23:32.926 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1024:12) 2024-06-11 15:23:32.926 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1233:19) { 2024-06-11 15:23:32.926 - error: host.iobroker-slave-proxmox Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2024-06-11 15:23:32.926 - error: host.iobroker-slave-proxmox Caught by controller[0]: requireStack: [ 2024-06-11 15:23:32.926 - error: host.iobroker-slave-proxmox Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/common.js', 2024-06-11 15:23:32.926 - error: host.iobroker-slave-proxmox Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/inovelli.js', 2024-06-11 15:23:32.926 - error: host.iobroker-slave-proxmox Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/index.js', 2024-06-11 15:23:32.926 - error: host.iobroker-slave-proxmox Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman-converters/index.js', 2024-06-11 15:23:32.926 - error: host.iobroker-slave-proxmox Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/lib/utils.js', 2024-06-11 15:23:32.926 - error: host.iobroker-slave-proxmox Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/lib/commands.js', 2024-06-11 15:23:32.926 - error: host.iobroker-slave-proxmox Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/main.js' 2024-06-11 15:23:32.926 - error: host.iobroker-slave-proxmox Caught by controller[0]: ] 2024-06-11 15:23:32.926 - error: host.iobroker-slave-proxmox Caught by controller[0]: } 2024-06-11 15:23:32.926 - error: host.iobroker-slave-proxmox Caught by controller[1]: Node.js v20.14.0 2024-06-11 15:23:32.926 - error: host.iobroker-slave-proxmox instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-06-11 15:23:32.926 - info: host.iobroker-slave-proxmox Rebuild for adapter system.adapter.zigbee.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
und das summary
======================= SUMMARY ======================= v.2024-05-22 Static hostname: iobroker-slave-proxmox Icon name: computer-vm Chassis: vm Virtualization: kvm Operating System: Ubuntu 20.04.6 LTS Kernel: Linux 5.4.0-182-generic Architecture: x86-64 Installation: kvm Kernel: x86_64 Userland: 64 bit Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 Display-Server: true Boot Target: multi-user.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v20.14.0 /usr/bin/node v20.14.0 /usr/bin/npm 10.7.0 /usr/bin/npx 10.7.0 /usr/bin/corepack 0.28.1 Recommended versions are nodejs and npm Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 3.9G 422M 2.5G 1.0M 958M 3.3G Swap: 3.9G 0B 3.9G Total: 7.9G 422M 6.5G Active iob-Instances: 29 Active repo(s): Beta (latest) ioBroker Core: js-controller 6.0.1 admin "admin" not found ioBroker Status: iobroker is running on this host. At least one iobroker host is running. Objects type: jsonl States type: redis Status admin and web instance: + system.adapter.admin.0 : admin : ioBroker - enabled, port: 7777, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.web.0 : web : ioBroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 11234 States: 10725 Size of iob-Database: 284K /opt/iobroker/iobroker-data/objects.jsonl 280K /opt/iobroker/iobroker-data/objects.json.migrated 264K /opt/iobroker/iobroker-data/objects.json.bak.migrated 204K /opt/iobroker/iobroker-data/states.json.bak 204K /opt/iobroker/iobroker-data/states.json =================== END OF SUMMARY ====================
-
konnte es umständlich selber lösen
Nach dem Update auf Version 6.0.1 erhielt ich im Log die Fehlermeldung, dass das Modul 'uri-js' fehlte. Also habe ich es installiert, und dann wurde mir angezeigt, dass auch das Modul 'request' fehlte. Also habe ich beide Module erneut im Verzeichnis /opt/iobroker installiert.
Hier ist mein vollständiger Ablauf:
- sudo apt-get dist-upgrade ausgeführt.
ioBroker mit iob stop angehalten.
Dann Node.js mit iob nodejs-update aktualisiert.
Das System habe ich neu gestartet (reboot).
Wieder ioBroker gestoppt mit iob stop.
Dann ioBroker mit iob fix repariert.
Die Datei 'iobroker.bat' mit del iobroker.bat gelöscht.
Erneut iob fix ausgeführt.
Wieder ioBroker gestoppt mit iob stop.
Mit cd /opt/iobroker in das Verzeichnis gewechselt.
Dort das Selbst-Upgrade mit iob upgrade self durchgeführt.
Das Modul 'uri-js' mit npm install uri-js installiert.
Und zuletzt das Modul 'request' mit npm install request installiert.
- sudo apt-get dist-upgrade ausgeführt.