Solution for deployment failed
Check the deployment logs:
- View and manage logs in our Commerce on Cloud Infrastructure Guide.
- Checking deployment log if Cloud UI has
log snipped
error in our Commerce knowledge base.
-
If the deployment had failed during the
setup:upgrade
step, the cron won’t have been re-enabled.
For example: you see this line in the deployment log:The command "/bin/bash -c "set -o pipefail; php ./bin/magento setup:upgrade --keep-generated --ansi --no-interaction | tee -a /app/$<project_id>/var/log/install_upgrade.log"" failed. Cache types config flushed successfully
-
Otherwise, the deployment might have failed during some other stage. Check the deployment log and ensure that both lines appear (example below). If you don’t see both lines similar to this in the log, it means that the cron was not re-enabled:
[2024-03-06T10:55:39.345564+00:00] INFO: Disable cron
…[2024-02-07T10:50:09.579005+00:00] INFO: Enable cron
Submit a Support request if you need further assistance.