Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to start after upgrade to 1.38.0 #22945

Open
nlindblo opened this issue Jun 5, 2024 · 7 comments
Open

Fails to start after upgrade to 1.38.0 #22945

nlindblo opened this issue Jun 5, 2024 · 7 comments
Labels
problem Something isn't working

Comments

@nlindblo
Copy link

nlindblo commented Jun 5, 2024

What happened?

I upgraded to 1.38.0 from 1.37.0 by running update.sh and Z2M fails to start. I managed to revert back to 1.37.1 and im now back up, but if someone could take a look at the debug log and see if it gives some hints on what may be causing this, before I make another attempt

What did you expect to happen?

Upgrade to be successful

How to reproduce it (minimal and precise)

Seem to be an isolated problem as I've seen no other reports.

Zigbee2MQTT version

1.37.0

Adapter firmware version

20210708

Adapter

SONOFF ZigBee 3.0 USB Dongle Plus, TI CC2652P Coordinator

Setup

PI 4 -> Ubuntu 22.04

Debug log

[2024-06-04 17:54:00] info: z2m: Logging to console, file (filename: log.log)
[2024-06-04 17:54:00] info: z2m: Starting Zigbee2MQTT version 1.38.0 (commit #0e6da85d)
[2024-06-04 17:54:00] info: z2m: Starting zigbee-herdsman (0.49.2)
[2024-06-04 17:54:03] info: zh:zstack:znp: Opening SerialPort with {"path":"/dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2024-06-04 17:54:03] info: zh:zstack:znp: Serialport opened
[2024-06-04 17:54:04] error: z2m: Error while starting zigbee-herdsman
[2024-06-04 17:54:04] error: z2m: Failed to start zigbee
[2024-06-04 17:54:04] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-06-04 17:54:04] error: z2m: Exiting...
[2024-06-04 17:54:04] error: z2m: Error: SREQ '--> ZDO - extAddGroup - {"endpoint":242,"groupid":2948,"namelen":0,"groupname":[]}' failed with status '(0xb2: APS_TABLE_FULL)' (expected '(0x00: SUCCESS)')
at /opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:313:27
at Queue.execute (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20)
at ZnpAdapterManager.addToGroup (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:450:13)
at ZnpAdapterManager.start (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:97:9)
at Controller.start (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/controller/controller.ts:127:29)
at Zigbee.start (/opt/zigbee2mqtt/lib/zigbee.ts:62:27)
at Controller.start (/opt/zigbee2mqtt/lib/controller.ts:109:27)
at start (/opt/zigbee2mqtt/index.js:107:5)

@nlindblo nlindblo added the problem Something isn't working label Jun 5, 2024
@gitaday
Copy link

gitaday commented Jun 6, 2024

@nlindblo , the issue was "only" that Z2M did not start anymore ? Or you also experienced a crash and a restart of the whole OS / Pi (as it happens in #22925) ?

@nlindblo
Copy link
Author

nlindblo commented Jun 6, 2024

@gitaday Only Z2M, OS intact, above is the log output I could find. I'm basically looking for a hint to what I can troubleshoot before I make another attempt

@smint85
Copy link

smint85 commented Jun 9, 2024

Same issue. Any fix?

@Koenkk
Copy link
Owner

Koenkk commented Jun 9, 2024

Could you try updating your coordinator fw?

@nlindblo
Copy link
Author

coordinator firmware update is not something I done before and I would need to find some time where I can work that through in case it fails. Before I do that, does the log output indicate that this is related to the coordinator ?

@Koenkk
Copy link
Owner

Koenkk commented Jun 15, 2024

Yes, it looks related to the coordinator at first glance

@sbuchanYVR
Copy link

sbuchanYVR commented Jun 18, 2024

rpi 5, HA current prod build,

SONOFF ZigBee 3.0 USB Dongle Plus, EFR32MG21 Coordinator, flashed with Zigbee coordinator firmware based on EZNet 6.10.3. THEN I updated to 7.4.3.0 and ran the tests below .. exact same failure.

  • FAILS - current dev branch (edge) with "zigbee-herdsman-converters": "19.57.0", AND ..
  • FAILS same issue in stable build (1.38.0-1).
  • FAILS while not apparently required when running on a rp5, Hass Os Built, also tried specificing DEVNAME: /dev/ttyACM0

What else can I do? Really need this up and running.

[17:56:08] INFO: Preparing to start...
[17:56:08] INFO: Socat not enabled
[17:56:09] INFO: Starting Zigbee2MQTT...
[2024-06-17 17:56:11] info: z2m: Logging to console, file (filename: log.log)
[2024-06-17 17:56:11] info: z2m: Starting Zigbee2MQTT version 1.38.0-dev (commit #a85d3e4)
[2024-06-17 17:56:11] info: z2m: Starting zigbee-herdsman (0.50.0)
[2024-06-17 17:56:11] error: z2m: Error while starting zigbee-herdsman
[2024-06-17 17:56:11] error: z2m: Failed to start zigbee
[2024-06-17 17:56:11] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-06-17 17:56:11] error: z2m: Exiting...
[2024-06-17 17:56:11] error: z2m: Error: spawn udevadm ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:284:19)
at onErrorNT (node:internal/child_process:477:16)
at processTicksAndRejections (node:internal/process/task_queues:82:21)

2024-06-17_19-41-02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants