laravel-elasticbeanstalk-queue-worker
laravel-elasticbeanstalk-queue-worker copied to clipboard
Problem deploying with codepipeline
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
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.