Moveto keeps giving me error that hashes don't match

What is the problem you are having with rclone?

Rclone moveto command keeps giving me an error that hashes don't match and it can't open the file it just moved. Retrying does not help either.

Seems as if the moveto command is simply removing the files before checks can take place.

 * c3b1b1cf-6cda-45ca-a34… 11% /3.415G, 778.899k/s, 1h7m51s
 * c7188c34-3e04-4322-aa8… /386.602M, 170.081k/s, 0s

2021/03/19 15:29:13 ERROR : Failed to calculate src hash: hash: failed to open: open /env/app/output/sessions/ no such file or directory
2021/03/19 15:29:13 ERROR : corrupted on transfer: MD5 hash differ "" vs "93eecb802477cbe0de7fb38a5c6d00b2"
2021/03/19 15:29:13 INFO  : Removing failed copy
2021/03/19 15:29:14 ERROR : Not deleting source as copy failed: corrupted on transfer: MD5 hash differ "" vs "93eecb802477cbe0de7fb38a5c6d00b2"
2021/03/19 15:30:07 INFO  : 
Transferred:   	  834.602M / 86.339 GBytes, 1%, 678.409 kBytes/s, ETA 1d12h43m9s
Errors:                 2 (retrying may help)
Checks:                 1 / 3, 33%
Transferred:            0 / 284, 0%
Elapsed time:      21m0.7s

What is your rclone version (output from rclone version)

rclone v1.54.0

Which OS you are using and how many bits (eg Windows 7, 64 bit)

  • os/arch: linux/arm64
  • go version: go1.15.7

Which cloud storage system are you using? (eg Google Drive)

Google Cloud storage

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone --gcs-service-account-file <GCP_STORAGE_KEY>.json \
--transfers=2  --checkers=4 \ 
--include /*.zip \
moveto /env/app/output/sessions/ :gcs:my_backups_bucket/sessions/ms -vv

The rclone config contents with secrets removed.

using dynamically created remote

A log from the command with the -vv flag

pasted above

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.