Plex Cloud vs VPS - why we went with a VPS

@amirza2 said:

Make sure your mount point has the same permissions as your user who is running plex. If not add them to the same group, or 777 the plex folder so everyone has full access. As for the service error, try a reboot i think you crashed systemctl, which i’ve never seen before. Did you mess with it’s default settings somehow

So I rebuilt the server and started from scratch and guess what it worked!
My Movies folder now shows up on the Plex server and I had just a few movies in there to test and it played flawlessly I’m so happy!

Now comes the next part on figuring out how to install rclone and encrypt the movie files I am uploading. I will continue to follow the rest of this guide here.

Thanks all.

@KeekUras said:
Since we’re on the subject, anyone know how to start over with plexdrive if you screwed up the authentication? I stopped short of tying plexdrive to a backup project. I’ve corrected the project so I just need to be able to start the plexdrive -v 2 /mnt/plexdrive piece over. If I close my VPS session, reconnect and try again, it keeps coming back to “Paste the authorization code”. I couldn’t find any info on this specifically. Thanks in advance.

Ok, I figured it out. I had to log in as root, change to the /home/plexuser/.plexdrive directory, open and blank the token.jason file, save it, log out/back in as plex user and was able to restart the process.

Still not quite working. Maybe I’m on the wrong path but does this look like fuse isn’t enabled on my VPS?

sudo service plexdrive status
● plexdrive.service - Plexdrive
   Loaded: loaded (/etc/systemd/system/plexdrive.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2017-06-21 23:22:53 UTC; 2s ago
  Process: 2363 ExecStop=/bin/fusermount -u /mnt/plexdrive (code=exited, status=1/FAILURE)
  Process: 2351 ExecStart=/usr/sbin/plexdrive -v 2 /mnt/plexdrive (code=exited, status=5)
 Main PID: 2351 (code=exited, status=5)

Jun 21 23:22:53 bellator plexdrive[2351]: [USR/SBIN/PLEXDRIVE] [2017-06-21 23:22] INFO   : Mounting path /mnt/plexdrive
Jun 21 23:22:53 bellator plexdrive[2351]: [USR/SBIN/PLEXDRIVE] [2017-06-21 23:22] INFO   : No last change id found, starting from beginning...
Jun 21 23:22:53 bellator plexdrive[2351]: [USR/SBIN/PLEXDRIVE] [2017-06-21 23:22] INFO   : First cache build process started...
Jun 21 23:22:53 bellator plexdrive[2351]: [USR/SBIN/PLEXDRIVE] [2017-06-21 23:22] INFO   : Using clear-by-interval method for chunk cleaning
Jun 21 23:22:53 bellator plexdrive[2351]: 2017/06/21 23:22:53 mount helper error: fusermount: fuse device not found, try 'modprobe fuse' first
Jun 21 23:22:53 bellator systemd[1]: plexdrive.service: Main process exited, code=exited, status=5/NOTINSTALLED
Jun 21 23:22:53 bellator fusermount[2363]: /bin/fusermount: failed to unmount /mnt/plexdrive: Invalid argument
Jun 21 23:22:53 bellator systemd[1]: plexdrive.service: Control process exited, code=exited status=1
Jun 21 23:22:53 bellator systemd[1]: plexdrive.service: Unit entered failed state.
Jun 21 23:22:53 bellator systemd[1]: plexdrive.service: Failed with result 'exit-code'.

modprobe fuse

modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/2.6.32-042stab123.3/modules.dep.bin'
modprobe: FATAL: Module fuse not found in directory /lib/modules/2.6.32-042stab123.3

sudo apt-get install fuse

Reading package lists... Done
Building dependency tree
Reading state information... Done
fuse is already the newest version (2.9.4-1ubuntu3.1).
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.

@KeekUras said:
Still not quite working. Maybe I’m on the wrong path but does this look like fuse isn’t enabled on my VPS?

I cannot comment on what is wrong with your setup but I had to ask my VPS provider to enable fuse as it is not something commonly enabled by default.

@XavierBR said:

@KeekUras said:
Still not quite working. Maybe I’m on the wrong path but does this look like fuse isn’t enabled on my VPS?

I cannot comment on what is wrong with your setup but I had to ask my VPS provider to enable fuse as it is not something commonly enabled by default.

Thank you for the response. I had the provider enable fuse and that seemed to help but it’s still not quite there.

● plexdrive.service - Plexdrive
   Loaded: loaded (/etc/systemd/system/plexdrive.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2017-06-22 00:14:23 UTC; 54s ago
 Main PID: 974 (code=exited, status=5)

Jun 22 00:14:23 bellator systemd[1]: Started Plexdrive.
Jun 22 00:14:23 bellator plexdrive[974]: [USR/SBIN/PLEXDRIVE] [2017-06-22 00:14] INFO   : Mounting path /mnt/plexdrive
Jun 22 00:14:23 bellator plexdrive[974]: [USR/SBIN/PLEXDRIVE] [2017-06-22 00:14] INFO   : No last change id found, starting from beginning...
Jun 22 00:14:23 bellator plexdrive[974]: [USR/SBIN/PLEXDRIVE] [2017-06-22 00:14] INFO   : First cache build process started...
Jun 22 00:14:23 bellator plexdrive[974]: [USR/SBIN/PLEXDRIVE] [2017-06-22 00:14] INFO   : Using clear-by-interval method for chunk cleaning
Jun 22 00:14:23 bellator plexdrive[974]: [USR/SBIN/PLEXDRIVE] [2017-06-22 00:14] WARNING: Could not get object root from API
Jun 22 00:14:23 bellator plexdrive[974]:
Jun 22 00:14:23 bellator systemd[1]: plexdrive.service: Main process exited, code=exited, status=5/NOTINSTALLED
Jun 22 00:14:23 bellator systemd[1]: plexdrive.service: Unit entered failed state.
Jun 22 00:14:23 bellator systemd[1]: plexdrive.service: Failed with result 'exit-code'.

I’m not sure what’s causing the Active failed. Here’s the startup script:

[Unit]
Description=Plexdrive
AssertPathIsDirectory=/mnt/plexdrive
After=network-online.target

[Service]
Type=simple
ExecStart=/usr/bin/plexdrive -v 2 /mnt/plexdrive
ExecStop=/bin/fusermount -u /mnt/plexdrive
Restart=on-abort

[Install]
WantedBy=default.target

Any thoughts are appreciated.

@KeekUras Did you install mongodb as well? Assuming you’re using the newest release of PlexDrive…

@hthighway said:
@KeekUras Did you install mongodb as well? Assuming you’re using the newest release of PlexDrive…

Yes sir, I did both. Thanks!

@KeekUras said:

@hthighway said:
@KeekUras Did you install mongodb as well? Assuming you’re using the newest release of PlexDrive…

Yes sir, I did both. Thanks!

One thing I noticed that caused me an issue as well, your outputs are showing your plexdrive in [USR/SBIN/PLEXDRIVE] but your auto-script it pointing to /usr/bin/plexdrive.

@XavierBR said:

@KeekUras said:

@hthighway said:
@KeekUras Did you install mongodb as well? Assuming you’re using the newest release of PlexDrive…

Yes sir, I did both. Thanks!

One thing I noticed that caused me an issue as well, your outputs are showing your plexdrive in [USR/SBIN/PLEXDRIVE] but your auto-script it pointing to /usr/bin/plexdrive.

I apologize, I copied what I had in Notepad++ from the tutorial, not the actual script from my VPS box. I believe the actual script is correct. here it is:

[Unit]
Description=Plexdrive
AssertPathIsDirectory=/mnt/plexdrive
After=network-online.target

[Service]
Type=simple
ExecStart=/usr/sbin/plexdrive -v 2 /mnt/plexdrive
ExecStop=/bin/fusermount -u /mnt/plexdrive
Restart=on-abort

[Install]
WantedBy=default.target

I have closed out all that other stuff. I’ve been working on setting this up on and off all day so I had a lot of things open :smile:

@KeekUras said
I apologize, I copied what I had in Notepad++ from the tutorial, not the actual script from my VPS box. I believe the actual script is correct.

Sorry if I’m looking for something too simple here, but is the Drive API enabled in the GSuite account?

@KeekUras said:

@XavierBR said:

@KeekUras said:
Still not quite working. Maybe I’m on the wrong path but does this look like fuse isn’t enabled on my VPS?

I cannot comment on what is wrong with your setup but I had to ask my VPS provider to enable fuse as it is not something commonly enabled by default.

Thank you for the response. I had the provider enable fuse and that seemed to help but it’s still not quite there.

● plexdrive.service - Plexdrive
   Loaded: loaded (/etc/systemd/system/plexdrive.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2017-06-22 00:14:23 UTC; 54s ago
 Main PID: 974 (code=exited, status=5)

Jun 22 00:14:23 bellator systemd[1]: Started Plexdrive.
Jun 22 00:14:23 bellator plexdrive[974]: [USR/SBIN/PLEXDRIVE] [2017-06-22 00:14] INFO   : Mounting path /mnt/plexdrive
Jun 22 00:14:23 bellator plexdrive[974]: [USR/SBIN/PLEXDRIVE] [2017-06-22 00:14] INFO   : No last change id found, starting from beginning...
Jun 22 00:14:23 bellator plexdrive[974]: [USR/SBIN/PLEXDRIVE] [2017-06-22 00:14] INFO   : First cache build process started...
Jun 22 00:14:23 bellator plexdrive[974]: [USR/SBIN/PLEXDRIVE] [2017-06-22 00:14] INFO   : Using clear-by-interval method for chunk cleaning
Jun 22 00:14:23 bellator plexdrive[974]: [USR/SBIN/PLEXDRIVE] [2017-06-22 00:14] WARNING: Could not get object root from API
Jun 22 00:14:23 bellator plexdrive[974]:
Jun 22 00:14:23 bellator systemd[1]: plexdrive.service: Main process exited, code=exited, status=5/NOTINSTALLED
Jun 22 00:14:23 bellator systemd[1]: plexdrive.service: Unit entered failed state.
Jun 22 00:14:23 bellator systemd[1]: plexdrive.service: Failed with result 'exit-code'.

I’m not sure what’s causing the Active failed. Here’s the startup script:

[Unit]
Description=Plexdrive
AssertPathIsDirectory=/mnt/plexdrive
After=network-online.target

[Service]
Type=simple
ExecStart=/usr/bin/plexdrive -v 2 /mnt/plexdrive
ExecStop=/bin/fusermount -u /mnt/plexdrive
Restart=on-abort

[Install]
WantedBy=default.target

Any thoughts are appreciated.

Check your API, make sure you have the correct client id and secret and you given it permission to access your drive account.

@camelgod said:

@KeekUras said
I apologize, I copied what I had in Notepad++ from the tutorial, not the actual script from my VPS box. I believe the actual script is correct.

Sorry if I’m looking for something too simple here, but is the Drive API enabled in the GSuite account?

No, I appreciate the help. But I already do have the API enabled in my GSuite account.

@KeekUras said:

@camelgod said:

@KeekUras said
I apologize, I copied what I had in Notepad++ from the tutorial, not the actual script from my VPS box. I believe the actual script is correct.

Sorry if I’m looking for something too simple here, but is the Drive API enabled in the GSuite account?

No, I appreciate the help. But I already do have the API enabled in my GSuite account.

@camelgod and @amirza2, thank you so much for your help. It turned out to be three things:

  1. Blanking out the config.json and starting over wasn’t enough. I had to delete the file and let the process recreate it.
  2. I would’ve sworn on my mother’s grave that I enabled the API but I hadn’t. I apologize, that was my flub.

Also, I missed something in the forums earlier so a thank you to @mdnitoil:

  1. I had to add the --config piece to my plexdrive service.

I also added the -o allow_other option to my plexdrive service.

Thank you guys very much. This has been a strange learning experience :slight_smile: Patience is definitely required!

So, when I go to Plex now, I see the Plexdrive folder but when I double-click it, nothing shows. Do I just need to wait awhile?

@KeekUras said:

So, when I go to Plex now, I see the Plexdrive folder but when I double-click it, nothing shows. Do I just need to wait awhile?

Ok, I figured out what it was doing; I ran “sudo service plexdrive status”, it is mapping to the root of the GCD by default and caching everything, not just my media (I backup mine and my wife’s PCs there too) so I stopped the service. How do I specify in the config where to map directly to the Media folder in the root of GCD? I found some instructions on how to somewhat do it for using with rclone and encrypted drives but I’m currently not doing that.

Actually, I don’t know. Since I’m running Gsute, I ended up creating a second account and use it for all of my non-Plex storage. I figure I’m eventually going to be forced to get to 5 users at some point, so I might as well ease into it.

@mdnitoil said:
Actually, I don’t know. Since I’m running Gsute, I ended up creating a second account and use it for all of my non-Plex storage. I figure I’m eventually going to be forced to get to 5 users at some point, so I might as well ease into it.

That’s cool, I appreciate it anyway. I know what you mean but I just keep hoping they never do enforce the 5 users.

@KeekUras said:

@KeekUras said:

So, when I go to Plex now, I see the Plexdrive folder but when I double-click it, nothing shows. Do I just need to wait awhile?

Ok, I figured out what it was doing; I ran “sudo service plexdrive status”, it is mapping to the root of the GCD by default and caching everything, not just my media (I backup mine and my wife’s PCs there too) so I stopped the service. How do I specify in the config where to map directly to the Media folder in the root of GCD? I found some instructions on how to somewhat do it for using with rclone and encrypted drives but I’m currently not doing that.

While you can map plexdrive to folders outside of root, it’s a bit of pain to make work and it’s hit and miss. Better to just map to root and point plex at the correct folders. As for stuff not showing in plex that is a permissions issue. I had the same issue with emby when i was adding stuff. If you installed plex from the repo it should be running as the user plex, can use htop to confirm, so go to your plexdrive folder and run “ls -l” it will tell you who has permissions on that folder. I’ll bet it’s either root or your current user. Chown the files to plex if only plex is gonna mess with the plexdrive folder or add your current users group to plex. I don’t know your install but in ubuntu to add group to existing user its “sudo usermod -a -G groupName userName”

@amirza2 said:

@KeekUras said:

@KeekUras said:

So, when I go to Plex now, I see the Plexdrive folder but when I double-click it, nothing shows. Do I just need to wait awhile?

Ok, I figured out what it was doing; I ran “sudo service plexdrive status”, it is mapping to the root of the GCD by default and caching everything, not just my media (I backup mine and my wife’s PCs there too) so I stopped the service. How do I specify in the config where to map directly to the Media folder in the root of GCD? I found some instructions on how to somewhat do it for using with rclone and encrypted drives but I’m currently not doing that.

While you can map plexdrive to folders outside of root, it’s a bit of pain to make work and it’**** and miss. Better to just map to root and point plex at the correct folders. As for stuff not showing in plex that is a permissions issue. I had the same issue with emby when i was adding stuff. If you installed plex from the repo it should be running as the user plex, can use htop to confirm, so go to your plexdrive folder and run “ls -l” it will tell you who has permissions on that folder. I’ll bet it’s either root or your current user. Chown the files to plex if only plex is gonna mess with the plexdrive folder or add your current users group to plex. I don’t know your install but in ubuntu to add group to existing user its “sudo usermod -a -G groupName userName”

@amirza2 said:

@KeekUras said:

@KeekUras said:

So, when I go to Plex now, I see the Plexdrive folder but when I double-click it, nothing shows. Do I just need to wait awhile?

Ok, I figured out what it was doing; I ran “sudo service plexdrive status”, it is mapping to the root of the GCD by default and caching everything, not just my media (I backup mine and my wife’s PCs there too) so I stopped the service. How do I specify in the config where to map directly to the Media folder in the root of GCD? I found some instructions on how to somewhat do it for using with rclone and encrypted drives but I’m currently not doing that.

While you can map plexdrive to folders outside of root, it’s a bit of pain to make work and it’**** and miss. Better to just map to root and point plex at the correct folders. As for stuff not showing in plex that is a permissions issue. I had the same issue with emby when i was adding stuff. If you installed plex from the repo it should be running as the user plex, can use htop to confirm, so go to your plexdrive folder and run “ls -l” it will tell you who has permissions on that folder. I’ll bet it’s either root or your current user. Chown the files to plex if only plex is gonna mess with the plexdrive folder or add your current users group to plex. I don’t know your install but in ubuntu to add group to existing user its “sudo usermod -a -G groupName userName”

Edit: Actually don’t chown your files to plex, might mess up plexdrive, add user to correct group for access.

Edit2: Meant for this to be a edit too my first post lol

@amirza2 said:

@KeekUras said:

@KeekUras said:

So, when I go to Plex now, I see the Plexdrive folder but when I double-click it, nothing shows. Do I just need to wait awhile?

Ok, I figured out what it was doing; I ran “sudo service plexdrive status”, it is mapping to the root of the GCD by default and caching everything, not just my media (I backup mine and my wife’s PCs there too) so I stopped the service. How do I specify in the config where to map directly to the Media folder in the root of GCD? I found some instructions on how to somewhat do it for using with rclone and encrypted drives but I’m currently not doing that.

While you can map plexdrive to folders outside of root, it’s a bit of pain to make work and it’**** and miss. Better to just map to root and point plex at the correct folders. As for stuff not showing in plex that is a permissions issue. I had the same issue with emby when i was adding stuff. If you installed plex from the repo it should be running as the user plex, can use htop to confirm, so go to your plexdrive folder and run “ls -l” it will tell you who has permissions on that folder. I’ll bet it’s either root or your current user. Chown the files to plex if only plex is gonna mess with the plexdrive folder or add your current users group to plex. I don’t know your install but in ubuntu to add group to existing user its “sudo usermod -a -G groupName userName”

@amirza2 said:

@amirza2 said:

@KeekUras said:

@KeekUras said:

So, when I go to Plex now, I see the Plexdrive folder but when I double-click it, nothing shows. Do I just need to wait awhile?

Ok, I figured out what it was doing; I ran “sudo service plexdrive status”, it is mapping to the root of the GCD by default and caching everything, not just my media (I backup mine and my wife’s PCs there too) so I stopped the service. How do I specify in the config where to map directly to the Media folder in the root of GCD? I found some instructions on how to somewhat do it for using with rclone and encrypted drives but I’m currently not doing that.

While you can map plexdrive to folders outside of root, it’s a bit of pain to make work and it’**** and miss. Better to just map to root and point plex at the correct folders. As for stuff not showing in plex that is a permissions issue. I had the same issue with emby when i was adding stuff. If you installed plex from the repo it should be running as the user plex, can use htop to confirm, so go to your plexdrive folder and run “ls -l” it will tell you who has permissions on that folder. I’ll bet it’s either root or your current user. Chown the files to plex if only plex is gonna mess with the plexdrive folder or add your current users group to plex. I don’t know your install but in ubuntu to add group to existing user its “sudo usermod -a -G groupName userName”

@amirza2 said:

@KeekUras said:

@KeekUras said:

So, when I go to Plex now, I see the Plexdrive folder but when I double-click it, nothing shows. Do I just need to wait awhile?

Ok, I figured out what it was doing; I ran “sudo service plexdrive status”, it is mapping to the root of the GCD by default and caching everything, not just my media (I backup mine and my wife’s PCs there too) so I stopped the service. How do I specify in the config where to map directly to the Media folder in the root of GCD? I found some instructions on how to somewhat do it for using with rclone and encrypted drives but I’m currently not doing that.

While you can map plexdrive to folders outside of root, it’s a bit of pain to make work and it’**** and miss. Better to just map to root and point plex at the correct folders. As for stuff not showing in plex that is a permissions issue. I had the same issue with emby when i was adding stuff. If you installed plex from the repo it should be running as the user plex, can use htop to confirm, so go to your plexdrive folder and run “ls -l” it will tell you who has permissions on that folder. I’ll bet it’s either root or your current user. Chown the files to plex if only plex is gonna mess with the plexdrive folder or add your current users group to plex. I don’t know your install but in ubuntu to add group to existing user its “sudo usermod -a -G groupName userName”

Edit: Actually don’t chown your files to plex, might mess up plexdrive, add user to correct group for access.

Edit2: Meant for this to be a edit too my first post lol

Thanks for the advice. It is Ubuntu 16.04.2. I installed the Plex piece from the guide @per_PLEX_ed wrote. I’ll check out the permissions when I have a chance and report back.

Edit: The user I’m logged in with does have rights to plexdrive. Do I need to add the user I log into plex web with to this system and give it rights?

The problem with doing this though, as I’d mentioned prior, is that it’s scanning all the folders I have in the root of my GCD, which includes 2 PC backup folders so this is going to most likely end up being an issue because the cache is going to be huge.

@KeekUras said:

@amirza2 said:

@KeekUras said:

@KeekUras said:

So, when I go to Plex now, I see the Plexdrive folder but when I double-click it, nothing shows. Do I just need to wait awhile?

Ok, I figured out what it was doing; I ran “sudo service plexdrive status”, it is mapping to the root of the GCD by default and caching everything, not just my media (I backup mine and my wife’s PCs there too) so I stopped the service. How do I specify in the config where to map directly to the Media folder in the root of GCD? I found some instructions on how to somewhat do it for using with rclone and encrypted drives but I’m currently not doing that.

While you can map plexdrive to folders outside of root, it’s a bit of pain to make work and it’**** and miss. Better to just map to root and point plex at the correct folders. As for stuff not showing in plex that is a permissions issue. I had the same issue with emby when i was adding stuff. If you installed plex from the repo it should be running as the user plex, can use htop to confirm, so go to your plexdrive folder and run “ls -l” it will tell you who has permissions on that folder. I’ll bet it’s either root or your current user. Chown the files to plex if only plex is gonna mess with the plexdrive folder or add your current users group to plex. I don’t know your install but in ubuntu to add group to existing user its “sudo usermod -a -G groupName userName”

@amirza2 said:

@amirza2 said:

@KeekUras said:

@KeekUras said:

So, when I go to Plex now, I see the Plexdrive folder but when I double-click it, nothing shows. Do I just need to wait awhile?

Ok, I figured out what it was doing; I ran “sudo service plexdrive status”, it is mapping to the root of the GCD by default and caching everything, not just my media (I backup mine and my wife’s PCs there too) so I stopped the service. How do I specify in the config where to map directly to the Media folder in the root of GCD? I found some instructions on how to somewhat do it for using with rclone and encrypted drives but I’m currently not doing that.

While you can map plexdrive to folders outside of root, it’s a bit of pain to make work and it’**** and miss. Better to just map to root and point plex at the correct folders. As for stuff not showing in plex that is a permissions issue. I had the same issue with emby when i was adding stuff. If you installed plex from the repo it should be running as the user plex, can use htop to confirm, so go to your plexdrive folder and run “ls -l” it will tell you who has permissions on that folder. I’ll bet it’s either root or your current user. Chown the files to plex if only plex is gonna mess with the plexdrive folder or add your current users group to plex. I don’t know your install but in ubuntu to add group to existing user its “sudo usermod -a -G groupName userName”

@amirza2 said:

@KeekUras said:

@KeekUras said:

So, when I go to Plex now, I see the Plexdrive folder but when I double-click it, nothing shows. Do I just need to wait awhile?

Ok, I figured out what it was doing; I ran “sudo service plexdrive status”, it is mapping to the root of the GCD by default and caching everything, not just my media (I backup mine and my wife’s PCs there too) so I stopped the service. How do I specify in the config where to map directly to the Media folder in the root of GCD? I found some instructions on how to somewhat do it for using with rclone and encrypted drives but I’m currently not doing that.

While you can map plexdrive to folders outside of root, it’s a bit of pain to make work and it’**** and miss. Better to just map to root and point plex at the correct folders. As for stuff not showing in plex that is a permissions issue. I had the same issue with emby when i was adding stuff. If you installed plex from the repo it should be running as the user plex, can use htop to confirm, so go to your plexdrive folder and run “ls -l” it will tell you who has permissions on that folder. I’ll bet it’s either root or your current user. Chown the files to plex if only plex is gonna mess with the plexdrive folder or add your current users group to plex. I don’t know your install but in ubuntu to add group to existing user its “sudo usermod -a -G groupName userName”

Edit: Actually don’t chown your files to plex, might mess up plexdrive, add user to correct group for access.

Edit2: Meant for this to be a edit too my first post lol

Thanks for the advice. It is Ubuntu 16.04.2. I installed the Plex piece from the guide @per_PLEX_ed wrote. I’ll check out the permissions when I have a chance and report back.

Edit: The user I’m logged in with does have rights to plexdrive. Do I need to add the user I log into plex web with to this system and give it rights?

The problem with doing this though, as I’d mentioned prior, is that it’s scanning all the folders I have in the root of my GCD, which includes 2 PC backup folders so this is going to most likely end up being an issue because the cache is going to be huge.

@KeekUras said:

@amirza2 said:

@KeekUras said:

@KeekUras said:

So, when I go to Plex now, I see the Plexdrive folder but when I double-click it, nothing shows. Do I just need to wait awhile?

Ok, I figured out what it was doing; I ran “sudo service plexdrive status”, it is mapping to the root of the GCD by default and caching everything, not just my media (I backup mine and my wife’s PCs there too) so I stopped the service. How do I specify in the config where to map directly to the Media folder in the root of GCD? I found some instructions on how to somewhat do it for using with rclone and encrypted drives but I’m currently not doing that.

While you can map plexdrive to folders outside of root, it’s a bit of pain to make work and it’**** and miss. Better to just map to root and point plex at the correct folders. As for stuff not showing in plex that is a permissions issue. I had the same issue with emby when i was adding stuff. If you installed plex from the repo it should be running as the user plex, can use htop to confirm, so go to your plexdrive folder and run “ls -l” it will tell you who has permissions on that folder. I’ll bet it’s either root or your current user. Chown the files to plex if only plex is gonna mess with the plexdrive folder or add your current users group to plex. I don’t know your install but in ubuntu to add group to existing user its “sudo usermod -a -G groupName userName”

@amirza2 said:

@amirza2 said:

@KeekUras said:

@KeekUras said:

So, when I go to Plex now, I see the Plexdrive folder but when I double-click it, nothing shows. Do I just need to wait awhile?

Ok, I figured out what it was doing; I ran “sudo service plexdrive status”, it is mapping to the root of the GCD by default and caching everything, not just my media (I backup mine and my wife’s PCs there too) so I stopped the service. How do I specify in the config where to map directly to the Media folder in the root of GCD? I found some instructions on how to somewhat do it for using with rclone and encrypted drives but I’m currently not doing that.

While you can map plexdrive to folders outside of root, it’s a bit of pain to make work and it’**** and miss. Better to just map to root and point plex at the correct folders. As for stuff not showing in plex that is a permissions issue. I had the same issue with emby when i was adding stuff. If you installed plex from the repo it should be running as the user plex, can use htop to confirm, so go to your plexdrive folder and run “ls -l” it will tell you who has permissions on that folder. I’ll bet it’s either root or your current user. Chown the files to plex if only plex is gonna mess with the plexdrive folder or add your current users group to plex. I don’t know your install but in ubuntu to add group to existing user its “sudo usermod -a -G groupName userName”

@amirza2 said:

@KeekUras said:

@KeekUras said:

So, when I go to Plex now, I see the Plexdrive folder but when I double-click it, nothing shows. Do I just need to wait awhile?

Ok, I figured out what it was doing; I ran “sudo service plexdrive status”, it is mapping to the root of the GCD by default and caching everything, not just my media (I backup mine and my wife’s PCs there too) so I stopped the service. How do I specify in the config where to map directly to the Media folder in the root of GCD? I found some instructions on how to somewhat do it for using with rclone and encrypted drives but I’m currently not doing that.

While you can map plexdrive to folders outside of root, it’s a bit of pain to make work and it’**** and miss. Better to just map to root and point plex at the correct folders. As for stuff not showing in plex that is a permissions issue. I had the same issue with emby when i was adding stuff. If you installed plex from the repo it should be running as the user plex, can use htop to confirm, so go to your plexdrive folder and run “ls -l” it will tell you who has permissions on that folder. I’ll bet it’s either root or your current user. Chown the files to plex if only plex is gonna mess with the plexdrive folder or add your current users group to plex. I don’t know your install but in ubuntu to add group to existing user its “sudo usermod -a -G groupName userName”

Edit: Actually don’t chown your files to plex, might mess up plexdrive, add user to correct group for access.

Edit2: Meant for this to be a edit too my first post lol

Thanks for the advice. It is Ubuntu 16.04.2. I installed the Plex piece from the guide @per_PLEX_ed wrote. I’ll check out the permissions when I have a chance and report back.

Edit: The user I’m logged in with does have rights to plexdrive. Do I need to add the user I log into plex web with to this system and give it rights?

The problem with doing this though, as I’d mentioned prior, is that it’s scanning all the folders I have in the root of my GCD, which includes 2 PC backup folders so this is going to most likely end up being an issue because the cache is going to be huge.

@KeekUras said:

@amirza2 said:

@KeekUras said:

@KeekUras said:

So, when I go to Plex now, I see the Plexdrive folder but when I double-click it, nothing shows. Do I just need to wait awhile?

Ok, I figured out what it was doing; I ran “sudo service plexdrive status”, it is mapping to the root of the GCD by default and caching everything, not just my media (I backup mine and my wife’s PCs there too) so I stopped the service. How do I specify in the config where to map directly to the Media folder in the root of GCD? I found some instructions on how to somewhat do it for using with rclone and encrypted drives but I’m currently not doing that.

While you can map plexdrive to folders outside of root, it’s a bit of pain to make work and it’**** and miss. Better to just map to root and point plex at the correct folders. As for stuff not showing in plex that is a permissions issue. I had the same issue with emby when i was adding stuff. If you installed plex from the repo it should be running as the user plex, can use htop to confirm, so go to your plexdrive folder and run “ls -l” it will tell you who has permissions on that folder. I’ll bet it’s either root or your current user. Chown the files to plex if only plex is gonna mess with the plexdrive folder or add your current users group to plex. I don’t know your install but in ubuntu to add group to existing user its “sudo usermod -a -G groupName userName”

@amirza2 said:

@amirza2 said:

@KeekUras said:

@KeekUras said:

So, when I go to Plex now, I see the Plexdrive folder but when I double-click it, nothing shows. Do I just need to wait awhile?

Ok, I figured out what it was doing; I ran “sudo service plexdrive status”, it is mapping to the root of the GCD by default and caching everything, not just my media (I backup mine and my wife’s PCs there too) so I stopped the service. How do I specify in the config where to map directly to the Media folder in the root of GCD? I found some instructions on how to somewhat do it for using with rclone and encrypted drives but I’m currently not doing that.

While you can map plexdrive to folders outside of root, it’s a bit of pain to make work and it’**** and miss. Better to just map to root and point plex at the correct folders. As for stuff not showing in plex that is a permissions issue. I had the same issue with emby when i was adding stuff. If you installed plex from the repo it should be running as the user plex, can use htop to confirm, so go to your plexdrive folder and run “ls -l” it will tell you who has permissions on that folder. I’ll bet it’s either root or your current user. Chown the files to plex if only plex is gonna mess with the plexdrive folder or add your current users group to plex. I don’t know your install but in ubuntu to add group to existing user its “sudo usermod -a -G groupName userName”

@amirza2 said:

@KeekUras said:

@KeekUras said:

So, when I go to Plex now, I see the Plexdrive folder but when I double-click it, nothing shows. Do I just need to wait awhile?

Ok, I figured out what it was doing; I ran “sudo service plexdrive status”, it is mapping to the root of the GCD by default and caching everything, not just my media (I backup mine and my wife’s PCs there too) so I stopped the service. How do I specify in the config where to map directly to the Media folder in the root of GCD? I found some instructions on how to somewhat do it for using with rclone and encrypted drives but I’m currently not doing that.

While you can map plexdrive to folders outside of root, it’s a bit of pain to make work and it’**** and miss. Better to just map to root and point plex at the correct folders. As for stuff not showing in plex that is a permissions issue. I had the same issue with emby when i was adding stuff. If you installed plex from the repo it should be running as the user plex, can use htop to confirm, so go to your plexdrive folder and run “ls -l” it will tell you who has permissions on that folder. I’ll bet it’s either root or your current user. Chown the files to plex if only plex is gonna mess with the plexdrive folder or add your current users group to plex. I don’t know your install but in ubuntu to add group to existing user its “sudo usermod -a -G groupName userName”

Edit: Actually don’t chown your files to plex, might mess up plexdrive, add user to correct group for access.

Edit2: Meant for this to be a edit too my first post lol

Thanks for the advice. It is Ubuntu 16.04.2. I installed the Plex piece from the guide @per_PLEX_ed wrote. I’ll check out the permissions when I have a chance and report back.

Edit: The user I’m logged in with does have rights to plexdrive. Do I need to add the user I log into plex web with to this system and give it rights?

The problem with doing this though, as I’d mentioned prior, is that it’s scanning all the folders I have in the root of my GCD, which includes 2 PC backup folders so this is going to most likely end up being an issue because the cache is going to be huge.

No, the user that runs plex media server on your box needs to have permissions to access the plexdrive folder. In general when you install plex media server it also creates a user “plex” to run the program. Take your current user’s group, and add it too plex group list using the above command. Then restart the box and see if that works. IE

sudo usermod -a -G Your_user_group_That_owns_plexdriveFolder plex

To find groups your user is apart of use
groups USER

so to find plex group use
groups plex