danielwelch / hassio-dropbox-sync

Back up your Hass.io snapshots and other local files to Dropbox
Apache License 2.0
132 stars 37 forks source link

Error deleting old backups when keep_last is set #12

Closed zybron closed 6 years ago

zybron commented 6 years ago

I'm getting the following error below in the log during any execution of the addon. I suspect there may be something I need to do related to the new auth settings in Home Assistant, but I'm not certain what needs to be done.

[Info] keep_last option is set, cleaning up files... Traceback (most recent call last): File "/keep_last.py", line 47, in main(args.number) File "/keep_last.py", line 15, in main snapshot_info.raise_for_status() File "/usr/lib/python3.6/site-packages/requests/models.py", line 935, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: http://hassio/snapshots

zybron commented 6 years ago

Hmm, well, I deleted a bunch of old snapshots manually and my automation ran successfully today. I'm going to assume there may have been some issue with those backup files and mark this closed and reopen if it happens again.