June 16, 201115 yr Author update: the wolcmd thing to wake it up works now... also going to sleep using unmenu S3 sleep button works and the link http://192.168.0.117:8080/user_scripts?command=Go+to+S3+Sleep works like a charm So nice, i can start&stop my server from pc and mediaplayer now.. I'm only afraid of power consumption this way if i leave it running 365 days 24/24 hours And afraid of doing my harddrives/parity harm cause of the spinning up/down a lot. And no worries for a fire or something.. if it would run too hot staying in sleep (i dunno if that makes sense)
June 21, 201115 yr Author If the "Go to S3 Sleep" button in unMENU works, you can just use the URL http://your_server_name:8080/user_scripts?command=Go+to+S3+Sleep (changing "your_server_name" to either the actual server name or the IP address) Joe L, this works, however Doing this with the pc.. The server is going to sleep, but my browser just hangs........(freezes) The guy made a dsf file for the dune, giving the same command... Running the command (so triggering http://your_server_name:8080/user_scripts?command=Go+to+S3+Sleep ) , the dune hangs (freezes). Something is obvious wrong with it. It sounds like Unraid is not sending any HTTP response before shutting down.
June 21, 201115 yr If the "Go to S3 Sleep" button in unMENU works, you can just use the URL http://your_server_name:8080/user_scripts?command=Go+to+S3+Sleep (changing "your_server_name" to either the actual server name or the IP address) Joe L, this works, however Doing this with the pc.. The server is going to sleep, but my browser just hangs........(freezes) The guy made a dsf file for the dune, giving the same command... Running the command (so triggering http://your_server_name:8080/user_scripts?command=Go+to+S3+Sleep ) , the dune hangs (freezes). Something is obvious wrong with it. It sounds like Unraid is not sending any HTTP response before shutting down. You are correct. It won't, it will just go to sleep. The response will probably come once it wakes. (never thought about that aspect)
June 21, 201115 yr Author If the "Go to S3 Sleep" button in unMENU works, you can just use the URL http://your_server_name:8080/user_scripts?command=Go+to+S3+Sleep (changing "your_server_name" to either the actual server name or the IP address) Joe L, this works, however Doing this with the pc.. The server is going to sleep, but my browser just hangs........(freezes) The guy made a dsf file for the dune, giving the same command... Running the command (so triggering http://your_server_name:8080/user_scripts?command=Go+to+S3+Sleep ) , the dune hangs (freezes). Something is obvious wrong with it. It sounds like Unraid is not sending any HTTP response before shutting down. You are correct. It won't, it will just go to sleep. The response will probably come once it wakes. (never thought about that aspect) Is there a way to fix this, its quite annoying the browser freezes. Even with the dune running completely stuck because of this is really not pleasant
June 21, 201115 yr If the "Go to S3 Sleep" button in unMENU works, you can just use the URL http://your_server_name:8080/user_scripts?command=Go+to+S3+Sleep (changing "your_server_name" to either the actual server name or the IP address) Joe L, this works, however Doing this with the pc.. The server is going to sleep, but my browser just hangs........(freezes) The guy made a dsf file for the dune, giving the same command... Running the command (so triggering http://your_server_name:8080/user_scripts?command=Go+to+S3+Sleep ) , the dune hangs (freezes). Something is obvious wrong with it. It sounds like Unraid is not sending any HTTP response before shutting down. You are correct. It won't, it will just go to sleep. The response will probably come once it wakes. (never thought about that aspect) Is there a way to fix this, its quite annoying the browser freezes. Even with the dune running completely stuck because of this is really not pleasant yes, write your own command that does return.
June 21, 201115 yr Author i can't do that.. i'm a noob in that case.. guess i wont be using the sleep button then who did write that?
June 21, 201115 yr Author the guy from mpcclub could make a dsf that would send the HTTP request and not wait for any response, but that would require a lot of custom code that he's not willing to spend time on just to work around the misbehavior of Unraid. and since my knowledge doesnt reach that far, im stuck to the help i get here
June 21, 201115 yr Author I'm using a app on my android phone to wake up my server that doesnt help me, waking up is not the problem making it sleep is read above
June 21, 201115 yr Someone willing to help? The problem most of us have is that we have no idea how the dune works or what is going on. I have personally never bothered to put my server to sleep, so can't be of much/if any help. This is not truly an unRAID problem as the button that is being pressed is just calling a function that is built into the Linux Kernel.
June 21, 201115 yr Author Someone willing to help? The problem most of us have is that we have no idea how the dune works or what is going on. I have personally never bothered to put my server to sleep, so can't be of much/if any help. This is not truly an unRAID problem as the button that is being pressed is just calling a function that is built into the Linux Kernel. you really dont need to know how the dune works, cause the guy from mpc will do that i just need trigger it to go sleep without crashing my browser, and thats because unraid doenst send back an answer he goes to sleep... so that IS unraid doing that
June 21, 201115 yr Someone willing to help? The problem most of us have is that we have no idea how the dune works or what is going on. I have personally never bothered to put my server to sleep, so can't be of much/if any help. This is not truly an unRAID problem as the button that is being pressed is just calling a function that is built into the Linux Kernel. you really dont need to know how the dune works, cause the guy from mpc will do that i just need trigger it to go sleep without crashing my browser, and thats because unraid doenst send back an answer he goes to sleep... so that IS unraid doing that But sleep is not even supported, nor advertised as a feature of unRAID. It does nothing to make it easy for you to use. I have a couple ideas on what might work... but I have now way to test it, nor a lot of time to go through all the troubleshooting and back and forth that would result from it not working.
June 21, 201115 yr Author :'( I find it strange also, im the only one wanting this... (begin able to put it to sleep from my mediaplayer,pc...)
June 21, 201115 yr Create your own unMenu user script that does the command 1 minute from now using "at" scheduler instead of immediately and have that user script return something like "Sleep scheduled" or whatever you want.
June 21, 201115 yr Is it possible to put the computer to sleep through SSH? Just sent a remote call, no? I didn't read the whole thread, but how do you want Dune to put unRAID to sleep? Through terminal? through the browser?
June 22, 201115 yr I believe the problem is that a script must finish executing before it will return in the browser. Create your own unMenu user script that does the command 1 minute from now using "at" scheduler instead of immediately and have that user script return something like "Sleep scheduled" or whatever you want. I agree, having the script schedule the sleep in the near future and then returning would solve the problem. The scripts are fairly simple and if you spent some time looking at the existing user scripts, searching Google and reading I bet you could figure it out. The other option is to just set up that sleep script on disk spin-down and let the server time-out and go to sleep itself. Peter
June 22, 201115 yr Author I believe the problem is that a script must finish executing before it will return in the browser. Create your own unMenu user script that does the command 1 minute from now using "at" scheduler instead of immediately and have that user script return something like "Sleep scheduled" or whatever you want. I agree, having the script schedule the sleep in the near future and then returning would solve the problem. The scripts are fairly simple and if you spent some time looking at the existing user scripts, searching Google and reading I bet you could figure it out. The other option is to just set up that sleep script on disk spin-down and let the server time-out and go to sleep itself. Peter making scripts isnt my cup of tea, really. Making server go to sleep itself is an option but then i still cant make this happening through the computer and dune... so no option
June 22, 201115 yr How is Dune capable of putting the server to sleep? What's the ideal process you're looking to perform?
June 22, 201115 yr :'( I find it strange also, im the only one wanting this... (begin able to put it to sleep from my mediaplayer,pc...) Why? By default, all your HDDs will be spun down if you are not accessing the server. With no activity, the processor will be doing next to nothing in any case. So the difference in energy consumption between this state and sleep, is likely to be miniscule.
June 28, 201115 yr Author How is Dune capable of putting the server to sleep? What's the ideal process you're looking to perform? in the same way a pc does... If anyone could help me find a way to put the server to sleep from my pc, without crashing internet explorer, than i can do the dune myself ! Anyone please?
Archived
This topic is now archived and is closed to further replies.