#addons keep restarting by watchdog every 2 minutes after upgrade to 2024.12.0
1 messages · Page 1 of 1 (latest)
Check the supervisor logs.
The supervisor log only say
Watchdog found addon Zigbee2MQTT is failed, restarting...
These are the log when I start z2m without turning on watchdog. These are the logs right before the add-on stopped by itself
Zigbee2MQTT Log:
[17:53:18] INFO: Preparing to start...
[17:53:20] INFO: Socat not enabled
[17:53:21] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-12-06 17:54:05] info: z2m: Logging to console, file (filename: log.log)
[2024-12-06 17:54:05] info: z2m: Starting Zigbee2MQTT version 1.42.0 (commit #unknown)
[2024-12-06 17:54:05] info: z2m: Starting zigbee-herdsman (2.1.9)
[2024-12-06 17:54:08] info: zh:ember: Using default stack config.
[2024-12-06 17:54:08] info: zh:ember: ======== Ember Adapter Starting ========
[2024-12-06 17:54:08] info: zh:ember:ezsp: ======== EZSP starting ========
[2024-12-06 17:54:08] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2024-12-06 17:54:08] info: zh:ember:uart:ash: RTS/CTS config is off, enabling software flow control.
[2024-12-06 17:54:08] info: zh:ember:uart:ash: Serial port opened
[2024-12-06 17:54:08] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-12-06 17:54:09] info: zh:ember:uart:ash: ======== ASH connected ========
[2024-12-06 17:54:09] info: zh:ember:uart:ash: ======== ASH started ========
[2024-12-06 17:54:09] info: zh:ember:ezsp: ======== EZSP started ========
[2024-12-06 17:54:09] info: zh:ember: Adapter version info: {"ezsp":14,"revision":"8.0.2 [GA]","build":397,"major":8,"minor":0,"patch":2,"special":0,"type":170}
[2024-12-06 17:54:10] info: zh:ember: [STACK STATUS] Network up.
[2024-12-06 17:54:10] info: zh:ember: [INIT TC] Adapter network matches config.
[2024-12-06 17:54:10] info: zh:ember: [CONCENTRATOR] Started source route discovery. 1246ms until next broadcast.
[2024-12-06 17:54:10] info: z2m: zigbee-herdsman started (resumed)
[2024-12-06 17:54:10] info: z2m: Coordinator firmware version: '{"meta":{"build":397,"ezsp":14,"major":8,"minor":0,"patch":2,"revision":"8.0.2 [GA]","special":0,"type":170},"type":"EmberZNet"}'
[2024-12-06 17:54:10] info: z2m: 0x54ef441000bff757 (0x54ef441000bff757): WXKG15LM - Aqara Wireless remote switch H1 (double rocker) (EndDevice)
[2024-12-06 17:54:10] info: z2m: 0x54ef4410006773ae (0x54ef4410006773ae): ZNCLBL01LM - Aqara Curtain driver E1 (EndDevice)
[2024-12-06 17:54:10] info: z2m: Currently 2 devices are joined.
[2024-12-06 17:54:10] info: z2m: Zigbee: disabling joining new devices.
[2024-12-06 17:54:11] info: z2m: Connecting to MQTT server at mqtt://core-mosquitto:1883
Supervisor log:
2024-12-06 17:52:36.452 INFO (SyncWorker_1) [supervisor.docker.manager] Cleaning addon_45df7312_zigbee2mqtt application
2024-12-06 17:53:20.117 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on zigbee2mqtt/zigbee2mqtt-aarch64 with version 1.42.0-2
2024-12-06 17:54:11.561 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from core_matter_server
2024-12-06 17:54:18.900 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'mqtt_acc'
2024-12-06 17:54:19.518 INFO (MainThread) [supervisor.auth] Successful login for 'mqtt_acc'
I guess thats due to memory leak. I found a video that teach how to create swap and seems no longer happens after following that.
https://www.youtube.com/watch?v=IvtnCB-I4dw
#homeassistant #howto #ideas
How to Increase Ram Size in Home Assistant and get rid of High memory usage.
Invitation Link to join my Exclusive membership:
https://www.youtube.com/channel/UCXRNO_06vrZ7MGvQvWZPQ3Q/join
First Method codes:
if [ ! -f /backup/_swap.swap ]; then fallocate -l 2G /backup/_swap.swap &&
mkswap /backup/_swap.swap...
The host logs would show that.