Prerequisites
Rclone Pre-flight Checklist (if applicable)
Bug Description
Zerobyte v0.42.0 bundles rclone 1.75.0. When Proton Drive returns HTTP 502 during upload, rclone retries using an already-consumed stream, which then causes Proton to return HTTP 422. This can cause Zerobyte's backup upload to stall or silently create a truncated restic pack.
rclone 1.75.1 (https://github.com/rclone/rclone/releases/tag/v1.75.1) fixes this issue, thus Zerobyte needs to bump its dependency please.
Fix corrupted uploads after a retried upload error (Nick Craig-Wood)
Steps to Reproduce
- Proton returns 502 Bad Gateway during an upload.
- rclone 1.75.0 incorrectly retries using an already-consumed stream.
- Proton returns 422 file already exists.
- The upload can stall or silently create a truncated restic pack.
Expected Behavior
Upload gracefully fails.
Zerobyte version / commit
v0.42.0
Deployment Method
Docker Compose
Backup/Repository Context
No response
Logs / Error Messages
N/A
Prerequisites
Rclone Pre-flight Checklist (if applicable)
rclone listremotesandrclone lsd remote:on the host and they workBug Description
Zerobyte v0.42.0 bundles rclone 1.75.0. When Proton Drive returns HTTP 502 during upload, rclone retries using an already-consumed stream, which then causes Proton to return HTTP 422. This can cause Zerobyte's backup upload to stall or silently create a truncated restic pack.
rclone 1.75.1 (https://github.com/rclone/rclone/releases/tag/v1.75.1) fixes this issue, thus Zerobyte needs to bump its dependency please.
Steps to Reproduce
Expected Behavior
Upload gracefully fails.
Zerobyte version / commit
v0.42.0
Deployment Method
Docker Compose
Backup/Repository Context
No response
Logs / Error Messages
N/A