Unable to access encrypted files

What is the problem you are having with rclone?

I am attempting to test transferring encrypted rclone folders and restoring to another system and running into issues. (verify before implementing).

Here are my steps, (Created on the rclone 1.53.3 system and attempting to restore on a rclone 1.45 system):

  1. Create a local remote
  2. Create a local remote encrypted folder, (one using 128bit password another with 256bit password)
  3. Copy the folder to the other system
  4. Copy the config to other system
  5. Attempted to make new remotes with the passwords
  6. Attempted to creation from the 1.45 system to the 1.53.3 system
  7. Attempted with a salt

I'm at a loss for what else I can try. To what I've read both methods of copying the config and / or recreating with the same passwords, what might I be missing?

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

Original system:

$ rclone --version
rclone v1.53.3-DEV
- os/arch: linux/amd64
- go version: go1.18.1

Target system:

$ rclone --version
rclone v1.45
- os/arch: linux/arm
- go version: go1.11.6

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

local / encrypt

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

$ rclonmount local_enc128:. ~/rc_enc128 -vv
2023/07/05 16:23:08 DEBUG : rclone: Version "v1.45" starting with parameters ["rclone" "mount" "local_enc128:." "/home/pi/rc_enc128" "-vv"]
2023/07/05 16:23:08 DEBUG : Using config file from "/home/pi/.config/rclone/rclone.conf"
2023/07/05 16:23:08 DEBUG : Encrypted drive 'local_enc128:.': Mounting on "/home/pi/rc_enc128"
2023/07/05 16:23:08 INFO  : Encrypted drive 'local_enc128:.': poll-interval is not supported by this remote
2023/07/05 16:23:08 DEBUG : Adding path "vfs/forget" to remote control registry
2023/07/05 16:23:08 DEBUG : Adding path "vfs/refresh" to remote control registry
2023/07/05 16:23:08 DEBUG : Adding path "vfs/poll-interval" to remote control registry
2023/07/05 16:23:08 DEBUG : : Root: 
2023/07/05 16:23:08 DEBUG : : >Root: node=/, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Lookup: name=".Trash"
2023/07/05 16:23:08 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/07/05 16:23:08 DEBUG : /: Lookup: name=".Trash-1000"
2023/07/05 16:23:08 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/07/05 16:23:08 DEBUG : /: Lookup: name="BDMV"
2023/07/05 16:23:08 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Lookup: name="autorun.inf"
2023/07/05 16:23:08 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/07/05 16:23:08 DEBUG : /: Lookup: name=".xdg-volume-info"
2023/07/05 16:23:08 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/07/05 16:23:08 DEBUG : /: ReadDirAll: 
2023/07/05 16:23:08 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: ReadDirAll: 
2023/07/05 16:23:08 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: ReadDirAll: 
2023/07/05 16:23:08 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: ReadDirAll: 
2023/07/05 16:23:08 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: ReadDirAll: 
2023/07/05 16:23:08 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: ReadDirAll: 
2023/07/05 16:23:08 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: ReadDirAll: 
2023/07/05 16:23:08 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: ReadDirAll: 
2023/07/05 16:23:08 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: ReadDirAll: 
2023/07/05 16:23:08 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: ReadDirAll: 
2023/07/05 16:23:08 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: ReadDirAll: 
2023/07/05 16:23:08 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: ReadDirAll: 
2023/07/05 16:23:08 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: ReadDirAll: 
2023/07/05 16:23:08 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: ReadDirAll: 
2023/07/05 16:23:08 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: ReadDirAll: 
2023/07/05 16:23:08 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: ReadDirAll: 
2023/07/05 16:23:08 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: ReadDirAll: 
2023/07/05 16:23:08 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: ReadDirAll: 
2023/07/05 16:23:08 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: ReadDirAll: 
2023/07/05 16:23:08 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: ReadDirAll: 
2023/07/05 16:23:08 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: ReadDirAll: 
2023/07/05 16:23:08 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: ReadDirAll: 
2023/07/05 16:23:08 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: Attr: 
2023/07/05 16:23:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:23:08 DEBUG : /: ReadDirAll: 
2023/07/05 16:23:08 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:23:09 DEBUG : /: Lookup: name="autorun.inf"
2023/07/05 16:23:09 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/07/05 16:23:09 DEBUG : : Statfs: 
2023/07/05 16:23:09 ERROR : Encrypted drive 'local_enc128:.': Statfs failed: failed to read disk usage: no such file or directory
2023/07/05 16:23:09 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/07/05 16:23:09 DEBUG : /: Attr: 
2023/07/05 16:23:09 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
^C2023/07/05 16:24:56 DEBUG : rclone: Version "v1.45" finishing with parameters ["rclone" "mount" "local_enc128:." "/home/pi/rc_enc128" "-vv"]

The newly recreated remotes with the same passwords.

$ rclone mount local_e128:. ~/rc_enc128 -vv
2023/07/05 16:25:13 DEBUG : rclone: Version "v1.45" starting with parameters ["rclone" "mount" "local_e128:." "/home/pi/rc_enc128" "-vv"]
2023/07/05 16:25:13 DEBUG : Using config file from "/home/pi/.config/rclone/rclone.conf"
2023/07/05 16:25:13 DEBUG : Encrypted drive 'local_e128:.': Mounting on "/home/pi/rc_enc128"
2023/07/05 16:25:13 INFO  : Encrypted drive 'local_e128:.': poll-interval is not supported by this remote
2023/07/05 16:25:13 DEBUG : Adding path "vfs/forget" to remote control registry
2023/07/05 16:25:13 DEBUG : Adding path "vfs/refresh" to remote control registry
2023/07/05 16:25:13 DEBUG : Adding path "vfs/poll-interval" to remote control registry
2023/07/05 16:25:13 DEBUG : : Root: 
2023/07/05 16:25:13 DEBUG : : >Root: node=/, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Lookup: name=".Trash"
2023/07/05 16:25:13 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/07/05 16:25:13 DEBUG : /: Lookup: name=".Trash-1000"
2023/07/05 16:25:13 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/07/05 16:25:13 DEBUG : /: Lookup: name="BDMV"
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:25:13 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/07/05 16:25:13 DEBUG : /: ReadDirAll: 
2023/07/05 16:25:13 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Lookup: name=".xdg-volume-info"
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:25:13 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/07/05 16:25:13 DEBUG : /: Lookup: name="autorun.inf"
2023/07/05 16:25:13 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/07/05 16:25:13 DEBUG : /: ReadDirAll: 
2023/07/05 16:25:13 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:25:13 DEBUG : /: ReadDirAll: 
2023/07/05 16:25:13 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:25:13 DEBUG : /: ReadDirAll: 
2023/07/05 16:25:13 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:25:13 DEBUG : /: ReadDirAll: 
2023/07/05 16:25:13 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:25:13 DEBUG : /: ReadDirAll: 
2023/07/05 16:25:13 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:25:13 DEBUG : /: ReadDirAll: 
2023/07/05 16:25:13 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:25:13 DEBUG : /: ReadDirAll: 
2023/07/05 16:25:13 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:25:13 DEBUG : /: ReadDirAll: 
2023/07/05 16:25:13 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:25:13 DEBUG : /: ReadDirAll: 
2023/07/05 16:25:13 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:25:13 DEBUG : /: ReadDirAll: 
2023/07/05 16:25:13 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:25:13 DEBUG : /: ReadDirAll: 
2023/07/05 16:25:13 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:25:13 DEBUG : /: ReadDirAll: 
2023/07/05 16:25:13 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:25:13 DEBUG : /: ReadDirAll: 
2023/07/05 16:25:13 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:25:13 DEBUG : /: ReadDirAll: 
2023/07/05 16:25:13 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:25:13 DEBUG : /: ReadDirAll: 
2023/07/05 16:25:13 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:25:13 DEBUG : /: ReadDirAll: 
2023/07/05 16:25:13 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:25:13 DEBUG : /: ReadDirAll: 
2023/07/05 16:25:13 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:25:13 DEBUG : /: ReadDirAll: 
2023/07/05 16:25:13 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:25:13 DEBUG : /: ReadDirAll: 
2023/07/05 16:25:13 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:25:13 DEBUG : /: ReadDirAll: 
2023/07/05 16:25:13 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:25:13 DEBUG : /: ReadDirAll: 
2023/07/05 16:25:13 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/07/05 16:25:13 DEBUG : /: ReadDirAll: 
2023/07/05 16:25:13 DEBUG : /: >ReadDirAll: item=0, err=<nil>
2023/07/05 16:25:13 DEBUG : : Statfs: 
2023/07/05 16:25:13 DEBUG : /: Lookup: name="autorun.inf"
2023/07/05 16:25:13 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/07/05 16:25:13 ERROR : Encrypted drive 'local_e128:.': Statfs failed: failed to read disk usage: no such file or directory
2023/07/05 16:25:13 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/07/05 16:25:13 DEBUG : /: Attr: 
2023/07/05 16:25:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
^C2023/07/05 16:25:18 DEBUG : rclone: Version "v1.45" finishing with parameters ["rclone" "mount" "local_e128:." "/home/pi/rc_enc128" "-vv"]
$ 

The rclone config contents with secrets removed.

Paste config here

A log from the command with the -vv flag

rclone.conf

type = crypt
remote = local:rclonefs/enc128
password = ___PASSWORD___

[local_enc256]
type = crypt
remote = local:rclonefs/enc256
password = ___PASSWORD___

[local2]
type = local

[local_e128]
type = crypt
remote = local:rclonefs/enc128
password = ___PASSWORD___

[local_e256]
type = crypt
remote = local:rclonefs/enc256
password = ___PASSWORD___

welcome to the forum,

lastest rclone is v1.63.0
https://rclone.org/downloads/#script-download-and-install

https://rclone.org/crypt/#backing-up-an-encrypted-remote

Do I need the latest? As I mentioned I did try from the newer version to older version.

From the URL

As long as you have this configuration file, you will be able to decrypt your data. Without the configuration file, as long as you remember the password (or keep it in a safe place), you can re-create the configuration and gain access to the existing data. You may also configure a corresponding remote in a different installation to access the same data.

I've also read the backup section and the rclone sync option doesn't suite what I'm trying to verify... I'm attempting to verify that I can recover the data either from cold storage or in the event I no longer have access to the original system(s), (fire, flood, tornado, earthquake...). Based on what every source hints, I should be able to just copy and access... but that is where I'm running into the issue.

imho, that is the wrong direction, 2020-11-19 to 2018-11-24
but that is just a side issue.

no need to create new remotes, no need to decrypt and re-encrypt, no need to change passwords, no need to add a salt.

  1. copy the crypted files to a new machine.
  2. copy the config file to the new machine.
  3. on the new machine, edit the config file, change remote = to point to the new location of the crypted files.

fwiw, no need for rclone mount, test using rclone ls and rclone lsd

I've tried the other way too... same issue...

I've done each step...

$ find rclonefs/enc256/
rclonefs/enc256/
rclonefs/enc256/7nqrq60u6r8jadi6ii9djnk0og
rclonefs/enc256/jle312qdlodi655pcmmmsvts32s6b81cecnnc7k2vcv9im9o0pvgj7qp4d057df5agfbiddkc4mesloo8ueit158beakm3r4sb2ctqr1h9eckg98rllee7prh2l015b9
rclonefs/enc256/3pivkt64mc0isgq6ajj2um2bsk
rclonefs/enc256/f8nagvpb4gt5t64an5tj8k6kj4
rclonefs/enc256/5bshhk94r2d6d7knkmf0aggfqk
rclonefs/enc256/lpaneu2sef45708k6e7p5ikn6s
$ 
$ rclone ls local_enc256:. -vv
2023/07/05 19:40:43 DEBUG : rclone: Version "v1.45" starting with parameters ["rclone" "ls" "local_enc256:." "-vv"]
2023/07/05 19:40:43 DEBUG : Using config file from "/home/pi/.config/rclone/rclone.conf"
2023/07/05 19:40:43 ERROR : : error listing: directory not found
2023/07/05 19:40:43 Failed to ls: directory not found
[local_enc256]
type = crypt
remote = local:rclonefs/enc256
password = ___PASSWORD___
[local_e256]
type = crypt
remote = /full/path/to/rclonefs/enc256
password = ___PASSWORD___
1 Like

in the config file, for remote =

  1. need to use absolute path
  2. no need for local:

so try something like
remote = /home/pi/rclonefs/enc256


for the command, no need for .
so try something like,
rclone ls local_enc256: -vv

Update on this issue... so I think I narrowed down the issues...

  1. The path should be the full absolute path... I mistook the local mount to be to the home directory. So some of my previous testing was due to being into the wrong directory. The following reply answered the issue but was easily overlooked since it looked so similar to what I had.
  1. It seems that rclone is not backwards compatible. I assume I was getting the same error since the directory structure seems different. The older version seems to nest an addition directory that newer version doesn't do but can still handle.
  • rclone v1.53.3-DEV
  • rclone v1.45

I believe my issue is resolved as long as I use a forward (or lateral) only compatibility model.

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