Preferences.xml file getting reverted to default

I haven’t figured out why yet so I can’t really report this as a bug along with any useful information but I thought if I mention it here that someone else might have had the same problem and know the solution.

I’ve also noticed that the customization of the libraries that I shared with other Plex users gets reverted to default parameters as well. I’m not sure which file this information is stored, if someone knows please let me know.

The only thing I can think of that would cause this different to most people is that I have moved the directory that the Preferences.xml file is in from its default location to a place that is on a large disk. I’ve used the override.conf file method to point to this location so I don’t see why it should be a problem unless there is some subtle bug somewhere in the code that shows up occasionally.

Has anyone else had this problem?

Please perform ls -la "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server"

and show me the output ?

Here’s what you asked for plus what I believe is additional information you will need:

quark: ls -la "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server"
total 4
drwxr-xr-x 1 plex plex 132 Jun 24 03:04 .
drwxr-xr-x 1 plex plex  34 Apr 13 01:32 ..
drwxr-xr-x 1 plex plex 288 Jun 23 23:05 Cache
drwxr-xr-x 1 plex plex  70 Jun 23 02:17 Codecs
drwxr-xr-x 1 plex plex 122 Jun 23 02:17 Crash Reports
drwxr-xr-x 1 plex plex 966 Jun 23 22:44 Logs
drwxr-xr-x 1 plex plex 100 Mar 22 22:29 Plug-in Support
drwxr-xr-x 1 plex plex  30 Apr 13 02:15 Plug-ins
-rw------- 1 plex plex 926 Jun 24 02:50 Preferences.xml
quark: cat /etc/systemd/system/plexmediaserver.service.d/override.conf
#
# Move Application Support directory location
#
[Service]
Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/srv/multimedia/plexmediaserver/Library/Application-Support"
#
#
quark: l /srv/multimedia/plexmediaserver/Library/Application-Support/Plex\ Media\ Server/
total 20
drwxr-xr-x 11 plex plex  251 Sep  9 14:21 ./
drwxr-xr-x  3 plex plex   39 Sep  9 15:48 ../
drwxr-xr-x  6 plex plex 4096 Sep  9 15:44 Cache/
drwxr-xr-x  5 plex plex  177 Aug 23 23:09 Codecs/
drwxr-xr-x 12 plex plex 4096 Aug 23 23:09 Crash Reports/
drwxr-xr-x  2 plex plex   10 Jan 19  2019 Diagnostics/
drwxr-xr-x  3 plex plex 4096 Sep  9 14:21 Logs/
drwxr-xr-x  3 plex plex   31 Jan 19  2019 Media/
drwxr-xr-x  6 plex plex   85 Jan 19  2019 Metadata/
drwxr-xr-x  7 plex plex  120 Jan 19  2019 Plug-in Support/
drwxr-xr-x  3 plex plex   37 Jan 19  2019 Plug-ins/
-rw-------  1 plex plex 1118 Sep  9 14:21 Preferences.xml
-rw-r--r--  1 plex plex    4 Sep  9 14:21 plexmediaserver.pid

Is this on a network share or, perhaps, on Feral hosting?

This is on my own workstation, OpenSUSE Leap 15.1.

That said, I might have figured this out. Again, I’m not sure and will have to wait a while to see what happens but I put a symlink from its default /var/lib/… to where I now have that directory and it seems, so far, to have resolved it.

This way if there is the odd occasion when it tries to look at the default location it still gets where I put it.

Ah. SuSe does things their own way. I understand why you had to either symlink (ok) or use a --bind mount (better) to make it persist.

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