Stop plex - would this be stopping the entire docker container, or will that be running and i need to stop plex via the same way when running the DBRepair script through the console commands?
Preferences.xml - That is the one located a few folders up, in the \appdata\PlexMediaServer\Library\Application Support\Plex Media Server folder location?
For step 4, that will be from the UnRaid terminal console? Similar to question 1, will I need to have the Plex container running but not the services by using the stop function of the DBRepair? And if no to that, prior to entering the command line will i need to first enter docker exec -it PlexMediaServer /bin/bash (My lack of linux knowledge is showing!)
I don’t know how to confirm the user owner after copying the Preferences.xml back into its location.
When re-creating the libraries and pointing to their folders do the names need to match what was originally set? I intend to keep them the same but wondering how that will affect needing to re-grant shared access to my friends.
I just checked and " Sync Your Watch State and Ratings" is enabled. If we skip the import using DBRepair, will that affect my friends watch history etc or is that specific to their accounts and not stored in my server? If they lose it, it is what it is, just want to be prepared for the barrage of questions during downtime and beyond.
I thiiiiiiiink that’s all the questions that come to mind currently.
Stop the entire container – nothing running at all.
From outside the container, go to the real file system location (wherever /config maps to) and get Preferences.xml from there
Yes, from the Unraid terminal console
When you ls -la <filename> you will see the owner and group of the file. When you’re in Unraid, I think it’s UID 99 or 999. Look at the other UID/GID values. It will be obvious.
With the Viewstate Sync enabled, PMS will restore your viewstate info
Viewstate sync is a per account setting. If they have theirs enabled then their data is guaranteed. I’m not 100% certain if their data is included with your server. It might be
I don’t appear to be having any luck with the command. I tried both upper and lowercase with no success.
EDIT:
I was able to get it via
Edit 2: After replacing the Preferences.xml with the original saved one i’m seeing “nobody users” when i should be expecting “plex users” yes?
root@Tower:~# ls -la /mnt/user/appdata/PlexMediaServer/Library/Application\ Support/Plex\ Media\ Server/Preferences.xml
-rw------- 1 nobody users 1432 Oct 11 06:20 /mnt/user/appdata/PlexMediaServer/Library/Application\ Support/Plex\ Media\ Server/Preferences.xml
I tried chown plex Preferences.xml but only received the message
invalid user “plex”
So i don’t think i know what i’m doing
EDIT 3!
I harassed a coworker who walked me through it. Preferences loaded and are the same as before. Libraries have been re-added and are currently scanning and re-populating. Once that’s finished i will go about optimizing the DB. Will that just be done through plex via the Settings> Manage: Troubleshooting> Optimize Database or will I want to use your tool?
So after a week of fiddling, everything seems to be in working order and has repopulated. Just have a few mis matches to correct but aside from that we’re business as usual. Thank you so much for all the help @ChuckPa , you really helped me out of a bind.