-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow retrying an installation if it fails #1590
Comments
The problem is that a failed install is usually due to an install script not handling the "reinstall" correctly. This is that it didn't clean up after itself or something else. I.E. it can't extract over files due to files already being there. |
This means that just clicking "retry" would cause it to fail again generally. Most people have done exactly this in the past when the "toggle install status" button existed. |
A reinstall script could fail for those reasons, but then after correcting the egg it would be nice to be able to retry. Also transient issues could've caused the installation failure. There's no harm in giving people an option to retry. If they retry and it still doesn't work they should realise it's not going to work. But the current situation of having to recreate the server is not ideal. EDIT: Just a note for anyone else having this issue, you can do this manually editing the panel database so that your server's install status is 1 (instead of 2) and then going Manage > Reinstall Server. But I still want a GUI to do it. |
Well, When the install fails there's no way to toggle it back to the user can for instance access the databases for instance. |
Forgot, You really don't need to edit the database. Once you are on the |
Is your feature request related to a problem? Please describe.
Currently if an installation fails for any reason (e.g. network error, error in install script, unexpected Docker shutdown) the server is placed in an "Install Failed" state. As far as I can tell, the only way out of this is to delete and re-create the server.
This is an inconvenience, especially when you're reinstalling an existing server and now have to copy all the existing data to a new server.
Describe the solution you'd like
When a server is in the Install Failed state, I'd like a "retry" button which has the exact same functionality as the usual Manage > Reinstall Server option.
Describe alternatives you've considered
Maybe just make the whole Manage tab available while a server is in the Install Failed state? This would allow rebuilding the container and toggling the install state too.
Additional context
Probably another feature request, but it'd be really nice to have a GUI way of viewing the output of server install scripts.
The text was updated successfully, but these errors were encountered: