How to mount Google Drive for Plex usage
Updated over a week ago

Plexdrive allows you to mount your Google Drive account as read-only fuse filesystem, with direct delete option on the filesystem.

So now we are going to show you how you can achieve that and start streaming media files directly from Google Drive with Plex.

Step 1 - Generating Google Drive API Client ID and Client Secret key

Please follow this guide and generate your keys, as you will need them in order to setup Plexdrive. 

Step 2 -  Install Plexdrive

First run: 

install-app -t

Use arrows keys to navigate, select "Install Application" and hit enter.

Now navigate over "Streaming" and hit enter 

Select   Plexdrive Service and then tap enter on Install

Installation will start, wait a few minutes until it's finished and then exit the installer tool

Step 3 -  Start the authentication process (run as a user, not root) 

First you have to login to your server using SSH. If you don't know how to do that follow this article.

Now type in this command:

plexdrive-init

Step 4 - Enter all the required information

Now you will be asked to enter your client ID and client secret that you previously generated in the Step 1.

Go to a given link

Step 5 - Grant permissions

When you go to that link, you will have to give permissions to Plexdrive. Google will warn you, but you should just ignore those warning as Plexdrive is not a threat.

Step 6 - Copy the given code and paste it

Now if you have done everything correctly, the final result should be looking something like this. 

Step 7 - The final touch, run these commands one by one as a root

mkdir ~plex/.plexdrive
cp -vf /home/user/.plexdrive/* ~plex/.plexdrive/
chown -Rv plex:plex ~plex/.plexdrive
mkdir /plexdrive
chown -Rv plex:plex /plexdrive
systemctl daemon-reload
systemctl enable plexdrive
systemctl restart plexdrive

And now, go on your Plex and add to library "plexdrive" 😄

Now, video files from Google Drive should be loaded in that directory. If they aren't, please try to log out and log in again first. 

I don't know what to do next...

If you need any assistance, let us know by opening a chat in the lower right hand corner of your screen. We're here to help 😄

Did this answer your question?