There are two common issues that may occur when you run custom recipes on a virtual server.
Issue 1
Virtual server reboot fails with a Fatal: closed stream message. It usually happens when a virtual server is rebooted as part of a recipe.
Resolution
- Ensure the task is marked as Сompleted via Control Panel.
Schedule a reboot using the following command:
shutdown -r +1 &
exit 0
CODE
Issue 2
Another common issue is a failure of a virtual server to boot after running a custom recipe. It usually occurs due to an unsupported kernel and this can happen when running update commands in the recipe.
Resolution
To resolve the issue, refer to the Virtual Server Does Not Boot After Updating Kernel page.