php - Amazon ElasticBeanstalk configuration not working -
php - Amazon ElasticBeanstalk configuration not working -
i have able deploy php application using git in elastic beanstalk, configuration files doesnot work. created .ebextensions folder on root application folder , created config file next command:
container_commands: 00_make_assets: command: "sudo mkdir /var/app/current/assets"
i next error message on dashboard
command failed on instance. homecoming code: 1 output: [cmd-appdeploy/appdeploystage0/ebextensionpostbuild] command failed error code 1: error occurred during build: command 00_make_assets failed.
all want create folder , give 777 permission it.
the output in log file (/var/log/eb-commandprocessor.log) shows:
[2014-10-17t11:01:43.487z] error [2341] : command cmd-appdeploy failed! [2014-10-17t11:01:43.488z] info [2341] : command processor returning results: {"status":"failure","api_version":"1.0","truncated":"false","results":[{"status":"failure","msg":"[cmd-appdeploy/appdeploystage0/ebextensionpostbuild] command failed error code 1: error occurred during build: command 00_make_assets failed","returncode":1,"events":[]}]}
has been in situation? how can issue solved? help much appreciated.
php amazon-web-services amazon-ec2 elastic-beanstalk
Comments
Post a Comment