0

我在Heroku logs. 我已经将 rails 版本更新为3.2.11然后更新了,bootstrap因为Heroku人们已经提到了Rails 3.2.10. 错误如下。

2013-01-11T18:07:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/commands/server.rb:46:in `app'
2013-01-11T18:07:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:385:in `_run_prepare_callbacks'
2013-01-11T18:07:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/railtie/configurable.rb:30:in `method_missing'
2013-01-11T18:07:53+00:00 app[web.1]:   from /app/config/environment.rb:5:in `<top (required)>'
2013-01-11T18:07:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require'
2013-01-11T18:07:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.3/lib/rack/builder.rb:51:in `initialize'
2013-01-11T18:07:53+00:00 app[web.1]:   from /app/config.ru:3:in `block in <main>'
2013-01-11T18:07:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.3/lib/rack/builder.rb:40:in `eval'
2013-01-11T18:07:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/railtie.rb:97:in `block (2 levels) in <class:Railtie>'
2013-01-11T18:07:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.3/lib/rack/builder.rb:51:in `instance_eval'
2013-01-11T18:07:53+00:00 app[web.1]:   from /app/config.ru:in `<main>'
2013-01-11T18:07:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.3/lib/rack/builder.rb:40:in `parse_file'
2013-01-11T18:07:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/commands.rb:50:in `tap'
2013-01-11T18:07:53+00:00 app[web.1]:   from script/rails:6:in `require'
2013-01-11T18:07:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/commands.rb:50:in `<top (required)>'
2013-01-11T18:07:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/commands/server.rb:70:in `start'
 2013-01-11T18:07:53+00:00 app[web.1]:  from /app/config.ru:in `new'
 2013-01-11T18:07:53+00:00 app[web.1]:  from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.3/lib/rack/server.rb:304:in `wrapped_app'
 2013-01-11T18:07:53+00:00 app[web.1]:  from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.3/lib/rack/server.rb:254:in `start'
 2013-01-11T18:07:53+00:00 app[web.1]:  from script/rails:6:in `<main>'
 2013-01-11T18:07:53+00:00 app[web.1]:  from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.3/lib/rack/server.rb:200:in `app'
 2013-01-11T18:07:54+00:00 heroku[web.1]: Error R12 (Exit timeout) -> At least one process failed to exit within 10 seconds of SIGTERM
 2013-01-11T18:07:54+00:00 heroku[web.1]: Stopping remaining processes with SIGKILL
 2013-01-11T18:07:54+00:00 heroku[web.1]: Process exited with status 1
 2013-01-11T18:07:54+00:00 heroku[web.1]: State changed from starting to crashed
 2013-01-11T18:07:54+00:00 heroku[web.1]: State changed from crashed to starting
 2013-01-11T18:07:56+00:00 heroku[web.1]: Process exited with status 137
 2013-01-11T18:07:56+00:00 heroku[web.1]: Starting process with command `bundle exec rails server -p 12676`
 2013-01-11T18:08:04+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, 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/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/config/environment.rb:5)
 2013-01-11T18:08:04+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, 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/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/config/environment.rb:5)
 2013-01-11T18:08:04+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, 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/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/config/environment.rb:5)
 2013-01-11T18:08:17+00:00 app[web.1]: => Ctrl-C to shutdown server
 2013-01-11T18:08:17+00:00 app[web.1]: => Rails 3.2.11 application starting in production on http://0.0.0.0:12676
 2013-01-11T18:08:17+00:00 app[web.1]: => Booting WEBrick
 2013-01-11T18:08:17+00:00 app[web.1]: => Call with -d to detach
 2013-01-11T18:08:17+00:00 app[web.1]: Connecting to database specified by DATABASE_URL
 2013-01-11T18:08:20+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/connection_adapters/postgresql_adapter.rb:1208:in `initialize': FATAL:  remaining connection slots are reserved for non-replication superuser connections (PGError)
 2013-01-11T18:08:20+00:00 app[web.1]:  from /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:325:in `checkout_new_connection'
 2013-01-11T18:08:20+00:00 app[web.1]:  from /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:247:in `block (2 levels) in checkout'
 2013-01-11T18:08:20+00:00 app[web.1]:  from /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/connection_adapters/postgresql_adapter.rb:326:in `initialize'
 2013-01-11T18:08:20+00:00 app[web.1]:  from /usr/local/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
 2013-01-11T18:08:20+00:00 app[web.1]:  from /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/connection_adapters/postgresql_adapter.rb:1208:in `connect'
 2013-01-11T18:08:20+00:00 app[web.1]:  from /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:242:in `block in checkout'
 2013-01-11T18:08:20+00:00 app[web.1]:  from /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/connection_adapters/postgresql_adapter.rb:28:in `new'
 2013-01-11T18:08:20+00:00 app[web.1]:  from /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:239:in `checkout'
 2013-01-11T18:08:20+00:00 app[web.1]: Exiting
 2013-01-11T18:08:20+00:00 app[web.1]:  from /usr/local/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
 2013-01-11T18:08:20+00:00 app[web.1]:  from /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_specification.rb:145:in `connection'
 2013-01-11T18:08:20+00:00 app[web.1]:  from /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:101:in `connection'
 2013-01-11T18:08:20+00:00 app[web.1]:  from /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_specification.rb:171:in `retrieve_connection'
 2013-01-11T18:08:20+00:00 app[web.1]:  from /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/railtie.rb:97:in `block (2 levels) in <class:Railtie>'
 2013-01-11T18:08:20+00:00 app[web.1]:  from /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/model_schema.rb:308:in `clear_cache!'
 2013-01-11T18:08:20+00:00 app[web.1]:  from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:418:in `_run__431883729642635568__prepare__3624875479622533686__callbacks'
 2013-01-11T18:08:20+00:00 app[web.1]:  from /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:102:in `block in connection'
 2013-01-11T18:08:20+00:00 app[web.1]:  from /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:410:in `retrieve_connection'
 2013-01-11T18:08:20+00:00 app[web.1]:  from /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/middleware/reloader.rb:48:in `prepare!'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/initializable.rb:30:in `instance_exec'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/connection_adapters/postgresql_adapter.rb:1208:in `new'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:242:in `loop'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:385:in `_run_prepare_callbacks'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/connection_adapters/postgresql_adapter.rb:28:in `postgresql_connection'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:315:in `new_connection'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:81:in `run_callbacks'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/initializable.rb:55:in `block in run_initializers'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `block in require'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/initializable.rb:30:in `run'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in `load_dependency'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/initializable.rb:54:in `run_initializers'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:405:in `__run_callback'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/initializable.rb:54:in `each'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/config.ru:3:in `block in <main>'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/middleware/reloader.rb:74:in `prepare!'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/application.rb:136:in `initialize!'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/application/finisher.rb:47:in `block in <module:Finisher>'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/railtie/configurable.rb:30:in `method_missing'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/config/environment.rb:5:in `<top (required)>'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.3/lib/rack/builder.rb:51:in `instance_eval'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/config.ru:in `new'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.3/lib/rack/builder.rb:51:in `initialize'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/config.ru:in `<main>'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.3/lib/rack/builder.rb:40:in `eval'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.3/lib/rack/builder.rb:40:in `parse_file'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.3/lib/rack/server.rb:200:in `app'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/commands/server.rb:46:in `app'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.3/lib/rack/server.rb:304:in `wrapped_app'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.3/lib/rack/server.rb:254:in `start'
2013-01-11T18:08:20+00:00 app[web.1]:   from script/rails:6:in `<main>'
2013-01-11T18:08:20+00:00 app[web.1]:   from script/rails:6:in `require'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/commands/server.rb:70:in `start'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/commands.rb:55:in `block in <top (required)>'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/commands.rb:50:in `<top (required)>'
2013-01-11T18:08:20+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/commands.rb:50:in `tap'
2013-01-11T18:08:22+00:00 heroku[web.1]: Process exited with status 1
2013-01-11T18:08:22+00:00 heroku[web.1]: State changed from starting to crashed
2013-01-11T18:08:22+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=photography-ahmadhamza.herokuapp.com fwd=116.202.185.14 dyno= queue= wait= connect= service= status=503 bytes=
2013-01-11T18:08:24+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=photography-ahmadhamza.herokuapp.com fwd=116.202.185.14 dyno= queue= wait= connect= service= status=503 bytes=
2013-01-11T18:09:34+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=photography-ahmadhamza.herokuapp.com fwd=116.202.185.14 dyno= queue= wait= connect= service= status=503 bytes=
2013-01-11T18:12:03+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=photography-ahmadhamza.herokuapp.com fwd=116.202.185.14 dyno= queue= wait= connect= service= status=503 bytes=
2013-01-11T18:12:03+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=photography-ahmadhamza.herokuapp.com fwd=116.202.185.14 dyno= queue= wait= connect= service= status=503 bytes=

我对此很生气。请帮忙。几分钟后,网站正在加载,但 js 无法正常工作。我正在使用根本不工作的轮播。JS 的另一部分正在工作。

4

1 回答 1

0

可能是 Heroku 还没有发布对 3.2.11 的支持

于 2013-01-14T12:03:12.383 回答