core: External backup not working since 2025.6.1 (with debug)

The problem

I logged an issue earlier for this. After restarting everything it was solved. But after one successful automatic backup it failed again. I just enabled debugging, and did a manual automatic backup that also failed. Earlier this week I downgraded to 2025.5.3 and after that the automatic backup worked again.

What version of Home Assistant Core has the issue?

core-2025.6.1

What was the last working version of Home Assistant Core?

core-2025.5.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Probably synology

Link to integration documentation on our website

No response

Diagnostics information

home-assistant_synology_dsm_2025-06-21T13-43-58.496Z.log

Example YAML snippet


Anything in the logs that might be useful for us?


Additional information

I am aware that unifi_firewall_rules.sh fails

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Reactions: 2
  • Comments: 17 (5 by maintainers)

Most upvoted comments

@Revilo91 this is a different issue, please open a new report for this.

However, the current default is 10 seconds, as documented in the upstream project: https://github.com/ProtoThis/py-synologydsm-api#constructor

the actual used library is https://github.com/mib1185/py-synologydsm-api 😉

Would it be possible to either increase the default timeout for uploads, or expose it as a config option?

the actual timeout is already set to total 60s in the integration

https://github.com/home-assistant/core/blob/6f4615f012c3339542a9cc1e4dc24b4a0a99a744/homeassistant/components/synology_dsm/const.py#L53

anyway, as the file upload is streamed to the NAS, it is a constant network “interaction” so no timeout could occur, besides something went wrong on the NAS (5xx errors are always server side issues)


just to ensure, we’re talking about the same situation

  • you’re using the backup location feature of the Synology DSM integration
  • you’re NOT using the network storage feature to mount the NAS into HA as backup location
  • you’ve NOT mapped somehow the backup folder (which you use for the backup location above) into docker container

I accidently removed the mapping in docker

this should not influence the backup location feature of the Synology DSM integration, as this feature communicates with the NAS via its API (it does not do any network storage mount like nfs or smb)

Anyway, the issue is solved 👍 If you need further support on troubleshooting your setup and why it behaves different, I recommend to join the Discord chat server or try the Community Forum.

thx 👍

Update: I think I found the issue. The mapping to /backups was gone … I’ll get back on this later today.

The question remains: why was this not throwing up an error on the previous release. But not relevant for now.

Hi @pven

unfortunately this debug log is a bit to big and covers a wide time range which makes it hard to find the part which shows the failing backup. So please, restart HA at all, enable the debug logging again, trigger the backup and stop the debug logging as soon as the backup fails again. Further please also provide the supervisor log and possible occurring error messages of the backup itself

🔍 Potential duplicate detection

I’ve analyzed similar issues and found the following potential duplicates:

What to do next:

  1. Please review these issues to see if they match your issue
  2. If you find an existing issue that covers your problem:
    • Consider closing this issue
    • Add your findings or 👍 on the existing issue instead
  3. If your issue is different or adds new aspects, please clarify how it differs

This helps keep our issues organized and ensures similar issues are consolidated for better visibility.

This message was generated automatically by our duplicate detection system.