chFresh Posted August 17, 2019 Share Posted August 17, 2019 Plex Docker keeps crashing almost every day, and i need to reboot server to start Plex docker again. if i don't reboot server it's saying it cant start plex docker. don't think every docker image that crash tho because tautulli keeps running. tried official Plex image (i use linux server Plex image) just adding some files but it crashed after about 1 hour. was realy hoping that i would not need to start from scratch, cause i have matched much media myself and found covers. adding log from server. smal-nas-diagnostics-20190817-1019.zip Quote Link to comment
Frank1940 Posted August 17, 2019 Share Posted August 17, 2019 I would suspect that you are using Unraid's RAM disk to store the files that Plex is generating. You should check that all the storage paths begin with /mnt/ as that is where all of HD's and SSD's are mounted onto the file system. If they don't, you are storing them on the RAM disk which size in your case is less than 8GB. Your Diagnostics file is from just after a reboot so the only useful information that it contains at this point is that you are running 6.7.2. You really need to try to get Diagnostics before you reboot. If you can't get the Diagnostics file after the problem occurs, you can setup the 'Syslog Server' ( Settings >>> Syslog Server ) to mirror the syslog to your flash drive. Unraid's 'Help' system will provide information on how-to set it up and where the file is stored. Be sure to get the file off before you reboot. Quote Link to comment
chFresh Posted August 17, 2019 Author Share Posted August 17, 2019 Hi, not using RAM drive, only shared ssd just for this. i have switched on mirroring of the syslog. so posting it as soon as the server is failing. adding a picture of my Plex setup. i am mounting a couple of shares off another server. but problem still occurs when i don't. Tnx for the help :D Quote Link to comment
Frank1940 Posted August 17, 2019 Share Posted August 17, 2019 (edited) Unfortunately, these paths are not on a Physical Disk. The path has to be on one to a physical device. Typically, the path would be a device similar to on like this: /mnt/cache/ or /mnt/disk1/ or /mnt/user/ or /mnt/user0/ Basically, you can see the mounted physically devices with the following command in a terminal session: ls -al /mnt/ Its output will look like this: root@Rose:~# ls -al /mnt/ total 0 drwxr-xr-x 9 root root 180 Aug 6 10:58 ./ drwxr-xr-x 18 root root 400 Aug 11 09:33 ../ drwxrwxrwx 4 nobody users 58 Aug 11 02:30 cache/ drwxrwxrwx 5 nobody users 75 Aug 11 02:30 disk1/ drwxrwxrwx 4 nobody users 33 Aug 11 02:30 disk2/ drwxrwxrwx 4 nobody users 33 Aug 11 02:30 disk3/ drwxrwxrwx 4 nobody users 33 Aug 11 02:30 disk4/ drwxrwxrwx 1 nobody users 58 Aug 11 02:30 user/ drwxrwxrwx 1 nobody users 75 Aug 11 02:30 user0/ Any of these are paths to a physical device. The /mnt/user/ and the /mnt/user0/ point to the User Shares. BTW, it is not a good idea to use a device mounted with the Unassigned Devices plugin for a Docker App because if the device is missing/not-mounted, the directory will be created in the RAM disk. Edited August 17, 2019 by Frank1940 Quote Link to comment
Squid Posted August 17, 2019 Share Posted August 17, 2019 There is nothing wrong with mapping a path to a UD mounted share (I do it all the time). It works perfectly, and is how the system is designed to work. But, this is subject to the remote server being on 24/7 If it's not then it is not a good idea to do. I would suspect however that the issue here is actually that the /config mapping in the template (Show More Settings) is /mnt/user/appdata/Plex... Change it to /mnt/cache/appdata/Plex... Quote Link to comment
chFresh Posted August 17, 2019 Author Share Posted August 17, 2019 (edited) Both servers are on 24/7. This have worked for 2 years. The weird thing is i can not Re cal doing Anny changes to the server, except swapping out a bad drive w a new. But the shares are working fine. Only Plex. And both Plex linuxserv and Plex officale. Edited August 17, 2019 by chFresh Quote Link to comment
chFresh Posted August 18, 2019 Author Share Posted August 18, 2019 after starting this thread, my server hasn't crashed :P Should have started the thread earlier :P Quote Link to comment
chFresh Posted August 20, 2019 Author Share Posted August 20, 2019 added syslog when i could not start Plex, and had to reboot server. syslog Quote Link to comment
chFresh Posted September 5, 2019 Author Share Posted September 5, 2019 new syslog hopfuly more info. Crashes is back to daily basis. cant start Plex Docker unless i restart server. syslog smal-nas-diagnostics-20190508-2347.zip Quote Link to comment
JorgeB Posted September 5, 2019 Share Posted September 5, 2019 In case you didn't noticed disk6 was disabled, looks more like a connection problem, but since it dropped offline there's no SMART. Quote Link to comment
chFresh Posted September 5, 2019 Author Share Posted September 5, 2019 tnx for pointing that out. think the log began before it was resolved. i have changed disk, it was bad. but still the docker keeps crashing. Quote Link to comment
JorgeB Posted September 5, 2019 Share Posted September 5, 2019 Well, the disk is still disabled, at lest when the diags were downloaded, and can't see what was done after that. Quote Link to comment
chFresh Posted September 5, 2019 Author Share Posted September 5, 2019 hmm, i se both logs are old. only syslog is new. anny way started syslog server and mirror to USB so will post new log when plex crashes Quote Link to comment
chFresh Posted September 6, 2019 Author Share Posted September 6, 2019 got a new syslog :P latest activity should be when the plex server crashed. used plex about 23.30 yesterday. this morning the plex server had crashed. syslog 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.