Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.8.0-b1
-
Fix Version/s: 4.8.0
-
Component/s: None
-
Labels:None
Description
Right now if an installation fails, there is no way to make another attempt. This is particularly important when dealing with a panel like CentOS Web Panel which fails when an installation attempt is made immediately since the server is still being spun up.
We should add a cron job to reattempts installation. We should probably leave the immediate installation attempt because when it works it is quite convenient.
My expectation of the flow would be:
This cron can be used for any scripts that cannot be provisioned immediately. So for example, with CentOSWebPanel, it may be better to not attempt the script installation immediately from the AddService event since it is known to always fail. Instead, save the information for the cron to attempt it later.