Remote files missing on Rename on remote

What is the problem you are having with rclone?

Maybe a bug?
On Win PC running Total Commander I did a rename on drive J: (jottaremote) and directory disapered, also not in recycle

xxxx UPDATE xxx

The incident happened 3 days ago, I same hour checed jotta web, nothing in recycle.
After posting today I logged on Jotta web and found my renamed directory in recycle. Maybe due to 60Gbyte it took some time to be found in recycle.

Run the command 'rclone version' and share the full output of the command.

Not on latest version 1.69.1

My version:
rclone v1.65.0

  • os/version: Microsoft Windows 10 Home 21H2 (64 bit)
  • os/kernel: 10.0.19044.2728 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.21.4
  • go/linking: static
  • go/tags: cmoun

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

Jottacloud

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

>rclone mount JottaRemote: J: --vfs-cache-mode full --allow-other --file-perms 0777 --buffer-size 64M --dir-cache-time 5m --vfs-read-chunk-size 32M --vfs-write-back 5s

The rclone config contents with secrets removed.

[JottaRemote]
type = jottacloud
configVersion = 1
client_id = jottacli
client_secret = 
tokenURL = https://id.jottacloud.com/auth/realms/jottacloud/protocol/openid-connect/token
token = {"access_token":"}
device = 
mountpoint 

A log from the command with the -vv flag



c:\Program Files\rclone>rclone mount JottaRemote: J: --vfs-cache-mode full --allow-other --file-perms 0777 --buffer-size 64M --dir-cache-time 5m --vfs-read-chunk-size 32M --vfs-write-back 5s -vv
2025/02/16 08:25:31 DEBUG : rclone: Version "v1.65.0" starting with parameters ["rclone" "mount" "JottaRemote:" "J:" "--vfs-cache-mode" "full" "--allow-other" "--file-perms" "0777" "--buffer-size" "64M" "--dir-cache-time" "5m" "--vfs-read-chunk-size" "32M" "--vfs-write-back" "5s" "-vv"]
2025/02/16 08:25:31 DEBUG : Creating backend with remote "JottaRemote:"
2025/02/16 08:25:31 DEBUG : Using config file from "C:\\Users\\panpe\\AppData\\Roaming\\rclone\\rclone.conf"
2025/02/16 08:25:32 INFO  : jottacloud root '': poll-interval is not supported by this remote
2025/02/16 08:25:32 DEBUG : vfs cache: root is "C:\\Users\\panpe\\AppData\\Local\\rclone"
2025/02/16 08:25:32 DEBUG : vfs cache: data root is "\\\\?\\C:\\Users\\panpe\\AppData\\Local\\rclone\\vfs\\JottaRemote"
2025/02/16 08:25:32 DEBUG : vfs cache: metadata root is "\\\\?\\C:\\Users\\panpe\\AppData\\Local\\rclone\\vfsMeta\\JottaRemote"
2025/02/16 08:25:32 DEBUG : Creating backend with remote "C:/Users/panpe/AppData/Local/rclone/vfs/JottaRemote/"
2025/02/16 08:25:32 DEBUG : fs cache: renaming cache item "C:/Users/panpe/AppData/Local/rclone/vfs/JottaRemote/" to be canonical "//?/C:/Users/panpe/AppData/Local/rclone/vfs/JottaRemote"
2025/02/16 08:25:32 DEBUG : Creating backend with remote "C:/Users/panpe/AppData/Local/rclone/vfsMeta/JottaRemote/"
2025/02/16 08:25:32 DEBUG : fs cache: renaming cache item "C:/Users/panpe/AppData/Local/rclone/vfsMeta/JottaRemote/" to be canonical "//?/C:/Users/panpe/AppData/Local/rclone/vfsMeta/JottaRemote"
2025/02/16 08:25:32 NOTICE: --allow-other flag does nothing on Windows
2025/02/16 08:25:32 DEBUG : Network mode mounting is disabled
2025/02/16 08:25:32 DEBUG : Mounting on "J:" ("JottaRemote")
2025/02/16 08:25:32 DEBUG : jottacloud root '': Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=JottaRemote"]
2025/02/16 08:25:32 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2025/02/16 08:25:32 DEBUG : jottacloud root '': Init:
2025/02/16 08:25:32 DEBUG : jottacloud root '': >Init:
2025/02/16 08:25:32 DEBUG : /: Statfs:
2025/02/16 08:25:32 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:278236596033 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2025/02/16 08:25:32 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2025/02/16 08:25:32 DEBUG : /: >Getattr: errc=0
2025/02/16 08:25:32 DEBUG : /: Readlink:
2025/02/16 08:25:32 DEBUG : /: >Readlink: linkPath="", errc=-40
2025/02/16 08:25:32 DEBUG : /: Getxattr: name="non-existant-a11ec902d22f4ec49003af15282d3b00"
2025/02/16 08:25:32 DEBUG : /: >Getxattr: errc=-40, value=""
2025/02/16 08:25:32 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2025/02/16 08:25:32 DEBUG : /: >Getattr: errc=0
2025/02/16 08:25:32 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2025/02/16 08:25:32 DEBUG : /: >Getattr: errc=0
2025/02/16 08:25:32 DEBUG : /: Opendir:
The service rclone has been started.
2025/02/16 08:25:32 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2025/02/16 08:25:32 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2025/02/16 08:25:32 DEBUG : /: >Opendir: errc=0, fh=0x0
2025/02/16 08:25:32 DEBUG : /: Getpath: Getpath fh=0
2025/02/16 08:25:32 DEBUG : /: >Getpath: errc=0, normalisedPath=""
2025/02/16 08:25:32 DEBUG : /: Statfs:

Midnight Commander has its own quirks. Try to disable/enable Fast directory reload

Fast directory reload.
If this option is enabled, Midnight Commander will use a trick to determine if the directory contents have changed. The trick is to reload the directory only if the i-node of the directory has changed; this means that reloads only happen when files are created or deleted. If what changes is the i-node for a file in the directory (file size changes, mode or owner changes, etc) the display is not updated. In these cases, if you have the option on, you have to rescan the directory manually (with C-r).

And to avoid troubleshooting tools other than rclone next time test the same directly using your OS shell.

Hi

thanks for feedback. I use total commander, maybe have same issues as midnigth commander with "content change"

And to avoid troubleshooting tools other than rclone next time test the same directly using your OS shell.

I did not trouble shoot, I more wanted to report back to community, and next time I do a rename of an important backup I may log on to web client.

M

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