laravel-elasticbeanstalk-queue-worker icon indicating copy to clipboard operation
laravel-elasticbeanstalk-queue-worker copied to clipboard

Problem deploying with codepipeline

Open devrheber opened this issue 3 years ago • 1 comments
trafficstars

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

devrheber avatar Oct 14 '22 16:10 devrheber

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.

MbahDjoe avatar Oct 20 '22 02:10 MbahDjoe