Google Drive HA backup addon failing to sync
See original GitHub issueDescription:
If you have anything else that could help explain what happened, click "Markdown" above and write it here.
Addon version: 0.101.3
Home Assistant Version: 2022.6.7
Supervisor Version: 2022.06.2
Supervisor Channel: stable
Hassos Version: 8.2
Docker Version: 20.10.14
Architecture: aarch64
Machine: raspberrypi4-64
Date: 2022-07-07T07:36:25.379825+00:00
Timezone: Africa/Johannesburg
Failure Time: 2022-07-07T07:34:34.577141+00:00
Last Good Sync: 2022-07-07T07:34:34.557556+00:00
Exception:
addon/backup/model/coordinator.py:148 (_sync)
addon/backup/model/model.py:133 (sync)
addon/backup/model/model.py:216 (_syncSnapshots)
addon/backup/ha/hasource.py:221 (get)
addon/backup/ha/harequests.py:26 (wrap_and_call)
addon/backup/ha/harequests.py:103 (snapshots)
addon/backup/ha/harequests.py:26 (wrap_and_call)
addon/backup/ha/harequests.py:208 (_getHassioData)
addon/backup/ha/harequests.py:175 (_validateHassioReply)
/site-packages/aiohttp/client_reqrep.py:941 (raise_for_status)
aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('http://hassio/snapshots')
Snapshots:
{
"HomeAssistant": {
"snapshots": 0,
"retained": 0,
"deletable": 0,
"name": "HomeAssistant",
"latest": null,
"size": "0.0 B"
},
"GoogleDrive": {
"snapshots": 0,
"retained": 0,
"deletable": 0,
"name": "GoogleDrive",
"latest": null,
"size": "0.0 B"
}
}
Config:
{
"Setting.MAX_SNAPSHOTS_IN_HASSIO": 6,
"Setting.MAX_SNAPSHOTS_IN_GOOGLE_DRIVE": 10,
"Setting.DAYS_BETWEEN_SNAPSHOTS": 1.0,
"Setting.SNAPSHOT_TIME_OF_DAY": "02:00",
"Setting.SNAPSHOT_PASSWORD": "REDACTED",
"Setting.EXCLUDE_ADDONS": "a0d7b954_influxdb",
"Setting.SEND_ERROR_REPORTS": true
}
Addon Logs:
07-07 09:29:41 DEBUG [backup.ha.harequests] Making Hassio request: http://hassio/supervisor/info
07-07 09:30:16 DEBUG [backup.ha.harequests] Making Hassio request: http://hassio/addons/self/options
07-07 09:30:16 INFO [backup.model.coordinator] Syncing Snapshots
07-07 09:30:16 DEBUG [backup.ha.harequests] Making Hassio request: http://hassio/snapshots
07-07 09:30:16 ERROR [backup.model.coordinator]
addon/backup/model/coordinator.py:148 (_sync)
addon/backup/model/model.py:133 (sync)
addon/backup/model/model.py:216 (_syncSnapshots)
addon/backup/ha/hasource.py:221 (get)
addon/backup/ha/harequests.py:26 (wrap_and_call)
addon/backup/ha/harequests.py:103 (snapshots)
addon/backup/ha/harequests.py:26 (wrap_and_call)
addon/backup/ha/harequests.py:208 (_getHassioData)
addon/backup/ha/harequests.py:175 (_validateHassioReply)
/site-packages/aiohttp/client_reqrep.py:941 (raise_for_status)
aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('http://hassio/snapshots')
07-07 09:30:16 INFO [backup.model.coordinator] I'll try again in an hour
07-07 09:30:40 INFO [backup.model.coordinator] Syncing Snapshots
07-07 09:30:40 DEBUG [backup.ha.harequests] Making Hassio request: http://hassio/snapshots
07-07 09:30:40 ERROR [backup.model.coordinator]
addon/backup/model/coordinator.py:148 (_sync)
addon/backup/model/model.py:133 (sync)
addon/backup/model/model.py:216 (_syncSnapshots)
addon/backup/ha/hasource.py:221 (get)
addon/backup/ha/harequests.py:26 (wrap_and_call)
addon/backup/ha/harequests.py:103 (snapshots)
addon/backup/ha/harequests.py:26 (wrap_and_call)
addon/backup/ha/harequests.py:208 (_getHassioData)
addon/backup/ha/harequests.py:175 (_validateHassioReply)
/site-packages/aiohttp/client_reqrep.py:941 (raise_for_status)
aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('http://hassio/snapshots')
07-07 09:30:40 INFO [backup.model.coordinator] I'll try again in an hour
07-07 09:30:53 INFO [backup.model.coordinator] Syncing Snapshots
07-07 09:30:53 DEBUG [backup.ha.harequests] Making Hassio request: http://hassio/snapshots
07-07 09:30:53 ERROR [backup.model.coordinator]
addon/backup/model/coordinator.py:148 (_sync)
addon/backup/model/model.py:133 (sync)
addon/backup/model/model.py:216 (_syncSnapshots)
addon/backup/ha/hasource.py:221 (get)
addon/backup/ha/harequests.py:26 (wrap_and_call)
addon/backup/ha/harequests.py:103 (snapshots)
addon/backup/ha/harequests.py:26 (wrap_and_call)
addon/backup/ha/harequests.py:208 (_getHassioData)
addon/backup/ha/harequests.py:175 (_validateHassioReply)
/site-packages/aiohttp/client_reqrep.py:941 (raise_for_status)
aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('http://hassio/snapshots')
07-07 09:30:53 INFO [backup.model.coordinator] I'll try again in an hour
07-07 09:31:22 INFO [backup.model.coordinator] Syncing Snapshots
07-07 09:31:22 DEBUG [backup.ha.harequests] Making Hassio request: http://hassio/snapshots
07-07 09:31:22 ERROR [backup.model.coordinator]
addon/backup/model/coordinator.py:148 (_sync)
addon/backup/model/model.py:133 (sync)
addon/backup/model/model.py:216 (_syncSnapshots)
addon/backup/ha/hasource.py:221 (get)
addon/backup/ha/harequests.py:26 (wrap_and_call)
addon/backup/ha/harequests.py:103 (snapshots)
addon/backup/ha/harequests.py:26 (wrap_and_call)
addon/backup/ha/harequests.py:208 (_getHassioData)
addon/backup/ha/harequests.py:175 (_validateHassioReply)
/site-packages/aiohttp/client_reqrep.py:941 (raise_for_status)
aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('http://hassio/snapshots')
07-07 09:31:22 INFO [backup.model.coordinator] I'll try again in an hour
07-07 09:33:58 INFO [backup.drive.drivesource] Saving new Google Drive credentials
07-07 09:33:58 DEBUG [backup.model.syncer] Sync requested by GoogleDrive
07-07 09:33:58 INFO [backup.model.coordinator] Syncing Snapshots
07-07 09:33:58 DEBUG [backup.ha.harequests] Making Hassio request: http://hassio/snapshots
07-07 09:33:58 ERROR [backup.model.coordinator]
addon/backup/model/coordinator.py:148 (_sync)
addon/backup/model/model.py:133 (sync)
addon/backup/model/model.py:216 (_syncSnapshots)
addon/backup/ha/hasource.py:221 (get)
addon/backup/ha/harequests.py:26 (wrap_and_call)
addon/backup/ha/harequests.py:103 (snapshots)
addon/backup/ha/harequests.py:26 (wrap_and_call)
addon/backup/ha/harequests.py:208 (_getHassioData)
addon/backup/ha/harequests.py:175 (_validateHassioReply)
/site-packages/aiohttp/client_reqrep.py:941 (raise_for_status)
aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('http://hassio/snapshots')
07-07 09:33:58 INFO [backup.model.coordinator] I'll try again in an hour
07-07 09:34:34 INFO [backup.drive.drivesource] Saving new Google Drive credentials
07-07 09:34:34 DEBUG [backup.model.syncer] Sync requested by GoogleDrive
07-07 09:34:34 INFO [backup.model.coordinator] Syncing Snapshots
07-07 09:34:34 DEBUG [backup.ha.harequests] Making Hassio request: http://hassio/snapshots
07-07 09:34:34 ERROR [backup.model.coordinator]
addon/backup/model/coordinator.py:148 (_sync)
addon/backup/model/model.py:133 (sync)
addon/backup/model/model.py:216 (_syncSnapshots)
addon/backup/ha/hasource.py:221 (get)
addon/backup/ha/harequests.py:26 (wrap_and_call)
addon/backup/ha/harequests.py:103 (snapshots)
addon/backup/ha/harequests.py:26 (wrap_and_call)
addon/backup/ha/harequests.py:208 (_getHassioData)
addon/backup/ha/harequests.py:175 (_validateHassioReply)
/site-packages/aiohttp/client_reqrep.py:941 (raise_for_status)
aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('http://hassio/snapshots')
07-07 09:34:34 INFO [backup.model.coordinator] I'll try again in an hour
Supervisor Logs:
[33m22-07-07 09:25:53 WARNING (SyncWorker_6) [supervisor.docker.addon] Portainer running with disabled protected mode![0m
[32m22-07-07 09:25:53 INFO (SyncWorker_6) [supervisor.docker.interface] Cleaning addon_a0d7b954_portainer application[0m
[32m22-07-07 09:25:54 INFO (SyncWorker_6) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/portainer/aarch64 with version 2.0.0[0m
[33m22-07-07 09:28:10 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)[0m
[33m22-07-07 09:28:10 WARNING (MainThread) [supervisor.addons.options] Option 'dark_mode' does not exist in the schema for Node-RED (a0d7b954_nodered)[0m
[33m22-07-07 09:28:10 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered)[0m
[33m22-07-07 09:28:10 WARNING (MainThread) [supervisor.addons.options] Option 'contextStorage' does not exist in the schema for Node-RED (a0d7b954_nodered)[0m
[32m22-07-07 09:29:16 INFO (MainThread) [supervisor.api.middleware.security] /core/info access from cebe7a76_hassio_google_drive_backup[0m
[32m22-07-07 09:29:16 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup[0m
[32m22-07-07 09:29:16 INFO (MainThread) [supervisor.api.middleware.security] /snapshots/new/partial access from cebe7a76_hassio_google_drive_backup[0m
[32m22-07-07 09:29:16 INFO (MainThread) [supervisor.api.middleware.security] /snapshots access from cebe7a76_hassio_google_drive_backup[0m
[32m22-07-07 09:29:41 INFO (MainThread) [supervisor.api.middleware.security] /core/info access from cebe7a76_hassio_google_drive_backup[0m
[32m22-07-07 09:29:41 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup[0m
[32m22-07-07 09:30:16 INFO (MainThread) [supervisor.api.middleware.security] /snapshots access from cebe7a76_hassio_google_drive_backup[0m
[32m22-07-07 09:30:40 INFO (MainThread) [supervisor.api.middleware.security] /snapshots access from cebe7a76_hassio_google_drive_backup[0m
[32m22-07-07 09:30:53 INFO (MainThread) [supervisor.api.middleware.security] /snapshots access from cebe7a76_hassio_google_drive_backup[0m
[32m22-07-07 09:31:22 INFO (MainThread) [supervisor.api.middleware.security] /snapshots access from cebe7a76_hassio_google_drive_backup[0m
[33m22-07-07 09:31:25 WARNING (MainThread) [supervisor.misc.tasks] Watchdog found a problem with a0d7b954_portainer![0m
[33m22-07-07 09:31:26 WARNING (SyncWorker_7) [supervisor.docker.addon] Portainer running with disabled protected mode![0m
[32m22-07-07 09:31:26 INFO (SyncWorker_7) [supervisor.docker.interface] Cleaning addon_a0d7b954_portainer application[0m
[32m22-07-07 09:31:27 INFO (SyncWorker_7) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/portainer/aarch64 with version 2.0.0[0m
[33m22-07-07 09:33:14 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)[0m
[33m22-07-07 09:33:14 WARNING (MainThread) [supervisor.addons.options] Option 'dark_mode' does not exist in the schema for Node-RED (a0d7b954_nodered)[0m
[33m22-07-07 09:33:14 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered)[0m
[33m22-07-07 09:33:14 WARNING (MainThread) [supervisor.addons.options] Option 'contextStorage' does not exist in the schema for Node-RED (a0d7b954_nodered)[0m
[33m22-07-07 09:33:45 WARNING (MainThread) [supervisor.api.ingress] No valid ingress session None[0m
[32m22-07-07 09:33:58 INFO (MainThread) [supervisor.api.middleware.security] /snapshots access from cebe7a76_hassio_google_drive_backup[0m
[32m22-07-07 09:34:34 INFO (MainThread) [supervisor.api.middleware.security] /snapshots access from cebe7a76_hassio_google_drive_backup[0m
[32m22-07-07 09:36:25 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/logs access from cebe7a76_hassio_google_drive_backup[0m
Home Assistant Core Logs:
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 3202 100 3202 0 0 115k 0 --:--:-- --:--:-- --:--:-- 120k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 3202 100 3202 0 0 230k 0 --:--:-- --:--:-- --:--:-- 240k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 3202 100 3202 0 0 103k 0 --:--:-- --:--:-- --:--:-- 107k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 3202 100 3202 0 0 218k 0 --:--:-- --:--:-- --:--:-- 240k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 3202 100 3202 0 0 96740 0 --:--:-- --:--:-- --:--:-- 97k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 3202 100 3202 0 0 136k 0 --:--:-- --:--:-- --:--:-- 142k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 3202 100 3202 0 0 242k 0 --:--:-- --:--:-- --:--:-- 260k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 3202 100 3202 0 0 225k 0 --:--:-- --:--:-- --:--:-- 240k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 3202 100 3202 0 0 222k 0 --:--:-- --:--:-- --:--:-- 240k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 3202 100 3202 0 0 237k 0 --:--:-- --:--:-- --:--:-- 260k
Issue Analytics
- State:
- Created a year ago
- Comments:8
Top Results From Across the Web
Read-only file is failing my sync · Issue #511 - GitHub
An unexpected error occurred: [Errno 30] Read-only file system: '/data/data_cache.json'. addon/backup/model/coordinator.py:176 (_sync)
Read more >Add-on: Home Assistant Google Drive Backup - #653 by PanMat
2 and seems that the add-on keeps failing due to “Google Drive is full” but at the same time shows correctly the free...
Read more >20 Ways to Solve Google Drive Does Not Sync All Files and ...
Solution 1 - Pause and Resume Google Drive; Solution 2 - Restart Google Sync; Solution 3 - Run Google Backup App as Administrator;...
Read more >How to automatically backup Home Assistant to Google Drive
In this video, I will show you how to set up automatic backups and send copies of the backups to Google Drive. So...
Read more >hassio-google-drive-backup - Bountysource
I seem to be stuck in a loop where HA keeps running a backup and I have plenty of room on my Google...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Go to add on store in home assistant, click 3 dots upper right corner, add this repo: https://github.com/sabeechen/hassio-google-drive-backup Click install, then search for Google Drive backup, click it and then click update. Should work!
Thank you!!