升级前正常,升级2.0版本,无法启动Z2M,问了gpt也没给出具体的解决方法,各位帮忙看看啥问题
[13:15:32] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2025-01-17 13:15:35] debug: z2m: Removing old log directory '/config/zigbee2mqtt/log/2025-01-04.19-49-53'
[2025-01-17 13:15:35] info: z2m: Logging to console, file (filename: log.log)
[2025-01-17 13:15:35] debug: z2m: Loaded state from file /config/zigbee2mqtt/state.json
[2025-01-17 13:15:35] info: z2m: Starting Zigbee2MQTT version 2.0.0 (commit #unknown)
[2025-01-17 13:15:35] debug: z2m: sd-notify loaded
[2025-01-17 13:15:35] info: z2m: Starting zigbee-herdsman (3.2.1)
[2025-01-17 13:15:35] debug: z2m: Using zigbee-herdsman with settings: '"{"network":{"panID":6754,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[11],"networkKey":"HIDDEN"},"databasePath":"/config/zigbee2mqtt/database.db","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","backupPath":"/config/zigbee2mqtt/coordinator_backup.json","serialPort":{"path":"tcp://192.168.10.111:6638"},"adapter":{"disableLED":false}}"'
[2025-01-17 13:15:35] error: z2m: Error while starting zigbee-herdsman
[2025-01-17 13:15:35] error: z2m: Failed to start zigbee-herdsman
[2025-01-17 13:15:35] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-01-17 13:15:35] error: z2m: Exiting...
[2025-01-17 13:15:35] error: z2m: Error: Cannot discover TCP adapters at this time. Specify valid 'adapter' and 'port' in your configuration.
at findTCPAdapter (/app/node_modules/.pnpm/[email protected] /node_modules/zigbee-herdsman/src/adapter/adapterDiscovery.ts:470:15)
at discoverAdapter (/app/node_modules/.pnpm/[email protected] /node_modules/zigbee-herdsman/src/adapter/adapterDiscovery.ts:496:26)
at Function.create (/app/node_modules/.pnpm/[email protected] /node_modules/zigbee-herdsman/src/adapter/adapter.ts:68:54)
at Controller.start (/app/node_modules/.pnpm/[email protected] /node_modules/zigbee-herdsman/src/controller/controller.ts:132:38)
at Zigbee.start (/app/lib/zigbee.ts:69:47)
at Controller.start (/app/lib/controller.ts:142:13)
at start (/app/index.js:161:5)
复制代码