hassio-zigbee2mqtt: Backup file coordinator_backup.json is not updated when the addon is restarted

Description of problem: Backup file coordinator_backup.json is not updated when the addon is restarted or stoped. Only UI restart button update the backup file.

Running platform (details from Suypervisor > System)

Add-on: 1.21.0-1
Core: core-2021.7.4
Supervisor: supervisor-2021.06.8
Operating System: Raspbian GNU/Linux 10 (buster)

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 4
  • Comments: 20 (6 by maintainers)

Commits related to this issue

Most upvoted comments

This should be partially fixed now (https://github.com/zigbee2mqtt/hassio-zigbee2mqtt/commit/5fb69e744271487ed0bc333b8148d015b37ad643). However if the backup takes longer than 10 seconds docker will kill the container resulting in no backup.

Can you check if this fixed the issue for you @Enzokot ? (use the edge addon)

Thanks!

Just wanted to let you know that I found a possible solution, will update you probably later this week.