ryosukehashimoto's avatar

Run Deployment Hooks Failed

AWS CodeBuild says following:

==> Ensuring Storage Exists
==> Ensuring Cache Table Is Configured
==> Updating Function Code
==> Updating Function Configurations
==> Updating Function Version
==> Running Deployment Hooks

An error occurred during deployment.

Message: App\Jobs\RunDeploymentHooks has been attempted too many times or run too long. The job may have previously timed out.

A deployment hook failed. You may review its logs using the hook:log command.
==> Downloading Environment File...

What's happened?

I confirmed Deployment Details on Vapor Console and Run Deployment Hooks phase logged just only one line as "Nothing to migrate."

Please help.

0 likes
4 replies
Utchin's avatar

I am getting this too!

There is no way to debug this.

Benjiii's avatar

Are there any solutions for this issue? I get the same error again and again.

Also when I start the commands from the Vapor dashboard.

Please or to participate in this conversation.