I am testing a Cloud Sync Task to a Synology host over SFTP. The sync works great except for the last file to be transmitted, which fails with this error:
2025/12/01 16:09:48 ERROR : hello.txt: Failed to copy: failed to read destination hash: failed to calculate md5 hash: failed to run "md5sum /ryanbkup/hello.txt.lumuhav6.partial.bin": md5sum: /ryanbkup/hello.txt.lumuhav6.partial.bin: No such file or directory: Process exited with status 1
What’s going on with this rclone job that just the last file to be copied over fails the md5sum? I’ve validated that adding a new file to the source folder with an alphanumerically higher name (e.g. zzzz.txt) then becomes the problem file on next run while successfully copying the previously problematic file. Successive job runs produce the same failure.
Seems like the partial is getting cleaned off before the md5sum can finish checking it? However, it’s not like the partial is being renamed to the actual file before this happens as the file does not appear in the destination after the job fails.