Server Version#: Unraid 7.2.4
Player Version#: Plex 1.43.1.10611-1e34174b1
I updated Plex a little while ago, and now my entire service seems to have just up and died. I can’t log in locally, going to the WebUI results in a “site can’t be reached ERR_CONNECTION_REFUSED” error. Looking at the status in Unraid, it shows as “unhealthy.” Rebooting the container doesn’t do anything.
Looking in the logs doesn’t pull much of anything. It spits out the following error on loop:
Stopping Plex Media Server.
Starting Plex Media Server.
libc++abi: terminating with uncaught exception of type std::runtime_error: Codecs: Initialize: boost::filesystem::create_directories: Permission denied [system:13]: “/config/Library/Application Support/Plex Media Server/Codecs/cc4757f-e75de90df4cf308fb2840af9-linux-x86_64”, “/config/Library/Application Support/Plex Media Server/Codecs/cc4757f-e75de90df4cf308fb2840af9-linux-x86_64”
****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: /config/Library/Application Support/Plex Media Server/Crash Reports/1.43.1.10611-1e34174b1/PLEX MEDIA SERVER/91e0afdf-ebd4-4a7a-80e0d699-7a0d67e5.dmp
Stopping Plex Media Server.
Interestingly, the folder that it points to, 1.43.1.10611-1e34174b1, didn’t exist/wasn’t created. I went through the appdata and the appropriate Plex folder and made the folder in question, thinking that it would at least give a crash report this time. While it did allow a subfolder “PLEX MEDIA PLAYER” to be created, it still doesn’t output an actual report/data dump. Searching for the .dmp report doesn’t yield anything, even in the base “appdata” folder the file can’t be found.
I can’t get into the web app; navigating to the internal IP pulls a “site can’t be reached ERR_CONNECTION_REFUSED” error.
I did start using a different repository just to get something to work. Instead of the official Plex app, I’m running linuxserver’s repository, and that’s working, but that isn’t a fix.
Thanks for telling me you didnt read the article I linked about getting your server logs. There is a section labeled Manually Finding Log Files Please see that section for specifics
Since Plex is running in a Docker container, they recommend looking into their documentation on github for ways to pull log information. That github page, under “useful information,” says,
“See the logs given by the startup script in real time: docker logs -f plex.”
When I enter the terminal of my Unraid server and run the command, it returns the following error, on repeat.
Stopping Plex Media Server.
Starting Plex Media Server.
libc++abi: terminating with uncaught exception of type std::runtime_error: Codecs: Initialize: 'boost::filesystem::create_directories: Permission denied [system:13]: "/config/Library/Application Support/Plex Media Server/Codecs/cc4757f-e75de90df4cf308fb2840af9-linux-x86_64", "/config/Library/Application Support/Plex Media Server/Codecs/cc4757f-e75de90df4cf308fb2840af9-linux-x86_64"'
****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: /config/Library/Application Support/Plex Media Server/Crash Reports/1.43.1.10611-1e34174b1/PLEX MEDIA SERVER/273b2b87-b565-4ca5-a5b2a783-e76979b0.dmp
There’s no option to download a report or a zip file, it’s just text.
I follow the appdata folder, “library/Application Support/Plex Media Server” etc, and it leads to an empty file with no reports.
At this point I’m not sure what I’m doing wrong, it seems that Plex is trying to output logs but failing to do so.
That error message says that Plex doesnt have permissions to write files to /config/Library/Application Support/Plex Media Server/Codecs along with your comment about not having any logs leads me to assume that Plex doesnt have the needed permissions for /config/Library/Application Support/Plex Media Server and sub directories which is what is probably causing it to crash.