I recently upgraded my router and changed my local IP range, and it cause issues with Plex where I was able to access my local web server but not actually find the server. I eventually got it working by deleting the Preferences.xml and plexmediaserver.pid (they’re backed up) and I was able to see the setup ad get everything working again.
It runs fine but it never creates these files again, so everytime my server restarts I have to run the setup again. Obviously this is not ideal, so is there any way to trigger the creation of these files, or potentially to use the old file to recreate it manually?
It can’t create the file if directory and file permissions are not set to the plex user.
Now restart and reclaim it. It will write Preferences.xml with all the info in it.
plex should already own the folder as well as all the contents of Library, but I went ahead and ran the command again and nothing seems to have changed running ls -l after.
edit: nevermind, I see that I would need to reclaim it again. I will try that tomorrow, but I don’t have high expectations since it seems like the foder and contents are already owned by plex
It’s a local headless server. I usually access it in a similar way with ip.add.r.ess:32400/web from a pc on the same subnet. With the old Preferences.xml file, it would just say “no servers found, looking for servers”; until I deleted that file. It looked the same as accessing it from app.plex.tv/desktop, which is pretty confusing
I tried looking through with tail and seeing what jumps out, but I didn’t see anything. I would prefer not to lose all my watch history. Is there any way to export watch history if I were to need to nuke my setup?
Ha, I just realized after restarting (I actually restarted my VM as well as my host just in case) it created those files. That’s bizarre. I swear I had tried that before. Oh well, it all seems to be working at this point