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

docker in restart loop after possible unsafe reboot of rasberrypi host #24901

Open
simowilso opened this issue Nov 24, 2024 · 4 comments
Open
Labels
problem Something isn't working

Comments

@simowilso
Copy link

What happened?

powercut - after power restored the z2mqtt is constantly restarting

What did you expect to happen?

the docker to restart without issue

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.41.0

Adapter firmware version

cant access this right now but it's fairly recent (< 3 months)

Adapter

sonoff stick

Setup

plain docker

Debug log

[2024-11-24 13:42:12] debug: zh:zstack:unpi:parser: --- parseNext []
[2024-11-24 13:42:12] debug: zh:zstack:znp: SREQ: --> SYS - nvLength - {"sysid":1,"itemid":7,"subid":5}
[2024-11-24 13:42:12] debug: zh:zstack:unpi:writer: --> frame [254,5,33,50,1,7,0,5,0,21]
[2024-11-24 13:42:12] debug: zh:zstack:unpi:parser: <-- [254,4,97,50,0,0,0,0,87]
[2024-11-24 13:42:12] debug: zh:zstack:unpi:parser: --- parseNext [254,4,97,50,0,0,0,0,87]
[2024-11-24 13:42:12] debug: zh:zstack:unpi:parser: --> parsed 4 - 3 - 1 - 50 - [0,0,0,0] - 87
[2024-11-24 13:42:12] debug: zh:zstack:znp: SRSP: <-- SYS - nvLength - {"len":0}
[2024-11-24 13:42:12] debug: zh:zstack:unpi:parser: --- parseNext []
[2024-11-24 13:42:12] debug: zh:zstack:backup: fetched adapter network security material table (capacity=2, used=2)
[2024-11-24 13:42:12] debug: zh:zstack:backup: Following devices with link key are missing from new backup but present in old backup and database, adding them back:
[2024-11-24 13:42:12] info: zh:controller: Wrote coordinator backup to '/app/data/coordinator_backup.json'
[2024-11-24 13:42:12] info: zh:zstack:znp: closing
[2024-11-24 13:42:12] info: zh:zstack:znp: Port closed
[2024-11-24 13:42:12] info: z2m: Stopped zigbee-herdsman

@simowilso simowilso added the problem Something isn't working label Nov 24, 2024
@simowilso
Copy link
Author

Could it be a problem with the stick? Unfortunately the system is remote so I can't unplug/replug it, nor power off/on the whole system.

@simowilso
Copy link
Author

Ok I've travelled to the site where this problem is - tried unplugging/replugging the sonoff stick and I'm still getting the error.

Any clues how I can recover this please @Koenkk ? I'm a bit desperate, and in the dark (literally :) )

@simowilso
Copy link
Author

I've just seen this, perhaps related, so I am currently applying latest ubuntu updates to the rpi5 #23960

@simowilso
Copy link
Author

.......and, still the same

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

1 participant