Sebclem / hassio-nextcloud-backup

Hass.io Add-on: Backup your snapshots to Nextcloud
GNU General Public License v3.0
126 stars 20 forks source link

backup completes but uploads to nextcloud with 0 bytes #8 #136

Closed Johnyboy1984 closed 2 years ago

Johnyboy1984 commented 2 years ago

Describe the bug Backup completes but uploads a 0 bytes corupt archive to nextcloud, here is the log: Nextcloud Backup [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] 10-run: applying... [fix-attrs.d] 10-run: exited 1. [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 00-banner.sh: executing...

Add-on: Nextcloud Backup Easily upload your Home Assistant backups to Nextcloud

Add-on version: 0.17.2 You are running the latest version of this add-on. System: Home Assistant OS 7.6 (armv7 / raspberrypi4) Home Assistant Core: 2022.4.7 Home Assistant Supervisor: 2022.05.0

Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.

[cont-init.d] 00-banner.sh: exited 0. [cont-init.d] 01-log-level.sh: executing... Log level is set to INFO [cont-init.d] 01-log-level.sh: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. [21:37:44] INFO: Starting Node... [2022-05-03 21:37:49] [info]: Log level: info [2022-05-03 21:37:49] [info]: Backup timeout: 5400000 [2022-05-03 21:37:49] [info]: Satus : Go ! [2022-05-03 21:37:49] [info]: Initializing and checking webdav client... [2022-05-03 21:37:49] [info]: Starting auto clean cron... [2022-05-03 21:37:49] [info]: Starting Cron... [2022-05-03 21:37:49] [info]: Hassio API : Go ! [2022-05-03 21:37:50] [info]: Nextcloud connection : Go ! [2022-05-03 21:38:42] [info]: Stopping Cron... [2022-05-03 21:38:42] [info]: Starting Cron... [2022-05-03 21:38:46] [info]: Stopping addons... [2022-05-03 21:38:46] [info]: ... Ok [2022-05-03 21:38:46] [info]: Creating new snapshot... [2022-05-03 21:43:09] [info]: Snapshot created with id 313a5633 [2022-05-03 21:43:09] [info]: Downloading snapshot 313a5633... [2022-05-03 21:43:40] [info]: Download success ! [2022-05-03 21:43:40] [info]: Uploading snap... [2022-05-03 21:43:44] [info]: ...Upload finish ! (status: 201) [2022-05-03 21:43:44] [info]: Starting addons... [2022-05-03 21:43:44] [info]: ... Ok [2022-05-03 21:43:44] [info]: Local clean done.

To Reproduce I click Backup up to create a manual backup. The backup is created and a file is uploaded to the Nextcloud (magentacloud.de), but the file has a file size of 0 kb

Expected behavior Until the latest update, the addon created a backup and uploaded it to the cloud using the addon and the file size was the same as the snapshot in the Raspberry Pi. Now the file size is 0 KB and the archive seems to be broken.

System information

Sebclem commented 2 years ago

Duplicate #135