Linux Mint 19.2 - Plex MS Doesn't Recognise Network Drive

Server Version#:
Player Version#:

Hi, I am new to Linux mint, previously I was running a Plex Server on a Windows 7 machine. The media library was a shared network drive attached via USB to my router. After installing Linux Mint I was able to access the shared network drive in the files application.

After downloading and installing the Plex Media Server software from the Plex site I have been trying to re-establish my media library using the shared network directory. Unfortunately Plex will only recognise local files and directories - not the network.

I suspect it may be because the directory name is too long (smb://ftumsch8tb/seagate_8tb_expansion_drive/Media) , and I have been unable to find anything on this forum or elsewhere on how to resolve this issue.

Any help you can give me would be much appreciated. Thanks

As followup, I would strongly suggest you use NFS if the Seagate has the NFS file sharing service available.

SMB / CIFS is for Windows.

NFS is for Linux.

It will go much easier with NFS on Linux.

Thanks for the info, however I am not using a NAS. It is only an 8Tb Seagate hard drive connected via USB to the Router. I have added this to the computer as a shared network drive in the FIles app under the “Windows Network” that showed up when I clicked on the Network folder.

So I’m not sure if step 1 “Prepare the NAS” actually applies to my situation? All I want Plex to do is recognise the windows network drive.

It won’t work that way because Linux permissions don’t let user Plex see files under your name (you mounted). You can’t let Gnome Nautilus (the desktop manager) handle it for you. This is what’s blocking user ‘plex’ from seeing it.

If the drive is attached to a router (not best practice whatsoever), it is a network share.
you should still be able to access it as //ip.addr.of.router/name which is what I pointed out to you.

for all practical purposes, your USB drive plugged into that router, is funcdtioning as a Network Accessible Storage device (NAS)

Were you to plug it into the computer, I would give you this how-to

OK, thanks Chuck. I realise its not optimal to have a HD attached to the router but beggars can’t be choosers and a proper NAS is expensive!

I did try directly connecting it to the computer but I found the same problem, and I would prefer to keep the drive attached to a network share so it can be accessed from other machines.

I will work my way through the original material you sent, I’m sure its not that difficult. Thanks again.

your computer is mounting that drive as if it were a NAS. You’re just not seeing it.
By you taking manual control, you can open things up, as I show, so you and Plex can use it.

Awesome, I’m new to Linux so I really appreciate your help sorting this out.

Linux is one of those “get your fingers dirty” Operating systems.

Be advised, Mint is one of the, if not the, quirkiest Debian derivative out there. Mint came from Ubuntu which came from Debian.

Whenever we see Mint, there are usually problems somewhere along the way.

If you’ve not invested a lot of time and have a way to save any data in the /home directory you may have placed, I’d recommend you get Ubuntu 18.04 LTS. Mint 19 won’t be supported as of April 2020. (odd numbered years end the following year while even numbers get LTS support).

OK, so I had a go at this and of course it was a complete disaster.

In Step A it says to add username “plex” to the NAS, but as stated I don’t have a NAS I have a hard drive attached to my router which I have mounted on my Linux machine under the Windows Network, this is the address.

smb://ftumsch8tb/seagate_8tb_expansion_drive/

So I assume as the shared drive is already recognised it means I don’t need to prepare it. so I go to step 2 - “Create the credentials file to pass to the CIFS/SMB server during mount

The instructions here say I need to create a file to hold the username and password, so I try to create /etc/plex.cred with the following credentials

username=plex
password=password
domain=CIFS/SMB domain

when I open the text editor and try to save the file as /etc/plex.cred I get an error message saying that I do not have the necessary permissions to save the file (screenshot attached)

Screenshot%20from%202019-08-19%2009-03-45

So this means I’m at a bit of a dead end I’m afraid? Can you let me know where I’m going wrong? Thanks.

No. You must create /etc/plex.cred as the root user

sudo gedit /etc/plex.ced.

You’ll need to abandon what you started there .
Begin again in the terminal window but add sudo before the editor command.

OK, thanks. The instructions did say “using any text editor” so I didn’t think of opening a terminal.

Unfortunately I’m having problems in the terminal too. Once I entered

sudo gedit /etc/plex.ced.

I got the "gedit: command not found " error

Screenshot%20from%202019-08-19%2009-45-51

sudo apt install gedit
sudo gedit /etc/plex.cred

You need to install gedit.

OK, so now I have created the plex.cred file and moved on to step C - "Create the Mount Point Directory Structure"

The attached screenshot shows the directories I’ve set up:

Screenshot%20from%202019-08-19%2011-05-05

Then I move on to step D - "Create the entries to mount the NAS shares at their target locations"

It says here that each NAS has different pathname conventions and that I should follow the documentation for my NAS. Again not having a NAS I guess this step doesn’t apply?

I went on to Step E - “Begin verifying and testing the new mount points” and entered the mount commands as shown:

Screenshot%20from%202019-08-19%2011-10-41

I guess this didn’t work properly and I’ll need to go back to step D?

Show me what you put in /etc/fstab please?

Ummm…sorry, I put that (/etc/fstab) in to a terminal command but it came back with “command not found”
Screenshot%20from%202019-08-19%2011-59-44

This is a screenshot of the /etc folder contents, there is no /fstab folder:

This is a screenshot of the root directory, the folders from step C have been created here (selected in Green):

Try cat /etc/fstab to display the contents of fstab.