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

Backup upload to cloud failed #134620

Closed
szepzoli opened this issue Jan 4, 2025 · 12 comments
Closed

Backup upload to cloud failed #134620

szepzoli opened this issue Jan 4, 2025 · 12 comments

Comments

@szepzoli
Copy link

szepzoli commented Jan 4, 2025

The problem

After the backup is created, upload to cloud fails.
I have a valid nabu casa subscription.

The backup is successfully saved to NAS.
Screenshot_2025-01-04-08-05-20-089_io homeassistant companion android

What version of Home Assistant Core has the issue?

2025.01

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

No response

Link to integration documentation on our website

No response

Diagnostics information

Logger: hass_nabucasa.cloud_api
Source: components/cloud/backup.py:166
First occurred: January 3, 2025 at 11:34:28 PM (3 occurrences)
Last logged: 4:49:39 AM

Fetched https://servicehandlers.nabucasa.com/files/upload_details (400) NC-SH-FH-03 (1442bdc46f4a4f06acbc91a4ab464a07)
Fetched https://servicehandlers.nabucasa.com/files/upload_details (400) NC-SH-FH-03 (d48629cfdda34c4e98eb6c1e3cf2ed43)
Fetched https://servicehandlers.nabucasa.com/files/upload_details (400) NC-SH-FH-03 (46541fb45d624dd480b7cca74824b209)
Screenshot_2025-01-04-08-01-43-003_io homeassistant companion android

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

home-assistant bot commented Jan 4, 2025

Hey there @home-assistant/cloud, mind taking a look at this issue as it has been labeled with an integration (cloud) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of cloud can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign cloud Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


cloud documentation
cloud source
(message by IssueLinks)

@home-assistant
Copy link

home-assistant bot commented Jan 4, 2025

Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (backup) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of backup can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign backup Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


backup documentation
backup source
(message by IssueLinks)

@mdvickst
Copy link

mdvickst commented Jan 4, 2025

I'm seeing the same thing here.

Logger: hass_nabucasa.cloud_api
Source: components/cloud/backup.py:166
First occurred: January 3, 2025 at 9:27:37 PM (2 occurrences)
Last logged: 4:50:53 AM

Fetched https://servicehandlers.nabucasa.com/files/upload_details (400) NC-SH-FH-03 (e70cd3ec1bcb439ebc8d9667b1d66c16)
Fetched https://servicehandlers.nabucasa.com/files/upload_details (400) NC-SH-FH-03 (a573d59f7dc4479f94fe50fa64ae461b)

@mdvickst
Copy link

mdvickst commented Jan 4, 2025

I noticed the total backup size was 6.3 GB, over the limit so I removed some add-ons from the backup and it successfully stored in both locations.
Screenshot 2025-01-04 at 8 59 51 AM

@snigehere
Copy link

My backup is only 518Mb so below the limit of 5gb
image

@szepzoli
Copy link
Author

szepzoli commented Jan 4, 2025

I think I've found the roof cause of this issue. The size of the backups is more than 5 GB.

If it is the root cause, please close this bug.

@kelddamsbo
Copy link

My backup is under 1 GB, but same failure. If I do it manually at another time it works. Maybe the server is overloaded

@Dan1jel
Copy link

Dan1jel commented Jan 5, 2025

My backup is around 125mb and also failed to upload.

Screenshot_20250105-140628.png

@Geweldich
Copy link

Same issue here with a < 400 MB backup size (https://www.reddit.com/r/homeassistant/s/BbEVqzvyoJ)

@vdhmax
Copy link

vdhmax commented Jan 5, 2025

Same issue here. Backup is working fine locally, but not uploading to the cloud (backup is <100mb)

@mm98
Copy link

mm98 commented Jan 6, 2025

Same issue here. Cloud backup is failing, after the successful first run. Backup is < 200mb.

ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140573254438336] Error handling message: Invalid agents selected: [‘cloud.cloud’] (home_assistant_error)…

image

@ludeeus
Copy link
Member

ludeeus commented Jan 6, 2025

The problem reported here by @szepzoli is indeed by the size of the file.
I see that there now are being added comments for other issues.

Please add your 👍 to an issue matching your problem here or create a new one if it now exists.

@ludeeus ludeeus closed this as completed Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants