When trying to move and rename files to another directory, the "source" file still remains. When attempting to then delete the source file using "rclone delete" or "rclone deletefile", I get an "directory or doesn't exist: object not found" error. Then when deleting the file using an "rm ~/mount/file" command, both original file and the moved/copied file are deleted.
Run the command 'rclone version' and share the full output of the command.
rclone v1.62.2
os/version: ubuntu 22.04 (64 bit)
os/kernel: 5.15.0-69-generic (x86_64)
os/type: linux
os/arch: amd64
go/version: go1.20.2
go/linking: static
go/tags: none
No
Which cloud storage system are you using? (eg Google Drive)
Google Drive
Using a crypt remote.
The command you were trying to run (eg rclone copy /tmp remote:tmp)
Thanks for the response and the suggestion. It seems that via an rclone lsf command, the file is gone. But from an ls command, the file still shows up. Then an rm command deletes both files.
[prompt]:[WorkingDir$] ls -l ~/ParentDir/cryptmount/SubDir1
total 1
-rw-r--r-- 1 [username] hdxx 10 Dec 9 16:44 OriginalFileName.txt
[prompt]:[WorkingDir$] rclone lsf crypt:/SubDir1/OriginalFileName.txt
OriginalFileName.txt
[prompt]:[WorkingDir$] rclone moveto crypt:/SubDir1/OriginalFileName.txt crypt:/SubDir2/NewFileName.txt
[prompt]:[WorkingDir$] rclone lsf crypt:/SubDir2/NewFileName.txt
NewFileName.txt
[prompt]:[WorkingDir$] rclone lsf crypt:/SubDir1/OriginalFileName.txt
2023/12/09 17:49:01 ERROR : : error listing: directory not found
2023/12/09 17:49:01 Failed to lsf with 2 errors: last error was: error in ListJSON: directory not found
[prompt]:[WorkingDir$] ls -l ~/ParentDir/cryptmount/SubDir1
total 1
-rw-r--r-- 1 [username] hdxx 10 Dec 9 16:44 OriginalFileName.txt
[prompt]:[WorkingDir$] rclone deletefile crypt:/SubDir1/OriginalFileName.txt
2023/12/09 17:51:37 ERROR : Attempt 1/3 failed with 1 errors and: crypt:/SubDir1/OriginalFileName.txt is a directory or doesn't exist: object not found
2023/12/09 17:51:37 ERROR : Attempt 2/3 failed with 1 errors and: crypt:/SubDir1/OriginalFileName.txt is a directory or doesn't exist: object not found
2023/12/09 17:51:37 ERROR : Attempt 3/3 failed with 1 errors and: crypt:/SubDir1/OriginalFileName.txt is a directory or doesn't exist: object not found
2023/12/09 17:51:37 Failed to deletefile: crypt:/SubDir1/OriginalFileName.txt is a directory or doesn't exist: object not found
[prompt]:[WorkingDir$] rm ~/ParentDir/cryptmount/SubDir1/OriginalFileName.txt
[prompt]:[WorkingDir$] rclone lsf crypt:/SubDir2/NewFileName.txt
2023/12/09 17:52:16 ERROR : : error listing: directory not found
2023/12/09 17:52:16 Failed to lsf with 2 errors: last error was: error in ListJSON: directory not found
When you run rclone moveto it moves file in the remote. But it is not immediately reflected in your rclone mount - which is expected behaviour. It takes time depending on remote and mount command flags.
Yes, I think you've gotten to the issue. These "ghost/cached pointers" seem to persist for days (at least). I'm not sure it was always like this. I believe these are my mount options.