Skip to content
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

Starting Deployment then immediately Failed to Deploy. #1787

Closed
4 tasks done
artidataio opened this issue Apr 29, 2021 · 4 comments
Closed
4 tasks done

Starting Deployment then immediately Failed to Deploy. #1787

artidataio opened this issue Apr 29, 2021 · 4 comments
Labels
archived This issue has been locked.

Comments

@artidataio
Copy link

Before opening, please confirm:

Describe the bug

Hi, I have been using the continuous deployment setup. With a simple git push, my project has always been deployed successfully. However, my three latest push seems to failed without giving any clue to fix it. The three deployment always show the following message in the console:

2021-04-29T12:32:10 [INFO]: Starting Deployment
2021-04-29T12:32:10 [ERROR]: Failed to deploy

Please advice.

Expected behavior

I look at successful build history. On the deploy stage the message should have shown:

2021-04-27T12:54:22 [INFO]: Beginning deployment for application d1tm708pfdcz9c, branch:dev, buildId 0000000057
2021-04-27T12:54:22 [INFO]: Got archive: 3420216 bytes
2021-04-27T12:54:22 [INFO]: Archive unzipped: 96 files
2021-04-27T12:54:23 [INFO]: Deployment complete

Reproduction steps

git push

Build Settings

No response

Additional information

No response

@artidataio artidataio changed the title Starting Deplyment then immediately Failed to Feploy. Starting Depolyment then immediately Failed to Feploy. Apr 29, 2021
@github-actions
Copy link

Hi 👋, thanks for opening! While we look into this...

If this issue is related to custom domains, be sure to check the custom domains troubleshooting guide to see if that helps. Also, there is a more general troubleshooting FAQ that may be helpful for other questions.

@artidataio artidataio changed the title Starting Depolyment then immediately Failed to Feploy. Starting Deployment then immediately Failed to Feploy. Apr 29, 2021
@ac3charland
Copy link

ac3charland commented Apr 29, 2021

Was experiencing this same issue and was able to find a fix. I discovered I was using the latest version Amplify CLI in my build settings, which must have recently introduced a breaking change.

To fix:

In the Amplify console, go to Build settings > Build image settings > Edit
Specify the version of Amplify CLI that's in your project's package.json (e.g. 4.29.4)

Source: #1298 (comment)
Screen Shot 2021-04-29 at 4 21 12 PM

@artidataio
Copy link
Author

I updated my local aws-amplify/cli vesion. It then leads to build error exactly as aws-amplify/amplify-cli#7190

@artidataio artidataio changed the title Starting Deployment then immediately Failed to Feploy. Starting Deployment then immediately Failed to Deploy. Apr 30, 2021
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot added the archived This issue has been locked. label Oct 28, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Oct 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived This issue has been locked.
Projects
None yet
Development

No branches or pull requests

2 participants