@mdnitoil said:
My concern wouldn’t be the transcoding, but rather growth space for the Plex database.
Is there a rule of thumb how much space is taken up by the db?
@mdnitoil said:
My concern wouldn’t be the transcoding, but rather growth space for the Plex database.
Is there a rule of thumb how much space is taken up by the db?
@Coxeroni said:
@mdnitoil said:
My concern wouldn’t be the transcoding, but rather growth space for the Plex database.Is there a rule of thumb how much space is taken up by the db?
I don’t think so but I can tell you mine is 428,506KB
I’ve got 45,795 movies/shows on this server.
So that’s 9.35KB per video roughly speaking.
I’d be much more concerned about the meta-data disc usage then the DB.
@cayars said:
@Coxeroni said:
@mdnitoil said:
My concern wouldn’t be the transcoding, but rather growth space for the Plex database.Is there a rule of thumb how much space is taken up by the db?
I don’t think so but I can tell you mine is 428,506KB
I’ve got 45,795 movies/shows on this server.
So that’s 9.35KB per video roughly speaking.I’d be much more concerned about the meta-data disc usage then the DB.
Probably this was meant by @mdnitoil… I might go for the 80 GB and upgrade if needed, if I order the VPS in the first place, not yet sure about that since Plex Cloud runs ok and I don’t share with other yet. A VPS would be just cooler to have a more properly set-up, since it the known flaws of Plex Cloud.
Removing index files on that server those same 45,795 videos take up 155GB of space for meta-data use. So that’s roughly 3.38MB per item on average.
Of course these values could change system to system depending on features selected but hopefully that helps somewhat with space calculations.
Carlo
@cayars said:
Removing index files on that server those same 45,795 videos take up 155GB of space for meta-data use. So that’s roughly 3.38MB per item on average.Of course these values could change system to system depending on features selected but hopefully that helps somewhat with space calculations.
Carlo
It does, thanks Carlo:)
Yeah, apologies as I did mean database entry plus metadata. The overall point being that just growing your Plex library has to be accounted for when looking at these VPS’s.
@johnryanpowell said:
I hate to be that guy but what things have you done to secure your server? I love that you are learning but I am also kinda scared about what you might have running wild out there. Feel free to pm me and I can give you a few simple tips to make your server more secure.And I also have plexdrive working. And I also think you are going about this the entirely wrong way. Actually, it looks like everyone is doing things the wrong way. I don’t even know where to start.
Step one… Get it working in a screen session. Do not try setting it as a service until it works in screen.
I’ve just set my server up and I’ve only had it a week. Currently I have ufw and fail2ban installed and configured for right now and use really strong passwords so I’m not too concerned about security.
I appreciate the input but if we’re all doing it the wrong way, please point us or at least me to instructions on how to set it up from scratch and I’ll do it. Not one guide I can find has enough explicit detail to work on the first try and I’ve used several. The first guide I attempted to use was from the guy who wrote plexdrive itself and it didn’t work as written. Most guides are too high level and/or vague, written from what appears to be the assumption that if you’re trying to set up something in Linux, you already now how to install any and everything that’s a prereq, which is definitely not the case.
Then maybe you should read up on some basic Linux administration. Blindly following what others do is not the best way to get things accomplished. And if you can’t do that use Plex Cloud.
Everyone has their own acceptable level of risk. </start sarcasm>One of the first things you learn in the world of Linux administrative snobbery is that the risk you are willing to accept has to pass anonymous message board muster </end sarcasm>
@timstephens24 said:
Then maybe you should read up on some basic Linux administration. Blindly following what others do is not the best way to get things accomplished. And if you can’t do that use Plex Cloud.
Thanks for the input but I don’t see how it pertains to my issue.
I already use plex cloud and it’s flaky and still needs work. That’s why I’m tinkering with a VPS after reading some of the success stories here.
I also never mentioned not being able to administer my box, that comment is irrelevant. I’m trying to get a program working that someone else wrote (plexdrive) that others here appear to have done successfully but I so far cannot, hence the reason for asking for help. I am very appreciative to all those who have taken time to make suggestions and offer help. They have been nothing short of awesome.
Is there a basic tutorial for installing Mongodb for use with PlexDrive?
@jasanson said:
Is there a basic tutorial for installing Mongodb for use with PlexDrive?
Honestly, all I did was sudo apt-get install mongodb
There was no configuration of MongoDB itself.
@kelinger said:
@jasanson said:
Is there a basic tutorial for installing Mongodb for use with PlexDrive?Honestly, all I did was
sudo apt-get install mongodbThere was no configuration of MongoDB itself.
OK I think I had done something to screw up the database so I reset the database by entering
$mongo plexdrive --eval "db.dropDatabase()”
The database seems to be working fine now.
Im finding that the time to start playing is excessively long. Typically 15 - 20 seconds.
I’ve read that some people can’t tell the difference between a local Plex server and a VPS with Plexdrive.
I’m using the default settings for Plexdrive and standard settings for mounting. See below.
What tweaking should I do to Plexdrive?
(I’m using an SSDnodes VPS and I have a 150mbps download and 15mbps upload connection at home.)
Systemd Script for mounting Plexdrive (thanks to HTHighway)
[Unit]
Description=Plexdrive
AssertPathIsDirectory=/mnt/plexdrive
After=network-online.target
[Service]
Type=simple
ExecStart=/usr/bin/plexdrive -c /home/nodeuser/.plexdrive -v 2 -o allow_other --uid=1000 --gid=1000 /mnt/plexdrive
ExecStop=/bin/fusermount -uz /mnt/plexdrive
Restart=on-abort
RestartSec=30
StartLimitInterval=200
StartLimitBurst=5
[Install]
WantedBy=default.target
Systemd Script for Mounting encrypted remote
[Unit]
Description=Google Drive (rclone)
AssertPathIsDirectory=/home/nodeuser/media
After=plexdrive.service
[Service]
Type=simple
ExecStart=/usr/sbin/rclone mount --allow-other local-crypt: /home/nodeuser/media &
ExecStop=/bin/fusermount -u /home/nodeuser/media
Restart=on-abort
RestartSec=30
StartLimitInterval=200
StartLimitBurst=5
I’m using the default settings for Plexdrive and also on SSD Nodes. Direct Play or Direct Stream start up in 3-4 seconds. It looks like you have good bandwidth, but what is your latency? Where are you? Which data center do you use (I use Seattle and live near Seattle)? Post your ping times to your VPS.
@djsecrist said:
I’m using the default settings for Plexdrive and also on SSD Nodes. Direct Play or Direct Stream start up in 3-4 seconds. It looks like you have good bandwidth, but what is your latency? Where are you? Which data center do you use (I use Seattle and live near Seattle)? Post your ping times to your VPS.
ping times range between 65 and 82. I’m in Winnipeg and I’m using Dallas Texas
Mine has been fast as can be these past few weeks. As others said, I don’t notice a difference any longer between the VPS or our PC at home. Not sure if Plex had a superb update at last, or Plexdrive 4 is so magical, or SSD Nodes had a hardware update or even a combination of all three, but I am really happy!
Not sure why some have such problems with MongoDB. I just installed it and it worked ootb with Plexdrive. Hope you guys get it going properly 
You should upgrade to Plexdrive 4.0.0 if you haven’t already. There’s a bug that doesn’t delete chunks in 3.0.0 and also cache rebuilding is much faster.
By popular demand, the tutorial now contains Plexdrive. I tested it from scratch and it should be without a hitch on Ubuntu 16.04 or higher.
@per_PLEX_ed said:
By popular demand, the tutorial now contains Plexdrive. I tested it from scratch and it should be without a hitch on Ubuntu 16.04 or higher.
Encrypted storage on the agenda next? ![]()
Getting it working with RW system for Sonarr / Radarr is a real pain.