Please ignore this post

What is the problem you are having with rclone?

i have a bucket that files cannot be deleted from.
the log should reflect that but instead rclone claims to have copied a file.

What is your rclone version (output from rclone version)

v1.55.1

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

W10.20H2.64

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

wasabi s3

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

rclone delete wasabien07rclonercrypt_locked:vserver03.en07.rcloner/en07.rcloner/rclone/backup/keepass/zip/keepass.11111111.111111.7z -vv 

rclone.exe copy "b:\mount\rcloner\en07.rcloner_wasabien07rclonercrypt_locked_20210517.201044\EN07\en07.rcloner" "wasabien07rclonercrypt_locked:vserver03.en07.rcloner/en07.rcloner/rclone/backup" --stats=0 --include=/*/zip/** --fast-list --log-level=DEBUG --log-file=C:\data\rclone\logs\en07.rcloner_wasabien07rclonercrypt_locked\20210517.201044\rclone.log

The rclone config contents with secrets removed.

[wasabi_en07_rcloner_wasabien07rclonercrypt_locked]
type = s3
provider = Wasabi
access_key_id = 
secret_access_key = 
endpoint = 

[wasabien07rclonercrypt_locked]
type = crypt
remote = wasabi_en07_rcloner_wasabien07rclonercrypt_locked:en07rclonercrypt
password = 
password2 = 

this log shows that keepass.11111111.111111.7z cannot be deleted

rclone delete wasabien07rclonercrypt_locked:vserver03.en07.rcloner/en07.rcloner/rclone/backup/keepass/zip/keepass.11111111.111111.7z -vv 
DEBUG : Using RCLONE_CONFIG_PASS password.
DEBUG : Using config file from "c:\\data\\rclone\\scripts\\rclone.conf"
DEBUG : rclone: Version "v1.55.1" starting with parameters ["c:\\data\\rclone\\scripts\\rclone.exe" "delete" "wasabien07rclonercrypt_locked:vserver03.en07.rcloner/en07.rcloner/rclone/backup/keepass/zip/keepass.11111111.111111.7z" "-vv"]
DEBUG : Creating backend with remote "wasabien07rclonercrypt_locked:vserver03.en07.rcloner/en07.rcloner/rclone/backup/keepass/zip/keepass.11111111.111111.7z"
DEBUG : Creating backend with remote "wasabi_en07_rcloner_wasabien07rclonercrypt_locked:en07rclonercrypt/suphtol276vlcdgfpf29eglbnvf6vsd11psobfglrlf8hnmp0aa0/7dvvcb7i1cn5cnrnfg7b5q16bc/vplun6pmri0mr96fadebs0mm0s/ebue23o4ems817a5kdmjh5ureg/56ult7lcah70n6ipdiml8sjgm0/ebn3fpb1ikmeoe8tu0qcakl5ik/1hhrga0ctf7d7fntmgm21e94blp884pbv2mdgblfv1pg6f9k9kc0"
DEBUG : fs cache: adding new entry for parent of "wasabi_en07_rcloner_wasabien07rclonercrypt_locked:en07rclonercrypt/suphtol276vlcdgfpf29eglbnvf6vsd11psobfglrlf8hnmp0aa0/7dvvcb7i1cn5cnrnfg7b5q16bc/vplun6pmri0mr96fadebs0mm0s/ebue23o4ems817a5kdmjh5ureg/56ult7lcah70n6ipdiml8sjgm0/ebn3fpb1ikmeoe8tu0qcakl5ik/1hhrga0ctf7d7fntmgm21e94blp884pbv2mdgblfv1pg6f9k9kc0", "wasabi_en07_rcloner_wasabien07rclonercrypt_locked:en07rclonercrypt/suphtol276vlcdgfpf29eglbnvf6vsd11psobfglrlf8hnmp0aa0/7dvvcb7i1cn5cnrnfg7b5q16bc/vplun6pmri0mr96fadebs0mm0s/ebue23o4ems817a5kdmjh5ureg/56ult7lcah70n6ipdiml8sjgm0/ebn3fpb1ikmeoe8tu0qcakl5ik"
DEBUG : Waiting for deletions to finish
ERROR : keepass.11111111.111111.7z: Couldn't delete: AccessDenied: Access Denied
	status code: 403, request id: 1CA6AFE9EC7236AA, host id: xp5K/hlGeeu+EntUJUp/eN9XoM4IOR2EhnvK8Y12UNxVRqNaaD8EP65/p5Y6MZAR+25MmosazOg0
ERROR : Attempt 1/3 failed with 2 errors and: failed to delete 1 files

and this log claims that rclone copied a newer version of the file, which implies that rclone deleted the older version, but as per the last log, rclone cannot delete that file.
i assume that this log does not reflect what rclone is actually doing?

DEBUG : Using RCLONE_CONFIG_PASS password.
DEBUG : Using config file from "C:\\data\\rclone\\scripts\\rclone.conf"
DEBUG : rclone: Version "v1.55.1" starting with parameters ["C:\\data\\rclone\\scripts\\rclone.exe" "copy" "b:\\mount\\rcloner\\en07.rcloner_wasabien07rclonercrypt_locked_20210517.201044\\EN07\\en07.rcloner" "wasabien07rclonercrypt_locked:vserver03.en07.rcloner/en07.rcloner/rclone/backup" "--stats=0" "--include=/*/zip/**" "--fast-list" "--log-level=DEBUG" "--log-file=C:\\data\\rclone\\logs\\en07.rcloner_wasabien07rclonercrypt_locked\\20210517.201044\\rclone.log"]
DEBUG : Creating backend with remote "b:\\mount\\rcloner\\en07.rcloner_wasabien07rclonercrypt_locked_20210517.201044\\EN07\\en07.rcloner"
DEBUG : fs cache: renaming cache item "b:\\mount\\rcloner\\en07.rcloner_wasabien07rclonercrypt_locked_20210517.201044\\EN07\\en07.rcloner" to be canonical "//?/b:/mount/rcloner/en07.rcloner_wasabien07rclonercrypt_locked_20210517.201044/EN07/en07.rcloner"
DEBUG : Creating backend with remote "wasabien07rclonercrypt_locked:vserver03.en07.rcloner/en07.rcloner/rclone/backup"
DEBUG : Creating backend with remote "wasabi_en07_rcloner_wasabien07rclonercrypt_locked:en07rclonercrypt/suphtol276vlcdgfpf29eglbnvf6vsd11psobfglrlf8hnmp0aa0/7dvvcb7i1cn5cnrnfg7b5q16bc/vplun6pmri0mr96fadebs0mm0s/ebue23o4ems817a5kdmjh5ureg"
DEBUG : keepass/zip/keepass.11111111.111111.7z: Modification times differ by -8760h0m0s: 2023-05-06 17:13:15.945 -0400 EDT, 2022-05-06 17:13:15.945 -0400 EDT
DEBUG : keepass/zip/keepass.11111111.111111.7z: Computing MD5 hash of encrypted source
DEBUG : keepass/zip/keepass.11111111.111111.7z: MD5 = 59437495530ff344dbd818e9e2998eb3 OK
INFO  : keepass/zip/keepass.11111111.111111.7z: Copied (replaced existing)

Did rclone make a new version maybe in the last log?

sorry, i got confused about s3 policy permissions.

i was trying to create a s3 policy that would be the equivalent of rclone's --immutable.

1 Like

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