NEWS
Zigbee Conbee
-
Hallo zusammen.
ich betreibe den IOBroker unter Debai 11 auf einer NUC.
darauf habe ich den Zigbee Adapter installiert und finde auch den Conbee Stick/dev/ttyACM0 [usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2141436-if00]
wenn ich den jedoch auswähle und den Adapter neu starte, wird der Adapter nicht grün und beim paren kommt folgende Meldung:
Error: Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'". undefined
Error: Starting zigbee-herdsman problem : "get network parameters Error:TIMEOUT". undefinedIch habe exakt das gleiche an einem Pi4 probiert und kann tadellos mit dem conbee Stick und dem zigbee Adapter geräte verbinden.
Wo liegt der Unterschied?
kann jemand helfen?
Ziel Soll das System auf der NUC sein. -
Liste unter Debian die USB by serial ID
Den Eintrag in de AdapterInstanz sollte in etwa so aussehen:/dev/serial/by-id/usbITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_xxxxxxxxxxxxxxxxxxx-port0
-
Schau dir die Ausgabe von
iob diag
an. Da gibt es einen Part, der die by-id-Links behandelt.
-
@thomas-braun said in Zigbee Conbee:
iob diag
USB-Devices by-id:
USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups, please alw ays prefer the links 'by-id':/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE21414 36-if00
HINT:
Your zigbee.0 COM-Port is NOT matching 'by-id'. Please check your setting:
/dev/ttyACM0das kommt dabei raus
-
USB-Devices by-id:
USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id':/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2141436-if00
Your zigbee.0 COM-Port is matching 'by-id'. Very good!
Hab den Eintrag wie gefordert geändert.... funktionieren tut es trotzdem nicht
-
@rccardany
Dann zeig den Rest. -
======== Start marking the full check here =========
Skript v.2024-04-21 *** BASE SYSTEM *** Static hostname: zbox Icon name: computer-desktop Chassis: desktop Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 5.10.0-21-amd64 Architecture: x86-64 model name : Intel(R) Celeron(R) CPU N3450 @ 1.10GHz Docker : false Virtualization : none Kernel : x86_64 Userland : 64 bit Systemuptime and Load: 09:16:46 up 1:15, 1 user, load average: 1.46, 1.04, 0.91 CPU threads: 4 *** Time and Time Zones *** Local time: Fri 2024-05-10 09:16:47 CEST Universal time: Fri 2024-05-10 07:16:47 UTC RTC time: Fri 2024-05-10 07:16:47 Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: no *** Users and Groups *** User that called 'iob diag': root JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/jre/ HOME=/root GROUPS=root dialout User that is running 'js-controller': iobroker HOME=/home/iobroker GROUPS=iobroker tty dialout audio video plugdev *** Display-Server-Setup *** Display-Server: false Desktop: Terminal: tty Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 7.8G 3.8G 2.7G 0.0K 1.3G 3.8G Swap: 976M 0B 976M Total: 8.8G 3.8G 3.6G Active iob-Instances: 34 7807 M total memory 3848 M used memory 460 M active memory 4391 M inactive memory 2650 M free memory 82 M buffer memory 1225 M swap cache 976 M total swap 0 M used swap 976 M free swap *** top - Table Of Processes *** top - 09:16:47 up 1:15, 1 user, load average: 1.46, 1.04, 0.91 Tasks: 163 total, 1 running, 162 sleeping, 0 stopped, 0 zombie %Cpu(s): 7.7 us, 3.1 sy, 0.0 ni, 89.2 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 7807.1 total, 2650.1 free, 3848.7 used, 1308.3 buff/cache MiB Swap: 977.0 total, 977.0 free, 0.0 used. 3846.8 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 3.9G 0 3.9G 0% /dev tmpfs tmpfs 781M 780K 780M 1% /run /dev/sda2 ext4 116G 15G 95G 14% / tmpfs tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock /dev/sda1 vfat 511M 11M 501M 3% /boot/efi tmpfs tmpfs 781M 0 781M 0% /run/user/1002 Messages concerning ext4 filesystem in dmesg: [Fri May 10 08:01:33 2024] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null) [Fri May 10 08:01:35 2024] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,relatime,errors=remount-ro |-/sys sysfs sysfs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/security securityfs securityfs rw,nosuid,nodev,noexec,relatime | |-/sys/fs/cgroup cgroup2 cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot | |-/sys/fs/pstore pstore pstore rw,nosuid,nodev,noexec,relatime | |-/sys/firmware/efi/efivars efivarfs efivarfs rw,nosuid,nodev,noexec,relatime | |-/sys/fs/bpf none bpf rw,nosuid,nodev,noexec,relatime,mode=700 | |-/sys/kernel/debug debugfs debugfs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/tracing tracefs tracefs rw,nosuid,nodev,noexec,relatime | |-/sys/fs/fuse/connections fusectl fusectl rw,nosuid,nodev,noexec,relatime | `-/sys/kernel/config configfs configfs rw,nosuid,nodev,noexec,relatime |-/proc proc proc rw,nosuid,nodev,noexec,relatime | `-/proc/sys/fs/binfmt_misc systemd-1 autofs rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=10697 |-/dev udev devtmpfs rw,nosuid,relatime,size=3989856k,nr_inodes=997464,mode=755 | |-/dev/pts devpts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 | |-/dev/shm tmpfs tmpfs rw,nosuid,nodev | |-/dev/hugepages hugetlbfs hugetlbfs rw,relatime,pagesize=2M | `-/dev/mqueue mqueue mqueue rw,nosuid,nodev,noexec,relatime |-/run tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=799448k,mode=755 | |-/run/lock tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k | |-/run/rpc_pipefs sunrpc rpc_pipefs rw,relatime | `-/run/user/1002 tmpfs tmpfs rw,nosuid,nodev,relatime,size=799448k,nr_inodes=199862,mode=700,uid=1002,gid=1002 `-/boot/efi /dev/sda1 vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro Files in neuralgic directories: /var: 8.7G /var/ 4.4G /var/lib 4.2G /var/log 4.0G /var/log/journal/b8af39a4a3f84f64bf60ee5243aa6c0c 4.0G /var/log/journal Archived and active journals take up 3.9G in the file system. /opt/iobroker/backups: 714M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 247M /opt/iobroker/iobroker-data/ 111M /opt/iobroker/iobroker-data/files 63M /opt/iobroker/iobroker-data/backup-objects 36M /opt/iobroker/iobroker-data/node-red 35M /opt/iobroker/iobroker-data/node-red/node_modules The five largest files in iobroker-data are: 27M /opt/iobroker/iobroker-data/objects.jsonl 12M /opt/iobroker/iobroker-data/states.jsonl 12M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/2.ea6ad656.chunk.js.map 6.3M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map 6.2M /opt/iobroker/iobroker-data/files/iot.admin/static/js/2.1d439ead.chunk.js.map USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id': /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2141436-if00 Your zigbee.0 COM-Port is matching 'by-id'. Very good! *** NodeJS-Installation *** /usr/bin/nodejs v18.19.0 /usr/bin/node v18.19.0 /usr/bin/npm 9.2.0 /usr/bin/npx 9.2.0 corepack: N/A *** nodejs is NOT correctly installed *** nodejs: Installed: 18.19.0+dfsg-6~deb12u1 Candidate: 18.19.0+dfsg-6~deb12u1 Version table: *** 18.19.0+dfsg-6~deb12u1 500 500 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages 100 /var/lib/dpkg/status 18.13.0+dfsg1-1 500 500 http://deb.debian.org/debian bookworm/main amd64 Packages Temp directories causing npm8 problem: 0 No problems detected Errors in npm tree: *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 5.0.19 admin: 6.2.23 javascript: 5.7.0 nodejs modules from github: 0 Adapter State + system.adapter.admin.0 : admin : zbox - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.alexa2.0 : alexa2 : zbox - enabled + system.adapter.backitup.0 : backitup : zbox - enabled system.adapter.cloud.0 : cloud : zbox - disabled system.adapter.daswetter.0 : daswetter : zbox - disabled + system.adapter.discovery.0 : discovery : zbox - disabled + system.adapter.fakeroku.0 : fakeroku : zbox - enabled + system.adapter.harmony.0 : harmony : zbox - enabled + system.adapter.hm-rega.0 : hm-rega : zbox - enabled + system.adapter.hm-rpc.0 : hm-rpc : zbox - enabled, port: 0 + system.adapter.hm-rpc.1 : hm-rpc : zbox - enabled, port: 0 + system.adapter.homeconnect.0 : homeconnect : zbox - enabled + system.adapter.influxdb.0 : influxdb : zbox - enabled, port: 8086 + system.adapter.iot.0 : iot : zbox - enabled + system.adapter.javascript.0 : javascript : zbox - enabled system.adapter.kodi.0 : kodi : zbox - disabled, port: 9090 system.adapter.linux-control.0 : linux-control : zbox - enabled system.adapter.mclighting.0 : mclighting : zbox - disabled, port: 81 system.adapter.mihome-vacuum.0 : mihome-vacuum : zbox - disabled, port: 54321 + system.adapter.modbus.0 : modbus : zbox - enabled + system.adapter.modbus.1 : modbus : zbox - enabled + system.adapter.modbus.2 : modbus : zbox - enabled + system.adapter.modbus.3 : modbus : zbox - enabled + system.adapter.mqtt.0 : mqtt : zbox - enabled, port: 1883, bind: 192.168.1.171 system.adapter.mqtt.2 : mqtt : zbox - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.mqtt.3 : mqtt : zbox - enabled, port: 1885, bind: 0.0.0.0 system.adapter.mqtt.4 : mqtt : zbox - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.mqtt.5 : mqtt : zbox - enabled, port: 1888, bind: 0.0.0.0 + system.adapter.net-tools.0 : net-tools : zbox - enabled + system.adapter.node-red.0 : node-red : zbox - enabled, port: 1880, bind: 192.168.1.171 system.adapter.octoprint.0 : octoprint : zbox - disabled + system.adapter.parser.0 : parser : zbox - enabled + system.adapter.ping.0 : ping : zbox - enabled + system.adapter.pvforecast.0 : pvforecast : zbox - enabled + system.adapter.shelly.0 : shelly : zbox - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.solax.0 : solax : zbox - enabled system.adapter.sonoff.0 : sonoff : zbox - disabled, port: 1883, bind: 0.0.0.0 system.adapter.spotify-premium.0 : spotify-premium : zbox - disabled system.adapter.telegram.0 : telegram : zbox - enabled, port: 8443, bind: 0.0.0.0 system.adapter.telegram.1 : telegram : zbox - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.text2command.0 : text2command : zbox - enabled + system.adapter.tibberlink.0 : tibberlink : zbox - enabled system.adapter.unifi.0 : unifi : zbox - disabled system.adapter.web.0 : web : zbox - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.whatsapp-cmb.0 : whatsapp-cmb : zbox - enabled + system.adapter.whatsapp-cmb.1 : whatsapp-cmb : zbox - enabled + system.adapter.whatsapp-cmb.2 : whatsapp-cmb : zbox - enabled + system.adapter.zigbee.0 : zigbee : zbox - enabled, port: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2141436-if00 + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : zbox - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.hm-rpc.0 : hm-rpc : zbox - enabled, port: 0 + system.adapter.hm-rpc.1 : hm-rpc : zbox - enabled, port: 0 + system.adapter.influxdb.0 : influxdb : zbox - enabled, port: 8086 + system.adapter.mqtt.0 : mqtt : zbox - enabled, port: 1883, bind: 192.168.1.171 system.adapter.mqtt.2 : mqtt : zbox - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.mqtt.3 : mqtt : zbox - enabled, port: 1885, bind: 0.0.0.0 system.adapter.mqtt.4 : mqtt : zbox - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.mqtt.5 : mqtt : zbox - enabled, port: 1888, bind: 0.0.0.0 + system.adapter.node-red.0 : node-red : zbox - enabled, port: 1880, bind: 192.168.1.171 + system.adapter.shelly.0 : shelly : zbox - enabled, port: 1882, bind: 0.0.0.0 system.adapter.telegram.0 : telegram : zbox - enabled, port: 8443, bind: 0.0.0.0 system.adapter.telegram.1 : telegram : zbox - enabled, port: 8443, bind: 0.0.0.0 system.adapter.web.0 : web : zbox - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.zigbee.0 : zigbee : zbox - enabled, port: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2141436-if00 ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo(s): stable Installed ioBroker-Instances Used repository: stable Adapter "admin" : 6.13.16 , installed 6.2.23 [Updatable] Adapter "alexa2" : 3.26.5 , installed 3.25.5 [Updatable] Adapter "backitup" : 2.11.0 , installed 2.5.4 [Updatable] Adapter "bshb" : 0.2.7 , installed 0.2.4 [Updatable] Adapter "cloud" : 5.0.1 , installed 4.3.0 [Updatable] Adapter "daswetter" : 3.1.13 , installed 3.1.8 [Updatable] Adapter "deconz" : 1.4.0 , installed 1.3.21 [Updatable] Adapter "discovergy" : 0.5.13 , installed 0.5.8 [Updatable] Adapter "discovery" : 4.4.0 , installed 3.1.0 [Updatable] Adapter "fakeroku" : 0.2.2 , installed 0.2.2 Adapter "harmony" : 1.4.0 , installed 1.2.2 [Updatable] Adapter "hm-rega" : 4.0.0 , installed 3.0.40 [Updatable] Adapter "hm-rpc" : 1.17.0 , installed 1.15.12 [Updatable] Adapter "homeconnect" : 1.3.0 , installed 1.1.1 [Updatable] Adapter "influxdb" : 4.0.2 , installed 4.0.2 Adapter "iot" : 2.0.11 , installed 1.11.4 [Updatable] Adapter "javascript" : 7.8.0 , installed 5.7.0 [Updatable] Controller "js-controller": 5.0.19 , installed 5.0.19 Adapter "kodi" : 3.0.0 , installed 2.0.8 [Updatable] Adapter "linux-control": 1.1.5 , installed 1.1.5 Adapter "mclighting" : 0.1.2 , installed 0.1.2 Adapter "mihome" : 1.4.0 , installed 1.4.0 Adapter "mihome-vacuum": 4.2.0 , installed 3.8.6 [Updatable] Adapter "modbus" : 6.1.0 , installed 4.0.4 [Updatable] Adapter "mqtt" : 5.2.0 , installed 3.0.6 [Updatable] Adapter "net-tools" : 1.0.11 , installed 0.2.0 [Updatable] Adapter "netatmo" : 3.1.0 , installed 3.1.0 Adapter "node-red" : 5.2.1 , installed 3.3.0 [Updatable] Adapter "octoprint" : 5.1.0 , installed 3.2.0 [Updatable] Adapter "opi" : 0.1.2 , installed 0.1.1 [Updatable] Adapter "parser" : 2.1.0 , installed 1.1.8 [Updatable] Adapter "ping" : 1.6.2 , installed 1.6.2 Adapter "pvforecast" : 2.9.1 , installed 2.9.0 [Updatable] Adapter "rpi2" : 1.3.2 , installed 1.3.2 Adapter "shelly" : 6.9.0 , installed 5.3.2 [Updatable] Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "socketio" : 6.7.0 , installed 4.2.0 [Updatable] Adapter "solax" : 0.9.6 , installed 0.7.7 [Updatable] Adapter "sonoff" : 3.0.3 , installed 2.5.1 [Updatable] Adapter "spotify-premium": 1.4.0 , installed 1.2.1 [Updatable] Adapter "systeminfo" : 1.1.0 , installed 0.3.1 [Updatable] Adapter "telegram" : 3.2.1 , installed 1.12.6 [Updatable] Adapter "text2command" : 3.0.3 , installed 2.2.1 [Updatable] Adapter "tibberlink" : 2.3.2 , installed 1.4.2 [Updatable] Adapter "tinker" : 1.3.2 , installed 1.1.1 [Updatable] Adapter "tuya" : 3.15.0 , installed 3.15.0 Adapter "unifi" : 0.7.0 , installed 0.5.10 [Updatable] Adapter "vis" : 1.5.4 , installed 1.4.16 [Updatable] Adapter "vis-bars" : 0.1.4 , installed 0.1.4 Adapter "web" : 6.2.5 , installed 4.3.0 [Updatable] Adapter "whatsapp-cmb" : 0.2.3 , installed 0.2.3 Adapter "ws" : 2.6.1 , installed 1.3.0 [Updatable] Adapter "zigbee" : 1.10.3 , installed 1.10.3 Objects and States Please stand by - This may take a while Objects: 26883 States: 21788 *** OS-Repositories and Updates *** E: The repository 'http://ftp.nl.debian.org/debian stretch Release' does not have a Release file. W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D68FA50FEA312927 Pending Updates: 419 *** Listening Ports *** *** Log File - Last 25 Lines *** 2024-05-10 09:16:47.384 - error: parser.0 (2395) Cannot read link "http://192.168.178.80/json": Error: connect EHOSTUNREACH 192.168.178.80:80 2024-05-10 09:16:52.167 - info: influxdb.0 (870) Store 51 buffered influxDB history points 2024-05-10 09:16:52.424 - error: parser.0 (2395) Cannot read link "http://192.168.178.80/json": Error: connect EHOSTUNREACH 192.168.178.80:80 2024-05-10 09:16:57.384 - error: parser.0 (2395) Cannot read link "http://192.168.178.80/json": Error: connect EHOSTUNREACH 192.168.178.80:80 2024-05-10 09:17:01.898 - info: influxdb.0 (870) Store 51 buffered influxDB history points 2024-05-10 09:17:02.424 - error: parser.0 (2395) Cannot read link "http://192.168.178.80/json": Error: connect EHOSTUNREACH 192.168.178.80:80 2024-05-10 09:17:07.384 - error: parser.0 (2395) Cannot read link "http://192.168.178.80/json": Error: connect EHOSTUNREACH 192.168.178.80:80 2024-05-10 09:17:09.299 - info: influxdb.0 (870) Store 52 buffered influxDB history points 2024-05-10 09:17:12.424 - error: parser.0 (2395) Cannot read link "http://192.168.178.80/json": Error: connect EHOSTUNREACH 192.168.178.80:80 2024-05-10 09:17:15.544 - error: parser.0 (2395) Cannot read link "http://192.168.178.80/json": Error: connect EHOSTUNREACH 192.168.178.80:80 2024-05-10 09:17:18.954 - info: influxdb.0 (870) Store 51 buffered influxDB history points 2024-05-10 09:17:22.424 - error: parser.0 (2395) Cannot read link "http://192.168.178.80/json": Error: connect EHOSTUNREACH 192.168.178.80:80 2024-05-10 09:17:27.086 - info: influxdb.0 (870) Store 51 buffered influxDB history points 2024-05-10 09:17:27.384 - error: parser.0 (2395) Cannot read link "http://192.168.178.80/json": Error: connect EHOSTUNREACH 192.168.178.80:80 2024-05-10 09:17:32.424 - error: parser.0 (2395) Cannot read link "http://192.168.178.80/json": Error: connect EHOSTUNREACH 192.168.178.80:80 2024-05-10 09:17:35.680 - info: influxdb.0 (870) Store 51 buffered influxDB history points 2024-05-10 09:17:37.394 - error: parser.0 (2395) Cannot read link "http://192.168.178.80/json": Error: connect EHOSTUNREACH 192.168.178.80:80 2024-05-10 09:17:42.005 - info: influxdb.0 (870) Store 51 buffered influxDB history points 2024-05-10 09:17:42.425 - error: parser.0 (2395) Cannot read link "http://192.168.178.80/json": Error: connect EHOSTUNREACH 192.168.178.80:80 2024-05-10 09:17:47.384 - error: parser.0 (2395) Cannot read link "http://192.168.178.80/json": Error: connect EHOSTUNREACH 192.168.178.80:80 2024-05-10 09:17:50.094 - info: influxdb.0 (870) Store 51 buffered influxDB history points 2024-05-10 09:17:52.424 - error: parser.0 (2395) Cannot read link "http://192.168.178.80/json": Error: connect EHOSTUNREACH 192.168.178.80:80 2024-05-10 09:17:57.384 - error: parser.0 (2395) Cannot read link "http://192.168.178.80/json": Error: connect EHOSTUNREACH 192.168.178.80:80 2024-05-10 09:18:01.101 - info: influxdb.0 (870) Store 51 buffered influxDB history points 2024-05-10 09:18:02.424 - error: parser.0 (2395) Cannot read link "http://192.168.178.80/json": Error: connect EHOSTUNREACH 192.168.178.80:80
============ Mark until here for C&P =============
iob diag has finished.
-
======================= SUMMARY =======================
v.2024-04-21Static hostname: zbox
Icon name: computer-desktop
Chassis: desktop
Operating System: Debian GNU/Linux 11 (bullseye)
Kernel: Linux 5.10.0-21-amd64
Architecture: x86-64Installation: native
Kernel: x86_64
Userland: 64 bit
Timezone: Europe/Berlin (CEST, +0200)
User-ID: 0
Display-Server: false
Boot Target: graphical.targetPending OS-Updates: 419
Pending iob updates: 39Nodejs-Installation:
/usr/bin/nodejs v18.19.0
/usr/bin/node v18.19.0
/usr/bin/npm 9.2.0
/usr/bin/npx 9.2.0
corepack: N/ARecommended versions are nodejs 16.20.2 and npm 8.19.4
*** nodejs is NOT correctly installed ***
Wrong installation path detected. This needs to be fixedPlease execute
iobroker nodejs-update
to fix these errors.MEMORY:
total used free shared buff/cache available
Mem: 7.8G 3.9G 2.4G 0.0K 1.5G 3.8G
Swap: 976M 0B 976M
Total: 8.8G 3.9G 3.3GActive iob-Instances: 34
Active repo(s): stableioBroker Core: js-controller 5.0.19
admin 6.2.23ioBroker Status: iobroker is running on this host.
Objects type: jsonl
States type: jsonlStatus admin and web instance:
- system.adapter.admin.0 : admin : zbox - enabled, port: 8081, bind: 0.0.0.0, run as: admin
system.adapter.web.0 : web : zbox - enabled, port: 8082, bind: 0.0.0.0, run as: admin
Objects: 26883
States: 21788Size of iob-Database:
27M /opt/iobroker/iobroker-data/objects.jsonl
12M /opt/iobroker/iobroker-data/states.jsonl=================== END OF SUMMARY ====================
=== Mark text until here for copying ===
- system.adapter.admin.0 : admin : zbox - enabled, port: 8081, bind: 0.0.0.0, run as: admin
-
Hampel da nicht als root herum. User anlegen und den verwenden.
*** nodejs is NOT correctly installed ***
Falsches nodejs. Bring das auf die nodesource-Variante:
iob nodejs-update
Pending OS-Updates: 419
Pending iob updates: 39Ist nicht dein Ernst, oder?
Zeig mal die Datei /etc/apt/sources.list her.cat /etc/apt/sources.list
-
@thomas-braun said in Zigbee Conbee:
cat /etc/apt/sources.list
ioBroker nodejs updater 2023-10-13 Recommended nodejs-version is: 16.20.2 Checking your installation now. Please be patient! Your current setup is: /usr/bin/nodejs v18.19.0 /usr/bin/node v18.19.0 /usr/bin/npm 9.2.0 /usr/bin/npx 9.2.0 We found these nodejs versions available for installation: nodejs: Installed: 18.19.0+dfsg-6~deb12u1 Candidate: 18.19.0+dfsg-6~deb12u1 Version table: *** 18.19.0+dfsg-6~deb12u1 500 500 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages 100 /var/lib/dpkg/status 18.13.0+dfsg1-1 500 500 http://deb.debian.org/debian bookworm/main amd64 Packages Nothing to do - Your installation is using the correct paths. You are running nodejs v18.19.0. Do you want to install recommended version 16.20.2? Press <y> to continue or any other key to quit We are not updating your installation. Exiting. root@zbox:/home/pi# cat /etc/apt/sources.list deb http://deb.debian.org/debian bookworm main non-free-firmware deb-src http://deb.debian.org/debian bookworm main non-free-firmware deb http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware deb-src http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware deb http://deb.debian.org/debian bookworm-updates main non-free-firmware deb-src http://deb.debian.org/debian bookworm-updates main non-free-firmware root@zbox:/home/pi#
-
@rccardany sagte in Zigbee Conbee:
root@zbox:/home/pi
Du hampelst ja immer noch als root herum...
Ich bin dann raus. Meld dich als pi oder was auch immer da noch an usern vorhanden ist an und arbeite ordentlich mit dem System. -
naja ich habe den iobroker installiert und wüsste nicht dass ich dazu einen passwort vergeben habe
wenn ich mich als pi anmelde dann will er, dass ich den Befehl als admin ausführe:pi@zbox:~$ iob nodejs-update [sudo] Passwort für pi: Leider darf der Benutzer pi »/usr/bin/curl -sLf https://iobroker.net/node-update.sh --output /home/iobroker/.nodejs-update.sh« als iobroker auf zbox.default nicht ausführen. pi@zbox:~$
-
Dann ist der pi nicht in den richtigen Gruppen enthalten. Also falsch konfiguriert worden...
Ist der wenigstens bei 'sudo' drin?sudo usermod -a -G iobroker pi exit
-
@thomas-braun said in Zigbee Conbee:
sudo usermod -a -G iobroker pi
exitanbei dir RM
pi@zbox:~$ sudo usermod -a -G iobroker pi [sudo] Passwort für pi: Leider darf der Benutzer pi »/usr/sbin/usermod -a -G iobroker pi« als root auf z box.default nicht ausführen.
-
-
@thomas-braun said in Zigbee Conbee:
groups
pi@zbox:~$ apt policy sudo sudo: Installiert: 1.9.5p2-3+deb11u1 Installationskandidat: 1.9.13p3-1+deb12u1 Versionstabelle: 1.9.13p3-1+deb12u1 500 500 http://deb.debian.org/debian bookworm/main amd64 Packages *** 1.9.5p2-3+deb11u1 100 100 /var/lib/dpkg/status pi@zbox:~$ groups pi dialout iobroker pi@zbox:~$
-
Dann als root:
usermod -a -G sudo pi
Dann wieder als pi anmelden und den Mist mit dem root sein lassen.
-
@thomas-braun erledigt und nun?
-
sudo whoami grep stretch -R /etc/apt/*
-
pi@testpi:~ $ sudo whoami root pi@testpi:~ $ grep stretch -R /etc/apt/*