Hi everyone,
during night I usually suspend my NAS using autoshutdown.
The issue is that after resuming it some container won't work correctly. Is it possible to set up a script that automatically restart them in some way after I resume my NAS?
Hi everyone,
during night I usually suspend my NAS using autoshutdown.
The issue is that after resuming it some container won't work correctly. Is it possible to set up a script that automatically restart them in some way after I resume my NAS?
Posible problems if suspend, no problems if shutdown.
Please confirm if you shutdown or suspend you NAS
Suspend. I don't shutdown because otherwise wake on lan wouldn't work
I use suspend during the middle of the day for many hours and everything works great.
Please note that when you resume the system from standby/sleep nothing is restarted and this applies to containers too. Everything is halted before standby, and relased when the system wakes up. The proof is by logs, I don't see any restart in docker logs when the system wakes up from standby.
Either way you should use one of these flags:
https://docs.docker.com/config…containers-automatically/
I personally create every container with restart unless stopped but it should not apply to standby.
Is this a new install of OMV5 or it's an upgrade? Maybe standby isn't working good because of the OS.
One thing to note: I don't use autoshutdown plugin but a scheduled job. Try that and see if makes a difference.
ZitatI don't shutdown because otherwise wake on lan wouldn't work
Are you sure everything is set up correctly? Even if I shutdown my server, WOL works great.
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!