Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 107753

Impossible to start zigbee2mqtt in LXC container

$
0
0

Hi there, I’m migrating my HMA/Zigbee2MQTT configuration to a LXC container in proxmox.
I have migrated all files from the legacy setup onto my LXC container.
the /dev/ttyUSB0 exists. I have temporarily extended the rights to 777 to avoid access issue. The usb device is cc2652rb. I have configured the configuration.yaml this way:
version: 5

homeassistant:

enabled: false

frontend:

enabled: true

mqtt:

base_topic: zigbee2mqtt

server: ‘mqtt://mosquitto.familletaieb.fr:1883’

serial:

port: /dev/ttyUSB0

adapter: ember

advanced:

log_level: debug

network_key:

- 103

- 33

- 159

- 177

- 168

- 173

- 59

- 65

- 200

- 48

- 101

- 111

- 57

- 216

- 32

- 53

pan_id: 59915

ext_pan_id:

- 89

- 135

- 55

- 142

- 82

- 205

- 74

- 70

But zigbee2mqtt doesn’t start with the following error message.
Jun 12 19:05:21 zigbee2mqtt pnpm[425]: Starting Zigbee2MQTT without watchdog.
Jun 12 19:05:21 zigbee2mqtt pnpm[425]: [2025-06-12 19:05:21] debug: z2m: Removing old log directory ‘/opt/zigbee2mqtt/data/log/2025-06-12.19-03-27’
Jun 12 19:05:21 zigbee2mqtt pnpm[425]: [2025-06-12 19:05:21] info: z2m: Logging to console, file (filename: log.log)
Jun 12 19:05:21 zigbee2mqtt pnpm[425]: [2025-06-12 19:05:21] debug: z2m: Can’t load state from file /opt/zigbee2mqtt/data/state.json (doesn’t exist)
Jun 12 19:05:21 zigbee2mqtt pnpm[425]: [2025-06-12 19:05:21] info: z2m: Starting Zigbee2MQTT version 2.4.0 (commit #unknown)
Jun 12 19:05:21 zigbee2mqtt pnpm[425]: [2025-06-12 19:05:21] info: z2m: Starting zigbee-herdsman (4.1.0)
Jun 12 19:05:21 zigbee2mqtt pnpm[425]: [2025-06-12 19:05:21] debug: z2m: Using zigbee-herdsman with settings: ‘“{"network":{"panID":59915,"extendedPanID":[89,135,55,142,82,205,74,70],"channelList":[11],"networkKey":"HIDDEN"},"databasePath":"/opt/zigbee2mqtt/data/database.db","databaseBackupPath":"/opt/zigbee2mqtt/data/database.db.backup","backupPath":"/opt/zigbee2mqtt/data/coordinator_backup.json","serialPort":{"path":"/dev/ttyUSB0"},"adapter":{"disableLED":false}}”’
Jun 12 19:05:21 zigbee2mqtt pnpm[425]: [2025-06-12 19:05:21] debug: zh:adapter:discovery: Connected devices: [{“path”:“/dev/ttyS0”},{“path”:“/dev/ttyS1”},{“path”:“/dev/ttyS10”},{“path”:“/dev/ttyS11”},{“path”:“/dev/ttyS12”},{“path”:“/dev/ttyS13”},{“path”:“/dev/ttyS14”},{“path”:“/dev/ttyS15”},{“path”:“/dev/ttyS16”},{“path”:“/dev/ttyS17”},{“path”:“/dev/ttyS18”},{“path”:“/dev/ttyS19”},{“path”:“/dev/ttyS2”},{“path”:“/dev/ttyS20”},{“path”:“/dev/ttyS21”},{“path”:“/dev/ttyS22”},{“path”:“/dev/ttyS23”},{“path”:“/dev/ttyS24”},{“path”:“/dev/ttyS25”},{“path”:“/dev/ttyS26”},{“path”:“/dev/ttyS27”},{“path”:“/dev/ttyS28”},{“path”:“/dev/ttyS29”},{“path”:“/dev/ttyS3”},{“path”:“/dev/ttyS30”},{“path”:“/dev/ttyS31”},{“path”:“/dev/ttyS4”},{“path”:“/dev/ttyS5”},{“path”:“/dev/ttyS6”},{“path”:“/dev/ttyS7”},{“path”:“/dev/ttyS8”},{“path”:“/dev/ttyS9”},{“path”:“/dev/ttyUSB0”}]
Jun 12 19:05:21 zigbee2mqtt pnpm[425]: [2025-06-12 19:05:21] error: z2m: Error while starting zigbee-herdsman
Jun 12 19:05:21 zigbee2mqtt pnpm[425]: [2025-06-12 19:05:21] error: z2m: Failed to start zigbee-herdsman
Jun 12 19:05:21 zigbee2mqtt pnpm[425]: [2025-06-12 19:05:21] error: z2m: Check Zigbee2MQTT fails to start/crashes runtime | Zigbee2MQTT for possible solutions
Jun 12 19:05:21 zigbee2mqtt pnpm[425]: [2025-06-12 19:05:21] error: z2m: Exiting…
Jun 12 19:05:21 zigbee2mqtt pnpm[425]: [2025-06-12 19:05:21] error: z2m: Error: USB adapter discovery error (No valid USB adapter found). Specify valid ‘adapter’ and ‘port’ in your configuration.

I’l really stuck…
If someone could help.
Thanks
Laurent

3 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 107753

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>