部署后未找到Heroku页面错误

时间:2013-03-17 01:20:26

标签: ruby-on-rails ruby git heroku github

编辑 - 刚刚清除缓存,一切都很好了。感谢那些停下来阅读的人:)

所以我昨晚在heroku中推出了一个网站,当我部署新的提交时,我遇到了一些错误。起初它只是“出了问题”,但现在它说你正在寻找的页面不存在。

这是当前的日志文件:

←[36m2013-03-16T21:13:04+00:00 app[web.1]:←[0m DEPRECATION WARNING: You have Rails 2.3-         style plugins in vendor/plugins! Support for these plugins will be removed in Rails
emfile, or fold them in to your app as lib/myplugin/* and     config/initializers/myplugin.rb. See the release notes for more on this:     http://weblog.rubyonrails.org/2012/01/0
from <top (required)> at /app/config/environment.rb:5)
←[36m2013-03-16T21:13:04+00:00 app[web.1]:←[0m DEPRECATION WARNING: You have Rails 2.3-    style plugins in vendor/plugins! Support for these plugins will be removed in Rails
emfile, or fold them in to your app as lib/myplugin/* and     config/initializers/myplugin.rb. See the release notes for more on this:         http://weblog.rubyonrails.org/2012/01/0
from <top (required)> at /app/config/environment.rb:5)
←[36m2013-03-16T21:13:04+00:00 app[web.1]:←[0m DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails
emfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/01/0
from <top (required)> at /app/config/environment.rb:5)
←[36m2013-03-16T21:13:05+00:00 app[web.1]:←[0m         SECURITY WARNING: No secret option provided to Rack::Session::Cookie.
←[36m2013-03-16T21:13:05+00:00 app[web.1]:←[0m         cookies. This will not be supported in future versions of Rack, and
←[36m2013-03-16T21:13:05+00:00 app[web.1]:←[0m         future versions will even invalidate your existing user cookies.
←[36m2013-03-16T21:13:05+00:00 app[web.1]:←[0m         This poses a security threat. It is strongly recommended that you
←[36m2013-03-16T21:13:05+00:00 app[web.1]:←[0m         Called from: /app/vendor/bundle/ruby/1.9.1/gems/actionpack-    3.2.1/lib/action_dispatch/middleware/session/abstract_st
←[36m2013-03-16T21:13:05+00:00 app[web.1]:←[0m
←[36m2013-03-16T21:13:05+00:00 app[web.1]:←[0m
←[36m2013-03-16T21:13:05+00:00 app[web.1]:←[0m         provide a secret to prevent exploits that may be possible from crafted
←[36m2013-03-16T21:13:07+00:00 app[web.1]:←[0m [2013-03-16 21:13:07] INFO  WEBrick::HTTPServer#start: pid=2 port=32685
←[36m2013-03-16T21:13:07+00:00 app[web.1]:←[0m [2013-03-16 21:13:07] INFO  ruby 1.9.2     (2011-07-09) [x86_64-linux]
←[36m2013-03-16T21:13:07+00:00 app[web.1]:←[0m [2013-03-16 21:13:07] INFO  WEBrick 1.3.1
←[36m2013-03-16T21:13:08+00:00 heroku[web.1]:←[0m State changed from starting to up
←[36m2013-03-16T21:13:09+00:00 heroku[web.1]:←[0m Stopping remaining processes with SIGKILL
←[36m2013-03-16T21:13:09+00:00 heroku[web.1]:←[0m Error R12 (Exit timeout) -> At least one process failed to exit within 10 seconds of SIGTERM
←[36m2013-03-16T21:13:10+00:00 app[web.1]:←[0m => Call with -d to detach
←[36m2013-03-16T21:13:10+00:00 app[web.1]:←[0m => Rails 3.2.1 application starting in production on http://0.0.0.0:32685
←[36m2013-03-16T21:13:10+00:00 app[web.1]:←[0m Started GET "/" for 112.198.64.55 at 2013-03-16 21:13:10 +0000
←[36m2013-03-16T21:13:10+00:00 app[web.1]:←[0m => Booting WEBrick
←[36m2013-03-16T21:13:10+00:00 app[web.1]:←[0m
←[36m2013-03-16T21:13:10+00:00 app[web.1]:←[0m
←[36m2013-03-16T21:13:10+00:00 app[web.1]:←[0m => Ctrl-C to shutdown server
←[36m2013-03-16T21:13:10+00:00 app[web.1]:←[0m Processing by PagesController#home as HTML
←[36m2013-03-16T21:13:10+00:00 app[web.1]:←[0m   Rendered pages/home.html.erb within layouts/application (34.7ms)
←[36m2013-03-16T21:13:10+00:00 app[web.1]:←[0m WARN: tilt autoloading 'sass' in a non thread-safe way; explicit require 'sass' suggested.
←[36m2013-03-16T21:13:11+00:00 app[web.1]:←[0m WARN: tilt autoloading 'coffee_script' in a non thread-safe way; explicit require 'coffee_script' suggested.
←[36m2013-03-16T21:13:11+00:00 heroku[web.1]:←[0m Process exited with status 137
←[36m2013-03-16T21:13:15+00:00 app[web.1]:←[0m   Rendered shared/_header.html.erb (120.0ms)
←[36m2013-03-16T21:13:15+00:00 app[web.1]:←[0m       app/views/layouts/application.html.erb:15:in     `_app_views_layouts_application_html_erb___1418782088804163229_29321380'
←[36m2013-03-16T21:13:15+00:00 app[web.1]:←[0m   app/controllers/application_controller.rb:14:in `current_user'
←[36m2013-03-16T21:13:15+00:00 app[web.1]:←[0m   app/views/shared/_header.html.erb:15:in `_app_views_shared__header_html_erb___1799288432025637612_34394640'
←[36m2013-03-16T21:13:15+00:00 app[web.1]:←[0m
←[36m2013-03-16T21:13:15+00:00 app[web.1]:←[0m Completed 500 Internal Server Error in 5245ms
←[36m2013-03-16T21:13:15+00:00 app[web.1]:←[0m
←[36m2013-03-16T21:13:15+00:00 app[web.1]:←[0m
←[36m2013-03-16T21:13:15+00:00 app[web.1]:←[0m ActiveRecord::RecordNotFound (Couldn't find User with id=2):
←[36m2013-03-16T21:13:15+00:00 app[web.1]:←[0m cache: [GET /] miss
←[33m2013-03-16T21:13:15+00:00 heroku[router]:←[0m at=info method=GET path=/ host=glacial-fortress-7801.herokuapp.com fwd="112.198.64.55" dyno=web.1 queue=0 wait=0ms conn
←[36m2013-03-16T22:16:01+00:00 heroku[web.1]:←[0m Idling
←[36m2013-03-16T22:16:04+00:00 heroku[web.1]:←[0m Stopping all processes with SIGTERM
←[36m2013-03-16T22:16:05+00:00 app[web.1]:←[0m  /usr/local/lib/ruby/1.9.1/webrick/server.rb:90:in `select'
←[36m2013-03-16T22:16:05+00:00 app[web.1]:←[0m [2013-03-16 22:16:05] ERROR SignalException: SIGTERM
←[36m2013-03-16T22:16:14+00:00 heroku[web.1]:←[0m Error R12 (Exit timeout) -> At least one process failed to exit within 10 seconds of SIGTERM
←[36m2013-03-16T22:16:14+00:00 heroku[web.1]:←[0m Stopping remaining processes with SIGKILL
←[36m2013-03-16T22:16:16+00:00 heroku[web.1]:←[0m Process exited with status 137
←[36m2013-03-16T22:16:16+00:00 heroku[web.1]:←[0m State changed from up to down
←[36m2013-03-16T23:40:42+00:00 heroku[web.1]:←[0m Unidling
←[36m2013-03-16T23:40:42+00:00 heroku[web.1]:←[0m State changed from down to starting
←[36m2013-03-16T23:40:44+00:00 heroku[web.1]:←[0m Starting process with command `bundle exec rails server -p 46624`
←[36m2013-03-16T23:40:48+00:00 app[web.1]:←[0m DEPRECATION WARNING: You have Rails 2.3-    style plugins in vendor/plugins! Support for these plugins will be removed in Rails
emfile, or fold them in to your app as lib/myplugin/* and     config/initializers/myplugin.rb. See the release notes for more on this:     http://weblog.rubyonrails.org/2012/01/0
from <top (required)> at /app/config/environment.rb:5)
←[36m2013-03-16T23:40:48+00:00 app[web.1]:←[0m DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails
emfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this:     http://weblog.rubyonrails.org/2012/01/0
from <top (required)> at /app/config/environment.rb:5)
←[36m2013-03-16T23:40:48+00:00 app[web.1]:←[0m DEPRECATION WARNING: You have Rails 2.3-    style plugins in vendor/plugins! Support for these plugins will be removed in Rails
emfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/01/0
from <top (required)> at /app/config/environment.rb:5)
←[36m2013-03-16T23:40:49+00:00 app[web.1]:←[0m         SECURITY WARNING: No secret option provided to Rack::Session::Cookie.
←[36m2013-03-16T23:40:49+00:00 app[web.1]:←[0m         provide a secret to prevent exploits that may be possible from crafted
←[36m2013-03-16T23:40:49+00:00 app[web.1]:←[0m         future versions will even invalidate your existing user cookies.
←[36m2013-03-16T23:40:49+00:00 app[web.1]:←[0m         cookies. This will not be supported in future versions of Rack, and
←[36m2013-03-16T23:40:49+00:00 app[web.1]:←[0m
←[36m2013-03-16T23:40:49+00:00 app[web.1]:←[0m
←[36m2013-03-16T23:40:49+00:00 app[web.1]:←[0m         Called from: /app/vendor/bundle/ruby/1.9.1/gems/actionpack-    3.2.1/lib/action_dispatch/middleware/session/abstract_st
←[36m2013-03-16T23:40:49+00:00 app[web.1]:←[0m         This poses a security threat. It is strongly recommended that you
←[36m2013-03-16T23:40:52+00:00 app[web.1]:←[0m [2013-03-16 23:40:52] INFO  WEBrick 1.3.1
←[36m2013-03-16T23:40:52+00:00 app[web.1]:←[0m [2013-03-16 23:40:52] INFO  ruby 1.9.2 (2011-07-09) [x86_64-linux]
←[36m2013-03-16T23:40:52+00:00 app[web.1]:←[0m [2013-03-16 23:40:52] INFO  WEBrick::HTTPServer#start: pid=2 port=46624
←[36m2013-03-16T23:40:52+00:00 heroku[web.1]:←[0m State changed from starting to up
←[36m2013-03-16T23:40:54+00:00 app[web.1]:←[0m => Booting WEBrick
←[36m2013-03-16T23:40:54+00:00 app[web.1]:←[0m
←[36m2013-03-16T23:40:54+00:00 app[web.1]:←[0m => Rails 3.2.1 application starting in     production on http://0.0.0.0:46624
←[36m2013-03-16T23:40:54+00:00 app[web.1]:←[0m => Call with -d to detach
←[36m2013-03-16T23:40:54+00:00 app[web.1]:←[0m
←[36m2013-03-16T23:40:54+00:00 app[web.1]:←[0m => Ctrl-C to shutdown server
←[36m2013-03-16T23:40:54+00:00 app[web.1]:←[0m Started GET "/" for 112.198.64.55 at 2013-03-16 23:40:54 +0000
←[36m2013-03-16T23:40:54+00:00 app[web.1]:←[0m Processing by PagesController#home as HTML
←[36m2013-03-16T23:40:54+00:00 app[web.1]:←[0m   Rendered pages/home.html.erb within     layouts/application (39.2ms)
←[36m2013-03-16T23:40:54+00:00 app[web.1]:←[0m WARN: tilt autoloading 'sass' in a non     thread-safe way; explicit require 'sass' suggested.
←[36m2013-03-16T23:40:55+00:00 app[web.1]:←[0m WARN: tilt autoloading 'coffee_script' in a non thread-safe way; explicit require 'coffee_script' suggested.
←[36m2013-03-16T23:40:59+00:00 app[web.1]:←[0m   Rendered shared/_header.html.erb (88.6ms)
←[36m2013-03-16T23:40:59+00:00 app[web.1]:←[0m Completed 500 Internal Server Error in     5056ms
←[36m2013-03-16T23:40:59+00:00 app[web.1]:←[0m ActiveRecord::RecordNotFound (Couldn't find     User with id=2):
←[36m2013-03-16T23:40:59+00:00 app[web.1]:←[0m       app/controllers/application_controller.rb:14:in `current_user'
←[36m2013-03-16T23:40:59+00:00 app[web.1]:←[0m
←[36m2013-03-16T23:40:59+00:00 app[web.1]:←[0m
←[36m2013-03-16T23:40:59+00:00 app[web.1]:←[0m   app/views/shared/_header.html.erb:15:in     `_app_views_shared__header_html_erb__4317502870097730574_31470860'
←[36m2013-03-16T23:40:59+00:00 app[web.1]:←[0m cache: [GET /] miss
←[36m2013-03-16T23:40:59+00:00 app[web.1]:←[0m
←[36m2013-03-16T23:40:59+00:00 app[web.1]:←[0m       app/views/layouts/application.html.erb:15:in     `_app_views_layouts_application_html_erb___4101033255931597310_30297400'
←[33m2013-03-16T23:41:00+00:00 heroku[router]:←[0m at=info method=GET path=/favicon.ico     host=glacial-fortress-7801.herokuapp.com fwd="112.198.64.55" dyno=web.1 queue=0 wa
es=0
←[36m2013-03-16T23:41:00+00:00 app[web.1]:←[0m cache: [GET /favicon.ico] miss
←[36m2013-03-17T00:41:58+00:00 heroku[web.1]:←[0m Idling
←[36m2013-03-17T00:42:01+00:00 heroku[web.1]:←[0m Stopping all processes with SIGTERM
←[36m2013-03-17T00:42:02+00:00 app[web.1]:←[0m [2013-03-17 00:42:02] ERROR SignalException:     SIGTERM
←[36m2013-03-17T00:42:02+00:00 app[web.1]:←[0m      /usr/local/lib/ruby/1.9.1/webrick/server.rb:90:in `select'
←[36m2013-03-17T00:42:12+00:00 heroku[web.1]:←[0m Stopping remaining processes with SIGKILL
←[36m2013-03-17T00:42:12+00:00 heroku[web.1]:←[0m Error R12 (Exit timeout) -> At least one     process failed to exit within 10 seconds of SIGTERM
←[36m2013-03-17T00:42:15+00:00 heroku[web.1]:←[0m Process exited with status 137
←[36m2013-03-17T00:42:15+00:00 heroku[web.1]:←[0m State changed from up to down
←[36m2013-03-17T00:47:42+00:00 heroku[web.1]:←[0m Unidling
←[36m2013-03-17T00:47:42+00:00 heroku[web.1]:←[0m State changed from down to starting
←[33m2013-03-17T00:48:01+00:00 heroku[router]:←[0m at=info method=GET path=/ host=glacial-    fortress-7801.herokuapp.com fwd="112.198.64.55" dyno=web.1 queue=0 wait=0ms conn
←[33m2013-03-17T00:48:02+00:00 heroku[router]:←[0m at=info method=GET path=/favicon.ico     host=glacial-fortress-7801.herokuapp.com fwd="112.198.64.55" dyno=web.1 queue=0 wa
es=0

0 个答案:

没有答案