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

Problem deploying with codepipeline #15

Open
devrheber opened this issue Oct 14, 2022 · 1 comment
Open

Problem deploying with codepipeline #15

devrheber opened this issue Oct 14, 2022 · 1 comment

Comments

@devrheber
Copy link

I installed the package and when I try to deploy it to amazon ebs I get this error:

An error occurred during execution of command [app-deploy] - [FlipApplication]. Stop running the command. Error: create soft link /var/www/html failed: remove /var/www/html: directory not empty

@MbahDjoe
Copy link
Collaborator

Hi @devrheber, FlipApplication is part of core functions of the AWS EB, it's used to switch from old code to the new code by creating a symlink on /var/www/html to /var/app/current. From the error you got it seems you have some code that might trigger /var/www/html to be created as a directory. To fix this you need to update that code to use /var/app/staging instead of /var/www/html, then simply delete your current /var/www/html and redeploy your code.
Hope this helps.

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

No branches or pull requests

2 participants