Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Starting up server through dune mediaplayer or using harmony

Featured Replies

  • 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)

  • Replies 72
  • Views 19.5k
  • Created
  • Last Reply
  • 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.

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)
  • 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

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.

  • 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?

 

  • 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 :(

  • Author

Someone willing to help?

  • Author

I'm using a app on my android phone to wake up my server  ;D

 

that doesnt help me, waking up is not the problem

making it sleep is

read above

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.

  • 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

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.

  • Author

:'(

 

I find it strange also, im the only  one wanting this...

(begin able to put it to sleep from my mediaplayer,pc...)

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.

 

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?

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

 

  • 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

 

How is Dune capable of putting the server to sleep? What's the ideal process you're looking to perform?

:'(

 

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. 

  • 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?

  • Author

Please someone..

How about trying a browser besides Internet Explorer? Like Firefox or Chrome?

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.