Rclone delete trash hanging

What is the problem you are having with rclone?

rclone delete bak: --drive-use-trash=false --drive-trashed-only used to work nicely. Now it deletes files in the trash correctly, but hangs forever (have let the process run for 12-24 hours and it does not terminate).

What is your rclone version (output from rclone version)

v1.53.0-beta.4718.7dcbebf9b

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

Ubuntu 18.04

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)

Variations of the command below

rclone delete bak: --drive-use-trash=false --drive-trashed-only -vvv
rclone delete bak: --drive-use-trash=false --drive-trashed-only -vvv --disable L
istR
rclone delete bak: --drive-use-trash=false --drive-trashed-only -vvv --fast-list --timeout 1m

A log from the command with the -vv flag

rclone delete bak: --drive-use-trash=false --drive-trashed-only -vvvP --disable L
istR

2020/09/01 10:01:41 DEBUG : rclone: Version "v1.53.0-beta.4718.7dcbebf9b" starting with parameters ["rclone" "delete" "bak:" "--drive-use-trash=false" "--drive-trashed-only" "-vvvP" "--disable" "ListR"]
2020/09/01 10:01:41 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2020/09/01 10:01:41 INFO  : Starting HTTP transaction limiter: max 4 transactions/s with burst 32
2020/09/01 10:01:41 DEBUG : Creating backend with remote "bak:"
2020/09/01 10:01:41 DEBUG : Reset feature "ListR"
2020-09-01 10:01:41 DEBUG : Waiting for deletions to finish
Transferred:             0 / 0 Bytes, -, 0 Bytes/s, ETA -
Elapsed time:      4h42m22.6s

It appears to be waiting for deletions to finish, but is getting no signal from Google. Check in the UI and with rclone ls and there are no files remaining in trash.

NOTE: From many prior discussions I am aware that rclone cleanup bak: is intended to clean trash. It works sometimes, but other times does nothing for a few days. The above commands have been a reasonable alternative for the last few years. Just recently it has been hanging.

Can you do a kill -SIGQUIT <pid of rclone> and post the stacktrace?

Can you also post the debug logs with the --dump bodies flag?

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