Panel: Return to latest powerstate

Created on 10 Oct 2016  路  13Comments  路  Source: pterodactyl/panel

As discussed on Discord, a feature which will return the servers on one node to their power state before a potential crash of the Daemon or an unplanned reboot / crash of the host system will reduce the stress on an admin to remember the correct state of each server before.

This could be further improved by allowing the following three settings upon a daemon coming online:

  • Power on all servers on this node
  • Return all servers to their previous power state
  • Power on all servers with the selected option to power on with daemon (has to be added to the servers settings)
  • Keep all servers powered off

To avoid load spikes, a defineable delay between starting the servers will be beneficial. (30 seconds should be a good value to start with).

Let me know if this fit's here or should be more a daemon feature.

feature request

Most helpful comment

why has this been open for nearly 3 years? This is a very useful and basic feature of even docker itself.

All 13 comments

Since there have been so many requests for this. Mind rethinking about adding this?

Why rethink? It's still open isn't it?

This was opened a long time ago and i thought i'd bump it as it kinda disappeared.

When is this going to be done?

Eventually. Its not a trivial task with the current state of the daemon.

why has this been open for nearly 3 years? This is a very useful and basic feature of even docker itself.

It's still open because no one implemented it so far, feel free to do so.
We might be able to leverage dockers restart policy, but that would probably break the current crash detection that only tries to restart a container a few times instead of forever.

Age of an issue does not determine the priority of implementation. In addition, I've already given this a swing once and it was significantly more difficult to properly implement than imagined, which is why it is still here.

This really needs implementing. +1

The return to the previous state only works in some containers (ex: minecraft), in the custom containers or Voice Server containers do not work. I don't know if it's my fault but it doesn't seem to be.

So what are we supposed to do in case of a an unexpected shutdown? Re-start manually all servers? Genuinely confused

The issue is closed. It's implemented in the 1.0 betas.

So what are we supposed to do in case of a an unexpected shutdown? Re-start manually all servers? Genuinely confused

On stable, yes.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

CoolJWB picture CoolJWB  路  4Comments

TRYTIG picture TRYTIG  路  3Comments

TylerBurr picture TylerBurr  路  4Comments

zKoz210 picture zKoz210  路  4Comments

schrej picture schrej  路  3Comments