crusemm Posted December 29, 2020 Share Posted December 29, 2020 (edited) 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, 2020 by crusemm add image Quote Link to comment
crusemm Posted December 29, 2020 Author Share Posted December 29, 2020 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 Quote Link to comment
crusemm Posted December 29, 2020 Author Share Posted December 29, 2020 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 Quote Link to comment
crusemm Posted December 29, 2020 Author Share Posted December 29, 2020 Solved. Removed the dev/dri path and it all works now. Quote Link to comment
Hoopster Posted December 29, 2020 Share Posted December 29, 2020 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 Quote Link to comment
crusemm Posted December 29, 2020 Author Share Posted December 29, 2020 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 Quote Link to comment
Hoopster Posted December 29, 2020 Share Posted December 29, 2020 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. Quote Link to comment
crusemm Posted December 29, 2020 Author Share Posted December 29, 2020 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. Quote Link to comment
Hoopster Posted December 29, 2020 Share Posted December 29, 2020 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: 1 1 Quote Link to comment
Recommended Posts
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.