Trying to add linux drives to plex, no luck

No problem! I like a good mystery, although I know how frustrating it can be!

I’m still doing a little searching. There has to be something silly going on!

Does it not list them on the sidebar, or can you not see the directories when you browse to root of your system?


Dolphin shows them, and I am not sure if I am looking in the right area in Nautilus- so I went with another viewer.

You’ll need to hit Other Locations in Nautilus. Then I think it lists Computer and you’ll see the root of your hard drive. They should show up there. I think that answered the question though.

So, now to figure out why Plex isn’t seeing them…

right-o on the computer/disks/ thing. Right there they are. Not as pretty as dolphin though. Looks so much like windows, or mac… or rather, they look like this?

Nautilus has a soft spot in my heart, but I agree it’s not always very elegant!

So, just making sure, if you go to try and add the directory to your library in Plex, it doesn’t show up at the bottom or anything? Just making sure it’s not being missed because it’s not showing alphabetically or something strange.

scanned it for both the sdc and the letter b , disks, etc. No glory.

Also, re-installed pms just in case.

Yeah, it should show up under / as disks.

Hmm…

for shiggles, I decided to look at some logs-
the media scanner log shows this:

Apr 20, 2020 02:33:11.668 [0x7fcc7dfce700] INFO - Plex Media Scanner v1.19.1.2645-ccb6eb67e - Docker Docker Container x86_64 - build: linux-x86_64 - GMT -04:00
Apr 20, 2020 02:33:11.669 [0x7fcc7dfce700] INFO - Linux version: 5.3.0-46-generic, language: C
Apr 20, 2020 02:33:11.669 [0x7fcc7dfce700] INFO - Processor AMD A10-5800K APU with Radeon™ HD Graphics
Apr 20, 2020 02:33:11.669 [0x7fcc7dfce700] INFO - /usr/lib/plexmediaserver/Plex Media Scanner --scan --refresh --section 1 --activity ef7c81b5-8cd9-4014-aa68-7ebd2252dff3

not sure if this is any help to you or not, but hey- it’s… A LOG!

In case it helps, here is my fstab


# <file system>     <dir>       <type>   <options>   <dump>	<pass>
10.10.0.10:/backups /var/backups  nfs      defaults    0       0
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=d86b1539-6ed6-43f5-8f15-2801d18871ef /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0


# Mount b (ext4) at /disks/b for Plex
UUID=8A18-46B1 /disks/b  exfat  defaults,auto,rw,nofail 0 1

# Mount c (NTFS) at /disks/c for Plex
UUID=1E82ADE882ADC49D /disks/c ntfs  defaults,auto,rw,nofail 0 1

May I be of help ? :smiley:

I was about to ping you, but it turns out your timing is impeccable. :smiley:

I can’t find anything wrong with what he’s doing. It should work! I’m a Debian man myself, but Ubuntu can’t be that different!

What can I say; my ears were burning :rage: :rofl:

A step was missed – Setting ownership and permissions of the mount point directories prior to the mount.

In this example, the username ‘chuck’ should be replaced with your actual Linux username . This allows you to maintain full ownership and control of the media without needing to use the superuser (root) account each time.

# We're going to create the mount points here:   /disks/c /disks/media3 /disks/chuck2t [root@lizum chuck]# mkdir /disks /disks/c /disks/media3 /disks/chuck2t
[root@lizum chuck]# chown -R chuck:chuck /disks
[root@lizum chuck]# chmod -R 755 /disks

[root@lizum chuck]# ls -la /disks
drwxr-xr-x   3 chuck chuck 4096 Jul 27 11:14 .
dr-xr-xr-x. 30  root  root 4096 Jul 27 11:14 ..
drwxr-xr-x   4 chuck chuck 4096 Jul 27 11:04 c
drwxr-xr-x   4 chuck chuck 4096 Jul 27 11:04 chuck2t
drwxr-xr-x   4 chuck chuck 4096 Jul 27 11:04 media3
[root@lizum chuck]#

Having created the directories as root, verify empty (unmounted) directory permissions are 0755 before mounting

^^ This step

I take the blame for not making it as clear as it should be.

I’ve just updated the procedure to make this step more prominent.

There is one other possibility - which applies to Ubuntu only.

  1. When installing Plex from the Ubuntu store, accessing devices is NOT a straight-forward operation

  2. In those cases:

unmounted, rebooted, followed your steps to the letter and… same thing.

gray@gray-System-Product-Name:~$ sudo chown -R gray:gray /disks
gray@gray-System-Product-Name:~$ chmod -R 755 /disks
gray@gray-System-Product-Name:~$ ls -la /disks/
total 16
drwxr-xr-x  4 gray gray 4096 Apr 20 01:33 .
drwxr-xr-x 25 root root 4096 Apr 20 01:32 ..
drwxr-xr-x  2 gray gray 4096 Apr 20 01:33 b
drwxr-xr-x  2 gray gray 4096 Apr 20 01:32 c
gray@gray-System-Product-Name:~$ mount /disks/c
mount: /disks/c: operation permitted for root only.
gray@gray-System-Product-Name:~$ sudo mount /disks/c
gray@gray-System-Product-Name:~$ sudo mount /disks/b
FUSE exfat 1.2.8

also, downloaded plex via the deb file

and double also, THANK YOU! Your guide made life easier.-- even though my system is stupid and it doesn’t work.

Did you reboot BEFORE or AFTER installing the native DEB package?

If you rebooted before then the installer log will still be in the /tmp directory.

if you would please cat /tmp/plexinstaller.log and copy/paste that text here with your next reply, it’ll let me see what my installation script saw

I don’t have that file.

gray@gray-System-Product-Name:/tmp$ ls
config-err-qMYfmd
pms-b51d9d2b-2310-4cb8-ad85-39ab7478d06e
snap.chromium
snap.discord
snap.sonarr
ssh-f07vJ92oBxPl
systemd-private-f1e9ba6ffb0c4b148c48f366fee79fdb-bolt.service-n71FhZ
systemd-private-f1e9ba6ffb0c4b148c48f366fee79fdb-colord.service-PFqi1F
systemd-private-f1e9ba6ffb0c4b148c48f366fee79fdb-fwupd.service-E19PTV
systemd-private-f1e9ba6ffb0c4b148c48f366fee79fdb-ModemManager.service-oVWxhS
systemd-private-f1e9ba6ffb0c4b148c48f366fee79fdb-rtkit-daemon.service-EcrSw3
systemd-private-f1e9ba6ffb0c4b148c48f366fee79fdb-systemd-resolved.service-0AtWR1
systemd-private-f1e9ba6ffb0c4b148c48f366fee79fdb-systemd-timesyncd.service-xVwXYd
systemd-private-f1e9ba6ffb0c4b148c48f366fee79fdb-vnstat.service-Vh6Yas
gray@gray-System-Product-Name:/tmp$

I removed plex again, removed the directories etc and reinstalled plex.
have not rebooted .

Scroll back on the console and show me what the installer printed while Plex was being installed.

You should see an installation summary between where you typed:

sudo dpkg -i Filename.deb
and when the command line prompt returned.

gray@gray-System-Product-Name:~$ sudo wget https://downloads.plex.tv/plex-media-server-new/1.19.2.2673-776106bc6/debian/plexmediaserver_1.19.2.2673-776106bc6_i386.deb
--2020-04-20 13:36:37--  https://downloads.plex.tv/plex-media-server-new/1.19.2.2673-776106bc6/debian/plexmediaserver_1.19.2.2673-776106bc6_i386.deb
Resolving downloads.plex.tv (downloads.plex.tv)... 104.18.157.41, 104.18.156.41, 2606:4700::6812:9d29, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|104.18.157.41|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 74645912 (71M) [application/x-debian-package]
Saving to: ‘plexmediaserver_1.19.2.2673-776106bc6_i386.deb’

plexmediaserver_1.1 100%[===================>]  71.19M  25.9MB/s    in 2.7s    

2020-04-20 13:36:40 (25.9 MB/s) - ‘plexmediaserver_1.19.2.2673-776106bc6_i386.deb’ saved [74645912/74645912]
gray@gray-System-Product-Name:~$ cat /tmp/plexinstaller.log
cat: /tmp/plexinstaller.log: No such file or directory
gray@gray-System-Product-Name:/tmp$ cat pms-b51d9d2b-2310-4pms-b51d9d2b-2310-4cb8-ad85-39ab7478d06e
cat: pms-b51d9d2b-2310-4pms-b51d9d2b-2310-4cb8-ad85-39ab7478d06e: No such file or directory