Skip to content

Zigbee2MQTT Alpine LXC no frontend, Stuck in Onboardingย #11303

@radry

Description

@radry

โœ… Have you read and understood the above guidelines?

yes

๐Ÿ”Ž Did you run the script with verbose mode enabled?

Yes, verbose mode was enabled and the output is included below

๐Ÿ“œ What is the name of the script you are using?

Zigbee2MQTT LXC

๐Ÿ“‚ What was the exact command used to execute the script?

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

โš™๏ธ What settings are you using?

  • Default Settings
  • Advanced Settings

๐Ÿ–ฅ๏ธ Which Linux distribution are you using?

Alpine

๐Ÿ“ˆ Which Proxmox version are you on?

pve-manager/8.4.16/368e3c45c15b895c (running kernel: 6.8.12-18-pve)

๐Ÿ“ Provide a clear and concise description of the issue.

After creating the container the webinterface can't be reached.
Changing the onboarding url in /etc/conf.d/zigbee2mqtt to 0.0.0.0 makes the onboarding reachable and can be configured. However even after waiting several minutes or restarting the container it still only redirects to the onboarding. This might be an issue with Z2M itself but the original issue, that the webinterface can't be reached initially seems to be a configuration issue with the default installation?

I managed to reach it randomly two times but it always claimed there is an error in configuration.yaml although I use the default one or one generated by https://www.zigbee2mqtt.io/guide/configuration/

๐Ÿ”„ Steps to reproduce the issue.

  • Run script

  • http://nodes_ip_adress:8080 no connection

  • Change the onboarding url in /etc/conf.d/zigbee2mqtt to 0.0.0.0

  • Restart node

  • Onboarding can be reached at http://nodes_ip_adress:8080 and Z2M configured.

  • Wait and/or restart node.

  • Still no frontend/webinterface

  • remove onboarding url in /etc/conf.d/zigbee2mqtt

  • http://nodes_ip_adress:8080 no connection

โŒ Paste the full error output (if available).

๐Ÿ–ผ๏ธ Additional context (optional).

๐Ÿ’ก PVE Version 8.4.16 (Kernel: 6.8.12-18-pve)
๐Ÿ–ฅ๏ธ Operating System: alpine
๐ŸŒŸ Version: 3.23
๐Ÿ“ฆ Container Type: Privileged
๐Ÿ†” Container ID: 102
๐Ÿ  Hostname: alpine-zigbee2mqtt
๐Ÿ’พ Disk Size: 1 GB
๐Ÿง  CPU Cores: 1
๐Ÿ› ๏ธ RAM Size: 256 MiB
๐ŸŒ‰ Bridge: vmbr0
๐Ÿ“ก IPv4: 192.168.1.93/24
๐Ÿ“ก IPv6: auto
๐Ÿ—‚๏ธ FUSE Support: no
๐Ÿ“ฆ Nesting: Enabled
๐ŸŽฎ GPU Passthrough: no
๐Ÿ’ก Timezone: Europe/Vienna
๐Ÿ” Verbose Mode: yes
๐Ÿš€ Creating a Alpine-Zigbee2MQTT LXC using the above advanced settings
โœ”๏ธ Updated app defaults: /usr/local/community-scripts/defaults/alpine-zigbee2mqtt.vars
โœ”๏ธ Storage local (Free: 58.7GB Used: 11.7GB) [Template]
โœ”๏ธ Storage local-lvm (Free: 85.3GB Used: 59.0GB) [Container]
โœ”๏ธ Storage 'local-lvm' (lvmthin) validated
โœ”๏ธ Template storage 'local' validated
โœ”๏ธ Template search completed
โœ”๏ธ Template alpine-3.23-default_20260116_amd64.tar.xz [local]
โœ”๏ธ LXC Container 102 was successfully created.
โœ”๏ธ USB passthrough configured
โœ”๏ธ Started LXC Container
โœ”๏ธ Customized LXC Container
๐Ÿ’ก No SSH keys to install (skipping).
โœ”๏ธ Set up Container OS
โœ”๏ธ Network Connected: 192.168.1.93
โœ”๏ธ Internet: โœ” IPv4 DNS: 140.82.121.4
โณ Updating Container OS(1/4) Upgrading alpine-release (3.23.2-r0 -> 3.23.3-r0)
(2/4) Upgrading libcrypto3 (3.5.4-r0 -> 3.5.5-r0)
(3/4) Upgrading libssl3 (3.5.4-r0 -> 3.5.5-r0)
(4/4) Upgrading alpine-base (3.23.2-r0 -> 3.23.3-r0)
OK: 36.4 MiB in 73 packages
โœ”๏ธ Updated Container OS
โณ Installing Alpine-Zigbee2MQTT( 1/12) Installing ca-certificates (20251003-r0)
( 2/12) Installing libgcc (15.2.0-r2)
( 3/12) Installing libstdc++ (15.2.0-r2)
( 4/12) Installing ada-libs (3.3.0-r0)
( 5/12) Installing icu-data-en (76.1-r1)
Executing icu-data-en-76.1-r1.post-install
*

  • If you need ICU with non-English locales and legacy charset support, install
  • package icu-data-full.

( 6/12) Installing icu-libs (76.1-r1)
( 7/12) Installing simdjson (3.12.0-r0)
( 8/12) Installing simdutf (7.5.0-r1)
( 9/12) Installing sqlite-libs (3.51.2-r0)
(10/12) Installing nodejs (24.13.0-r1)
(11/12) Installing zigbee2mqtt (2.7.0-r0)
Executing zigbee2mqtt-2.7.0-r0.pre-install
(12/12) Installing zigbee2mqtt-openrc (2.7.0-r0)
Executing busybox-1.37.0-r30.trigger
Executing ca-certificates-20251003-r0.trigger
OK: 136.8 MiB in 85 packages

  • service zigbee2mqtt added to runlevel default
  • Caching service dependencies ... [ ok ]
  • Starting Zigbee2MQTT ... [ ok ]
  • Open http://127.0.0.1:8080 to configure Zigbee2MQTT.
  • You can change this URL in /etc/conf.d/zigbee2mqtt if needed.
    โœ”๏ธ Installed Alpine-Zigbee2MQTT
  • service sshd added to runlevel default
    ssh-keygen: generating new host keys: RSA ECDSA ED25519
  • Starting sshd ... [ ok ]
    โœ”๏ธ Completed successfully!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions