May 17, 20251 yr I can still run plex from my desktop and everything is fine. When I start plex in the from unraid I get connection error on WebUI from docker. I went through a bunch of topics here and several hours using chat gpt. I went through setting environmental variables and it suggested a file Preferences.xml could be corrupt but I was unable to resolve the issue. When I go to the logs on the plex container I get the below message repeated over and over. and eventually it starts repeating Starting Plex Media Server. Stopping Plex Media Server. Starting Plex Media Server. Stopping Plex Media Server. Starting Plex Media Server. kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] libc++abi: terminating with uncaught exception of type boost::filesystem::filesystem_error: boost::filesystem::create_directories: I/O error [system:5]: "/config/Library/Application Support/Plex Media Server/Cache", "/config/Library/Application Support/Plex Media Server/Cache" I think I included the Diag file correctly, but please let me know if I need to do something different tower-diagnostics-20250517-1114.zip
May 17, 20251 yr Community Expert Your better off starting fresh... do to the database and previous configurations. You would need to recreate the database in docker. It is easier to move from docker to desktop. Essential, there quite a few files in the desktop version trying to point to non linux and or docker variable and settings. while the content is the same, the metadata needs rebuilt. You can atempt a database restore to the sqlite file that is used by docker... https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/ https://support.plex.tv/articles/repair-a-corrupted-database/ plex done't have a good way to export and inport its database it uses.
May 17, 20251 yr Author I am fine with starting fresh as long as I dont lose my media, but I am not sure how to do that. What is the easiest way to "Start fresh"
May 17, 20251 yr Community Expert Solution you may need to delete the unraid plex appdata folder. cd /mnt/user/appdata/ and delete the plex folder on unraid have your content in a folder structure... https://trash-guides.info/Plex/ https://trash-guides.info/File-and-Folder-Structure/ if setting up the *Ars (sonar, radar for other autmated media gathering...) you should have a unraid data sahre called data data ├── torrents │ ├── books │ ├── movies │ ├── music │ └── tv ├── usenet │ ├── incomplete │ └── complete │ ├── books │ ├── movies │ ├── music │ └── tv └── media ├── books ├── movies ├── music └── tv so plex data foldder will be the media / data folder... I recommend using the linux server plex CA template filling in the folder structure where you movies, tv shows are located at.. as you can edit this to be any continer folder pat such as /data and map it to teh unraid conting folder. then in plex libaries you add the continer pat folder that has the content... this will keep your meai content that you have on unraid and reload any and all video metadata downloaded from plex movie database.
May 17, 20251 yr Author If I understand correctly step one is to delete. I used the below line root@Tower:~# rm -rf "/mnt/user/appdata/Plex-Media-Server" and got this response rm: cannot remove '/mnt/user/appdata/Plex-Media-Server/Library/Application Support/Plex Media Server/Crash Reports': Input/output error
May 17, 20251 yr Community Expert 7 minutes ago, OsoSuerte said: If I understand correctly step one is to delete. I used the below line root@Tower:~# rm -rf "/mnt/user/appdata/Plex-Media-Server" and got this response rm: cannot remove '/mnt/user/appdata/Plex-Media-Server/Library/Application Support/Plex Media Server/Crash Reports': Input/output error correct. plex can't be running when doing this... as this is the plex dockers data. the docker needs to be off.... you may need to double check unraid shares for appdata and make sure only a primary storage location is set. I usualy use mc to delete folders.. in web terminal. cd /mnt/user/appdata/ mc Highlight the plex folder pres f8 key and answer promts to delete folder and its contents... then reinstall plex form the template. You may also need to fix folder file permissions cd /mnt/user/appdata/ chmod 777 -R * chown nobody:users -R *
May 17, 20251 yr Author Goring the f8 option I deleted the plex media server file it ran and I got a red pop up box that says "Directory /"mnt/user/appda~x-Media-Server" not empty. Delete recursively? Options are: Yes, No, All, Abort what should I do?
May 17, 20251 yr Author I opted for yes and got the pop up cannot remove directory "mnt/user/appda~plaexapp.system"directory not empty (39) I got it for a couple files and selected "ignore all" Not sure if that will cause problems
May 18, 20251 yr Author I did the recursive delete and ignore all. reinstalled the plex app and I am up and running
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.