glave Posted March 26, 2019 Share Posted March 26, 2019 I've seen similar situations to this posted before, but it's not working as I'd expect. I'm running Plex docker on 1 server, and my primary storage shares are on another. I use unassigned devices to mount the storage shares via NFS. On occasion, something may happen and the servers reboot. The server that has Plex boots MUCH faster than the storage one, and even though I have the NFS directories set as RW:Slaves in docker, Plex will still launch and thinks I no longer have files so it clears the DB and I have to rescan. Is the RW:Slave flag supposed to prevent the docker from launching? Is there an elegant way I can achieve this elsewhere if not? Quote Link to comment
WashingtonMatt Posted March 26, 2019 Share Posted March 26, 2019 (edited) On the docker tab, select advanced view. Then set the wait time in the autostart column. Edited March 26, 2019 by WashingtonMatt Quote Link to comment
glave Posted March 26, 2019 Author Share Posted March 26, 2019 4 minutes ago, WashingtonMatt said: On the docker tab, select advanced view. Then set the wait time in the autostart column. While that could work, it wouldn't really solve the problem. If the other server didn't come up for some reason I'd still be eventually launching the docker without ensuring the presence of the mounts. Quote Link to comment
JonathanM Posted March 26, 2019 Share Posted March 26, 2019 1 hour ago, glave said: Is there an elegant way I can achieve this elsewhere if not? @Squid was maintaining a solution for that here, https://forums.unraid.net/topic/51997-plugin-ca-docker-autostart-manager/?do=findComment&comment=538750 but when the delay and start order got built into the stock gui, I don't know if it's possible to use this plugin currently. Quote Link to comment
cliewmc Posted March 26, 2019 Share Posted March 26, 2019 ... server reboots... is it related to power? Get a UPS and force a graceful shutdown but this may not resolve your problem directly. Sent from my iPhone using Tapatalk Pro Quote Link to comment
glave Posted March 26, 2019 Author Share Posted March 26, 2019 1 hour ago, jonathanm said: @Squid was maintaining a solution for that here, https://forums.unraid.net/topic/51997-plugin-ca-docker-autostart-manager/?do=findComment&comment=538750 but when the delay and start order got built into the stock gui, I don't know if it's possible to use this plugin currently. Yes, I've had this plugin forever and I actually checked it before posting. I didn't realize that part about being able to use a different IP/port. I'll give her a shot! Quote Link to comment
Squid Posted March 26, 2019 Share Posted March 26, 2019 1 hour ago, jonathanm said: @Squid was maintaining a solution for that here, https://forums.unraid.net/topic/51997-plugin-ca-docker-autostart-manager/?do=findComment&comment=538750 but when the delay and start order got built into the stock gui, I don't know if it's possible to use this plugin currently. I would think that it will still work just fine. 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.