A rclone mount is failing to upload or even acknowledge past storing in the cache some files that have Japanese characters or non-english characters in the filenames. No errors in logs or in console, vfs states that 0 files are in the cache even though there are 34 files still waiting to be uploaded sitting in the cache folder
Run the command 'rclone version' and share the full output of the command.
os/version: Microsoft Windows 11 Pro 22H2 (64 bit)
os/kernel: 10.0.22621.675 (x86_64)
Which cloud storage system are you using? (eg Google Drive)
The command you were trying to run (eg rclone copy /tmp remote:tmp)
2022/11/06 00:13:58 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2022/11/06 00:14:20 DEBUG : Google drive root 'Encrypted': Checking for changes on remote
2022/11/06 00:15:20 DEBUG : Google drive root 'Encrypted': Checking for changes on remote
2022/11/06 00:16:20 DEBUG : Google drive root 'Encrypted': Checking for changes on remote
2022/11/06 00:17:20 DEBUG : Google drive root 'Encrypted': Checking for changes on remote
2022/11/06 00:18:20 DEBUG : Google drive root 'Encrypted': Checking for changes on remote
Starting this, the cache cleaner almost immediately fires, but doesn't clean anything or attempt to start uploading the files, acting like they are still pending even though no uploads are taking place.
I'll clean up my command, its acquired quite a lot of guff around the edges.
Attempting to copy the specific file provides a directory not found, but specifying the folder the file is in and leaving the filename off allows rclone to start copying the file. Maybe something to do with filename parsing and starting a copy that is worked around my copying the folder instead?
All I can see is a cache with 162 objects which that have been either downloaded/uploaded from/to the cloud. They are in the cache because they were used in the past hour, because of --vfs-cache-mode=full and the default --vfs-cache-max-age=1h. Note: Explorer may use files in the background, and this will also cause files to stay in the cache.
I suggest you try stopping the mount and then start it after 2 minutes with --vfs-cache-max-age=1m without pointing Explorer or anything else toward the mounted drive (X:).
This is with the command you put in your comment, which doesn't have any cache arguments other than the directory. No explorer windows open, no uploads being attempted.
The upload part of the mount just seemingly does not acknowledge anything waiting to be uploaded. The files exist in the correct folder on the mount, and no corruption is present, it just seems like rclone is arguing with itself. The cache layer sees that there are files in the cache that have not been uploaded yet, but the upload part doesn't see them so it never tries to upload them
This is all that the console keeps repeating, which is just the normal stuff the mount spits out when you have max verbosity and the remote control turned on.
So, currently doing the test, but doing it made me notice something. Rclone says its removing the files out of the cache correctly, but its saying that the files are 0 bytes and failing to remove them. Have to use gist because the log is too long, even only at 2min run time
Thanks for the full log, looks good and like your cache finally cleaned!
I cannot explain why it didn't clean immediately, but looks like all the 162 files cleaned after a minute:
2022/11/06 09:45:35 INFO : vfs cache: cleaned: objects 162 (was 162) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2022/11/06 09:46:35 INFO : vfs cache: cleaned: objects 0 (was 162) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2022/11/06 09:47:35 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)