What is the problem you are having with rclone?
v1.70+ hangs forever on large(ish) copy (1+GB 200+ files), not even --max-duration is honored
rolling back to 1.69.3 fixes the problem without any other change in the configuration
Run the command 'rclone version' and share the full output of the command.
rclone v1.70.1
- os/version: centos 9 (64 bit)
- os/kernel: 5.14.0-553.el9.x86_64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.24.4
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copy --max-duration 150s --no-traverse --transfers=40 --checkers=40 --tpslimit=10 --drive-chunk-size=1M apilogs: /scratch/apilogs.manual
The rclone config contents with secrets removed.
[apilogs_team_drive]
team_drive=XXX
type = drive
scope = drive
use_trash = true
chunk_size = 256M
acknowledge_abuse = true
server_side_across_configs = true
stop_on_upload_limit = true
stop_on_download_limit = true
# export RCLONE_DRIVE_TOKEN="{\"access_token\":\"$(gcloud auth application-default print-access-token)\"}"
[apilogs]
type = crypt
remote = apilogs_team_drive:
password=XXXX
password2=XXX
server_side_across_configs = true
filename_encryption = off
directory_name_encryption = false
A log from the command with the -vv
flag
# rclone copy --max-duration 150s --no-traverse --fast-list --transfers=40 --checkers=40 --tpslimit=10 --drive-chunk-size=1M apilogs: /scratch/apilogs.manual -vvvvv
2025/06/25 10:32:36 DEBUG : Setting --config "/etc/rclone.conf" from environment variable RCLONE_CONFIG="/etc/rclone.conf"
2025/06/25 10:32:36 DEBUG : Setting --drive-service-account-credentials "{\n \"type\": \"service_account\",\n \"project_id\": \"bti-logsapi\",\n \"private_key_id\": \"XXXX\",\n \"private_key\": \"-----BEGIN PRIVATE KEY-----XXX-----END PRIVATE KEY-----\\n\",\n \"client_email\": \"XXX\",\n \"client_id\": \"XXXX\",\n \"auth_uri\": \"https://accounts.google.com/o/oauth2/auth\",\n \"token_uri\": \"https://oauth2.googleapis.com/token\",\n \"auth_provider_x509_cert_url\": \"https://www.googleapis.com/oauth2/v1/certs\",\n \"client_x509_cert_url\": \"https://www.googleapis.com/robot/v1/metadata/x509/bti-logsapi%40bti-logsapi.iam.gserviceaccount.com\",\n \"universe_domain\": \"googleapis.com\"\n}" from environment variable RCLONE_DRIVE_SERVICE_ACCOUNT_CREDENTIALS="{\n \"type\": \"service_account\",\n \"project_id\": \"XXXX\",\n \"private_key_id\": \"XXX",\n \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nXXX\n-----END PRIVATE KEY-----\\n\",\n \"client_email\": \"bti-logsapi@bti-logsapi.iam.gserviceaccount.com\",\n \"client_id\": \"XXX\",\n \"auth_uri\": \"https://accounts.google.com/o/oauth2/auth\",\n \"token_uri\": \"https://oauth2.googleapis.com/token\",\n \"auth_provider_x509_cert_url\": \"https://www.googleapis.com/oauth2/v1/certs\",\n \"client_x509_cert_url\": \"https://www.googleapis.com/robot/v1/metadata/x509/bti-logsapi%40bti-logsapi.iam.gserviceaccount.com\",\n \"universe_domain\": \"googleapis.com\"\n}"
2025/06/25 10:32:36 INFO : Starting transaction limiter: max 10 transactions/s with burst 1
2025/06/25 10:32:36 DEBUG : rclone: Version "v1.70.1" starting with parameters ["rclone.1.70.1" "copy" "--max-duration" "150s" "--no-traverse" "--fast-list" "--transfers=40" "--checkers=40" "--tpslimit=10" "--drive-chunk-size=1M" "apilogs:" "/scratch/apilogs.manual" "-vvvvv"]
2025/06/25 10:32:36 DEBUG : Creating backend with remote "apilogs:"
2025/06/25 10:32:36 DEBUG : Using config file from "/etc/rclone.conf"
2025/06/25 10:32:36 DEBUG : Creating backend with remote "apilogs_team_drive:"
2025/06/25 10:32:36 DEBUG : apilogs_team_drive: detected overridden config - adding "{jPHqZ}" suffix to name
2025/06/25 10:32:36 DEBUG : fs cache: renaming cache item "apilogs_team_drive:" to be canonical "apilogs_team_drive{jPHqZ}:"
2025/06/25 10:32:36 DEBUG : Creating backend with remote "/scratch/apilogs.manual"
2025/06/25 10:32:36 INFO : Local file system at /scratch/apilogs.manual: Transfer session HARD deadline: 2025/06/25 10:35:06
2025/06/25 10:33:36 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Checks: 0 / 0, -, Listed 235
Elapsed time: 1m0.0s
2025/06/25 10:34:36 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Checks: 0 / 0, -, Listed 235
Elapsed time: 1m59.9s
2025/06/25 10:35:36 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Checks: 0 / 0, -, Listed 235
Elapsed time: 2m59.9s
2025/06/25 10:36:36 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Checks: 0 / 0, -, Listed 235
Elapsed time: 3m59.9s
2025/06/25 10:37:36 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Checks: 0 / 0, -, Listed 235
Elapsed time: 4m59.9s
2025/06/25 10:38:36 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Checks: 0 / 0, -, Listed 235
Elapsed time: 5m59.9s
this goes on forever...