amazon web services - rails application elastic beanstalk timeout -


i uploaded rails 3.1 app , elastic beanstalk. , while database , seems setup right . attempting open app , causes browser timeout . error can see in logs :2013/07/10 14:19:33 [error] 1741#0: *4 "/var/app/current/public/index.html" not found (2: no such file or directory), client: 127.0.0.1, server: _, request: "head / http/1.1", host: "0.0.0.0"

i have used static pages controller , have pages in view , don not know should doing configure passenger , or whether there else wrong way have deployed app . rest of logs here

thanks help

your db migration failed run:

[root directoryhooksexecutor info] executing script:  /opt/elasticbeanstalk/hooks/appdeploy/pre/12_db_migration.sh 2013-07-10 14:25:20,500 [info] (1759 mainthread) [directoryhooksexecutor.py-29]  [root directoryhooksexecutor info] output script: rake task failed run,  skipping database migrations. 

the easiest way figure out, deploy again, ssh server , manually run command see why failed. because of number of reasons, including e.g. default rejecting git repositories in gemfile (bundle install recall run db:migrate fail). there ways around of this, need more information help.


Comments