Ubuntu/Debian, with a graphical desktop, will always override the permissions & ownership of /media. The offending program is the automounter built into Nautilus. (It communicates with gnome-session, which runs as root, and has anything in there mounted / chowned with exclusive access by your username only which blocks ‘plex:plex’ from accessing it.
To avoid this problem, any other location can be used.
Might I suggest ?
- mkdir /home/plex
- chown plex:plex /home/plex
- mount your SSD to this location
- Change the override.conf to point to
Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/home/plex/Library/Application Support"
Now you can move Library from /var/lib/plexmediaserver to /home/plex.
For reference (in case you need)