kelinger / OmniStream

Deployment and management tools for an entire streaming platform that can reside on a server (local, remote, hosted, VPS) with media files stored on cloud services like Google Drive or Dropbox.
MIT License
30 stars 8 forks source link

Omnimount random restart leaves Plex container exited #77

Closed christeasdale closed 6 months ago

christeasdale commented 8 months ago

So I am having occasional issues with with Omnimount container restarting. Could very well be an issue with my cloud provider api. I can't see any log entries for Omnimount in the main logs folder or through Portainer. So when this happens the Plex container is stopped per the depends-on setting I guess. Problem is even when Omnimount restarts and reaches 'Healthy" state the Plex container remains in exited state. Is this expected result? Is there a remedy for this issue if so?

christeasdale commented 6 months ago

So after trying some things I have discovered that Omnimount is having some random errors which cause the container to become "unhealthy" but not bad enough issues to lose the rclone mounted folder and it seems to recover on its own. The problem comes when you use the autoheal container. This restarts Omnimount which then drops the rclone mount and stops Plex container. Things that cannot be fixed without manual intervention. A question I did have for the developer is Omnimount has healthchecks in the code but I can't seem to find that those are logged anywhere? So if anyone having a similar issue this might be something for you to look at.