OMV Autoshutdown -> NAS not shutting down

  • Since I tried to configure the autoshutdown plugin in OMV, my NAS won't shut down and also randomly starts um again after I manually shut down the NAS.


    For the shutdown thing, I probably didn't configure the plugin properly but why the NAS is randomly starting up after sutdown and not only on my forced wake up time?


  • If you examine the autoshutdown log (/var/log/autoshutdown.log), it is possible to identify the checks that will be performed and determine the active elements. Please search for the following entry: "Active xxx found in the specified range -> no shutdown." Alternatively, you can share the log here for further analysis.

  • I have looked in the log, and it says before I turned of the IP range and just look for sockets, there were IPs still online but before last night I tried to turn the IP range of and just let it look for sockets but the NAS still turned on.



    I also didn't really find a reason it stood wake. Based on the log it did shut down, but it also woke up again, but I didn't really see the server was off last night. It was still on, so why it says it did shut down.

  • Do you have Wake-On-LAN enabled (WOL)? I used WOL a couple years ago and it would randomly wake the computer based on whatever the router was doing.


    Do you have something connected to the PSU_ON/Power switch? I use small MCU's to boot a couple computers and without a pullup it will be left floating and boot the computer at random.


    Is the system really shutting down or is it hibernating?


    Observations are that it appears intermittently off for durations of 4:51 minutes, 4:59 minutes and 13:41 minutes. These 3 happen within ~32 minutes of each other, with the first "Shutdown issued" at 01:54:28 and the last at 02:16:39. There's also a gap of nearly 9 hours that starts at 02:37:11 and lasts until 11:29:59.

  • Do you have Wake-On-LAN enabled (WOL)? I used WOL a couple years ago and it would randomly wake the computer based on whatever the router was doing.


    Do you have something connected to the PSU_ON/Power switch? I use small MCU's to boot a couple computers and without a pullup it will be left floating and boot the computer at random.


    Is the system really shutting down or is it hibernating?


    Observations are that it appears intermittently off for durations of 4:51 minutes, 4:59 minutes and 13:41 minutes. These 3 happen within ~32 minutes of each other, with the first "Shutdown issued" at 01:54:28 and the last at 02:16:39. There's also a gap of nearly 9 hours that starts at 02:37:11 and lasts until 11:29:59.


    Yes, I am using WOL. Why would something wake the NAS up. Is there a way to prevent this?


    The system "should" really shut down, but last night it didn't. After I noticed the system is not shutting down as I want, I manually shut it down and pulled out the power plug.


    The 9h gap is because I pulled out the plug.


    Is there a way of adjusting the settings that the NAS is shutdown after 23:00 (except for certain activity at my cloud port) and an automatic wake up at 9:00?

  • Results may vary based on the NIC driver. Turn off WOL and see if that helps. If it does, then you know it's WOL and you need a software work around. FWIW, your shutdown plugin doesn't seem to be doing anything wrong, it *should* be working right now... but isn't :-/. Turn off WOL

  • Results may vary based on the NIC driver. Turn off WOL and see if that helps. If it does, then you know it's WOL and you need a software work around. FWIW, your shutdown plugin doesn't seem to be doing anything wrong, it *should* be working right now... but isn't :-/. Turn off WOL

    Sorry for the late update, but I tested a few things up until now.


    The plugin now works, I tuned a few settings what kept my machine awake and I have played with WOL. Something in my network seems to keep waking up my machine. Does someone know a way of how to determine what in my network keeps waking up my machine?

    It is a bit annoying that I cannot use WOL otherwise.

    The autoshutdown plugin shuts down and wakes up my machine at my set times but when I for some reason want to restart or shutdown and restart my machine I cannot do it because I cannot use WOL on my router

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!