Plex Cloud vs VPS - why we went with a VPS

I would run a df -k and take a look at partitions and available space. Often, there is a / partition for the base OS stuff and then a /home partition, for user work spaces. /home traditionally has the bulk of the extra space. If your partitions are set up in this fashion, consider creating a folder on /home and using the --temp= switch to dump the chunks there. By default, the temp folder that will be used lives on the / partition, which can be significantly smaller.

I had this problem with my Plex install. Didn’t pay attention, and by default the Plex database was growing on my / partition. I finally added enough media to completely fill the partition and everything went to hell.

@amirza2 said:

@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

Ok. Thank you for explaining that. I think it’s set up that way but I will verify to be sure.

@mdnitoil said:
I would run a df -k and take a look at partitions and available space. Often, there is a / partition for the base OS stuff and then a /home partition, for user work spaces. /home traditionally has the bulk of the extra space. If your partitions are set up in this fashion, consider creating a folder on /home and using the --temp= switch to dump the chunks there. By default, the temp folder that will be used lives on the / partition, which can be significantly smaller.

I had this problem with my Plex install. Didn’t pay attention, and by default the Plex database was growing on my / partition. I finally added enough media to completely fill the partition and everything went to hell.

Yeah, that’s what I’m afraid of. My VPS only has a 60GB SSD so it would fill up really fast. It had already reached 3GB before I realized what it was doing. I’ll check into this. Thanks!

@KeekUras said:

@mdnitoil said:
I would run a df -k and take a look at partitions and available space. Often, there is a / partition for the base OS stuff and then a /home partition, for user work spaces. /home traditionally has the bulk of the extra space. If your partitions are set up in this fashion, consider creating a folder on /home and using the --temp= switch to dump the chunks there. By default, the temp folder that will be used lives on the / partition, which can be significantly smaller.

I had this problem with my Plex install. Didn’t pay attention, and by default the Plex database was growing on my / partition. I finally added enough media to completely fill the partition and everything went to hell.

Yeah, that’s what I’m afraid of. My VPS only has a 60GB SSD so it would fill up really fast. It had already reached 3GB before I realized what it was doing. I’ll check into this. Thanks!

Looks like it’s mainly one big partition:

df -k
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/simfs      62914560 3117208  59797352   5% /
devtmpfs         6291456       0   6291456   0% /dev
tmpfs            6291456       8   6291448   1% /dev/shm
tmpfs            6291456    8400   6283056   1% /run
tmpfs               5120       0      5120   0% /run/lock
tmpfs            6291456       0   6291456   0% /sys/fs/cgroup
tmpfs            1258292       0   1258292   0% /run/user/1001

So I assume that’s as good as it’s going to get.

Yup, no need to worry about default locations since it’s all coming off the root. I’m not running a VPS, but an actual hosted machine with a 2 TB fixed drive. Plenty of space unless you don’t pay attention to where things get written!

@mdnitoil said:
Yup, no need to worry about default locations since it’s all coming off the root.

Awesome. Thanks again for the tips!

Something still isn’t quite right. I thought I had it all fixed because I checked on it and saw this but wasn’t quite sure:

sudo service plexdrive status
● plexdrive.service - Plexdrive
Loaded: loaded (/etc/systemd/system/plexdrive.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2017-06-22 14:36:24 CDT; 8s ago
Main PID: 1468 (plexdrive)
Memory: 20.0M
CGroup: /system.slice/plexdrive.service
└─1468 /usr/sbin/plexdrive -v 2 -o allow_other --config=/home/username/.plexdrive /mnt/plexdrive

Jun 22 14:36:27 bellator plexdrive[1468]: [USR/SBIN/PLEXDRIVE] [2017-06-22 14:36] INFO   : Processed 1380 items / deleted 1380 items / updated 0 items
Jun 22 14:36:27 bellator plexdrive[1468]: [USR/SBIN/PLEXDRIVE] [2017-06-22 14:36] INFO   : Processed 1840 items / deleted 1840 items / updated 0 items
Jun 22 14:36:28 bellator plexdrive[1468]: [USR/SBIN/PLEXDRIVE] [2017-06-22 14:36] INFO   : Processed 2300 items / deleted 2300 items / updated 0 items
Jun 22 14:36:29 bellator plexdrive[1468]: [USR/SBIN/PLEXDRIVE] [2017-06-22 14:36] INFO   : Processed 2760 items / deleted 2760 items / updated 0 items
Jun 22 14:36:30 bellator plexdrive[1468]: [USR/SBIN/PLEXDRIVE] [2017-06-22 14:36] INFO   : Processed 3220 items / deleted 3220 items / updated 0 items
Jun 22 14:36:30 bellator plexdrive[1468]: [USR/SBIN/PLEXDRIVE] [2017-06-22 14:36] INFO   : Processed 3680 items / deleted 3680 items / updated 0 items
Jun 22 14:36:31 bellator plexdrive[1468]: [USR/SBIN/PLEXDRIVE] [2017-06-22 14:36] INFO   : Processed 4140 items / deleted 4140 items / updated 0 items
Jun 22 14:36:32 bellator plexdrive[1468]: [USR/SBIN/PLEXDRIVE] [2017-06-22 14:36] INFO   : Processed 4600 items / deleted 4600 items / updated 0 items
Jun 22 14:36:32 bellator plexdrive[1468]: [USR/SBIN/PLEXDRIVE] [2017-06-22 14:36] INFO   : Processed 5060 items / deleted 5060 items / updated 0 items
Jun 22 14:36:33 bellator plexdrive[1468]: [USR/SBIN/PLEXDRIVE] [2017-06-22 14:36] INFO   : Processed 5520 items / deleted 5520 items / updated 0 items

I thought I was being impatient so I waited and I checked 10 minutes later and here’s what I see:

sudo service plexdrive status
● plexdrive.service - Plexdrive
Loaded: loaded (/etc/systemd/system/plexdrive.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2017-06-22 14:36:24 CDT; 20min ago
Main PID: 1468 (plexdrive)
Memory: 41.1M
CGroup: /system.slice/plexdrive.service
       └─1468 /usr/sbin/plexdrive -v 2 -o allow_other --config=/home/username/.plexdrive /mnt/plexdrive
            
            Jun 22 14:56:51 bellator plexdrive[1468]: [USR/SBIN/PLEXDRIVE] [2017-06-22 14:56] WARNING: Could not update/save object 0BydevePnw7BPWk9DR3oxWTB4cEU (Motorpsycho - Leave It Like That.mp3)
            Jun 22 14:56:51 bellator plexdrive[1468]: [USR/SBIN/PLEXDRIVE] [2017-06-22 14:56] WARNING: Could not update/save object 0BydevePnw7BPV190UkhoWFMzdmM (Motorpsycho - Feel.mp3)
            Jun 22 14:56:51 bellator plexdrive[1468]: [USR/SBIN/PLEXDRIVE] [2017-06-22 14:56] WARNING: Could not update/save object 0BydevePnw7BPaHY5X2EweTVvMlE (Motorpsycho - Beautiful Sister.mp3)
            Jun 22 14:56:51 bellator plexdrive[1468]: [USR/SBIN/PLEXDRIVE] [2017-06-22 14:56] WARNING: Could not update/save object 0BydevePnw7BPdjN2eGxONEw4a1k (Motorpsycho - A Shrug & A Fistful.mp3)
            Jun 22 14:56:51 bellator plexdrive[1468]: [USR/SBIN/PLEXDRIVE] [2017-06-22 14:56] WARNING: Could not update/save object 0BydevePnw7BPcVc0OGtNOUxlV2c (Motorpsycho - Giftland.mp3)
            Jun 22 14:56:51 bellator plexdrive[1468]: [USR/SBIN/PLEXDRIVE] [2017-06-22 14:56] WARNING: Could not update/save object 0BydevePnw7BPdHhJalJZRHpHQTA (Motorpsycho - On My Pillow.mp3)
            Jun 22 14:56:51 bellator plexdrive[1468]: [USR/SBIN/PLEXDRIVE] [2017-06-22 14:56] WARNING: Could not update/save object 0BydevePnw7BPQ3lMczJfVUFsbk0 (Motorpsycho - Kill Some Day.mp3)
            Jun 22 14:56:51 bellator plexdrive[1468]: [USR/SBIN/PLEXDRIVE] [2017-06-22 14:56] WARNING: Could not update/save object 0BydevePnw7BPNFhvM18wc01CM3c (Motorpsycho - Now It's Time To Skate.mp3)
            Jun 22 14:56:51 bellator plexdrive[1468]: [USR/SBIN/PLEXDRIVE] [2017-06-22 14:56] WARNING: Could not update/save object 0BydevePnw7BPVHQ2dE1HMWhvUms (Motorpsycho - Watersound.mp3)
            Jun 22 14:56:51 bellator plexdrive[1468]: [USR/SBIN/PLEXDRIVE] [2017-06-22 14:56] WARNING: Could not update/save object 0BydevePnw7BPeUZPekZVbXlIUG8 (Motorpsycho - Trapdoor.mp3)

I’ve googled the warning and searched this forum but the only thing I found where someone said they’d fixed it by “creating the mongoDB directories” here: reddit.com/r/PlexACD/comments/6hou6k/plexdrive_errors_could_not_updatesave_object/

When I installed/configured MogoDB from these instructions (howtoforge.com/tutorial/install-mongodb-on-ubuntu-16.04/), I didn’t have to create any directories. Did I miss something?

The problem is obviously permissions-based but I’m not much help. My config is a lot more involved because I created a plex user, moved the data tables and turned on authentication. I can assure you that I didn’t have to “create the mongoDB directories”.

I assume a sudo service mongod status returns a good result?

@mdnitoil said:
The problem is obviously permissions-based but I’m not much help. My config is a lot more involved because I created a plex user, moved the data tables and turned on authentication. I can assure you that I didn’t have to “create the mongoDB directories”.

I assume a sudo service mongod status returns a good result?

Lol, I’m even less help. I’m a Linux beginner at best. I’ve been in IT for almost 20 years but a strictly Windows environment. I’ve only dabbled in Linux over the years.

Here are the mongoDB results:

 sudo service mongod status
   ● mongod.service - High-performance, schema-free document-oriented database
   Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2017-06-22 13:51:52 CDT; 7h ago
     Docs: https://docs.mongodb.org/manual
 Main PID: 543 (mongod)
   Memory: 496.9M
   CGroup: /system.slice/mongod.service
           └─543 /usr/bin/mongod --quiet --auth --config /etc/mongod.conf

Jun 22 13:51:52 bellator systemd[1]: Started High-performance, schema-free document-oriented database.

I’ve been tempted a few times during this to blow everything away and start over. If I had a detailed guide for setting up plexdrive, I’d do it, but what I’ve accomplished (even though it’s not 100%) has been pulled from about 12 different sources and the brains of 3 or 4 of the wonderful folks on this forum so I’m not sure I’d have any better results. However, let it be known this Linux neophyte truly appreciates the help.

What I find absolutely amazing and baffling at the same time is that now I’ve got plexdrive the way I want it, it actually loads streams faster than my local gigabit network.

@danjames92 said:
What I find absolutely amazing and baffling at the same time is that now I’ve got plexdrive the way I want it, it actually loads streams faster than my local gigabit network.

Congrats, that is awesome. I hope to be able to say the same eventually :smiley:

@KeekUras said:

@danjames92 said:
What I find absolutely amazing and baffling at the same time is that now I’ve got plexdrive the way I want it, it actually loads streams faster than my local gigabit network.

Congrats, that is awesome. I hope to be able to say the same eventually :smiley:

Worrying as well…

@KeekUras said:

@mdnitoil said:
The problem is obviously permissions-based but I’m not much help. My config is a lot more involved because I created a plex user, moved the data tables and turned on authentication. I can assure you that I didn’t have to “create the mongoDB directories”.

I assume a sudo service mongod status returns a good result?

Lol, I’m even less help. I’m a Linux beginner at best. I’ve been in IT for almost 20 years but a strictly Windows environment. I’ve only dabbled in Linux over the years.

Here are the mongoDB results:

 sudo service mongod status
   ● mongod.service - High-performance, schema-free document-oriented database
   Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2017-06-22 13:51:52 CDT; 7h ago
     Docs: https://docs.mongodb.org/manual
 Main PID: 543 (mongod)
   Memory: 496.9M
   CGroup: /system.slice/mongod.service
           └─543 /usr/bin/mongod --quiet --auth --config /etc/mongod.conf

Jun 22 13:51:52 bellator systemd[1]: Started High-performance, schema-free document-oriented database.

I’ve been tempted a few times during this to blow everything away and start over. If I had a detailed guide for setting up plexdrive, I’d do it, but what I’ve accomplished (even though it’s not 100%) has been pulled from about 12 different sources and the brains of 3 or 4 of the wonderful folks on this forum so I’m not sure I’d have any better results. However, let it be known this Linux neophyte truly appreciates the help.

I’m only guessing here but it sounds like it doesn’t have permission to clear the temp directory?

Maybe try adding “-m localhost” to your plexdrive service options.

@danjames92 said:

@KeekUras said:

@mdnitoil said:
The problem is obviously permissions-based but I’m not much help. My config is a lot more involved because I created a plex user, moved the data tables and turned on authentication. I can assure you that I didn’t have to “create the mongoDB directories”.

I assume a sudo service mongod status returns a good result?

Lol, I’m even less help. I’m a Linux beginner at best. I’ve been in IT for almost 20 years but a strictly Windows environment. I’ve only dabbled in Linux over the years.

Here are the mongoDB results:

 sudo service mongod status
   ● mongod.service - High-performance, schema-free document-oriented database
   Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2017-06-22 13:51:52 CDT; 7h ago
     Docs: https://docs.mongodb.org/manual
 Main PID: 543 (mongod)
   Memory: 496.9M
   CGroup: /system.slice/mongod.service
           └─543 /usr/bin/mongod --quiet --auth --config /etc/mongod.conf

Jun 22 13:51:52 bellator systemd[1]: Started High-performance, schema-free document-oriented database.

I’ve been tempted a few times during this to blow everything away and start over. If I had a detailed guide for setting up plexdrive, I’d do it, but what I’ve accomplished (even though it’s not 100%) has been pulled from about 12 different sources and the brains of 3 or 4 of the wonderful folks on this forum so I’m not sure I’d have any better results. However, let it be known this Linux neophyte truly appreciates the help.

I’m only guessing here but it sounds like it doesn’t have permission to clear the temp directory?

Maybe try adding “-m localhost” to your plexdrive service options.

So that it looks like this?

plexdrive -v 2 -o allow_other -m localhost --config=/home/username/.plexdrive /mnt/plexdrive

@KeekUras said:

@danjames92 said:

@KeekUras said:

@mdnitoil said:
The problem is obviously permissions-based but I’m not much help. My config is a lot more involved because I created a plex user, moved the data tables and turned on authentication. I can assure you that I didn’t have to “create the mongoDB directories”.

I assume a sudo service mongod status returns a good result?

Lol, I’m even less help. I’m a Linux beginner at best. I’ve been in IT for almost 20 years but a strictly Windows environment. I’ve only dabbled in Linux over the years.

Here are the mongoDB results:

 sudo service mongod status
   ● mongod.service - High-performance, schema-free document-oriented database
   Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2017-06-22 13:51:52 CDT; 7h ago
     Docs: https://docs.mongodb.org/manual
 Main PID: 543 (mongod)
   Memory: 496.9M
   CGroup: /system.slice/mongod.service
           └─543 /usr/bin/mongod --quiet --auth --config /etc/mongod.conf

Jun 22 13:51:52 bellator systemd[1]: Started High-performance, schema-free document-oriented database.

I’ve been tempted a few times during this to blow everything away and start over. If I had a detailed guide for setting up plexdrive, I’d do it, but what I’ve accomplished (even though it’s not 100%) has been pulled from about 12 different sources and the brains of 3 or 4 of the wonderful folks on this forum so I’m not sure I’d have any better results. However, let it be known this Linux neophyte truly appreciates the help.

I’m only guessing here but it sounds like it doesn’t have permission to clear the temp directory?

Maybe try adding “-m localhost” to your plexdrive service options.

So that it looks like this?

plexdrive -v 2 -o allow_other -m localhost --config=/home/username/.plexdrive /mnt/plexdrive

Even if that’s right (which thank you by the way), my permissions for the plex user must still be wrong because I’m still getting the same errors and I still can’t browse the contents of my GCD. Time to go back to the drawing board…

So let’s look at permissions—

Which user runs Plex?
Which user owns /mnt/plexdrive ?
and which user executes plexdrive -v 2 -o allow_other -m localhost --config=/home/username/.plexdrive /mnt/plexdrive

@hthighway said:
So let’s look at permissions—

Which user runs Plex?
Which user owns /mnt/plexdrive ?
and which user executes plexdrive -v 2 -o allow_other -m localhost --config=/home/username/.plexdrive /mnt/plexdrive

I will check that and get back to you. Thanks!

@hthighway said:
So let’s look at permissions—

Which user runs Plex?
Which user owns /mnt/plexdrive ?
and which user executes plexdrive -v 2 -o allow_other -m localhost --config=/home/username/.plexdrive /mnt/plexdrive

which user runs plex? username
which user owns /mnt/plexdrve? root
which user executes plexdrive? username

@KeekUras said:

@hthighway said:
So let’s look at permissions—

Which user runs Plex?
Which user owns /mnt/plexdrive ?
and which user executes plexdrive -v 2 -o allow_other -m localhost --config=/home/username/.plexdrive /mnt/plexdrive

which user runs plex? username
which user owns /mnt/plexdrve? root
which user executes plexdrive? username

So does user username have sufficient permissions on /mnt/plexdrive ?
Also run id when logged in as user username and post what the UID and GID is for that user

@hthighway said:

@KeekUras said:

@hthighway said:
So let’s look at permissions—

Which user runs Plex?
Which user owns /mnt/plexdrive ?
and which user executes plexdrive -v 2 -o allow_other -m localhost --config=/home/username/.plexdrive /mnt/plexdrive

which user runs plex? username
which user owns /mnt/plexdrve? root
which user executes plexdrive? username

So does user username have sufficient permissions on /mnt/plexdrive ?
Also run id when logged in as user username and post what the UID and GID is for that user

drw-r--r-- 2 root username 4096 Jun 21 18:10 plexdrive

uid=1001(username) gid=1001(username) groups=1001(username),27(sudo),111(lxd)