Skip to content

Unifi Network Application - Errors upon Home Assistant Backup #144790

@awraeven

Description

@awraeven

The problem

Whenever Home Assistant is making a backup, the application is shutdown.
This has been happening since a long time, not specific to the current HA version.

In the supervisor logs I do see that HA shuts down the addon to make the backup.
Is a cold shutdown really required?

025-04-10 05:02:20.862 INFO (MainThread) [supervisor.backups.manager] Backup 04ec8a43 starting stage addons
2025-04-10 05:02:20.899 INFO (MainThread) [supervisor.addons.addon] Shutdown add-on a0d7b954_unifi for cold backup
2025-04-10 05:02:20.927 INFO (SyncWorker_0) [supervisor.docker.manager] Stopping addon_a0d7b954_unifi application
2025-04-10 05:02:33.251 INFO (SyncWorker_0) [supervisor.docker.manager] Cleaning addon_a0d7b954_unifi application
2025-04-10 05:02:33.429 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on a0d7b954_unifi
2025-04-10 05:03:53.643 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon a0d7b954_unifi
2025-04-10 05:03:53.644 INFO (MainThread) [supervisor.addons.addon] Starting add-on a0d7b954_unifi again

I however would like to prevent these errors from showing up in the HA log at this time, it clutters the log file.
Any idea how?

Logger: homeassistant.components.unifi
Source: components/unifi/hub/entity_loader.py:99
integration: UniFi Network (documentation, issues)
First occurred: 05:02:25 (34 occurrences)
Last logged: 05:08:50

Exception on update Error requesting data from https://<IP>:8443/v2/api/site/isuv26tf/trafficrules: Cannot connect to host <IP>:8443 ssl:False [Connect call failed ('<IP>', 8443)]
Exception on update Error requesting data from https://<IP>:8443/v2/api/site/isuv26tf/trafficroutes: Cannot connect to host <IP>:8443 ssl:False [Connect call failed ('<IP>', 8443)]
Exception on update Call https://<IP>:8443/proxy/network/v2/api/site/isuv26tf/trafficrules received 404 Not Found
Exception on update Call https://<IP>:8443/proxy/network/v2/api/site/isuv26tf/trafficroutes received 404 Not Found

What version of Home Assistant Core has the issue?

2025.5.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

unifi

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions