SOLVED
He Hello,
Today I installed the most recent core and latest version of HA on my Virtual Machine (on a NAS). After that all went well. but… Zigbee2MQTT didnt start. This was mentioned in the logs :
[15:36:09] INFO: Preparing to start…
[15:36:10] INFO: Socat not enabled
[15:36:16] INFO: Starting Zigbee2MQTT…
Zigbee2MQTT:info 2023-12-09 15:36:27: Logging to console and directory: ‘/config/zigbee2mqtt/log/2023-12-09.15-36-27’ filename: log.txt
Zigbee2MQTT:info 2023-12-09 15:36:27: Starting Zigbee2MQTT version 1.34.0 (commit #unknown)
Zigbee2MQTT:info 2023-12-09 15:36:27: Starting zigbee-herdsman (0.25.0)
Zigbee2MQTT:error 2023-12-09 15:36:27: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-12-09 15:36:27: Failed to start zigbee
Zigbee2MQTT:error 2023-12-09 15:36:27: Check Zigbee2MQTT fails to start | Zigbee2MQTT for possible solutions
Zigbee2MQTT:error 2023-12-09 15:36:27: Exiting…
Zigbee2MQTT:error 2023-12-09 15:36:27: Error: Error while opening serialport ‘Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0’
at SerialPort. (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:146:28)
at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:82:22)
at /app/node_modules/@serialport/stream/dist/index.js:118:18
I visited the mentioned webpage. But I dont understand much (sorry, HA is a lot…) I have recent backups. But that’s not a solution for the long term… What is the best advise?
Thanks for your answer!
No. I did an update of the core and the latest version of HA. I didnt uplug the stick.
I have HA installed on a virtual machine (on a NAS)
I used to run HAOS in virtualization station on my QNAP NAS. Every time the server was restarted, I would have to go back into virtualization station and pass the USB stick into the HA virtual machine.
I would recommend you check to ensure the USB is being passed into your virtual machine.
Also check dmesg in HAOS to see if the USB stick has any events. If not, then yeah, likely a pass-through issue, but if it does have events, it may reveal errors.
I also noticed that zigbee2mqtt failed to start after recent HA OS and HA update a couple of days ago. The problem was that usb device enumeration changed from /dev/ttyUSB0 to /dev/ttyUSB1.
I changed add-on configuration to use /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0 so it does not change in the future.