saved it. moved the directory from /var/lib/ to its new destination /home/encrytped/.plex/.
restarted plex and bam… every time the same error…:
Jan 15 19:53:32 localhost sh[8422]: /bin/mkdir: das Verzeichnis „/var/lib/plexmediaserver“ kann nicht angelegt werden: Keine Berechtigung (in english: cant creare directory /var/lib/plexmediaserver)
Jan 15 19:53:32 localhost systemd[1]: plexmediaserver.service: control process exited, code=exited status=1
Jan 15 19:53:32 localhost systemd[1]: Failed to start Plex Media Server for Linux.
it seems to me that plex is ignoring my changed settings.
You’re correct. PMS does not use the /etc/defaults mechanism anymore.
Mid last summer (June - Aug 2016), I was part of the effort to unify Linux startup mechanisms. The result was to utilize the native systemd init mechanism when it’s native to the system.
Now, all customizations to your PMS installation are kept separate from the default /usr/lib/systemd/system/plexmediaserver.service file.
The systemd override.conf mechanism is used. This is located in /etc/defaults/systemd/system/<name>.service.d/override.conf
You may change any of the default parameters normally defined for PMS startup in it.
As example, and how it relates to you:
cat /proc/1/comm to verify it reports systemd as the system control process name
Hi there is still the same process I just install plex now from scratch in raspberry pi 3 and want to move my cache folder to usd drive! And im having problems with that i try this method i worked but when I restart i starts to put the library t same place before!
In light of all the confusion which is now coming to light over something done over two years ago,
I am fully rewriting and re-instituting a migration step in the installation.
With Ubuntu, Debian, and Fedora, along with the other lesser known distros now in sync with proper systemd locations,
extract any customization information from /etc/defaults/plexmediaserver
extract any customization information from /etc/systemd/system/plexmediaserver.service
extract any customization information from /etc/systemd/system/plexmediaserver.service.d/*.conf
Write a properly formatted /etc/systemd/system/pledmediaserver.service.d/override.conf or /etc/defaults/plexmediaserver (if init based installation))
I am doing this because some of these older distros will be deprecated soon.
Do no be alarmed because it will be announced well in advance
I will share a little bit of “roadmap”
Based on the Ubuntu published dates:
Current
Version Code name End of Life date
Ubuntu 16.04.1 LTS Xenial Xerus April 2021
Ubuntu 16.04 LTS Xenial Xerus April 2021
Ubuntu 14.04.5 LTS Trusty Tahr April 2019
Ubuntu 14.04.4 LTS Trusty Tahr HWE August 2016
Ubuntu 14.04 is next to be deprecated and obsoleted.