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 completes but uploads to nextcloud with 0 bytes #8 #136

Closed
Johnyboy1984 opened this issue May 3, 2022 · 1 comment
Closed

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

Johnyboy1984 opened this issue May 3, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Johnyboy1984
Copy link

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

  • Home Assistant Version : 2022.4.7
  • Home Assistant Supervisor Version : supervisor-2022.05.0
  • Nextcloud Version : Nextcloud Backup, Current version: 0.17.2
  • Core Version: core-2022.4.7
  • Host Version: Betriebssystem Home Assistant OS 7.6
  • Addon version : 0.17.2
    • If any, reverse proxy in fort on Nextcloud : Nginx Proxy Manager over Home Assistant Version: Current version: 0.11.0, MariaDB over Home Assistant Version: 2.4.0
@Johnyboy1984 Johnyboy1984 added the bug Something isn't working label May 3, 2022
@Sebclem
Copy link
Owner

Sebclem commented May 3, 2022

Duplicate #135

@Sebclem Sebclem closed this as completed May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants