December 29, 20205 yr While trying to solve an error in this post I made an edit to the Plex docker settings. I stopped the docker applications, stopped the array, rebooted the array, and started the containers again. When I went to start I got a server error. Removed the docker application, including the image, and re-installed the application with the same settings. same error. Not sure where to go from here. Edited December 29, 20205 yr by crusemm add image
December 29, 20205 yr Author Per FAQ I ran the docker start cops command and came back with the error Error: failed to start containers: cops which doesn't help very much
December 29, 20205 yr Author Ok, did it this time with right docker name, get the following: Error response from daemon: error gathering device information while adding custom device "/dev/dri": no such file or directory Error: failed to start containers: Plex-Media-Server
December 29, 20205 yr 2 minutes ago, crusemm said: Ok, did it this time with right docker name, get the following: Error response from daemon: error gathering device information while adding custom device "/dev/dri": no such file or directory Error: failed to start containers: Plex-Media-Server Probably because on reboot you do not have a /dev/dri directory unless 'modprobe i915' is in your go file. You might have run it manually to load the drivers once after the server was booted but since unRAID runs from RAM the drivers were lost on reboot. If you want them to load every time the server is rebooted, you need to modify the go file on your unRAID flash drive. Here's what I have in my go file: #Setup drivers for hardware transcoding in Plex modprobe i915 sleep 4 chown -R nobody:users /dev/dri chmod -R 777 /dev/dri
December 29, 20205 yr Author I think your right. I was trying to setup Hardware transcoding, but since I barely know what I'm doing and just following internet tutorials, I screwed something up. It's up and running for now. Thanks for the help
December 29, 20205 yr 1 hour ago, crusemm said: I think your right. I was trying to setup Hardware transcoding, but since I barely know what I'm doing and just following internet tutorials, I screwed something up. It's up and running for now. Thanks for the help Try following this tutorial when you are ready to set up hardware transcoding.
December 29, 20205 yr Author 9 hours ago, Hoopster said: Try following this tutorial when you are ready to set up hardware transcoding. That's one of the one's I followed, I made those changes. Not sure why they didn't stick. I'll have to try again.
December 29, 20205 yr 3 hours ago, crusemm said: That's one of the one's I followed, I made those changes. Not sure why they didn't stick. I'll have to try again. Probably missed the part about the go file modifications. FYI - in addition to loading the i915 drivers from the go file, I also set up a folder in /tmp (RAM) specifically for Plex transcoding. This allows Plex to manage its own limited RAM space and delete files as needed. Just pointing transcoding to /tmp can result in crashing the server if it uses all memory. This has happened to some. I also have this in the go file. mkdir /tmp/PlexRamScratch chmod -R 777 /tmp/PlexRamScratch mount -t tmpfs -o size=16g tmpfs /tmp/PlexRamScratch I set up a 16GB PlexRamScratch folder but 4-8GB is usually more than enough. I give it more because I also have TV records through HDHomeRun using that folder while recording and if Plex is doing its thing at the same time, a bit more RAM is needed. Plex container setup looks like this:
Archived
This topic is now archived and is closed to further replies.