~tmp file issue

i wish i was on the move right now. to some beach somewhere.

you mean if rclone has something like a "upload session not found" error or something? cause i do see that on occasion.

But

That's not a tmp file and is being mixed in. That's not rclone doing that unless the OP is copying to the non encrypted remote somehow or something else is syncing it (3rd party program).

Before you go down the path of worrying about tmp files, there is a process issue mixing between the remotes.

but! that was just me making the case that if a 3rd party was mixing in files, rclone has a definite log entry that shows it can see it. which, as the other log above shows, is not the case with tmp files.

what do you mean by mixing between remotes, brother animosity?

You have two remotes:

type = onedrive
token =
drive_id = b!LshYrNCGAUWnjNcIfrBRKsXCnZUGeHTZulsJAXsRKG
drive_type = business

[OneDriveWyEncryptednew]
type = crypt
remote = OneDriveWy:DTD Server
filename_encryption = standard
directory_name_encryption = false
password =

If you have a regular file being copied into a crypt location, that creates the problem you are seeing:

So someone/something/some process/some application copied into "OneDriveWy:DTD Server" instead of "OneDriveWyEncryptednew:"

if you get garbage files in the crypt remote, rclone can't read them, thus it can't delete them.

So in any easy example, if you have a directory that has one 'bad' file and nothing else, it can't be removed because of that bad file.

felix@gemini:~$ rclone sync gcrypt:one gcrypt:two -vvv
2022/07/01 11:41:11 DEBUG : Setting --config "/opt/rclone/rclone.conf" from environment variable RCLONE_CONFIG="/opt/rclone/rclone.conf"
2022/07/01 11:41:11 DEBUG : rclone: Version "v1.58.1" starting with parameters ["rclone" "sync" "gcrypt:one" "gcrypt:two" "-vvv"]
2022/07/01 11:41:11 DEBUG : Creating backend with remote "gcrypt:one"
2022/07/01 11:41:11 DEBUG : Using config file from "/opt/rclone/rclone.conf"
2022/07/01 11:41:11 DEBUG : Creating backend with remote "GD:crypt/vgiitg6j8vuehta15ci1ig135g"
2022/07/01 11:41:12 DEBUG : Creating backend with remote "gcrypt:two"
2022/07/01 11:41:12 DEBUG : Creating backend with remote "GD:crypt/fns8mdipv34944sh8cv8kqpntc"
2022/07/01 11:41:12 DEBUG : fns8mdipv34944sh8cv8kqpntc/hosts: Skipping undecryptable file name: not a multiple of blocksize
2022/07/01 11:41:12 DEBUG : Encrypted drive 'gcrypt:two': Waiting for checks to finish
2022/07/01 11:41:12 DEBUG : Encrypted drive 'gcrypt:two': Waiting for transfers to finish
2022/07/01 11:41:14 INFO  : one/hosts: Copied (server-side copy)
2022/07/01 11:41:14 DEBUG : Waiting for deletions to finish
2022/07/01 11:41:14 INFO  : two/hosts: Deleted
2022/07/01 11:41:14 INFO  : two: Removing directory
2022/07/01 11:41:14 DEBUG : fns8mdipv34944sh8cv8kqpntc: Rmdir: contains file: "hosts"
2022/07/01 11:41:14 DEBUG : two: Failed to Rmdir: directory not empty
2022/07/01 11:41:14 DEBUG : Encrypted drive 'gcrypt:two': failed to delete 1 directories
2022/07/01 11:41:14 INFO  :
Transferred:   	        316 B / 316 B, 100%, 0 B/s, ETA -
Checks:                 1 / 1, 100%
Deleted:                1 (files), 1 (dirs)
Transferred:            1 / 1, 100%
Elapsed time:         3.0s

2022/07/01 11:41:14 DEBUG : 9 go routines active

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