Skip to content

PGCache

Admin9705 edited this page Feb 22, 2019 · 14 revisions

CLICKING the STAR in the UPPER RIGHT promotes our PROJECT on GITHUB! - WARNING, PLEASE VISIT https://pgblitz.com/wikis/ - This is the old wiki!


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!

http://PGBlitz.wiki

Useful Starter Links

  1. Introduction
  2. Blitz YouTube Channel
  3. G-Suite Signup
  4. Recommended NewsHosts

Prior Planning 101

  1. Recommended Pre-Reading
  2. Server - Storage Planning
  3. Usenet or BitTorrent
  4. PG Editions
  5. PGBlitz Repos
  6. Common Issues

Deploy & Config

PGBlitz
  1. SSH Server Access
  2. Create a SUDO User
  3. Install PGBlitz
  4. WatchTower
  5. Remote Path Mappings

Data Transport
  1. PG Clone
    1. Google OAuth Keys
    2. PG Move
    3. PG Blitz
    4. 2nd HD Option

Key Components

  1. Traefik
  2. Port Guard
  3. PG Shield
  4. PG Press
  5. Google Cloud - GCE
    1. Automated setup
  6. Hetzner Cloud
  7. PG Fork
  8. Extra PG Commands

Blitz App Info

  1. Accessing PG Apps
  2. App Port Scheme
  3. Plex to AutoScan

Tools & Services

Core Apps [Expand]
  1. Emby
  2. Jackett
  3. Jellyfin
  4. LazyLibrarian
  5. Lidarr
  6. Netdata
  7. NZBGet
  8. Ombi
  9. Plex
  10. Portainer
  11. qBittorrent
  12. Radarr
  13. RuTorrent
  14. SABNZBD
  15. Sonarr
  16. Tautulli
Community Apps [Expand]
  1. AirSonic
  2. AllTube
  3. Bazarr
  4. Beets
  5. Bitwarden
  6. BookSonic
  7. cAdvisor
  8. Cloud Commander
  9. DDClient
  10. Deezloaderremix
  11. Deluge
  12. DelugeVPN
  13. Duplicati
  14. EmbyStats
  15. FlexGet
  16. Gazee
  17. Gitea
  18. Handbrake
  19. Headphones
  20. Heimdall
  21. HomeAssistant
  22. HTPCManager
  23. JDownloader2
  24. jd2-openvpn
  25. Kitana
  26. Logarr
  27. MakeMKV
  28. MariaDB
  29. McMyadmin
  30. MEDUSA
  31. Mellow
  32. Monitorr
  33. Muximux
  34. Mylar
  35. NextCloud
  36. NowShowing
  37. NZBHydra2
  38. NZBThrottle
  39. Organizr
  40. pyLoad
  41. Radarr4k
  42. Resilio
  43. rflood-openvpn
  44. rutorrent-openvpn
  45. ShareSite
  46. Shoko Anime Server
  47. SpeedTest
  48. SyncLounge
  49. Syncthing
  50. The Lounge
  51. Transmission
  52. Trakt.or
  53. Ubooquity
  54. x TeVe
  55. Zammad

Misc Info & Articles

  1. Change Server Time
  2. Fail2Ban
  3. Custom Containers
Scripts
  1. Scripting Area
    1. Auto Upload for Sonarr and Lidarr
    2. Auto Delete Log
    3. Plex Plugin DB Backup
    4. Plex fast BACKUP
Clone this wiki locally
You can’t perform that action at this time.