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

fix(hotfix-master): update ebextension #286

Merged
merged 1 commit into from
Sep 7, 2021

Conversation

prestonlimlianjie
Copy link
Contributor

Context

Deployments to AWS EB fail with the following error:

Command failed on instance. Return code: 7 Output: command 00_reload_nginx in .ebextensions/nginx-max-body-size.config failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.

We found a Stackoverflow recommendation that fixes the issue and tested it on the CMS staging environment:
https://stackoverflow.com/questions/40766708/issue-with-aws-beanstalk-command/48203336#48203336

Fix

We removed the unnecessary service nginx reload command and the deploy succeeded on staging.

@prestonlimlianjie prestonlimlianjie changed the base branch from develop to master September 7, 2021 06:57
@prestonlimlianjie prestonlimlianjie changed the title fix(hotfix): update ebextension fix(hotfix-master): update ebextension Sep 7, 2021
@prestonlimlianjie prestonlimlianjie merged commit 5fa15aa into master Sep 7, 2021
@prestonlimlianjie prestonlimlianjie deleted the fix/update-ebextension branch September 7, 2021 07:10
harishv7 pushed a commit that referenced this pull request Feb 17, 2023
fix(hotfix-master): update ebextension
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants