Ubuntu 18.04 + Snap PMS can't see local folder

Server Version#:1.13.10.352-b71203ad9 beta
Player Version#:N/A

Installed PMS using the Snap store which runs and plays just fine, as long as the folders and files are in my home directory.

My content resides on a ZFS filesystem mounted at /Storage (internal to the machine, not raw-usb or removable-media).
When I add a new Library and browse for a folder, the desired folder isn’t shown at all.
There are many system folders which are shown that just don’t have any content because of permissions, but /Storage isn’t even in the list.
On that note, folder permissions shouldn’t be the issue. I’ve added the plex user to a group which has read write permissions, and everyone has at least read permissions.

I’m not sure where the log file for PMS is kept… :man_shrugging:
/var/log/kern.log tells me:
audit: type=1400 audit(1541719583.209:110): apparmor=“DENIED” operation=“open” profile=“snap.plexmediaserver.plexmediaserver” name="/var/lib/snapd/hostfs/" pid=20954 comm=506C6578204D656469612053657276 requested_mask=“r” denied_mask=“r” fsuid=0 ouid=0

Investigating the snap interfaces plug:slot situation didn’t show any promise as the only thing not connected is USB which won’t help me:
sudo snap interfaces plexmediaserver
Slot Plug
:desktop gnome-calculator,gnome-characters,gnome-logs,gnome-system-monitor,plexmediaserver,snap-store
:home gnome-characters,gnome-logs,plexmediaserver:home-all
:network gnome-calculator,gnome-logs,plexmediaserver,snap-store
:network-bind plexmediaserver
:opengl plexmediaserver
:removable-media plexmediaserver
:system-observe gnome-system-monitor,plexmediaserver
_- plexmediaserver:raw-usb

(Added _ to the beginning of last line so it wasn’t displayed as a bullet point)

So I’m a bit out of ideas. Anyone?
Also where do the plexmediaserver logs live?
Thanks in advance.
FWIW, I’ve tried downloading and installing the binary version of PMS which works fine as well and doesn’t have this issue, I was just hoping for automatic updates :smile:

Having the same issue. All the normal suggestions regarding permission issues don’t work, because there is no plex user or group.

All the folders have 755 permissions, and are owned by my user.

I find it odd that Plex would publish this app without publishing the setup instructions required to actually get this snap running correctly.

Going to move my mounted directories to my home folder, even though I really hate having them there.

Plex please publish some valid setup instructions.

Software installed via snap are “containerized” and can only see drives mounted under your /home/$USER directory or under /media. I ran into this same issue using ZFS and so I changed the mount location e.g.: sudo zfs set mountpoint=/home/$USER/Storage name_of_storage_pool.

Once I did that, Plex installed via snap was able to see the folder.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.