Zigbee2MQTT Alphine docs wrong #876

Closed
opened 2025-11-20 04:55:34 -05:00 by saavagebueno · 2 comments
Owner

Originally created by @Ruud-cb on GitHub (Apr 7, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Zigbee2MQTT

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/zigbee2mqtt.sh)"

📝 Provide a clear and concise description of the issue.

Docs need to be updated for Alphine image:
https://github.com/community-scripts/ProxmoxVE/discussions/410

Docs says config file nano /root/.z2m/configuration.yaml needs to be edited, but the rc-update service at /etc/init.d/zigbee2mqtt points a data directory to /var/lib/zigbee2mqtt, at which point there is a configuration.yml file.
Running as is when having a SLZB-06 POE Zigbee2MQTT device, it will fail to start the z2m service with the following errors (see below)

Spend to much time already on trying to find this issue, Script owner should really update the discussion or create a new one.

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Alpine

🔄 Steps to reproduce the issue.

Run setup script.
have no USB devices connected / mounted and do not intend to mount any.
Follow discussion/docs pointing to wrong configuration.yml file location and thus doing nothing.

Paste the full error output (if available).

Apr  7 19:34:40 alpine-zigbee2mqtt daemon.info localhost Zigbee2MQTT[731]: z2m: Starting Zigbee2MQTT version 1.42.0 (commit #undefined)
Apr  7 19:34:40 alpine-zigbee2mqtt daemon.info localhost Zigbee2MQTT[731]: z2m: Starting zigbee-herdsman (2.1.9)
Apr  7 19:34:40 alpine-zigbee2mqtt daemon.err localhost Zigbee2MQTT[731]: zh:zstack:znp: Failed to determine if path is valid: 'Error: spawn udevadm ENOENT'
Apr  7 19:34:40 alpine-zigbee2mqtt daemon.info localhost Zigbee2MQTT[731]: zh:zstack:znp: Opening SerialPort with {"path":"/dev/ttyACM0","baudRate":115200,"rtscts":false,"autoOpen":false}
Apr  7 19:34:40 alpine-zigbee2mqtt daemon.err localhost Zigbee2MQTT[731]: z2m: Error while starting zigbee-herdsman
Apr  7 19:34:40 alpine-zigbee2mqtt daemon.err localhost Zigbee2MQTT[731]: z2m: Failed to start zigbee
Apr  7 19:34:40 alpine-zigbee2mqtt daemon.err localhost Zigbee2MQTT[731]: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Apr  7 19:34:40 alpine-zigbee2mqtt daemon.err localhost Zigbee2MQTT[731]: z2m: Exiting...
Apr  7 19:34:40 alpine-zigbee2mqtt daemon.err localhost Zigbee2MQTT[731]: z2m: Error: Error: Not a tty setting custom baud rate of 115200
Apr  7 19:45:00 alpine-zigbee2mqtt cron.info crond[434]: USER root pid 763 cmd run-parts /etc/periodic/15min

🖼️ Additional context (optional).

No response

Originally created by @Ruud-cb on GitHub (Apr 7, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Zigbee2MQTT ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/zigbee2mqtt.sh)" ### 📝 Provide a clear and concise description of the issue. Docs need to be updated for Alphine image: https://github.com/community-scripts/ProxmoxVE/discussions/410 Docs says config file `nano /root/.z2m/configuration.yaml` needs to be edited, but the rc-update service at `/etc/init.d/zigbee2mqtt ` points a data directory to `/var/lib/zigbee2mqtt`, at which point there is a `configuration.yml` file. Running as is when having a SLZB-06 POE Zigbee2MQTT device, it will fail to start the z2m service with the following errors (see below) Spend to much time already on trying to find this issue, Script owner should really update the discussion or create a new one. ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Alpine ### 🔄 Steps to reproduce the issue. Run setup script. have no USB devices connected / mounted and do not intend to mount any. Follow discussion/docs pointing to wrong configuration.yml file location and thus doing nothing. ### ❌ Paste the full error output (if available). ``` Apr 7 19:34:40 alpine-zigbee2mqtt daemon.info localhost Zigbee2MQTT[731]: z2m: Starting Zigbee2MQTT version 1.42.0 (commit #undefined) Apr 7 19:34:40 alpine-zigbee2mqtt daemon.info localhost Zigbee2MQTT[731]: z2m: Starting zigbee-herdsman (2.1.9) Apr 7 19:34:40 alpine-zigbee2mqtt daemon.err localhost Zigbee2MQTT[731]: zh:zstack:znp: Failed to determine if path is valid: 'Error: spawn udevadm ENOENT' Apr 7 19:34:40 alpine-zigbee2mqtt daemon.info localhost Zigbee2MQTT[731]: zh:zstack:znp: Opening SerialPort with {"path":"/dev/ttyACM0","baudRate":115200,"rtscts":false,"autoOpen":false} Apr 7 19:34:40 alpine-zigbee2mqtt daemon.err localhost Zigbee2MQTT[731]: z2m: Error while starting zigbee-herdsman Apr 7 19:34:40 alpine-zigbee2mqtt daemon.err localhost Zigbee2MQTT[731]: z2m: Failed to start zigbee Apr 7 19:34:40 alpine-zigbee2mqtt daemon.err localhost Zigbee2MQTT[731]: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions Apr 7 19:34:40 alpine-zigbee2mqtt daemon.err localhost Zigbee2MQTT[731]: z2m: Exiting... Apr 7 19:34:40 alpine-zigbee2mqtt daemon.err localhost Zigbee2MQTT[731]: z2m: Error: Error: Not a tty setting custom baud rate of 115200 Apr 7 19:45:00 alpine-zigbee2mqtt cron.info crond[434]: USER root pid 763 cmd run-parts /etc/periodic/15min ``` ### 🖼️ Additional context (optional). _No response_
saavagebueno added the bug label 2025-11-20 04:55:34 -05:00
Author
Owner

@MickLesk commented on GitHub (Apr 7, 2025):

We dont have docs? From what do you speak? The discussion? Why do you create an issue for this? ^^ its not an Script issue or something else

@MickLesk commented on GitHub (Apr 7, 2025): We dont have docs? From what do you speak? The discussion? Why do you create an issue for this? ^^ its not an Script issue or something else
Author
Owner

@tremor021 commented on GitHub (Apr 7, 2025):

configuration file is at /root/.z2m/zigbee2mqtt/configuration.yaml

@tremor021 commented on GitHub (Apr 7, 2025): configuration file is at `/root/.z2m/zigbee2mqtt/configuration.yaml`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#876