No worries, I hope that someone can complete your amazing explanation
So then you follow these steps:
- Mount your gdrive folder using plexdrive.
- Decrypts all the files mounted with plexdrive changing the main path in .rclone.conf file.
Yeah thatâs the one, getting a lot of random crashing have to kick my cronjob to per min now.
Sorry i try plexdrive but i have a problemâŚif i put to my crypt when i do a simple rclone copy to cryptremote i receive an input/output error.
The other problem is that plexdrive map the entire google drive but my video are in gdrive:/Plex. My rclone mount is gdrive:/Plex /home/media and my Plex Library is linked in this path. I try to make a symlink but it not work.in Plex the file is not available. Where i am wrong?
There isnât a write option for plexdrive so youâd have to make a remote like I had listed above to âread-onlyâ for your plex mount and youâd have to make a separate config for the rclone copy command or it wonât work.
So in my example, I mount plexdrive to â/GDâ and I than point my rclone to /GD/media which is where my plex library is.
I have 35Tb so I suppose it will take a lot of time to do it, right?
In my case, I am using /volume1/cloud/gd as GDrive mount point. Right now I have 2 configs created in rclone:
- gd, which points to the main folder in GDrive.
- gdcrypt, which points to a specific folder inside gd, âgd:cryptâ
To get it working I must edit my rclone.conf and change gdcrypt from remote = gd:crypt
to remote = /volume1/cloud/gd/crypt
, right?
Thanks!
That seems to be right.
I have 2 configs in mine.
I mount my Google Drive to:
/GD
I have /GD/media as my crypt mount and I call that media
I have gmedia configured to my GD directly:
[GD]
type = drive
[media]
type = crypt
remote = /GD/media
filename_en[gmedia]
type = crypt
remote = GD:media
filename_encryption = standard
cryption = standard
I mount using a script like this:
/usr/bin/google-drive-ocamlfuse /GD -o allow_other,auto_cache >> /home/felix/.gdfuse/default/mount.log 2>&1 &
sleep 2
# Mount the 3 Directories via rclone for the encrypt
/usr/bin/rclone mount \
--allow-other \
--default-permissions \
--uid 1000 \
--gid 1000 \
--umask 002 \
--acd-templink-threshold 0 \
--syslog \
--stats 1m \
-v \
media: /media &
# Wait a sec
sleep 2
/usr/bin/unionfs-fuse -o cow,allow_other,auto_cache,sync_read /local/movies=RW:/media/Movies=RO /Movies
/usr/bin/unionfs-fuse -o cow,allow_other,auto_cache,sync_read /local/tv=RW:/media/TV=RO /TV
# Prime the directories
sleep 2
cd /Movies
ls -alR | wc -l
cd /TV
ls -alR | wc -l
I have another script that syncs my older than 15 days to my GD:
#!/bin/bash
OLDER='15d'
LIMIT='40M'
# Move older local files to the cloud
/usr/bin/rclone move /local/movies/ gmedia:Movies --min-age $OLDER --bwlimit $LIMIT --stats 1m -v
cd /local/movies
rmdir *
/usr/bin/rclone move /local/tv gmedia:TV --min-age $OLDER --bwlimit $LIMIT --stats 1m -v
cd /local/tv
rmdir *
Okay, thanks. I think I am in the good way. In your [GD], are you using rclone defaults or your own client_Id?
@p00ps - using my own client IDs for everything, although from @ncw previous post, I think his default quota is much higher than the default project quota.
Okay, good to know it. The main problem is that I have 35Tb in GDrive so it will take too much time to cache everything, but I hope that GDrive will works better than ACD.
Thanks for your help.
Hey, just a question about plexdrive. When it started to caching it was working so fast, but since ~5hours ago, it is extremely slow. Debug shows something like this:
[PLEXDRIVE] [2017-05-09 10:33] DEBUG : Getting children for 0B0vktfuX21LvOVBraXRIbFdWekE
[PLEXDRIVE] [2017-05-09 10:33] DEBUG : Getting children for 0B0vktfuX21LvOVBraXRIbFdWekE
[PLEXDRIVE] [2017-05-09 10:33] DEBUG : Getting children for 0B0vktfuX21LvOVBraXRIbFdWekE
[PLEXDRIVE] [2017-05-09 10:33] DEBUG : Getting children for 0B0vktfuX21LvOVBraXRIbFdWekE
[PLEXDRIVE] [2017-05-09 10:33] DEBUG : Getting children for 0B0vktfuX21LvOVBraXRIbFdWekE
[PLEXDRIVE] [2017-05-09 10:33] DEBUG : Getting children for 0B0vktfuX21LvOVBraXRIbFdWekE
[PLEXDRIVE] [2017-05-09 10:33] DEBUG : Getting children for 0B0vktfuX21LvOVBraXRIbFdWekE
[PLEXDRIVE] [2017-05-09 10:33] DEBUG : Getting children for 0B0vktfuX21LvOVBraXRIbFdWekE
[PLEXDRIVE] [2017-05-09 10:33] DEBUG : Getting children for 0B0vktfuX21LvOVBraXRIbFdWekE
[PLEXDRIVE] [2017-05-09 10:33] DEBUG : Getting children for 0B0vktfuX21LvOVBraXRIbFdWekE
[PLEXDRIVE] [2017-05-09 10:33] DEBUG : Getting children for 0B0vktfuX21LvOVBraXRIbFdWekE
[PLEXDRIVE] [2017-05-09 10:33] DEBUG : Getting children for 0B0vktfuX21LvOVBraXRIbFdWekE
[PLEXDRIVE] [2017-05-09 10:33] DEBUG : Getting children for 0B0vktfuX21LvOVBraXRIbFdWekE
[PLEXDRIVE] [2017-05-09 10:33] DEBUG : Getting children for 0B0vktfuX21LvOVBraXRIbFdWekE
[PLEXDRIVE] [2017-05-09 10:33] DEBUG : Getting children for 0B0vktfuX21LvOVBraXRIbFdWekE
[PLEXDRIVE] [2017-05-09 10:33] DEBUG : Getting children for 0B0vktfuX21LvOVBraXRIbFdWekE
[PLEXDRIVE] [2017-05-09 10:33] DEBUG : Getting children for 0B0vktfuX21LvOVBraXRIbFdWekE
[PLEXDRIVE] [2017-05-09 10:33] DEBUG : Getting children for 0B0vktfuX21LvOVBraXRIbFdWekE
[PLEXDRIVE] [2017-05-09 10:33] DEBUG : Getting children for 0B0vktfuX21LvOVBraXRIbFdWekE
[PLEXDRIVE] [2017-05-09 10:33] DEBUG : Getting children for 0B0vktfuX21LvOVBraXRIbFdWekE
[PLEXDRIVE] [2017-05-09 10:33] DEBUG : Getting children for 0B0vktfuX21LvOVBraXRIbFdWekE
[PLEXDRIVE] [2017-05-09 10:33] DEBUG : Cleaning chunk directory /tmp/chunks
[PLEXDRIVE] [2017-05-09 10:34] DEBUG : Cleaning chunk directory /tmp/chunks
[PLEXDRIVE] [2017-05-09 10:35] DEBUG : Cleaning chunk directory /tmp/chunks
[PLEXDRIVE] [2017-05-09 10:36] DEBUG : Cleaning chunk directory /tmp/chunks
[PLEXDRIVE] [2017-05-09 10:37] DEBUG : Checking for changes
[PLEXDRIVE] [2017-05-09 10:37] DEBUG : Getting change id from cache
[PLEXDRIVE] [2017-05-09 10:37] DEBUG : Cleaning chunk directory /tmp/chunks
[PLEXDRIVE] [2017-05-09 10:38] DEBUG : Cleaning chunk directory /tmp/chunks
Did you or someone have similar problems like this?
I think that was what mine looked like as well, I would just be patient⌠I can not recall how long mine took, but it was quite a while and that was for about 70TB.
Okay, I will wait then! Hope to get it soon.
Thanks!
Although having said that, I think it may have finished, as if you run the command directly it does not go into the background.
If you open another shell can you browse to the folders in the plexdrive mount?
I have found that large directories take a long time to list
Yes! You are totally right. It seems it has done. If I execute plexdrive -fuse-options allow_other...
it says the cache has started and finished in a second. I will start to scan the library with Plex then.
Edit: I can browse the folders without problems. It takes some time to list but it works.
Question. What you have for an Download Speed in Plex when you are click Download for an Movie in PlexWeb?
My speed are only 600 KB´s. direct from GSuite i can download with high speed.
And it seems, v2.0 is on dweidenfeldâs github repo.
Released a couple of hours ago.
It has certainly improved the speed of folder listingâŚ
Yeah, it works so much better.
Confirmed. Iâve switched my mounts over. The crypts are still on rclone, of course.