sabeechen / hassio-google-drive-backup

Automatically create and sync Home Assistant backups into Google Drive
MIT License
2.97k stars 181 forks source link

Error while backing up #1034

Open Cm0n89 opened 1 month ago

Cm0n89 commented 1 month ago
Description:
If you have anything else that could help explain what happened, click "Markdown" above and write it here.

Addon version: 0.112.1 Home Assistant Version: 2024.4.3 Supervisor Version: 2024.04.4 Supervisor Channel: stable Hassos Version: 12.2 Docker Version: 25.0.5 Architecture: amd64 Machine: qemux86-64 Date: 2024-05-03T07:12:43.134705+00:00 Timezone: Europe/Stockholm Failure Time: 2024-05-03T07:07:45.084179+00:00 Last Good Sync: 2024-05-03T07:03:35.762693+00:00 Next Sync: 2024-05-03T09:07:45.084179+00:00 Next Backup: 2024-05-03T23:00:00+00:00 Next Cache Warm: 2260-11-21T01:10:45.192572+00:00 Time Offset: 0.0

Exception:

  addon/backup/model/coordinator.py:198 (_sync)
  addon/backup/model/model.py:250 (sync)
  addon/backup/drive/drivesource.py:205 (save)
  addon/backup/drive/driverequests.py:316 (create)
  addon/backup/drive/driverequests.py:388 (retryRequest)
  addon/backup/creds/driverequester.py:33 (request)
  addon/backup/tracing_session.py:39 (_request)
  /site-packages/aiohttp/client.py:601 (_request)
  /site-packages/aiohttp/client_reqrep.py:965 (start)
  /site-packages/aiohttp/streams.py:622 (read)
aiohttp.client_exceptions.ClientOSError: [Errno 104] Connection reset by peer

Backups:

 {
    "HomeAssistant": {
        "backups": 1,
        "retained": 0,
        "deletable": 1,
        "name": "HomeAssistant",
        "title": "Home Assistant",
        "latest": "2024-05-02T23:00:00Z",
        "max": 1,
        "enabled": true,
        "icon": "home-assistant",
        "ignored": 29,
        "detail": "",
        "size": "8.6 GB",
        "ignored_size": "7.1 GB",
        "free_space": "41.6 GB"
    },
    "GoogleDrive": {
        "backups": 3,
        "retained": 0,
        "deletable": 3,
        "name": "GoogleDrive",
        "title": "Google Drive",
        "latest": "2024-05-01T23:00:00Z",
        "max": 3,
        "enabled": true,
        "icon": "google-drive",
        "ignored": 0,
        "detail": "sghkarlsson89@gmail.com",
        "size": "25.7 GB",
        "ignored_size": "0.0 B",
        "free_space": "25.2 GB"
    }
}
Config:
 {
    "Setting.MAX_BACKUPS_IN_HA": 1,
    "Setting.MAX_BACKUPS_IN_GOOGLE_DRIVE": 3,
    "Setting.DAYS_BETWEEN_BACKUPS": 1.0,
    "Setting.BACKUP_TIME_OF_DAY": "01:00",
    "Setting.SEND_ERROR_REPORTS": true
}
Addon Logs:
 05-03 09:05:16 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
05-03 09:05:25 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-05-03 01:00:00 89.68%
05-03 09:05:25 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
05-03 09:05:34 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-05-03 01:00:00 89.79%
05-03 09:05:34 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
05-03 09:05:44 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-05-03 01:00:00 89.90%
05-03 09:05:44 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
05-03 09:05:53 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-05-03 01:00:00 90.02%
05-03 09:05:53 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
05-03 09:06:02 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-05-03 01:00:00 90.13%
05-03 09:06:02 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
05-03 09:06:11 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-05-03 01:00:00 90.24%
05-03 09:06:11 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
05-03 09:06:21 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-05-03 01:00:00 90.36%
05-03 09:06:21 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
05-03 09:06:30 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-05-03 01:00:00 90.47%
05-03 09:06:30 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
05-03 09:06:39 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-05-03 01:00:00 90.59%
05-03 09:06:39 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
05-03 09:06:49 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-05-03 01:00:00 90.70%
05-03 09:06:49 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
05-03 09:06:58 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-05-03 01:00:00 90.81%
05-03 09:06:58 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
05-03 09:07:07 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-05-03 01:00:00 90.93%
05-03 09:07:07 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
05-03 09:07:16 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-05-03 01:00:00 91.04%
05-03 09:07:16 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
05-03 09:07:45 ERROR [backup.model.coordinator] 
  addon/backup/model/coordinator.py:198 (_sync)
  addon/backup/model/model.py:250 (sync)
  addon/backup/drive/drivesource.py:205 (save)
  addon/backup/drive/driverequests.py:316 (create)
  addon/backup/drive/driverequests.py:388 (retryRequest)
  addon/backup/creds/driverequester.py:33 (request)
  addon/backup/tracing_session.py:39 (_request)
  /site-packages/aiohttp/client.py:601 (_request)
  /site-packages/aiohttp/client_reqrep.py:965 (start)
  /site-packages/aiohttp/streams.py:622 (read)
aiohttp.client_exceptions.ClientOSError: [Errno 104] Connection reset by peer

05-03 09:07:45 INFO [backup.model.coordinator] I'll try again in 2 hours
05-03 09:07:51 INFO [backup.debugworker] Sending error report (see settings to disable)
Supervisor Logs:
 2024-05-03 09:07:41.375 WARNING (MainThread) [supervisor.addons.options] Option 'homeassistant' does not exist in the schema for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:07:41.375 WARNING (MainThread) [supervisor.addons.options] Option 'permit_join' does not exist in the schema for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:07:41.375 WARNING (MainThread) [supervisor.addons.options] Option 'advanced' does not exist in the schema for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:07:41.375 WARNING (MainThread) [supervisor.addons.options] Option 'device_options' does not exist in the schema for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:07:41.375 WARNING (MainThread) [supervisor.addons.options] Option 'blocklist' does not exist in the schema for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:07:41.375 WARNING (MainThread) [supervisor.addons.options] Option 'passlist' does not exist in the schema for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:07:41.375 WARNING (MainThread) [supervisor.addons.options] Option 'queue' does not exist in the schema for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:07:41.375 WARNING (MainThread) [supervisor.addons.options] Option 'frontend' does not exist in the schema for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:07:41.375 WARNING (MainThread) [supervisor.addons.options] Option 'experimental' does not exist in the schema for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:07:41.375 WARNING (MainThread) [supervisor.addons.options] Option 'availability' does not exist in the schema for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:07:43.340 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'mqtt_user'
2024-05-03 09:07:43.558 INFO (MainThread) [supervisor.auth] Successful login for 'mqtt_user'
2024-05-03 09:08:00.861 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'homeassistant'
2024-05-03 09:08:01.081 INFO (MainThread) [supervisor.auth] Successful login for 'homeassistant'
2024-05-03 09:12:41.377 WARNING (MainThread) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:12:41.377 WARNING (MainThread) [supervisor.addons.options] Option 'external_converters' does not exist in the schema for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:12:41.377 WARNING (MainThread) [supervisor.addons.options] Option 'devices' does not exist in the schema for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:12:41.377 WARNING (MainThread) [supervisor.addons.options] Option 'groups' does not exist in the schema for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:12:41.377 WARNING (MainThread) [supervisor.addons.options] Option 'homeassistant' does not exist in the schema for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:12:41.377 WARNING (MainThread) [supervisor.addons.options] Option 'permit_join' does not exist in the schema for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:12:41.377 WARNING (MainThread) [supervisor.addons.options] Option 'advanced' does not exist in the schema for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:12:41.377 WARNING (MainThread) [supervisor.addons.options] Option 'device_options' does not exist in the schema for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:12:41.377 WARNING (MainThread) [supervisor.addons.options] Option 'blocklist' does not exist in the schema for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:12:41.377 WARNING (MainThread) [supervisor.addons.options] Option 'passlist' does not exist in the schema for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:12:41.377 WARNING (MainThread) [supervisor.addons.options] Option 'queue' does not exist in the schema for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:12:41.377 WARNING (MainThread) [supervisor.addons.options] Option 'frontend' does not exist in the schema for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:12:41.377 WARNING (MainThread) [supervisor.addons.options] Option 'experimental' does not exist in the schema for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:12:41.377 WARNING (MainThread) [supervisor.addons.options] Option 'availability' does not exist in the schema for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 09:12:43.140 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/logs access from cebe7a76_hassio_google_drive_backup
Home Assistant Core Logs:
 2024-05-03 09:05:10.275 WARNING (MainThread) [homeassistant.helpers.service] Referenced devices 38551ddac2dc1f097268388929de849b, entities switch.shelly_shellyplus1_3c610572fa8c are missing or not currently available
2024-05-03 09:05:10.276 WARNING (MainThread) [homeassistant.helpers.service] Referenced devices 38551ddac2dc1f097268388929de849b, entities switch.shelly_shellyplus1_3c610572fa8c are missing or not currently available
2024-05-03 09:05:10.277 WARNING (MainThread) [homeassistant.helpers.service] Referenced devices 38551ddac2dc1f097268388929de849b, entities switch.shelly_shellyplus1_3c610572fa8c are missing or not currently available
2024-05-03 09:05:10.291 WARNING (MainThread) [homeassistant.helpers.service] Referenced devices 38551ddac2dc1f097268388929de849b, entities switch.shelly_shellyplus1_3c610572fa8c are missing or not currently available
2024-05-03 09:05:10.292 WARNING (MainThread) [homeassistant.helpers.service] Referenced devices 38551ddac2dc1f097268388929de849b, entities switch.shelly_shellyplus1_3c610572fa8c are missing or not currently available
2024-05-03 09:05:28.440 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='')
2024-05-03 09:05:30.931 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='')
2024-05-03 09:06:23.439 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='')
2024-05-03 09:07:01.937 WARNING (MainThread) [homeassistant.components.mqtt.client] Can't decode payload b'{"name":"F750Prio driftl\xe4ge","stat_t":"8cce4efb7cb4/HP/2D01", "uniq_id":"HP-2D01"}' on homeassistant/sensor/HP/2D01/config with encoding utf-8 (for <Job None HassJobType.Callback functools.partial(<function _callback_wrapper at 0x7f21bad505e0>, <function async_start.<locals>.async_discovery_message_received at 0x7f218b25f7e0>, <function async_subscribe.<locals>.<lambda> at 0x7f2176160d60>)>)
2024-05-03 09:07:01.946 WARNING (MainThread) [homeassistant.components.mqtt.client] Can't decode payload b'{"name":"F750V\xe4rmeb\xe4rarpump","stat_t":"8cce4efb7cb4/HP/3D08", "uniq_id":"HP-3D08","ic":"mdi:flash", "unit_of_meas":"%"}' on homeassistant/sensor/HP/3D08/config with encoding utf-8 (for <Job None HassJobType.Callback functools.partial(<function _callback_wrapper at 0x7f21bad505e0>, <function async_start.<locals>.async_discovery_message_received at 0x7f218b25f7e0>, <function async_subscribe.<locals>.<lambda> at 0x7f2176160d60>)>)
2024-05-03 09:07:01.947 WARNING (MainThread) [homeassistant.components.mqtt.client] Can't decode payload b'{"name":"F750Luftfl\xf6de","stat_t":"8cce4efb7cb4/HP/ED09", "uniq_id":"HP-ED09"}' on homeassistant/sensor/HP/ED09/config with encoding utf-8 (for <Job None HassJobType.Callback functools.partial(<function _callback_wrapper at 0x7f21bad505e0>, <function async_start.<locals>.async_discovery_message_received at 0x7f218b25f7e0>, <function async_subscribe.<locals>.<lambda> at 0x7f2176160d60>)>)
2024-05-03 09:07:01.970 WARNING (MainThread) [homeassistant.components.mqtt.client] Can't decode payload b'{"name":"F750Periodisk h\xf6jning","stat_t":"8cce4efb7cb4/HP/2D0B", "uniq_id":"HP-2D0B"}' on homeassistant/sensor/HP/2D0B/config with encoding utf-8 (for <Job None HassJobType.Callback functools.partial(<function _callback_wrapper at 0x7f21bad505e0>, <function async_start.<locals>.async_discovery_message_received at 0x7f218b25f7e0>, <function async_subscribe.<locals>.<lambda> at 0x7f2176160d60>)>)
2024-05-03 09:07:18.437 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='')
2024-05-03 09:07:35.053 WARNING (MainThread) [homeassistant.components.androidtv_remote] Disconnected from Vardagsrum CC at 192.168.68.149
2024-05-03 09:07:36.524 ERROR (MainThread) [homeassistant.components.broadlink.updater] Error fetching Broadlink (RM4 mini at 192.168.68.118) data: [Errno -4000] Network timeout: No response received within 10s
2024-05-03 09:07:37.805 WARNING (Thread-6) [pychromecast.socket_client] [Vardagsrum CC(192.168.68.149):8009] Heartbeat timeout, resetting connection
2024-05-03 09:07:38.447 ERROR (Thread-5) [pychromecast.socket_client] [Sovrum 1(192.168.68.128):8009] Error reading from socket.
2024-05-03 09:07:38.447 WARNING (Thread-5) [pychromecast.socket_client] [Sovrum 1(192.168.68.128):8009] Error communicating with socket, resetting connection
2024-05-03 09:07:41.658 WARNING (MainThread) [aioesphomeapi.connection] slimmelezer @ 192.168.68.139: Connection error occurred: slimmelezer @ 192.168.68.139: EOF received
2024-05-03 09:08:01.931 WARNING (MainThread) [homeassistant.components.mqtt.client] Can't decode payload b'{"name":"F750Prio driftl\xe4ge","stat_t":"8cce4efb7cb4/HP/2D01", "uniq_id":"HP-2D01"}' on homeassistant/sensor/HP/2D01/config with encoding utf-8 (for <Job None HassJobType.Callback functools.partial(<function _callback_wrapper at 0x7f21bad505e0>, <function async_start.<locals>.async_discovery_message_received at 0x7f218b25f7e0>, <function async_subscribe.<locals>.<lambda> at 0x7f2176160d60>)>)
2024-05-03 09:08:01.949 WARNING (MainThread) [homeassistant.components.mqtt.client] Can't decode payload b'{"name":"F750V\xe4rmeb\xe4rarpump","stat_t":"8cce4efb7cb4/HP/3D08", "uniq_id":"HP-3D08","ic":"mdi:flash", "unit_of_meas":"%"}' on homeassistant/sensor/HP/3D08/config with encoding utf-8 (for <Job None HassJobType.Callback functools.partial(<function _callback_wrapper at 0x7f21bad505e0>, <function async_start.<locals>.async_discovery_message_received at 0x7f218b25f7e0>, <function async_subscribe.<locals>.<lambda> at 0x7f2176160d60>)>)
2024-05-03 09:08:01.949 WARNING (MainThread) [homeassistant.components.mqtt.client] Can't decode payload b'{"name":"F750Luftfl\xf6de","stat_t":"8cce4efb7cb4/HP/ED09", "uniq_id":"HP-ED09"}' on homeassistant/sensor/HP/ED09/config with encoding utf-8 (for <Job None HassJobType.Callback functools.partial(<function _callback_wrapper at 0x7f21bad505e0>, <function async_start.<locals>.async_discovery_message_received at 0x7f218b25f7e0>, <function async_subscribe.<locals>.<lambda> at 0x7f2176160d60>)>)
2024-05-03 09:08:01.950 WARNING (MainThread) [homeassistant.components.mqtt.client] Can't decode payload b'{"name":"F750Periodisk h\xf6jning","stat_t":"8cce4efb7cb4/HP/2D0B", "uniq_id":"HP-2D0B"}' on homeassistant/sensor/HP/2D0B/config with encoding utf-8 (for <Job None HassJobType.Callback functools.partial(<function _callback_wrapper at 0x7f21bad505e0>, <function async_start.<locals>.async_discovery_message_received at 0x7f218b25f7e0>, <function async_subscribe.<locals>.<lambda> at 0x7f2176160d60>)>)
2024-05-03 09:08:13.436 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='')
2024-05-03 09:09:08.436 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='')
2024-05-03 09:10:03.450 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='')
2024-05-03 09:10:30.969 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='')
2024-05-03 09:10:58.434 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='')
2024-05-03 09:11:53.435 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='')