Plex Server with a Linux Distribution - Which Distribution?


Recommended Posts

Hi guys,

 

I've got a Dell laptop with 2GB RAM and I'm looking to optimize it from using Lubuntu which seems to crash every 24 hours. I figure it comes from the OS rather than the files (although I appreciate it could be Plex,) so I'm looking for something that won't crap out every night.

 

Suggestions?

Do you know what is crashing from? I know you said it "could be plex", but do you know for sure?

 

I'm suprised that Lubuntu would do that. What version are you using?

I'll give Debian a whirl and see what the uptime is like.

 

To clarify, Lubuntu seems to forget that the hardware has a WiFi card every now and again, and it also rockets to 100% CPU and stays there even when you've finished a task. Rebooting resolves these situations, but I'm looking for stability.

 

A reinstallation of Lubuntu doesn't seem to change things. Maybe it is the hardware?

Lubuntu is quite a different spin from regular Ubuntu. Stuff that Ubuntu does, Lubuntu will be looking at ya like "huh?!" ...

 

Debian would probably be the way to go here. More hands-on, but once it's set, it's set.

Ubuntu Server 16.04 on both of mine, and again on a friends that I support (using a private reprepro to manage the plex server updates).

 

All three servers are really reliable. Uptime is usually never more than a month as I reboot them regularly for kernel updates. They never crash or fail on me though.

I'm having a bit of a headache getting Plex to see the files on the External HDD using Debian. I had this with Lubuntu and it ended up being a permissions issue. That was easy to fix with Lubuntu but with Debian it is proving more challenging insofar as regardless of what I try Plex still can't access the drive. It sees it but it can't see the subfolders.

 

Suggestions?

You'll have to chown (change owner) on that drive plus all subfolders to the user account in question. I forget the exact commandline usage but if you do a chown --help it'll tell you the switches and what they do. Then you might need do a 'usershare owner only = no' in samba.conf ...

 

Hope that fixes it. I've never had to do anything with plex so I dunno.

  On 18/12/2017 at 21:14, Unobscured Vision said:

You'll have to chown (change owner) on that drive plus all subfolders to the user account in question. I forget the exact commandline usage but if you do a chown --help it'll tell you the switches and what they do. Then you might need do a 'usershare owner only = no' in samba.conf ...

 

Hope that fixes it. I've never had to do anything with plex so I dunno.

Expand  

I've tried the first part (chown) and I'm still getting the same problem. I'll look in to changing the ownership of the drive.

 

What is gpasswd about? Group Password, changing the user to share the permissions of whoever you select?

gpasswd is used for network-enabled shares and group/user storage quotas, iirc. Same as usershare but looks at the group level for remote access. Might be handy for something else but on the system that the drive is physically located at it you shouldn't be running into a problem with this.

 

Sounds like the permissions on the drive are well and truly messed up. :no: 

  On 19/12/2017 at 00:53, Unobscured Vision said:

gpasswd is used for network-enabled shares and group/user storage quotas, iirc. Same as usershare but looks at the group level for remote access. Might be handy for something else but on the system that the drive is physically located at it you shouldn't be running into a problem with this.

 

Sounds like the permissions on the drive are well and truly messed up. :no: 

Expand  

Thanks for the information. (Y)

 

I'm still struggling. I'm able to mount the drive and I installed VLC to test if the system can read the files and it can play them without an issue, so I assume the problem is with the read abilities of Plex? I'm starting to think the easiest option would be to backup the data and format the drive to a Linux-friendly filesystem...that would take a while to do.

It shouldn't have made a difference. :( Ext4, NTFS, etc are all pretty much the same as far as a network mount are concerned.

 

This one is starting to bug me now lol ...

I'm getting fed up with this now. I've moved all the data off the drive, formatted it to Ext4 and am now transferring the data back on to the disk. It's going to take about 12 hours before all the data is back, but I've just done a test by opening Plex and trying to navigate to the drive and it still doesn't see any folders! :angry:

 

I'm going to wait until the transfer is complete to confirm, but now the only thing I can think of is that I need to modify Plex's permissions somehow (something I have already looked in to before wiping the drive). Let's wait and see.

  On 15/12/2017 at 01:43, Nick H. said:

Lubuntu seems to forget that the hardware has a WiFi card every now and again

Expand  

Your serving up your plex via wifi to your network?  Why?  Do you carry your plex server around with you..  Talk about crap performance.. If your clients are wifi ok sure watching a movie on your tablet, etc.  Are you clients wired?  wifi to wifi is horrible since you auto /2 the available bandwidth because wifi is shared and your devices talking are on the same wifi..

 

Are you running server on 2.4 band while clients are 5 band? So your clients and server not sharing the same limited bandwidth.

  On 21/12/2017 at 10:22, Nick H. said:

It's going to take about 12 hours before all the data is back

Expand  

How much data - are you moving over wifi?  ;)

  On 21/12/2017 at 10:58, BudMan said:

Your serving up your plex via wifi to your network?  Why?  Do you carry your plex server around with you..  Talk about crap performance.. If your clients are wifi ok sure watching a movie on your tablet, etc.  Are you clients wired?  wifi to wifi is horrible since you auto /2 the available bandwidth because wifi is shared and your devices talking are on the same wifi..

 

Are you running server on 2.4 band while clients are 5 band? So your clients and server not sharing the same limited bandwidth.

How much data - are you moving over wifi?  ;)

Expand  

Yeah, I realised my mistake with the wifi card - it's not needed. But I realised that after I had installed Debian. :pinch:

 

As for the transfer, I'm copying about 1.5TB of information via USB. Given the age of the laptop though it's only transferring at 23MB/s. Debian is telling me it should be done in about...9 hours now.

  • 3 weeks later...

So I decided to do a test: what happens if I use the Windows serial key and temporarily install Windows 7 and install Plex? Will it give me access to the files?

 

Yes. Yes it will. No issues.

 

I'm now fuming. This makes no sense! :angry:

 

To recap on the situation:

  • I have installed multiple distributions of Linux: Debian, Ubuntu, Lubuntu, Fedora, FreeNAS, RaspberryPi, Kali, Tails (because why not at this point?).
  • All distributions recognise the external HDD, but Plex cannot see the contents of the drive.
  • My user account (via any Linux distro) can access and run the media via other applications (i.e. VLC) without an issue.
  • I have run permissions commands to give Plex the same access as my user account.
  • I have removed the media from the drive, formatted the drive from NTFS to EXT4, put the media back and I get the same issue.

I may be missing a point or two at this stage; it's been a couple of months of trying various ideas on this task. But I just don't get it. Why the heck is Plex not seeing my files on my external HDD?!

 

I need to go to bed, but any helpful input would be appreciated. If I read another "tutorial" I might throw the machine in to the garden and leave it for the birds. :laugh:

 

NB: I'll happily use any Linux distribution that has a long-standing uptime and little overhead.

because plex doesn't like symlinks?  How are you mounting it?

 

And when you say plex doesn't see it - you mean you have it say mounted to /mnt/drive/ with a folder called movies in there  And your trying to add the library of movies?

 

Lets see your permissions?  all the way down the tree... Plex is running as plex and what permissions and owners are on the folder?

 

 

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • And bring back taskbar deskbands which were removed, and full and total customization of notification area icons like earlier
    • This has all the markings of a thinly veiled mechanism for force users of older versions of Windows to upgrade...and trash perfectly good hardware. Microsoft, your history easily supports this line of reasoning.
    • Plasma 6.5 brings improved Emoji Selector, better performance in Activity manager, and more by David Uzondu This week saw the long-awaited release of KDE Plasma 6.4, bringing better window management and a whole lot of color management features. Apart from the release of 6.4, the KDE team was able to get other work done, and this was all outlined in the latest issue of This Week in Plasma, which details what is coming down the pipe for future versions. Looking ahead to Plasma 6.5, the developers are making some notable changes to improve performance and general usability. To prevent its database from growing endlessly and causing performance problems over time, the Activity Manager service will now only store the last four months of your history by default. The Emoji selector app is also getting a much-needed redesign that makes the window more compact and moves the sidebar button to the header for a cleaner look. Other little details for 6.5 are being polished up too. The unpopular vertical line separating the date and time on the horizontal Digital Clock widget is gone; if you want it back, you can add it yourself with a custom date format. The "Add New" button has also been moved to the top toolbar in the Shortcuts page within Settings, freeing up some valuable screen real estate. The devs also reduced the minimum size of custom tiling tiles, a small but significant fix for anyone with an ultrawide monitor. In addition to that, the Networks widget's captive portal banner now uses inline header styling, so it doesn't look like a bunch of frames stacked inside each other anymore. Of course, before we get to 6.5, the current release needs some attention. Plasma 6.4's first bug fix release, 6.4.1, addresses issues like broken item selection in the Folder View widget and a bug that could cause the system to lock or suspend faster than intended. Keyboard navigation in list views in Discover feels smoother now, and text is easier to read in certain list items in KRunner. The devs also cleaned up how list items look when you press or click them in Discover. 6.4.1 also fixes a bug where the clipboard history popup would fail to select the top item, and makes the Earth Science Picture of The Day wallpaper plugin work again after its data source changed. Here's the full list of fixes: Fixed several issues in the Folder View widget that caused selecting or opening items to not work when using certain non-default view settings, when the view was scrollable, or when using a touchscreen. Fixed a bug in the Meta+V clipboard popup that sometimes failed to pre-select the top-most item. The Clipboard settings window’s shortcuts page no longer shows columns for local shortcuts that don’t do anything, since the clipboard is global in scope. Fixed the Earth Science Picture of the Day wallpaper plugin after the source data changed formatting again. Made a few fixes to the “Missing Backends” section of Discover’s settings window that kept it from working properly. Fixed a bug that prevented direct scan-out (and its performance benefits) from activating on rotated screens. Fixed an issue where the system could lock or suspend sooner than expected after an app stopped blocking those actions. Installing a new wallpaper plugin no longer causes the plugin list combobox to appear blank. The team even went back to squash some bugs in the older 6.3.6, tackling an issue that could cause keyboard shortcuts to get lost during a system upgrade and fixing an overflow bug with KRunner's faded completion text. Plasma 6.4.1 is set to arrive on June 24th, with 6.3.6 following on July 8th.
    • UniGetUI 3.2.1 Beta 1 by Razvan Serea UniGetUI is an application whose main goal is to create an intuitive GUI for the most common CLI package managers for Windows 10 and Windows 11, such as Winget, Scoop and Chocolatey. With UniGetUI, you'll be able to download, install, update and uninstall any software that's published on the supported package managers — and so much more. UniGetUI features Install, update and remove software from your system easily at one click: UniGetUI combines the packages from the most used package managers for windows: WinGet, Chocolatey, Scoop, Pip, Npm and .NET Tool. Discover new packages and filter them to easily find the package you want. View detailed metadata about any package before installing it. Get the direct download URL or the name of the publisher, as well as the size of the download. Easily bulk-install, update or uninstall multiple packages at once selecting multiple packages before performing an operation Automatically update packages, or be notified when updates become available. Skip versions or completely ignore updates in a per-package basis. Manage your available updates at the touch of a button from the Widgets pane or from Dev Home pane with UniGetUI Widgets. The system tray icon will also show the available updates and installed package, to efficiently update a program or remove a package from your system. Easily customize how and where packages are installed. Select different installation options and switches for each package. Install an older version or force to install a 32bit architecture. [But don't worry, those options will be saved for future updates for this package] Share packages with your friends to show them off that program you found. Here is an example: Hey @friend, Check out this program! Export custom lists of packages to then import them to another machine and install those packages with previously-specified, custom installation parameters. Setting up machines or configuring a specific software setup has never been easier. Backup your packages to a local file to easily recover your setup in a matter of seconds when migrating to a new machine UniGetUI 3.2.1 Beta 1 changelog: Added per-package-manager default install options Added the ability to run pre-install/update/uninstall and post-install/update/uninstall commands Added the ability to kill process(es) before a package is installed/updated/uninstalled Block custom command-line arguments (and pre/post commands) behind a SecureSetting switch SecureSettings are settings that require administrator privileges to be switched. Bundles won't import custom arguments & custom commands by default Bundles will show a security report when importing potentially dangerous settings Added a better crash message for when UniGetUI files are missing Deep improvements to how bundles and InstallOptions are loaded from disk. Improvements to WebView lifecycle Download: UniGetUI 3.2.1 Beta 1 | 51.7 MB (Open Source) Links: WingetUI Home Page | GitHub | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • I'm just waiting on what they will do when outlook doesn't load properly, and you have to set a new profile as a test.
  • Recent Achievements

    • Rising Star
      aphanic went up a rank
      Rising Star
    • Contributor
      GravityDead went up a rank
      Contributor
    • Week One Done
      BlakeBringer earned a badge
      Week One Done
    • Week One Done
      Helen Shafer earned a badge
      Week One Done
    • First Post
      emptyother earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      668
    2. 2
      ATLien_0
      268
    3. 3
      Michael Scrip
      238
    4. 4
      Steven P.
      163
    5. 5
      +FloatingFatMan
      156
  • Tell a friend

    Love Neowin? Tell a friend!