Encrypted mounted files wont show for Plex/File Explorer

What is the problem you are having with rclone?

I have spent a few hours trying to get an encrypted version of my files stored in Gdrive mounted on my system. I have used two methods online (with fresh config files) trying to do so. The files will not show up unless I directly mount gdrive:

What is your rclone version (output from rclone version)

v1.53.1

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Windows 10, 64 bit

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

Google Drive

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

rclone mount gcrypt: H: --allow-other --cache-db-purge --buffer-size 32M --use-mmap --dir-cache-time 72h --drive-chunk-size 16M  --timeout 1h  --vfs-cache-mode minimal --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit 1G &

The rclone config contents with secrets removed.

[gdrive]
type = drive
client_id = xx
client_secret = xx
scope = drive
root_folder_id = xx
token = {"access_token":"","token_type":"Bearer","refresh_token":""}


[gcrypt]
type = crypt
remote = gdrive
filename_encryption = standard
directory_name_encryption = true
password = xxxx
password2 = xxxx

hello and welcome to the forum,

these flags can be removed.

  • -allow-other does nothing on windows.
  • --cache-db-purge, that is for the cache backend, which your config is not using and should not be using.

for gcrypt, the remote is not correct,
as it is now, it is point to to local folder named gdrive
remotes have a colon in the name.

so change
remote = gdrive
to
remote = gdrive:

as per docs, i would add a path to that remote such as
remote = gdrive:media

Remote to encrypt/decrypt.
Normally should contain a ':' and a path, eg "myremote:path/to/dir",
"myremote:bucket" or maybe "myremote:" (not recommended).

before using the mount, make sure rclone can see remotes.

  • rclone ls gdrive:
  • rclone ls gcrypt:

if you are going to stream media, this is recommend
--vfs-cache-mode-full

Thank you for the quick response! I just tried attempting your fixes and rclone ls gcrypt: returns nothing whereas rclone ls gdrive: shows everything.

Once mounted, it shows the accurate storage left in gdrive but no files.

Can you post your updated rclone.conf?
Can you share the rclone lsd gdrive:
Did you create a folder in gdrive: for your encrypted files?
How did you upload files to that encrypted remote?

I uploaded files directly to google drive and placed them in the "Home" folder under "Movies & TV"

[gdrive]
type = drive
client_id = XXXXX
client_secret = XXXXX
scope = drive
token = {"XXXX"}

[gcrypt]
type = crypt
remote = gdrive:Home
filename_encryption = standard
directory_name_encryption = true
password = xxx
password2 = xxx
rclone lsd gdrive:
          -1 2020-10-10 19:45:45        -1 Home
          -1 2020-10-11 02:08:05        -1 Torrent
          -1 2020-10-10 21:46:32        -1 crypt

Not sure what you mean by uploading to the encrypted remote.

Read through:

The way rclone encryption works is you have to upload to the encrypted remote you made. There is how rclone encrypts the file when it uploads.

You'd want to make a folder specifically for encryption and use that folder for the encrypted remote and upload files to that.

Otherwise, you aren't going to see any encryption.

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