Plex cannot write to NFS share on openmediavault

Server Version#: 1.15.6.1079
Player Version#:Web client, android 7.16.0.1(2e560940)
Hi,
I have been struggling with this for two full days now and I cannot figure it out… I just moved my plex media server from an old mac mini to a virtual machines (ubuntu server 18.04) running on ProxMox. My library have been moved to a NAS (OpenmediaVault running on a raspberry pi).
I have created a NFS share on OpenMediaVault and mounted this on my virtual machine, this is working fine. I have read / write access to the folder when logged in as my user (I do not need to root or sudo to create and delete folder).
I am then using this folder as library in plex media server and this is also working, my library gets updated correctly.
the problem is that I am not able to delete any movies / TV shows from the web client or from Android app. I get the following error from webclient “There was a problem deleting this item.” On Android app I get no error but nothing happens.
I have now been trying to get the linux permissions right for the last two days and I think I have concluded that the issue is with plex, not permissions…
This conclusion is mostly based on the fact that the last thing I tried now was to run plex as my local user, by editing the /etc/default/plexmediaserver file and put my username instead of “PLEX_MEDIA_SERVER_USER=plex”.
Since I am able to read and write as my user I would think that plex would also be able to do this?
Please help me out as I am running out of things to try now…

Does username plex exist on the NFS server?
Does username plex have RW permission on the server?

Hi, and thanks for reply. Yes, I have added a user plex on openmediavault and the nfs share is Read/Write.
I am not sure that I fully understand the connection between user plex on the NFS server and user plex in my ubuntu that is running plex media server.

On the openmediavault I have given Read/Write privilege on the NFS share so as far as I understand any user should be able to read/write…

And this also seems to be the case when I mount the share on other machines… I can add and remove folders without any problems.

Is there a way I can test this as user plex? Can I change user to plex and try to delete folders from the terminal? So far the only way I know how to test this is to open the plex player and try to delete movies from there…
Thanks again for the help. Please let me know if you need any additional information…

Plex isn’t configured to be a login account.
If you understand how to change this, run your test, and change it back afterward - your system will remain secure.

User plex is no different than user dogfood … it is a UID/GID pair. That’s it.

Your best support for OMV / NFS / Ubuntu issues are their forums.

Ubuntu 18.04 does not use /etc/default/plexmediaserver to alter the configuration. It is provided only for backward compatibility with Ubuntu 14 (soon to be dropped from support as it was EOL’d by Canonical on April 30)

Some Linux Tips may be of assistance here.

Thank you so much for the nudge in the right direction. I created a new user plexuser, added this to group plex and video. I also created a plexuser on the NAS. Still did not work. Finally I found this link and I think what finally worked was when I changed the UID of my plexuser on ubuntu so that it matched UID of plexuser on my NAS. Once this was done I could delete and add folders on my NFS share as plexuser.
It probably would have been enough to just change the UID of user plex in ubuntu and then nothing else… I might try that.
Thanks again.

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