Server Version#:1.25.7.5604-980a13e02
Player Version#: N/A
I got plex up and running last night, was able to watch a few shows on it no problem no hitch or anything.
This morning, I go to continue watching and I see that plex is down? I login and see what I can’t access http://localhost:32400/web. I check the status of plex and I see that it failed to load the preferences.xml file? It also shows active for 8 hours, what could have caused this or where can I go from here to troubleshoot? I am new to linux so any help would be appreciated!
● plexmediaserver.service - Plex Media Server
Loaded: loaded (/usr/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2022-03-12 23:40:03 EST; 8h ago
Process: 1664 ExecStartPre=/bin/sh -c /usr/bin/test -d “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}” || /bin/mkdir -p “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}” (code=exited, status=0/SUCCESS)
Main PID: 1703 (PMS RunServer)
Tasks: 2 (limit: 408206)
Memory: 67.0M
CGroup: /system.slice/plexmediaserver.service
└─1703 /usr/lib/plexmediaserver/Plex Media Server
Mar 12 23:40:03 BigDaddyServer systemd[1]: Starting Plex Media Server…
Mar 12 23:40:03 BigDaddyServer systemd[1]: Started Plex Media Server.
Mar 12 23:40:03 BigDaddyServer sh[1703]: Failed to load preferences at /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Preferences.xml
Mar 12 23:40:05 BigDaddyServer sh[1703]: Failed to load preferences at /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Preferences.xml
Not sure if this is also something I needed to do but I tried to re-claim my server and this is the error I get:
The curl connection was refused because the server was down. To me, the error loading Preferences file is a symptom of another problem you might have with your host, but I’m glad you’ve got it running again
Once I deleted the xml file I was able to bring everything back up as if nothing had happened, it took me back through the setup process but my server was still there
If it’s empty, the only way that’ll happen (99% of the time) is when the runtime username changes or the directories are moved (APP_SUPPORT_DIR changes) and perms are not set correctly)
What do you need to see so I can show you my perms to make sure they are setup correctly? I think maybe that was it? Because it looks like it is happening again
I’m running Plex 1.25.6.5577 on Fedora, and I had to restart the server for an update, and I get the same error message.
The server is not starting and the Preferences.xml file is empty…
Had an unfortunate reboot caused by circumstances out of my control and upon startup, getting the same error from plex. Running 1.25.6.5577 . Preferences.xml is now a completely empty file. Is this a widespread issue?
edit: resolved by moving the empty Preferences.xml file out of the default dir, running setup again using 32400/web. Thankfully this did not alter plex data for libraries at all, just the home screen.