Files not showing up in OneDrive Rclone encrypted remote

What is the problem you are having with rclone?

I have set up my OneDrive remote, and all files are showing up correctly when I type rclone ls onedrive: Then I tried to set up an encrypted remote following the official instructions. But when I check back the crypt folders in onedrive, nothing seems to be encrypted and I can still see original names for all files. When I type in rclone ls test: no files shows up in Putty terminal

Name of onedrive remote: onedrive
Name of onedrive encrypted remote: test
Path of onedrive encrypted remote: onedrive:/test1

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

rclone v1.64.0
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.15.0-1040-oracle (aarch64)
- os/type: linux
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.21.1
- go/linking: static
- go/tags: none

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

Oracle Cloud

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

No particular command, but I use rclone ls test: to check whether my remote is set up successfully

Please run 'rclone config redacted' and share the full output.

type = onedrive
token = XXX
drive_id = XXX
drive_type = personal

[test]
type = crypt
remote = onedrive:/test1
password = XXX

A log from the command that you were trying to run with the -vv flag

I didn't set up anything extra at this stage, I don't know how to find log

welcome to the forum,

you need to copy file(s) into the crypt. think of it as a vault.

rclone copy file.ext test: -vv
rclone ls test:

Hi, thanks!

I use your code to copy a random file from my vps to the encrypted remote, it's showing up now, and appears to be encrypted when I check from OneDrive.

Does it only encrypt new files after the remote is established, not the existed ones ?

yes, that is how it works

Ohh, I see

I try to copy another random file from my pc to OneDrive, and type rclone ls test: That file won't show up in Putty.

Does it mean that the encrypted remote only sees files that are uploaded using Rclone, and files that are encrypted by Rclone ?

up above, i shared an example.
to crypt a file, rclone copy file.ext test:
to decrypt a file rclone copy test:file.ext ./

rclone ls test:
rclone lsf test: --format="pe" 
rclone ls onedrive:/test1

Yeah, your above command helps me understand better! the encrypted remote only sees encrypted files through ls, whereas the original onedrive remote can see all files

Got a little confused though when you say

Let me know if I understand these correctly:

So the first line is to upload files into the remote, and files are encrypted in the process, thus 'crypt a file'

The second line is to download files back to the server, and files are decrypted during the process, thus 'decrypt a file'

yes, that is how it works.

Got it, much appreciated!

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