What is the problem you are having with rclone?
Plex not scanning encrypted files. I can see the folder and all the files in it Encrypted in Plex but if i add them plex is not scanning.
Run the command 'rclone version' and share the full output of the command.
rclone v1.61.1
- os/version: debian 11.6 (64 bit)
- os/kernel: 5.10.0-19-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.19.4
- go/linking: static
- go/tags: none
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
)
Paste command here
The rclone config contents with secrets removed.
[gdrive]
type = drive
scope = drive
token = Removed
team_drive = 0AHf4k2r6GsBWUk9PVA
root_folder_id =
client_id = Removed
client_secret = Removed
[crypt]
type = crypt
remote = gdrive:Crypt
password = Removed
password2 = Removed
A log from the command with the -vv
flag
Paste log here
asdffdsa
(jojothehumanmonkey)
2
hi,
try adding --allow-other
if not, then please run the rclone mount
command with -vv
and post the top 30 lines
user01@10826990:~$ rclone mount gdrive: /Crypt -vv
2023/01/27 22:49:28 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "mount" "gdrive:" "/Crypt" "-vv"]
2023/01/27 22:49:28 DEBUG : Creating backend with remote "gdrive:"
2023/01/27 22:49:28 DEBUG : Using config file from "/home/user01/.config/rclone/rclone.conf"
2023/01/27 22:49:28 DEBUG : gdrive: Loaded invalid token from config file - ignoring
2023/01/27 22:49:29 DEBUG : Saving config "token" in section "gdrive" of the config file
2023/01/27 22:49:29 DEBUG : gdrive: Saved new token in config file
2023/01/27 22:49:29 DEBUG : Google drive root '': Mounting on "/Crypt"
2023/01/27 22:49:29 Fatal error: failed to mount FUSE fs: mountpoint does not exist: /Crypt
asdffdsa
(jojothehumanmonkey)
4
can you post output of rclone listremotes
user01@10826990:~$ rclone listremotes
crypt:
gdrive:
rclone lsd crypt:
1 2023-01-27 21:20:06 -1 A Storm for Christmas (2022) 1080p NF WEB-DL [TR-EN-DE-NOR] DDP5.1 H264 -TURG
-1 2023-01-27 21:22:23 -1 Daniel Spellbound (2022) S01 1080p NF WEB-DL [TR-EN-DE] DDP5.1 H264 -TURG
-1 2023-01-27 21:24:30 -1 Dead End Paranormal Park S01-02 1080p NF WEB-DL [ENG-DE-TR] DDP5.1 H.264-TURG
-1 2023-01-27 21:25:09 -1 Emily in Paris (2020) S03 1080p NF WEB-DL [TR-EN-DE] DDP5.1 H264 -TURG
-1 2023-01-27 21:24:41 -1 Floor Is Lava S03 1080p NF WEB-DL [TR-EN-DE] DDP5.1 H.264-TURG
-1 2023-01-27 21:25:31 -1 Gefesselt (2023) S01 German 1080p AMZN WEbDL DDP5.1 H264 - TURG
-1 2023-01-27 21:30:57 -1 Ginny & Georgia (2021) S02 1080p NF WEB-DL
rclone lsd gdrive:/Crypt
-1 2023-01-27 21:24:30 -1 08bltm1rhbtld86sej1csd7u32sqqug96teasjk5gmahqbj5ao1mj2nodnb4e2qb5vsrnsepun7h8mhdaqm7p25f01na5djsjessaq51vfsi9qshj99o43g02nm564lo
-1 2023-01-27 21:25:31 -1 85nt13di09tf1uuf5804do2fd5j3m2eu0fof1qmuofabgkf6gvfbmc5ehghel1dp2q1qtg9t2kubbme792vip5mkq893qvofmlmh9q0
-1 2023-01-27 21:30:57 -1 anl2uk87n8hcakq2ekpsbtbajmif91kuvuj9uk1f4o1k9om1nvg77g11m6sh8hbtj862n51cb3ltnu13slhf6v7kgpsjtqd89pu3mamca62c4mfc00nr7mu1ujo8tree
-1 2023-01-27 21:22:23 -1 baugl9hq7cdllkirp0qk6nfsutgr6m0j70p9p7u6j4bttquns1lotckc1lpleduv1lo5tr9fajqb9699k8brtgvmgdb4ief7bv9ufsu2ig9ct33s3rli1gesf74rapil
-1 2023-01-27 21:25:09 -1 ctl880fef6lnnapa8d14eoglt5ml71589q61493jorffbfj6e84eqt6l3a1q3ijjepafb9vkucv4djmoj16fofkvdg55igsnb7khnfjq9g2ui85dp6oa4b442mrob368
-1 2023-01-27 21:20:06 -1 f3o9or1n0k94qbi1k81huq2uf14bde4rqfrka7lcrfoeevkfe4scpiedo2fok73cre33jtvbgh99003i065m22qattcst5lpp5smipm58n6mga1rl14k79b51tl49i4g
-1 2023-01-27 21:27:52 -1 felut1t04e453f1jlv1vhu6jm3hujhgd0rvajbde0s8u96500aqa7oeobmfo4hjvnlq7jcljvcu3n9s8tsi13b0geq06bfs4jg56kn8
-1 2023-01-27 21:24:41 -1 mr8eqhhepkdpup6eqiash0i8mp4kogc0qvf0qsi9m1uq1i6dcrh97cdgfk08uoe7amr0p411f3svcru0p39mn7vaa9c8b3io5l83h18
asdffdsa
(jojothehumanmonkey)
9
try this
rclone mount crypt: /Crypt -vv --allow-other
"On Linux, start the mount where /path/to/local/mount
is an empty existing directory"
so make sure /Crypt
exists on your machine and is empty
user01@10826990:~$ rclone mount crypt: /Crypt -vv --allow-other
2023/01/27 23:01:41 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "mount" "crypt:" "/Crypt" "-vv" "--allow-other"]
2023/01/27 23:01:41 DEBUG : Creating backend with remote "crypt:"
2023/01/27 23:01:41 DEBUG : Using config file from "/home/user01/.config/rclone/rclone.conf"
2023/01/27 23:01:41 DEBUG : Creating backend with remote "gdrive:Crypt"
2023/01/27 23:01:42 DEBUG : Encrypted drive 'crypt:': Mounting on "/Crypt"
2023/01/27 23:01:42 Fatal error: failed to mount FUSE fs: mountpoint does not exist: /Crypt
I have created an empty folder here /home/user01/Crypt
asdffdsa
(jojothehumanmonkey)
11
/Crypt
from the root of the file system, not inside your homedir.
same as /etc
so have to make the dir -> /Crypt
mkdir /Crypt
mkdir: cannot create directory ‘/Crypt’: Permission denied
cannot create it there
sudo rclone mount crypt: /Crypt -vv --allow-other
2023/01/27 23:17:07 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "mount" "crypt:" "/Crypt" "-vv" "--allow-other"]
2023/01/27 23:17:07 DEBUG : Creating backend with remote "crypt:"
2023/01/27 23:17:07 NOTICE: Config file "/root/.config/rclone/rclone.conf" not found - using defaults
2023/01/27 23:17:07 Failed to create file system for "crypt:": didn't find section in config file
asdffdsa
(jojothehumanmonkey)
15
before you ran the mount as user01
, now you are running the mount as user01
why the change?
rclone config files are per user.
so if you must run rclone mount as root, need to have a config file for root user at
/root/.config/rclone/rclone.conf
I have always done it as user01 other user does not exist at all
asdffdsa
(jojothehumanmonkey)
17
you ran the last command using sudo
, so rclone ran as root.
run the command command without sudo
rclone mount crypt: /Crypt -vv --allow-other
user01@10826990:~$ rclone mount crypt: /Crypt -vv --allow-other
2023/01/27 23:25:53 DEBUG : rclone: Version "v1.61.1" starting with parameters [ "rclone" "mount" "crypt:" "/Crypt" "-vv" "--allow-other"]
2023/01/27 23:25:53 DEBUG : Creating backend with remote "crypt:"
2023/01/27 23:25:53 DEBUG : Using config file from "/home/user01/.config/rclone/ rclone.conf"
2023/01/27 23:25:53 DEBUG : Creating backend with remote "gdrive:Crypt"
2023/01/27 23:25:54 DEBUG : Encrypted drive 'crypt:': Mounting on "/Crypt"
2023/01/27 23:25:54 mount helper error: fusermount: user has no write access to mountpoint /Crypt
2023/01/27 23:25:54 Fatal error: failed to mount FUSE fs: fusermount: exit statu s 1
asdffdsa
(jojothehumanmonkey)
19
sudo chmod 777 /Crypt
then run the rclone mount command
ok now the files are in /Crypt folder
last line on command is this
2023/01/27 23:30:50 DEBUG : Google drive root 'Crypt': Checking for changes on remote