Unable to create backup on S3 Provider - source file is being updated #39

Closed
opened 2026-04-05 20:25:20 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @arthurbrunot on 10/16/2025

CloudPanel version(s) affected

2.5.2

Description

When CloudPanel tries to upload a backup archive (backup.tar) to a MinIO instance using rclone, the operation fails with the error:

can't copy - source file is being updated (size changed from X to Y)

This occurs because rclone starts copying while the backup file is still being written or updated. As a result, the multipart upload fails after several retries.

How to reproduce

  1. Install Cloud panel 2.5.2 on Ubuntu 24.04
  2. Configure custom Rclone configuration ( minio instance )
  3. Generate a large backup archive (e.g., backup.tar) through CloudPanel’s manual 'Create backup' backup process.
  4. The upload begins before the file is fully written.
  5. The rclone process fails with errors indicating that the source file size changed during transfer.

Possible Solution

  1. Delay the rclone copy command until the backup archive is fully created and closed.

Additional Context

Website size is about 25GB.

*Originally created by @arthurbrunot on 10/16/2025* ### CloudPanel version(s) affected 2.5.2 ### Description When CloudPanel tries to upload a backup archive (backup.tar) to a MinIO instance using rclone, the operation fails with the error: `can't copy - source file is being updated (size changed from X to Y)` This occurs because rclone starts copying while the backup file is still being written or updated. As a result, the multipart upload fails after several retries. ### How to reproduce 1. Install Cloud panel 2.5.2 on Ubuntu 24.04 2. Configure custom Rclone configuration ( minio instance ) 3. Generate a large backup archive (e.g., backup.tar) through CloudPanel’s manual 'Create backup' backup process. 4. The upload begins before the file is fully written. 5. The rclone process fails with errors indicating that the source file size changed during transfer. ### Possible Solution 1. Delay the `rclone` copy command until the backup archive is fully created and closed. ### Additional Context Website size is about 25GB.
Sign in to join this conversation.