2013-01-08 117 views
0

我剛剛將我的Catarse應用程序部署到Heroku,需要有關錯誤日誌的幫助。該應用程序不會加載。我已經運行了遷移並設置了所有必要的插件。這裏是我的日誌輸出 這個應用程序本地運行良好,我沒有得到任何問題,直到我推到Heroku。在Heroku上運行Catarse

2013-01-08T19:54:21+00:00 heroku[web.1]: State changed from starting to up 
2013-01-08T19:55:20+00:00 app[web.1]: Dalli/SASL authenticating as app10788718%40heroku.com 
2013-01-08T19:55:20+00:00 app[web.1]: 
2013-01-08T19:55:20+00:00 app[web.1]: 
2013-01-08T19:55:20+00:00 app[web.1]: Dalli/SASL: Authenticated 
2013-01-08T19:55:20+00:00 app[web.1]: Started GET "/en" for 66.37.82.222 at 2013-01-08 19:55:20 +0000 
2013-01-08T19:55:24+00:00 app[web.1]: 
2013-01-08T19:55:24+00:00 app[web.1]: ActionView::Template::Error (File to import not found or unreadable: compass/reset. 
2013-01-08T19:55:24+00:00 app[web.1]: Load path: Sass::Rails::Importer(/app/app/assets/stylesheets/application.css.sass) 
2013-01-08T19:55:24+00:00 app[web.1]: (in /app/app/assets/stylesheets/a 
pplication.css.sass)): 
2013-01-08T19:55:24+00:00 app[web.1]: ** [Airbrake] Failure: Net::HTTPClientError 
2013-01-08T19:55:24+00:00 app[web.1]: ** [Airbrake] Environment Info: [Ruby: 1.9.2] [Rails: 3.2.7] [Env: production] 
2013-01-08T19:55:24+00:00 app[web.1]: Your account is being provisioned or no longer active. 
2013-01-08T19:55:24+00:00 app[web.1]: ** [Airbrake] Response from Airbrake: 
2013-01-08T19:55:24+00:00 app[web.1]: 
2013-01-08T19:55:24+00:00 app[web.1]: app/views/layouts/application.html.slim:25:in `_app_views_layouts_application_html_slim___1907562053076719698_60592900' 
2013-01-08T19:55:24+00:00 app[web.1]: 
2013-01-08T19:55:24+00:00 app[web.1]:  26:  /[if lt IE 9] 
2013-01-08T19:55:24+00:00 app[web.1]: 
2013-01-08T19:55:24+00:00 app[web.1]: Completed 500 Internal Server Error in 1030ms 
2013-01-08T19:55:24+00:00 app[web.1]: Processing by ProjectsController#index as HTML 
2013-01-08T19:55:24+00:00 app[web.1]: Parameters: {"locale"=>"en"} 
2013-01-08T19:55:24+00:00 app[web.1]:  22:  meta property="fb:app_id" content=Configuration['site.facebook_app_id'] 
2013-01-08T19:55:24+00:00 app[web.1]:  23:  meta property="og:description" content==(t('projects.index_header.title') + '. ' + t('projects.index_header.subtitle')) 
2013-01-08T19:55:24+00:00 app[web.1]:  27:  = javascript_include_tag "http://html5shiv.googlecode.com/svn/trunk/html5.js" 
2013-01-08T19:55:24+00:00 app[web.1]:  24: 
2013-01-08T19:55:24+00:00 app[web.1]:  25:  = stylesheet_link_tag 'application', :media => 'screen, projection' 
2013-01-08T19:55:24+00:00 app[web.1]: app/assets/stylesheets/application.css.sass:1 
2013-01-08T19:55:24+00:00 app[web.1]:  28:  = yield :js_templates 
2013-01-08T19:55:24+00:00 app[web.1]: Rendered projects/_recommended_header.html.slim (77.0ms) 
2013-01-08T19:55:24+00:00 app[web.1]: Rendered projects/index.html.slim within layouts/application (291.9ms) 
2013-01-08T19:55:27+00:00 app[web.1]: 
2013-01-08T19:55:27+00:00 app[web.1]: 
2013-01-08T19:55:27+00:00 app[web.1]: 
2013-01-08T19:55:27+00:00 app[web.1]: 
2013-01-08T19:55:27+00:00 app[web.1]: Started GET "/" for 66.37.82.222 at 2013-01-08 19:55:27 +0000 
2013-01-08T19:55:27+00:00 app[web.1]: Processing by ProjectsController#index as HTML 
2013-01-08T19:55:27+00:00 app[web.1]: Redirected to http://catarse-lake.herokuapp.com/en 
2013-01-08T19:55:27+00:00 app[web.1]: Filter chain halted as :detect_locale rendered or redirected 
2013-01-08T19:55:27+00:00 app[web.1]: Completed 302 Found in 1ms (ActiveRecord: 0.0ms) 
2013-01-08T19:55:28+00:00 heroku[router]: at=info method=GET path=/en host=catarse-lake.herokuapp.com fwd=66.37.82.222 dyno=web.1 queue=0 wait=0ms connect=2ms service=193ms status=500 bytes=728 
2013-01-08T19:55:27+00:00 app[web.1]: Started GET "/en" for 66.37.82.222 at 2013-01-08 19:55:27 +0000 
2013-01-08T19:55:28+00:00 app[web.1]: Rendered projects/_recommended_header.html.slim (1.8ms) 
2013-01-08T19:55:28+00:00 app[web.1]: ** [Airbrake] Failure: Net::HTTPClientError 
2013-01-08T19:55:28+00:00 app[web.1]: ** [Airbrake] Environment Info: [Ruby: 1.9.2] [Rails: 3.2.7] [Env: production] 
2013-01-08T19:55:28+00:00 app[web.1]: ** [Airbrake] Response from Airbrake: 
2013-01-08T19:55:28+00:00 app[web.1]: Your account is being provisioned or no longer active. 
2013-01-08T19:55:28+00:00 app[web.1]: 
2013-01-08T19:55:28+00:00 app[web.1]: Parameters: {"locale"=>"en"} 
2013-01-08T19:55:28+00:00 app[web.1]: Rendered projects/index.html.slim within layouts/application (11.8ms) 
2013-01-08T19:55:28+00:00 app[web.1]: 
2013-01-08T19:55:28+00:00 app[web.1]: ActionView::Template::Error (File to import not found or unreadable: compass/reset. 
2013-01-08T19:55:28+00:00 app[web.1]: Load path: Sass::Rails::Importer(/app/app/assets/stylesheets/application.css.sass) 
2013-01-08T19:55:28+00:00 app[web.1]: (in /app/app/assets/stylesheets/application.css.sass)): 
2013-01-08T19:55:28+00:00 app[web.1]:  22:  meta property="fb:app_id" content=Configuration['site.facebook_app_id'] 
2013-01-08T19:55:28+00:00 app[web.1]:  23:  meta property="og:description" content==(t('projects.index_header.title') + '. ' + t('projects.index_header.subtitle')) 
2013-01-08T19:55:28+00:00 app[web.1]:  24: 
2013-01-08T19:55:28+00:00 app[web.1]:  25:  = stylesheet_link_tag 'application', :media => 'screen, projection' 
2013-01-08T19:55:28+00:00 app[web.1]:  26:  /[if lt IE 9] 
2013-01-08T19:55:28+00:00 app[web.1]:  27:  = javascript_include_tag "http://html5shiv.googlecode.com/svn/trunk/html5.js" 
2013-01-08T19:55:28+00:00 app[web.1]:  28:  = yield :js_templates 
2013-01-08T19:55:28+00:00 app[web.1]: app/assets/stylesheets/application.css.sass:1 
2013-01-08T19:55:28+00:00 app[web.1]: app/views/layouts/application.html.slim:25:in `_app_views_layouts_application_html_slim___1907562053076719698_60592900' 
2013-01-08T19:55:28+00:00 app[web.1]: 
2013-01-08T19:55:28+00:00 app[web.1]: 
2013-01-08T19:55:28+00:00 app[web.1]: Completed 500 Internal Server Error in 51ms 
2013-01-08T19:55:28+00:00 app[web.1]: Processing by ProjectsController#index as HTML 
2013-01-08T19:55:27+00:00 heroku[router]: at=info method=GET path=/ host=catarse-lake.herokuapp.com fwd=66.37.82.222 dyno=web.1 queue=0 wait=0ms connect=1ms service=10ms status=302 bytes=102 
2013-01-08T19:55:24+00:00 heroku[router]: at=info method=GET path=/en host=catarse-lake.herokuapp.com fwd=66.37.82.222 dyno=web.1 queue=0 wait=2ms connect=2ms service=4406ms status=500 bytes=728 

回答

0

所以這裏的問題是production.rb

此行 config.action_mailer.default_url_options = {主持人:::配置[:主機]}

被扔一個未初始化的配置不變並防止運行資產編譯器。

所以我刪除線,一切都很好。有關爲什麼以及如何修復的意見將受到歡迎

+0

這是固定在最新的提交 – santa