Skip to content

PGCache

Admin0705 edited this page May 17, 2018 · 14 revisions

CLICKING the STAR in the UPPER RIGHT promotes our PROJECT on GITHUB!


NOTES UNTIL FINISHED

PGCache basically deploys two rclone caches, one is your personal gsuite with the other being your teamdrive.

Basically, we no longer need PLEXDRIVE while having the ability to read both drives through a combonation unionfs. Your downloaded file will not upload via the traditional rclone route, by either through the traditional move service or SuperTransfer2.

PGScan is being intergrated to ensure that your files show up right away (Bryde has been a great help). We added a scan delay due to shows taking a few minutes to show up. Since files hit /mnt/move, it shouldn't take long due to the fact the file local and is almost ready for scanning. Please be patient with this writeup until more automated.

To make life easier for you, if you have no rclone config in place; PGCache will deploy an rclone config file for you with 2 of the 4 configs already built. Your basically going to add GDrive Personal and your TeamDrive.

GOTO PROGRAMS > BETA > PGCACHE

  1. Run Rclone and let it install. Afterwards, you should be in rclone config. You should see two mounts:
  • tcache (for teamdrive)
  • gcache (for googledrive)

You will create 2 mounts as listed (do not put in your id and secret, press 1 to everything asking for it and anything you type in, just hit enter!)

  1. gdrive - select 11 - veryif your token
  2. teamdrive - select 11 - verify your token

In the end, you should have 4 files: tcache, gcache, gdrive, and teamdrive

FROM HERE on that same beta menu, select [ Deploy PGCache ] Before doing this, have something in your TeamDrive and Personal Drive; they should show up in the test below.

After it's done, verify the following mounts works

ls -la /mnt/gdrive ls -la /mnt/tcache ls -la /mnt/gdrive

Verify the following services work

sudo systemctl status tcache sudo systemctl status gcache sudo systemctl status unionfs

Now you will Go back and Deploy Super Transfer 2

Visit GCE Feedbox on this for more info

In the end when you are done, point PLEX to /mnt/unionfs/ as a base and whatever folder from there.

After this is all good, PG Scan instructions will be here so stuff scans right away!


To outright deploy this not being ready, you will type ansible-role pgcache. This is not smart until you configure your rclone configs and then deploy it!

Installing PlexGuide

  1. PlexGuide Install Information

Preplanning & Information

  1. PG Folder Structure

Domain and Port Control

  1. CloudFlare Tunnel

Primary Applications

  1. Plex

Useful Links

  1. PG YouTube Channel
Clone this wiki locally