Can anyone shed some light on what's causing this timeout error on Heroku (at 2012-07-08T08:58:33+00:00)? The docs say that it's because of some long running process. I've set config.assets.initialize_on_precompile = false in config/application.rb.
Specific error:
2012-07-08T08:58:33+00:00 heroku[router]: Error H12 (Request timeout) -> GET codicology.co.uk/ dyno=web.1 queue= wait= service=30000ms status=503 bytes=0
Full logs:
EmBP-2:bc Emma$ heroku restart
Restarting processes... done
EmBP-2:bc Emma$ heroku logs --tail
2012-07-08T08:47:21+00:00 heroku[nginx]: 82.69.50.215 - - [08/Jul/2012:08:47:21 +0000] "GET /assets/application.js HTTP/1.1" 200 311723 "https://codicology.co.uk/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.52.7 (KHTML, like Gecko) Version/5.1.2 Safari/534.52.7" codicology.co.uk
2012-07-08T08:47:21+00:00 heroku[nginx]: 127.0.0.1 - - [08/Jul/2012:08:47:21 +0000] "GET /assets/application.js HTTP/1.0" 200 1311615 "https://codicology.co.uk/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.52.7 (KHTML, like Gecko) Version/5.1.2 Safari/534.52.7" codicology.co.uk
2012-07-08T08:51:32+00:00 heroku[slugc]: Slug compilation started
2012-07-08T08:54:05+00:00 heroku[api]: Release v145 created by emma#snowbooks.com
2012-07-08T08:54:05+00:00 heroku[api]: Deploy 8814b2f by emma#snowbooks.com
2012-07-08T08:54:05+00:00 heroku[web.1]: State changed from up to starting
2012-07-08T08:54:06+00:00 heroku[slugc]: Slug compilation finished
2012-07-08T08:54:09+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2012-07-08T08:54:09+00:00 heroku[worker.1]: Stopping all processes with SIGTERM
2012-07-08T08:54:09+00:00 heroku[web.1]: Starting process with command `bundle exec unicorn -p 22429 -c ./config/unicorn.rb`
2012-07-08T08:54:10+00:00 app[worker.1]: [Worker(host:2046e0bf-e109-40f2-abdb-10f69d224483 pid:1)] Exiting...
2012-07-08T08:54:11+00:00 app[web.1]: I, [2012-07-08T08:54:11.320616 #1] INFO -- : reaped #<Process::Status: pid 8 exit 0> worker=1
2012-07-08T08:54:11+00:00 app[web.1]: I, [2012-07-08T08:54:11.376765 #1] INFO -- : master complete
2012-07-08T08:54:11+00:00 app[web.1]: I, [2012-07-08T08:54:11.376272 #1] INFO -- : reaped #<Process::Status: pid 5 exit 0> worker=0
2012-07-08T08:54:12+00:00 app[web.1]: I, [2012-07-08T08:54:12.011695 #1] INFO -- : worker=0 spawning...
2012-07-08T08:54:12+00:00 app[web.1]: I, [2012-07-08T08:54:12.011386 #1] INFO -- : listening on addr=0.0.0.0:22429 fd=3
2012-07-08T08:54:12+00:00 app[web.1]: I, [2012-07-08T08:54:12.017917 #5] INFO -- : worker=0 spawned pid=5
2012-07-08T08:54:12+00:00 app[web.1]: I, [2012-07-08T08:54:12.019309 #1] INFO -- : master process ready
2012-07-08T08:54:12+00:00 app[web.1]: I, [2012-07-08T08:54:12.018250 #5] INFO -- : Refreshing Gem list
2012-07-08T08:54:12+00:00 app[web.1]: I, [2012-07-08T08:54:12.016768 #1] INFO -- : worker=1 spawning...
2012-07-08T08:54:12+00:00 app[web.1]: I, [2012-07-08T08:54:12.020863 #8] INFO -- : Refreshing Gem list
2012-07-08T08:54:12+00:00 app[web.1]: I, [2012-07-08T08:54:12.020617 #8] INFO -- : worker=1 spawned pid=8
2012-07-08T08:54:12+00:00 app[worker.1]: SQL (2.9ms) UPDATE "delayed_jobs" SET locked_by = null, locked_at = null WHERE (locked_by = 'host:2046e0bf-e109-40f2-abdb-10f69d224483 pid:1')
2012-07-08T08:54:12+00:00 heroku[web.1]: Process exited with status 0
2012-07-08T08:54:13+00:00 heroku[web.1]: State changed from starting to up
2012-07-08T08:54:14+00:00 heroku[worker.1]: Process exited with status 0
2012-07-08T08:54:14+00:00 heroku[worker.1]: State changed from up to down
2012-07-08T08:54:14+00:00 heroku[worker.1]: State changed from down to starting
2012-07-08T08:54:20+00:00 heroku[worker.1]: Starting process with command `bundle exec rake jobs:work`
2012-07-08T08:54:20+00:00 heroku[worker.1]: State changed from starting to up
2012-07-08T08:54:28+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:6)
2012-07-08T08:54:28+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:6)
2012-07-08T08:54:28+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:6)
2012-07-08T08:54:28+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:6)
2012-07-08T08:54:33+00:00 app[web.1]: Starting the New Relic Agent.
2012-07-08T08:54:33+00:00 app[web.1]: Starting the New Relic Agent.
2012-07-08T08:54:33+00:00 app[web.1]: Installed New Relic Browser Monitoring middleware
2012-07-08T08:54:33+00:00 app[web.1]: Installed New Relic Browser Monitoring middleware
2012-07-08T08:54:34+00:00 app[web.1]:
2012-07-08T08:54:34+00:00 app[web.1]:
2012-07-08T08:54:34+00:00 app[web.1]: [DEVISE] Devise.use_salt_as_remember_token is deprecated and has no effect. Please remove it.
2012-07-08T08:54:34+00:00 app[web.1]:
2012-07-08T08:54:34+00:00 app[web.1]: [DEVISE] Devise.use_salt_as_remember_token is deprecated and has no effect. Please remove it.
2012-07-08T08:54:34+00:00 app[web.1]:
2012-07-08T08:54:34+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/http/mime_type.rb:102: warning: already initialized constant XLSX
2012-07-08T08:54:34+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/http/mime_type.rb:102: warning: already initialized constant PDF
2012-07-08T08:54:34+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/http/mime_type.rb:102: warning: already initialized constant PDF
2012-07-08T08:54:34+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/http/mime_type.rb:102: warning: already initialized constant XLSX
2012-07-08T08:54:34+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/http/mime_type.rb:102: warning: already initialized constant PDF
2012-07-08T08:54:34+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/http/mime_type.rb:102: warning: already initialized constant PDF
2012-07-08T08:54:41+00:00 app[worker.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/Rakefile:10)
2012-07-08T08:54:41+00:00 app[worker.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/Rakefile:10)
2012-07-08T08:54:45+00:00 app[web.1]: [paperclip] Duplicate URL for csv with :s3_eu_url. This will clash with attachment defined in Importadvancecsv class
2012-07-08T08:54:45+00:00 app[web.1]: [paperclip] Duplicate URL for csv with :s3_eu_url. This will clash with attachment defined in Importpaymentcsv class
2012-07-08T08:54:45+00:00 app[web.1]: [paperclip] Duplicate URL for csv with :s3_eu_url. This will clash with attachment defined in Importpurchasecsv class
2012-07-08T08:54:45+00:00 app[web.1]: [paperclip] Duplicate URL for csv with :s3_eu_url. This will clash with attachment defined in Importadvancecsv class
2012-07-08T08:54:45+00:00 app[web.1]: [paperclip] Duplicate URL for csv with :s3_eu_url. This will clash with attachment defined in Importpaymentcsv class
2012-07-08T08:54:45+00:00 app[web.1]: [paperclip] Duplicate URL for csv with :s3_eu_url. This will clash with attachment defined in Importpurchasecsv class
2012-07-08T08:54:45+00:00 app[web.1]: [paperclip] Duplicate URL for csv with :s3_eu_url. This will clash with attachment defined in Importsalecsv class
2012-07-08T08:54:46+00:00 app[web.1]: [paperclip] Duplicate URL for csv with :s3_eu_url. This will clash with attachment defined in Profitarchive class
2012-07-08T08:54:46+00:00 app[web.1]: [paperclip] Duplicate URL for csv with :s3_eu_url. This will
clash with attachment defined in Importsalecsv class
2012-07-08T08:54:46+00:00 app[web.1]: [paperclip] Duplicate URL for csv with :s3_eu_url. This will clash with attachment defined in Profitarchive class
2012-07-08T08:54:46+00:00 app[web.1]: [paperclip] Duplicate URL for xml with :s3_eu_url. This will clash with attachment defined in Onixarchive class
2012-07-08T08:54:47+00:00 app[web.1]: [paperclip] Duplicate URL for xml with :s3_eu_url. This will clash with attachment defined in Onixarchive class
2012-07-08T08:54:48+00:00 app[web.1]: I, [2012-07-08T08:54:48.467693 #8] INFO -- : worker=1 ready
2012-07-08T08:54:48+00:00 app[web.1]: I, [2012-07-08T08:54:48.823800 #5] INFO -- : worker=0 ready
2012-07-08T08:54:48+00:00 app[worker.1]: Starting the New Relic Agent.
2012-07-08T08:54:48+00:00 app[worker.1]: New Relic Agent not running.
2012-07-08T08:54:48+00:00 app[worker.1]: [Worker(host:1eabe514-7ec9-43b0-835b-ff3bd23bc266 pid:1)] New Relic Ruby Agent Monitoring DJ worker host:1eabe514-7ec9-43b0-835b-ff3bd23bc266 pid:1
2012-07-08T08:54:48+00:00 app[worker.1]: Installed New Relic Browser Monitoring middleware
2012-07-08T08:54:49+00:00 app[worker.1]: [Worker(host:1eabe514-7ec9-43b0-835b-ff3bd23bc266 pid:1)] Starting job worker
2012-07-08T08:57:54+00:00 heroku[web.1]: State changed from up to starting
2012-07-08T08:57:56+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2012-07-08T08:57:57+00:00 app[web.1]: I, [2012-07-08T08:57:57.047386 #1] INFO -- : reaped #<Process::Status: pid 5 exit 0> worker=0
2012-07-08T08:57:57+00:00 app[web.1]: I, [2012-07-08T08:57:57.047753 #1] INFO -- : reaped #<Process::Status: pid 8 exit 0> worker=1
2012-07-08T08:57:57+00:00 app[web.1]: I, [2012-07-08T08:57:57.047999 #1] INFO -- : master complete
2012-07-08T08:57:57+00:00 heroku[worker.1]: Stopping all processes with SIGTERM
2012-07-08T08:57:58+00:00 heroku[web.1]: Process exited with status 0
2012-07-08T08:57:58+00:00 app[worker.1]: [Worker(host:1eabe514-7ec9-43b0-835b-ff3bd23bc266 pid:1)] Exiting...
2012-07-08T08:57:59+00:00 heroku[web.1]: Starting process with command `bundle exec unicorn -p 29766 -c ./config/unicorn.rb`
2012-07-08T08:58:01+00:00 app[worker.1]: SQL (27.9ms) UPDATE "delayed_jobs" SET locked_by = null, locked_at = null WHERE (locked_by = 'host:1eabe514-7ec9-43b0-835b-ff3bd23bc266 pid:1')
2012-07-08T08:58:02+00:00 app[web.1]: I, [2012-07-08T08:58:02.070527 #1] INFO -- : listening on addr=0.0.0.0:29766 fd=3
2012-07-08T08:58:02+00:00 app[web.1]: I, [2012-07-08T08:58:02.070782 #1] INFO -- : worker=0 spawning...
2012-07-08T08:58:02+00:00 app[web.1]: I, [2012-07-08T08:58:02.074498 #1] INFO -- : worker=1 spawning...
2012-07-08T08:58:02+00:00 app[web.1]: I, [2012-07-08T08:58:02.075702 #1] INFO -- : master process ready
2012-07-08T08:58:02+00:00 app[web.1]: I, [2012-07-08T08:58:02.076732 #5] INFO -- : worker=0 spawned pid=5
2012-07-08T08:58:02+00:00 app[web.1]: I, [2012-07-08T08:58:02.076957 #5] INFO -- : Refreshing Gem list
2012-07-08T08:58:02+00:00 app[web.1]: I, [2012-07-08T08:58:02.089022 #8] INFO -- : worker=1 spawned pid=8
2012-07-08T08:58:02+00:00 app[web.1]: I, [2012-07-08T08:58:02.089299 #8] INFO -- : Refreshing Gem list
2012-07-08T08:58:02+00:00 heroku[worker.1]: Process exited with status 0
2012-07-08T08:58:02+00:00 heroku[worker.1]: State changed from up to down
2012-07-08T08:58:02+00:00 heroku[worker.1]: State changed from down to starting
2012-07-08T08:58:02+00:00 heroku[web.1]: State changed from starting to up
2012-07-08T08:58:10+00:00 heroku[worker.1]: Starting process with command `bundle exec rake jobs:work`
2012-07-08T08:58:11+00:00 heroku[worker.1]: State changed from starting to up
2012-07-08T08:58:28+00:00 app[worker.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/Rakefile:10)
2012-07-08T08:58:28+00:00 app[worker.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/Rakefile:10)
2012-07-08T08:58:33+00:00 heroku[router]: Error H12 (Request timeout) -> GET codicology.co.uk/ dyno=web.1 queue= wait= service=30000ms status=503 bytes=0
2012-07-08T08:58:33+00:00 heroku[nginx]: 127.0.0.1 - - [08/Jul/2012:08:58:33 +0000] "GET / HTTP/1.0" 503 601 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.52.7 (KHTML, like Gecko) Version/5.1.2 Safari/534.52.7" codicology.co.uk
2012-07-08T08:58:33+00:00 heroku[nginx]: 82.69.50.215 - - [08/Jul/2012:08:58:33 +0000] "GET / HTTP/1.1" 503 601 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.52.7 (KHTML, like Gecko) Version/5.1.2 Safari/534.52.7" codicology.co.uk
2012-07-08T08:58:42+00:00 app[worker.1]: New Relic Agent not running.
2012-07-08T08:58:42+00:00 app[worker.1]: [Worker(host:b5fa9243-6f9b-4de4-8f64-adab767fe4b0 pid:1)] New Relic Ruby Agent Monitoring DJ worker host:b5fa9243-6f9b-4de4-8f64-adab767fe4b0 pid:1
2012-07-08T08:58:42+00:00 app[worker.1]: Starting the New Relic Agent.
2012-07-08T08:58:42+00:00 app[worker.1]: Installed New Relic Browser Monitoring middleware
2012-07-08T08:58:43+00:00 app[worker.1]: [Worker(host:b5fa9243-6f9b-4de4-8f64-adab767fe4b0 pid:1)] Starting job worker
2012-07-08T08:58:56+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:6)
2012-07-08T08:58:56+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:6)
2012-07-08T08:58:56+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:6)
2012-07-08T08:58:56+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:6)
2012-07-08T08:59:02+00:00 app[web.1]: Starting the New Relic Agent.
2012-07-08T08:59:02+00:00 app[web.1]: Installed New Relic Browser Monitoring middleware
2012-07-08T08:59:02+00:00 app[web.1]: Starting the New Relic Agent.
2012-07-08T08:59:02+00:00 app[web.1]: Installed New Relic Browser Monitoring middleware
2012-07-08T08:59:03+00:00 app[web.1]:
2012-07-08T08:59:03+00:00 app[web.1]: [DEVISE] Devise.use_salt_as_remember_token is deprecated and has no effect. Please remove it.
2012-07-08T08:59:03+00:00 app[web.1]:
2012-07-08T08:59:03+00:00 app[web.1]:
2012-07-08T08:59:03+00:00 app[web.1]: [DEVISE] Devise.use_salt_as_remember_token is deprecated and has no effect. Please remove it.
2012-07-08T08:59:03+00:00 app[web.1]:
2012-07-08T08:59:04+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/http/mime_type.rb:102: warning: already initialized constant XLSX
2012-07-08T08:59:04+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/http/mime_type.rb:102: warning: already initialized constant PDF
2012-07-08T08:59:04+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/http/mime_type.rb:102: warning: already initialized constant PDF
2012-07-08T08:59:04+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/http/mime_type.rb:102: warning: already initialized constant XLSX
2012-07-08T08:59:04+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/http/mime_type.rb:102: warning: already initialized constant PDF
2012-07-08T08:59:04+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/http/mime_type.rb:102: warning: already initialized constant PDF
2012-07-08T08:59:22+00:00 app[web.1]: [paperclip] Duplicate URL for csv with :s3_eu_url. This will clash with attachment defined in Importadvancecsv class
2012-07-08T08:59:22+00:00 app[web.1]: [paperclip] Duplicate URL for csv with :s3_eu_url. This will clash with attachment defined in Importpaymentcsv class
2012-07-08T08:59:22+00:00 app[web.1]: [paperclip] Duplicate URL for csv with :s3_eu_url. This will clash with attachment defined in Importpurchasecsv class
2012-07-08T08:59:22+00:00 app[web.1]: [paperclip] Duplicate URL for csv with :s3_eu_url. This will clash with attachment defined in Importsalecsv class
2012-07-08T08:59:22+00:00 app[web.1]: [paperclip] Duplicate URL for csv with :s3_eu_url. This will clash with attachment defined in Profitarchive class
2012-07-08T08:59:23+00:00 app[web.1]: [paperclip] Duplicate URL for csv with :s3_eu_url. This will clash with attachment defined in Importadvancecsv class
2012-07-08T08:59:23+00:00 app[web.1]: [paperclip] Duplicate URL for csv with :s3_eu_url. This will clash with attachment defined in Importpaymentcsv class
2012-07-08T08:59:23+00:00 app[web.1]: [paperclip] Duplicate URL for csv with :s3_eu_url. This will clash with attachment defined in Importpurchasecsv class
2012-07-08T08:59:23+00:00 app[web.1]: [paperclip] Duplicate URL for csv with :s3_eu_url. This will clash with attachment defined in Importsalecsv class
2012-07-08T08:59:23+00:00 app[web.1]: [paperclip] Duplicate URL for csv with :s3_eu_url. This will clash with attachment defined in Profitarchive class
2012-07-08T08:59:23+00:00 app[web.1]: [paperclip] Duplicate URL for xml with :s3_eu_url. This will clash with attachment defined in Onixarchive class
2012-07-08T08:59:24+00:00 app[web.1]: [paperclip] Duplicate URL for xml with :s3_eu_url. This will clash with attachment defined in Onixarchive class
2012-07-08T08:59:25+00:00 app[web.1]: I, [2012-07-08T08:59:25.555052 #5] INFO -- : worker=0 ready
2012-07-08T08:59:25+00:00 app[web.1]:
2012-07-08T08:59:25+00:00 app[web.1]:
2012-07-08T08:59:25+00:00 app[web.1]: Started GET "/" for 82.69.50.215 at 2012-07-08 08:59:25 +0000
2012-07-08T08:59:26+00:00 app[web.1]: Processing by PagesController#home as HTML
2012-07-08T08:59:26+00:00 app[web.1]: I, [2012-07-08T08:59:26.043501 #8] INFO -- : worker=1 ready
2012-07-08T08:59:26+00:00 app[web.1]: Rendered pages/home.html.haml within layouts/application (5.7ms)
2012-07-08T08:59:26+00:00 app[web.1]: (1.1ms) SELECT COUNT(*) FROM "delayed_jobs"
2012-07-08T08:59:26+00:00 app[web.1]: Rendered layouts/_header.html.erb (4.2ms)
2012-07-08T08:59:26+00:00 app[web.1]: Rendered layouts/_footer.html.haml (1.4ms)
2012-07-08T08:59:26+00:00 app[web.1]: Completed 200 OK in 326ms (Views: 258.4ms | ActiveRecord: 65.2ms)
heroku[router]: Error H12 (Request timeout) -> GET codicology.co.uk/ dyno=web.1 queue= wait= service=30000ms status=503 bytes=0
Are you loading something from codicology.co.uk during the deployment of your app? e.g. loading a custom buildpack that is hosted there?
If I visit codicology.co.uk I get a certificate error. Perhaps whatever process or request you're running from Heroku is getting a certificate error also which prevents it from properly connecting, or perhaps it decides to drop the connection because of the error.
If you can give us a bit more information about what you're trying to do or what codicology.co.uk is used for (do you own it?) perhaps we can help more.
Related
Just deployed to Heroku and successfullly migrated db. But site crashed with error saying there is 'NameError: Wrong Constant Name Companies Copy' where i have a Company model.
Using Rails 6.0.0.rc1
Ruby version 2.6.3
Checked through the entire code and confirmed that i did not initialize anything with the plural "Companies" name.
have checked through blogs and stackoverflow... there is no specific way to identify this issues.
2019-07-15T03:39:08.124899+00:00 heroku[web.1]: Starting process with command `bundle exec puma -p 28862`
2019-07-15T03:39:10.206749+00:00 app[web.1]: Puma starting in single mode...
2019-07-15T03:39:10.206793+00:00 app[web.1]: * Version 3.12.1 (ruby 2.6.3-p62), codename: Llamas in Pajamas
2019-07-15T03:39:10.206795+00:00 app[web.1]: * Min threads: 5, max threads: 5
2019-07-15T03:39:10.206797+00:00 app[web.1]: * Environment: production
2019-07-15T03:39:14.734930+00:00 app[web.1]: ! Unable to load application: NameError: wrong constant name Companies copy
2019-07-15T03:39:14.735052+00:00 app[web.1]: bundler: failed to load command: puma (/app/vendor/bundle/ruby/2.6.0/bin/puma)
2019-07-15T03:39:14.735115+00:00 app[web.1]: NameError: wrong constant name Companies copy
2019-07-15T03:39:14.735118+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.8/lib/zeitwerk/loader.rb:679:in `const_defined?'
2019-07-15T03:39:14.735120+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.8/lib/zeitwerk/loader.rb:679:in `cdef?'
2019-07-15T03:39:14.735122+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.8/lib/zeitwerk/loader.rb:597:in `strict_autoload_path' 2019-07-15T03:39:14.735124+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.8/lib/zeitwerk/loader.rb:574:in `autoload_for?'
2019-07-15T03:39:14.735126+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.8/lib/zeitwerk/loader.rb:488:in `autoload_subdir'
2019-07-15T03:39:14.735128+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.8/lib/zeitwerk/loader.rb:477:in `block in set_autoloads_in_dir'
2019-07-15T03:39:14.735130+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.8/lib/zeitwerk/loader.rb:649:in `block in ls'
2019-07-15T03:39:14.735132+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.8/lib/zeitwerk/loader.rb:646:in `foreach'
2019-07-15T03:39:14.735134+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.8/lib/zeitwerk/loader.rb:646:in `ls'
2019-07-15T03:39:14.735136+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.8/lib/zeitwerk/loader.rb:463:in `set_autoloads_in_dir'
2019-07-15T03:39:14.735138+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.8/lib/zeitwerk/loader/callbacks.rb:65:in `block in on_namespace_loaded'
2019-07-15T03:39:14.735139+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.8/lib/zeitwerk/loader/callbacks.rb:64:in `each'
2019-07-15T03:39:14.735141+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.8/lib/zeitwerk/loader/callbacks.rb:64:in `on_namespace_loaded'
2019-07-15T03:39:14.735142+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.8/lib/zeitwerk/loader/callbacks.rb:50:in `block in on_dir_autoloaded'
2019-07-15T03:39:14.735144+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.8/lib/zeitwerk/loader/callbacks.rb:37:in `synchronize'
2019-07-15T03:39:14.735145+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.8/lib/zeitwerk/loader/callbacks.
Hope anyone with similar experience can at least point me to where to look to solve or dissect this issue further.
Many thanks.
UPDATE:
Found a quick fix. The reason the error was raise was due to autoloading with with zeitwerk which is the default autoloader for rails 6.
I have not found the reason as to why I had the NameError. So, in the application.rb file, I reverted the autoloading back to the classic version which was used for rails before version 6. After that everything went well.
config.load_defaults "6.x"
config.autoloader = :classic
I have deployed app on Heroku but app is not working( I got this message on browser "We're sorry, but something went wrong. If you are the application owner check the logs for more information.") when I checked log I found below message.Can anyone tell me what is the meaning of it?
Stopping all processes with SIGTERM
2018-01-20T10:54:29.710117+00:00 app[web.1]: - Gracefully stopping, waiting for requests to finish
2018-01-20T10:54:29.710722+00:00 app[web.1]: === puma shutdown: 2018-01-20 10:54:29 +0000 ===
2018-01-20T10:54:29.710724+00:00 app[web.1]: - Goodbye!
2018-01-20T10:54:29.710881+00:00 app[web.1]: Exiting
2018-01-20T10:54:29.837650+00:00 heroku[web.1]: Process exited with status 143
2018-01-20T10:54:39.660402+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 38017 -e production`
2018-01-20T10:54:45.686497+00:00 app[web.1]: DEPRECATION WARNING: `config.serve_static_files` is deprecated and will be removed in Rails 5.1.
2018-01-20T10:54:45.686528+00:00 app[web.1]: Please use `config.public_file_server.enabled = true` instead.
2018-01-20T10:54:45.686586+00:00 app[web.1]: (called from block in <top (required)> at /app/config/environments/production.rb:6)
2018-01-20T10:54:47.277792+00:00 app[web.1]: => Booting Puma
2018-01-20T10:54:47.277810+00:00 app[web.1]: => Rails 5.0.6 application starting in production on http://0.0.0.0:38017
2018-01-20T10:54:47.277812+00:00 app[web.1]: => Run `rails server -h` for more startup options
2018-01-20T10:54:47.277818+00:00 app[web.1]: * Version 3.10.0 (ruby 2.3.4-p301), codename: Russell's Teapot
2018-01-20T10:54:47.277813+00:00 app[web.1]: Puma starting in single mode...
2018-01-20T10:54:47.277819+00:00 app[web.1]: * Min threads: 0, max threads: 16
2018-01-20T10:54:47.277908+00:00 app[web.1]: * Listening on tcp://0.0.0.0:38017
2018-01-20T10:54:47.277820+00:00 app[web.1]: * Environment: production
2018-01-20T10:54:47.278132+00:00 app[web.1]: Use Ctrl-C to stop
2018-01-20T10:54:47.817688+00:00 heroku[web.1]: State changed from starting to up
2018-01-20T10:56:14.896122+00:00 heroku[router]: at=info method=GET path="/" host=salty-peak-94323.herokuapp.com request_id=85b8c594-2d92-4e76-9060-01caf2307a44 fwd="45.115.104.19" dyno=web.1 connect=0ms service=268ms status=500 bytes=1735 protocol=https
2018-01-20T10:59:49.774607+00:00 heroku[router]: at=info method=GET path="/" host=salty-peak-94323.herokuapp.com request_id=d60e4280-6d74-42ff-93e4-5a47dcc3bc93 fwd="45.115.104.19" dyno=web.1 connect=0ms service=41ms status=500 bytes=1735 protocol=https
The logs says DEPRECATION WARNING: config.serve_static_files is deprecated and will be removed in Rails 5.1, Please use config.public_file_server.enabled = true instead, So try to change this to what it is saying, Although i believe it is just a warning and it should not break your app but i found a related question to this one, Here it is, Hope it helps
Hi everyone in this forum! :)
I'm new here, so forgive for the mistakes I made or the noobish questions I may ask. I'm also new to programming too, so please be patient :) I learn Ruby on Rails, and try to get my app running on the web with Heroku. But no matter how hard I try, I can't get it to work properly.
So the problem is:
I get an error message when I check my app on the web saying:
"We're sorry, but something went wrong"
I have read about this problem (on the "theodinproject" website), and it is connected with database migration -from what I've understood.
I am using:
PostgreSQL 9.4 ///
Git 1.9.5-preview20141217
Still, I do not know how to proceed. Please help me.
(the code I attached is not complete, but I hope you can find the mistake(s) in it.
remote: Warning. Error encountered while saving cache /tmp/build_7fe80551
4c65f55b3e7c6ffbf5a1e179/tmp/cache/sass/074cffc5affa5c84b781ae2423063506c85d58b1
/home.css.scssc: can't dump anonymous class #<Class:0x007f71296b1a38>
remote: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/p
lugins! Support for these plugins will be removed in Rails 4.0. Move them out an
d 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 /tmp/build_7fe805514c65f55b3e7c6ffbf5a1e179/Rakefile:7)
remote: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/p
lugins! Support for these plugins will be removed in Rails 4.0. Move them out an
d 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 /tmp/build_7fe805514c65f55b3e7c6ffbf5a1e179/Rakefile:7)
remote: Warning. Error encountered while saving cache /tmp/build_7fe80551
4c65f55b3e7c6ffbf5a1e179/tmp/cache/sass/074cffc5affa5c84b781ae2423063506c85d58b1
/home.css.scssc: can't dump anonymous class #<Class:0x007f3974848550>
remote: Asset precompilation completed (10.78s)
remote:
remote: ###### WARNING:
remote: Injecting plugin 'rails_log_stdout'
remote:
remote: ###### WARNING:
remote: Injecting plugin 'rails3_serve_static_assets'
remote:
remote: ###### WARNING:
remote: Add 'rails_12factor' gem to your Gemfile to skip plugin injection
remote:
remote: ###### WARNING:
remote: You have not declared a Ruby version in your Gemfile.
remote: To set your Ruby version add this line to your Gemfile:
remote: ruby '2.0.0'
remote: # See https://devcenter.heroku.com/articles/ruby-versions for mor
e information.
remote:
remote: ###### WARNING:
remote: Removing `Gemfile.lock` because it was generated on Windows.
remote: Bundler will do a full resolve so native gems are handled properl
y.
remote: This may result in unexpected gem versions being used in your app
.
remote: In rare occasions Bundler may not be able to resolve your depende
ncies at all.
remote: https://devcenter.heroku.com/articles/bundler-windows-gemfile
remote:
remote: ###### WARNING:
remote: No Procfile detected, using the default web server (webrick)
remote: https://devcenter.heroku.com/articles/ruby-default-web-server
remote:
remote: -----> Discovering process types
remote: Procfile declares types -> (none)
remote: Default types for Ruby -> console, rake, web, worker
remote:
remote: -----> Compressing... done, 26.1MB
remote: -----> Launching... done, v6
remote: https://peaceful-gorge-9214.herokuapp.com/ deployed to Heroku
remote:
remote: Verifying deploy... done.
To https://git.heroku.com/peaceful-gorge-9214.git
* [new branch] master -> master
Abel#ABEL-PC /c/Sites/myrubyblog (master)
$ heroku run rake db:migrate
Running `rake db:migrate` attached to terminal... up, run.1040
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 i
n your Gemfile, or fold them in to your app as lib/myplugin/* and config/initial
izers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonr
ails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required
)> at /app/Rakefile:7)
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 i
n your Gemfile, or fold them in to your app as lib/myplugin/* and config/initial
izers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonr
ails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required
)> at /app/Rakefile:7)
Abel#ABEL-PC /c/Sites/myrubyblog (master)
$ git push heroku master
Everything up-to-date
Abel#ABEL-PC /c/Sites/myrubyblog (master)
$ git push heroku master
Everything up-to-date
Abel#ABEL-PC /c/Sites/myrubyblog (master)
$ heroku create --stack cedar
! You've reached the limit of 5 apps for unverified accounts.
! Delete some apps or add a credit card to verify your account.
Abel#ABEL-PC /c/Sites/myrubyblog (master)
$ git push heroku master
Everything up-to-date
Abel#ABEL-PC /c/Sites/myrubyblog (master)
$ heroku logs -t
←[36m2015-04-22T06:12:48.946759+00:00 app[web.1]:←[0m 2: <html>
←[36m2015-04-22T06:12:48.946766+00:00 app[web.1]:←[0m 7: <%= csrf_meta_tag
s %>
←[36m2015-04-22T06:12:48.946755+00:00 app[web.1]:←[0m
←[36m2015-04-22T06:12:48.946768+00:00 app[web.1]:←[0m app/views/layouts/applic
ation.html.erb:5:in `_app_views_layouts_application_html_erb__456807460569566140
5_70045134083880'
←[36m2015-04-22T06:12:48.946767+00:00 app[web.1]:←[0m 8: </head>
←[36m2015-04-22T06:12:48.946769+00:00 app[web.1]:←[0m
←[36m2015-04-22T06:12:48.946758+00:00 app[web.1]:←[0m ActionView::Template::Erro
r (default.css isn't precompiled):
←[36m2015-04-22T06:12:48.946763+00:00 app[web.1]:←[0m 5: <%= stylesheet_li
nk_tag "default", :media => "all" %>
←[36m2015-04-22T06:12:48.935846+00:00 app[web.1]:←[0m Processing by HomeControll
er#index as HTML
←[36m2015-04-22T06:12:48.944757+00:00 app[web.1]:←[0m Completed 500 Internal Ser
ver Error in 8.7ms
←[36m2015-04-22T06:12:48.946771+00:00 app[web.1]:←[0m
←[33m2015-04-22T06:12:49.528519+00:00 heroku[router]:←[0m at=info method=GET pat
h="/favicon.ico" host=peaceful-gorge-9214.herokuapp.com request_id=f203763b-250a
-41c9-b525-a0ad82f88f91 fwd="193.6.168.41" dyno=web.1 connect=0ms service=11ms s
tatus=200 bytes=323
←[36m2015-04-22T07:16:53.352805+00:00 heroku[web.1]:←[0m Idling
←[36m2015-04-22T07:16:53.354125+00:00 heroku[web.1]:←[0m State changed from up t
o down
←[36m2015-04-22T07:16:56.808445+00:00 heroku[web.1]:←[0m Stopping all processes
with SIGTERM
←[36m2015-04-22T07:16:57.603395+00:00 app[web.1]:←[0m [2015-04-22 07:16:57] FATA
L SignalException: SIGTERM
←[36m2015-04-22T07:16:57.603403+00:00 app[web.1]:←[0m /app/vendor/ruby-2.0.0/l
ib/ruby/2.0.0/webrick/server.rb:32:in `start'
←[36m2015-04-22T07:16:57.603400+00:00 app[web.1]:←[0m /app/vendor/ruby-2.0.0/l
ib/ruby/2.0.0/webrick/server.rb:170:in `select'
←[36m2015-04-22T07:16:57.603405+00:00 app[web.1]:←[0m /app/vendor/ruby-2.0.0/l
ib/ruby/2.0.0/webrick/server.rb:160:in `start'
←[36m2015-04-22T07:16:57.603406+00:00 app[web.1]:←[0m /app/vendor/bundle/ruby/
2.0.0/gems/rack-1.4.5/lib/rack/handler/webrick.rb:13:in `run'
←[36m2015-04-22T07:16:57.603408+00:00 app[web.1]:←[0m /app/vendor/bundle/ruby/
2.0.0/gems/rack-1.4.5/lib/rack/server.rb:268:in `start'
←[36m2015-04-22T07:16:57.603410+00:00 app[web.1]:←[0m /app/vendor/bundle/ruby/
2.0.0/gems/railties-3.2.21/lib/rails/commands/server.rb:70:in `start'
←[36m2015-04-22T07:16:57.603412+00:00 app[web.1]:←[0m /app/vendor/bundle/ruby/
2.0.0/gems/railties-3.2.21/lib/rails/commands.rb:55:in `block in <top (required)
>'
←[36m2015-04-22T07:16:57.603413+00:00 app[web.1]:←[0m /app/vendor/bundle/ruby/
2.0.0/gems/railties-3.2.21/lib/rails/commands.rb:50:in `tap'
←[36m2015-04-22T07:16:57.603402+00:00 app[web.1]:←[0m /app/vendor/ruby-2.0.0/l
ib/ruby/2.0.0/webrick/server.rb:170:in `block in start'
←[36m2015-04-22T07:16:57.603414+00:00 app[web.1]:←[0m /app/vendor/bundle/ruby/
2.0.0/gems/railties-3.2.21/lib/rails/commands.rb:50:in `<top (required)>'
←[36m2015-04-22T07:16:57.603416+00:00 app[web.1]:←[0m script/rails:6:in `requi
re'
←[36m2015-04-22T07:16:57.603418+00:00 app[web.1]:←[0m script/rails:6:in `<main
>'
←[36m2015-04-22T07:16:57.603423+00:00 app[web.1]:←[0m [2015-04-22 07:16:57] INFO
going to shutdown ...
←[36m2015-04-22T07:16:57.603447+00:00 app[web.1]:←[0m [2015-04-22 07:16:57] INFO
WEBrick::HTTPServer#start done.
←[36m2015-04-22T07:16:57.603466+00:00 app[web.1]:←[0m Exiting
←[36m2015-04-22T07:16:58.823388+00:00 heroku[web.1]:←[0m Process exited with sta
tus 143
←[36m2015-04-22T14:22:04.595881+00:00 heroku[web.1]:←[0m Unidling
←[36m2015-04-22T14:22:04.596062+00:00 heroku[web.1]:←[0m State changed from down
to starting
←[36m2015-04-22T14:22:09.277085+00:00 heroku[web.1]:←[0m Starting process with c
ommand `bundle exec rails server -p 25616`
←[36m2015-04-22T14:22:13.426726+00:00 app[web.1]:←[0m DEPRECATION WARNING: You h
ave 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 th
em 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/environm
ent.rb:5)
←[36m2015-04-22T14:22:13.426264+00:00 app[web.1]:←[0m DEPRECATION WARNING: You h
ave 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 th
em 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/environm
ent.rb:5)
←[36m2015-04-22T14:22:14.192475+00:00 heroku[web.1]:←[0m State changed from star
ting to up
←[36m2015-04-22T14:22:14.128069+00:00 app[web.1]:←[0m [2015-04-22 14:22:14] INFO
WEBrick::HTTPServer#start: pid=3 port=25616
←[36m2015-04-22T14:22:14.127733+00:00 app[web.1]:←[0m [2015-04-22 14:22:14] INFO
WEBrick 1.3.1
←[36m2015-04-22T14:22:14.127750+00:00 app[web.1]:←[0m [2015-04-22 14:22:14] INFO
ruby 2.0.0 (2015-04-13) [x86_64-linux]
←[36m2015-04-22T14:22:16.671964+00:00 app[web.1]:←[0m => Booting WEBrick
←[36m2015-04-22T14:22:16.671977+00:00 app[web.1]:←[0m Started GET "/" for 193.6.
168.230 at 2015-04-22 14:22:16 +0000
←[36m2015-04-22T14:22:16.890280+00:00 app[web.1]:←[0m Connecting to database spe
cified by DATABASE_URL
←[36m2015-04-22T14:22:16.671971+00:00 app[web.1]:←[0m => Rails 3.2.21 applicatio
n starting in production on http://0.0.0.0:25616
←[36m2015-04-22T14:22:16.671973+00:00 app[web.1]:←[0m => Call with -d to detach
←[36m2015-04-22T14:22:16.671975+00:00 app[web.1]:←[0m => Ctrl-C to shutdown serv
er
←[33m2015-04-22T14:22:17.121875+00:00 heroku[router]:←[0m at=info method=GET pat
h="/" host=peaceful-gorge-9214.herokuapp.com request_id=27cc842d-97c4-41ee-bb1b-
c5414df2c851 fwd="193.6.168.230" dyno=web.1 connect=2ms service=467ms status=500
bytes=939
←[36m2015-04-22T14:22:17.114423+00:00 app[web.1]:←[0m Completed 500 Internal Ser
ver Error in 8.5ms
←[36m2015-04-22T14:22:17.105805+00:00 app[web.1]:←[0m Processing by HomeControll
er#index as HTML
←[36m2015-04-22T14:22:17.112211+00:00 app[web.1]:←[0m Rendered home/index.html
.erb within layouts/application (1.0ms)
←[36m2015-04-22T14:22:17.116354+00:00 app[web.1]:←[0m
←[36m2015-04-22T14:22:17.116358+00:00 app[web.1]:←[0m ActionView::Template::Erro
r (default.css isn't precompiled):
←[36m2015-04-22T14:22:17.116361+00:00 app[web.1]:←[0m 3: <head>
←[36m2015-04-22T14:22:17.116363+00:00 app[web.1]:←[0m 4: <title>Myrubyblog
</title>
←[36m2015-04-22T14:22:17.116360+00:00 app[web.1]:←[0m 2: <html>
←[36m2015-04-22T14:22:17.116366+00:00 app[web.1]:←[0m 6: <%= javascript_in
clude_tag "default" %>
←[36m2015-04-22T14:22:17.116364+00:00 app[web.1]:←[0m 5: <%= stylesheet_li
nk_tag "default", :media => "all" %>
←[36m2015-04-22T14:22:17.116367+00:00 app[web.1]:←[0m 7: <%= csrf_meta_tag
s %>
←[36m2015-04-22T14:22:17.116371+00:00 app[web.1]:←[0m app/views/layouts/applic
ation.html.erb:5:in `_app_views_layouts_application_html_erb__451241027198694938
9_70288888574320'
←[36m2015-04-22T14:22:17.116372+00:00 app[web.1]:←[0m
←[36m2015-04-22T14:22:17.116373+00:00 app[web.1]:←[0m
←[36m2015-04-22T14:22:17.116369+00:00 app[web.1]:←[0m 8: </head>
←[33m2015-04-22T14:25:48.363056+00:00 heroku[router]:←[0m at=info method=GET pat
h="/" host=peaceful-gorge-9214.herokuapp.com request_id=d1ad96f9-4292-4bf9-a1a3-
e5f3b0b0b8cc fwd="193.6.168.230" dyno=web.1 connect=10ms service=23ms status=500
bytes=939
←[36m2015-04-22T14:25:48.343740+00:00 app[web.1]:←[0m Processing by HomeControll
er#index as HTML
←[36m2015-04-22T14:25:48.345506+00:00 app[web.1]:←[0m Completed 500 Internal Ser
ver Error in 1.7ms
←[36m2015-04-22T14:25:48.344585+00:00 app[web.1]:←[0m Rendered home/index.html
.erb within layouts/application (0.1ms)
←[36m2015-04-22T14:25:48.347216+00:00 app[web.1]:←[0m ActionView::Template::Erro
r (default.css isn't precompiled):
←[36m2015-04-22T14:25:48.347220+00:00 app[web.1]:←[0m 3: <head>
←[36m2015-04-22T14:25:48.347224+00:00 app[web.1]:←[0m 5: <%= stylesheet_li
nk_tag "default", :media => "all" %>
←[36m2015-04-22T14:25:48.347213+00:00 app[web.1]:←[0m
←[36m2015-04-22T14:25:48.340679+00:00 app[web.1]:←[0m Started GET "/" for 193.6.
168.230 at 2015-04-22 14:25:48 +0000
←[36m2015-04-22T14:25:48.347221+00:00 app[web.1]:←[0m 4: <title>Myrubyblog
</title>
←[36m2015-04-22T14:25:48.347218+00:00 app[web.1]:←[0m 2: <html>
←[36m2015-04-22T14:25:48.347225+00:00 app[web.1]:←[0m 6: <%= javascript_in
clude_tag "default" %>
←[36m2015-04-22T14:25:48.347227+00:00 app[web.1]:←[0m 7: <%= csrf_meta_tag
s %>
←[36m2015-04-22T14:25:48.347228+00:00 app[web.1]:←[0m 8: </head>
←[36m2015-04-22T14:25:48.347230+00:00 app[web.1]:←[0m app/views/layouts/applic
ation.html.erb:5:in `_app_views_layouts_application_html_erb__451241027198694938
9_70288888574320'
←[36m2015-04-22T14:25:48.347232+00:00 app[web.1]:←[0m
←[36m2015-04-22T14:25:48.347233+00:00 app[web.1]:←[0m
←[33m2015-04-22T14:25:49.604725+00:00 heroku[router]:←[0m at=info method=GET pat
h="/favicon.ico" host=peaceful-gorge-9214.herokuapp.com request_id=58ce9665-d914
-4f4b-a0d5-1330b6d13f95 fwd="193.6.168.230" dyno=web.1 connect=13ms service=124m
s status=304 bytes=153
←[36m2015-04-22T15:29:04.803632+00:00 heroku[web.1]:←[0m Idling
←[36m2015-04-22T15:29:04.804237+00:00 heroku[web.1]:←[0m State changed from up t
o down
←[36m2015-04-22T15:29:07.878185+00:00 heroku[web.1]:←[0m Stopping all processes
with SIGTERM
←[36m2015-04-22T15:29:08.617094+00:00 app[web.1]:←[0m /app/vendor/ruby-2.0.0/l
ib/ruby/2.0.0/webrick/server.rb:170:in `select'
←[36m2015-04-22T15:29:08.617110+00:00 app[web.1]:←[0m /app/vendor/bundle/ruby/
2.0.0/gems/railties-3.2.21/lib/rails/commands.rb:50:in `<top (required)>'
←[36m2015-04-22T15:29:08.617112+00:00 app[web.1]:←[0m script/rails:6:in `requi
re'
←[36m2015-04-22T15:29:08.617113+00:00 app[web.1]:←[0m script/rails:6:in `<main
>'
←[36m2015-04-22T15:29:08.617107+00:00 app[web.1]:←[0m /app/vendor/bundle/ruby/
2.0.0/gems/railties-3.2.21/lib/rails/commands.rb:55:in `block in <top (required)
>'
←[36m2015-04-22T15:29:08.617098+00:00 app[web.1]:←[0m /app/vendor/ruby-2.0.0/l
ib/ruby/2.0.0/webrick/server.rb:32:in `start'
←[36m2015-04-22T15:29:08.617202+00:00 app[web.1]:←[0m [2015-04-22 15:29:08] INFO
going to shutdown ...
←[36m2015-04-22T15:29:08.617297+00:00 app[web.1]:←[0m [2015-04-22 15:29:08] INFO
WEBrick::HTTPServer#start done.
←[36m2015-04-22T15:29:08.617376+00:00 app[web.1]:←[0m Exiting
←[36m2015-04-22T15:29:08.617101+00:00 app[web.1]:←[0m /app/vendor/bundle/ruby/
2.0.0/gems/rack-1.4.5/lib/rack/handler/webrick.rb:13:in `run'
←[36m2015-04-22T15:29:08.617108+00:00 app[web.1]:←[0m /app/vendor/bundle/ruby/
2.0.0/gems/railties-3.2.21/lib/rails/commands.rb:50:in `tap'
←[36m2015-04-22T15:29:08.617099+00:00 app[web.1]:←[0m /app/vendor/ruby-2.0.0/l
ib/ruby/2.0.0/webrick/server.rb:160:in `start'
←[36m2015-04-22T15:29:08.617103+00:00 app[web.1]:←[0m /app/vendor/bundle/ruby/
2.0.0/gems/rack-1.4.5/lib/rack/server.rb:268:in `start'
←[36m2015-04-22T15:29:08.617105+00:00 app[web.1]:←[0m /app/vendor/bundle/ruby/
2.0.0/gems/railties-3.2.21/lib/rails/commands/server.rb:70:in `start'
←[36m2015-04-22T15:29:08.617096+00:00 app[web.1]:←[0m /app/vendor/ruby-2.0.0/l
ib/ruby/2.0.0/webrick/server.rb:170:in `block in start'
←[36m2015-04-22T15:29:08.617089+00:00 app[web.1]:←[0m [2015-04-22 15:29:08] FATA
L SignalException: SIGTERM
←[36m2015-04-22T15:29:09.777442+00:00 heroku[web.1]:←[0m Process exited with sta
tus 143
And here you can find the build log of my app on Heroku:
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.0.0
###### WARNING:
Removing `Gemfile.lock` because it was generated on Windows.
Bundler will do a full resolve so native gems are handled properly.
This may result in unexpected gem versions being used in your app.
In rare occasions Bundler may not be able to resolve your dependencies at all.
https://devcenter.heroku.com/articles/bundler-windows-gemfile
-----> Installing dependencies using 1.7.12
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4
Fetching gem metadata from https://rubygems.org/............
Resolving dependencies...
Using rake 10.4.2
Using i18n 0.7.0
Using builder 3.0.4
Using erubis 2.7.0
Using multi_json 1.11.0
Using journey 1.0.4
Using rack 1.4.5
Using hike 1.2.3
Using tilt 1.4.1
Using mime-types 1.25.1
Using polyglot 0.3.5
Using arel 3.0.3
Using tzinfo 0.3.43
Using bundler 1.7.12
Using coffee-script-source 1.9.1.1
Using execjs 2.5.2
Using json 1.8.2
Using thor 0.19.1
Using pg 0.18.1
Using sass 3.4.13
Using rack-cache 1.2
Using rack-test 0.6.3
Using rack-ssl 1.3.4
Using treetop 1.4.15
Using activesupport 3.2.21
Using sprockets 2.2.3
Using rdoc 3.12.2
Using mail 2.5.4
Using activemodel 3.2.21
Using activerecord 3.2.21
Using activeresource 3.2.21
Using actionpack 3.2.21
Using actionmailer 3.2.21
Using railties 3.2.21
Using rails 3.2.21
Using sass-rails 3.2.6
Using jquery-rails 3.1.2
Using coffee-script 2.4.1
Using coffee-rails 3.2.2
Using uglifier 2.7.1
Your bundle is complete!
Gems in the groups development and test were not installed.
It was installed into ./vendor/bundle
Bundle completed (27.09s)
Cleaning up the bundler cache.
-----> Writing config/database.yml to read from DATABASE_URL
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
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 /tmp/build_62b0729b72e189f39d2719f5a6a39ffb/Rakefile:7)
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 /tmp/build_62b0729b72e189f39d2719f5a6a39ffb/Rakefile:7)
Warning. Error encountered while saving cache /tmp/build_62b0729b72e189f39d2719f5a6a39ffb/tmp/cache/sass/fa3b46a24cd2ed44f3a4308a38aea27e493d00ff/home.css.scssc: can't dump anonymous class #<Class:0x007f2f15396c28>
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 /tmp/build_62b0729b72e189f39d2719f5a6a39ffb/Rakefile:7)
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 /tmp/build_62b0729b72e189f39d2719f5a6a39ffb/Rakefile:7)
Warning. Error encountered while saving cache /tmp/build_62b0729b72e189f39d2719f5a6a39ffb/tmp/cache/sass/fa3b46a24cd2ed44f3a4308a38aea27e493d00ff/home.css.scssc: can't dump anonymous class #<Class:0x007f0e74274668>
Asset precompilation completed (15.30s)
###### WARNING:
Injecting plugin 'rails_log_stdout'
###### WARNING:
Injecting plugin 'rails3_serve_static_assets'
###### WARNING:
Add 'rails_12factor' gem to your Gemfile to skip plugin injection
###### WARNING:
You have not declared a Ruby version in your Gemfile.
To set your Ruby version add this line to your Gemfile:
ruby '2.0.0'
# See https://devcenter.heroku.com/articles/ruby-versions for more information.
###### WARNING:
Removing `Gemfile.lock` because it was generated on Windows.
Bundler will do a full resolve so native gems are handled properly.
This may result in unexpected gem versions being used in your app.
In rare occasions Bundler may not be able to resolve your dependencies at all.
https://devcenter.heroku.com/articles/bundler-windows-gemfile
###### WARNING:
No Procfile detected, using the default web server (webrick)
https://devcenter.heroku.com/articles/ruby-default-web-server
-----> Discovering process types
Procfile declares types -> (none)
Default types for Ruby -> console, rake, web, worker
-----> Compressing... done, 26.2MB
-----> Launching... done, v7
https://peaceful-gorge-9214.herokuapp.com/ deployed to Heroku
Thank you for your help in advance.
I have already checked these discussions:
Heroku — "We're sorry, but something went wrong"
Rails 2.3-style plugins and deprecation warnings running task in Heroku
http://www.theodinproject.com/ruby-on-rails/deployment
I don't think that your migration actually ran. There should be some output from running heroku run rake db:migrate after the Running rake db:migrate attached to terminal... up, run.1040 and those depreciation warnings.
Check on your db schema to verify that your migrations ran on your database. Open up the Postgres console with run heroku pg:psql, then \d tablename to check your schema. I'd also check your database config file (config/database.yml) to make sure the production db is set up correctly for postgres.
Hi I am in the midst of Ruby on Rails tutorial. MY pages are rendering perfectly on the localserver but NOT on Heroku. I have run the command "heroku run rake db:migrate". I also have gone through the Heroku logs. I am just not sure how to read them.
I am wondering if it has to do with my stylesheets but I replicated whatever was on my local server to github and heroku so not sure why it can't read it.
I am add a part of the logfile. I wish I could show snapshots but unfortunately I don't have rights to do so.
I would appreciate any help and tips on debugging this problem.
====logfile===========================================
2012-03-19T18:22:42+00:00 heroku[web.1]: State changed from starting to up
2012-03-19T18:22:43+00:00 app[web.1]: => Booting WEBrick
2012-03-19T18:22:43+00:00 app[web.1]: => Rails 3.2.0 application starting in production on http://0.0.0.0:36524
2012-03-19T18:22:43+00:00 app[web.1]: => Call with -d to detach
2012-03-19T18:22:43+00:00 app[web.1]: => Ctrl-C to shutdown server
2012-03-19T18:22:43+00:00 app[web.1]:
2012-03-19T18:22:43+00:00 app[web.1]:
2012-03-19T18:22:43+00:00 app[web.1]: Started GET "/" for 68.81.36.121 at 2012-03-19 18:22:43 +0000
2012-03-19T18:22:44+00:00 app[web.1]: Processing by StaticPagesController#home as HTML
2012-03-19T18:22:44+00:00 app[web.1]: Rendered static_pages/home.html.erb within layouts/application (11.2ms)
2012-03-19T18:22:44+00:00 app[web.1]: Rendered layouts/_shim.html.erb (0.2ms)
2012-03-19T18:22:44+00:00 app[web.1]: Rendered layouts/_header.html.erb (1.9ms)
2012-03-19T18:22:44+00:00 app[web.1]: Rendered layouts/_footer.html.erb (1.5ms)
2012-03-19T18:22:44+00:00 app[web.1]: Completed 200 OK in 76ms (Views: 75.7ms | ActiveRecord: 0.0ms)
2012-03-19T18:22:44+00:00 app[web.1]: cache: [GET /] miss
2012-03-19T18:22:44+00:00 heroku[router]: GET stormy-mist-1232.herokuapp.com/ dyno=web.1 queue=0 wait=0ms service=850ms status=304 bytes=0
2012-03-19T18:22:47+00:00 heroku[web.1]: State changed from up to bouncing
2012-03-19T18:22:47+00:00 heroku[web.1]: State changed from bouncing to created
2012-03-19T18:22:47+00:00 heroku[web.1]: State changed from created to starting
2012-03-19T18:22:51+00:00 heroku[web.1]: Stopping process with SIGTERM
2012-03-19T18:22:51+00:00 app[web.1]: [2012-03-19 18:22:51] ERROR SignalException: SIGTERM
2012-03-19T18:22:51+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/server.rb:90:in `select'
2012-03-19T18:22:55+00:00 heroku[web.1]: Starting process with command bundle exec rails server -p 4160
2012-03-19T18:22:59+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/01/04/rails-3-2-0-rc2-has-been-released." (called from at /app/config/environment.rb:5)
2012-03-19T18:22:59+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/01/04/rails-3-2-0-rc2-has-been-released". (called from at /app/config/environment.rb:5)
2012-03-19T18:23:01+00:00 heroku[web.1]: Stopping process with SIGKILL
2012-03-19T18:23:01+00:00 heroku[web.1]: Error R12 (Exit timeout) -> Process failed to exit within 10 seconds of SIGTERM
2012-03-19T18:23:02+00:00 heroku[web.1]: Process exited with status 137
2012-03-19T18:23:04+00:00 app[web.1]: [2012-03-19 18:23:04] INFO WEBrick 1.3.1
2012-03-19T18:23:04+00:00 app[web.1]: [2012-03-19 18:23:04] INFO ruby 1.9.2 (2011-07-09) [x86_64-linux]
2012-03-19T18:23:04+00:00 app[web.1]: [2012-03-19 18:23:04] INFO WEBrick::HTTPServer#start: pid=1 port=4160
2012-03-19T18:23:05+
I hope you don't mind but I took the liberty of going to your site myself to see what the problem is. The issue is that you're configuring to use the asset pipeline but none of your assets are compiled. You can verify this is the case by visiting your main CSS file -- you'll notice there's nothing at all there.
This is likely because you forgot to include compilation directives at the top of your application.css. See the asset pipeline guide for full details, but I bet you're missing a line like this at the top of your application.css:
*= require_self
*= require_tree .
I had this problem before too, and I think it had something to do with precompiling your css file. Try going into config/environments/production.rb and add this config.assets.precompile += [ "blueprint/*.css" ]. I am assuming you're using the blueprint css file.
After attempting to switch my Rails app to thin server using these instructions, I'm getting getting this error on heroku logs and my app won't start.
2012-03-12T17:00:46+00:00 heroku[web.1]: Starting process with command `bundle exec rails server thin -p 42557 -e production/production`
2012-03-12T17:00:56+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/01/04/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/config/environment.rb:5)
2012-03-12T17:00:56+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/01/04/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/config/environment.rb:5)
2012-03-12T17:00:56+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
2012-03-12T17:01:00+00:00 app[web.1]: => Booting Thin
2012-03-12T17:01:00+00:00 app[web.1]: => Rails 3.2.1 application starting in production on http://0.0.0.0:42557
2012-03-12T17:01:00+00:00 app[web.1]: => Call with -d to detach
2012-03-12T17:01:00+00:00 app[web.1]: => Ctrl-C to shutdown server
2012-03-12T17:01:00+00:00 app[web.1]: Exiting
2012-03-12T17:01:00+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/rack/log_tailer.rb:8:in `size': No such file or directory - log/production/production.log (Errno::ENOENT)
2012-03-12T17:01:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/rack/log_tailer.rb:8:in `initialize'
2012-03-12T17:01:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:295:in `new'
2012-03-12T17:01:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:295:in `block in build_app'
2012-03-12T17:01:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:291:in `reverse_each'
2012-03-12T17:01:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:291:in `build_app'
2012-03-12T17:01:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:301:in `wrapped_app'
2012-03-12T17:01:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:252:in `start'
2012-03-12T17:01:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/commands/server.rb:70:in `start'
2012-03-12T17:01:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/commands.rb:55:in `block in <top (required)>'
2012-03-12T17:01:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/commands.rb:50:in `tap'
2012-03-12T17:01:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/commands.rb:50:in `<top (required)>'
2012-03-12T17:01:00+00:00 app[web.1]: from script/rails:6:in `require'
2012-03-12T17:01:00+00:00 app[web.1]: from script/rails:6:in `<main>'
2012-03-12T17:01:01+00:00 heroku[web.1]: Process exited with status 1
2012-03-12T17:01:01+00:00 heroku[web.1]: State changed from starting to crashed
The actual error that's breaking things seems to be:
No such file or directory - log/production/production.log (Errno::ENOENT)
What do I need to do to make this go away? I even manually added an empty file in log/production/production.log and removed log files from the .gitignore so that it would exist after pushing to Heroku, and I still get the error.
If it helps, here's the repo for the site I'm working on.
Might be related to this issue
https://github.com/ddollar/rails_log_stdout/issues/4
try to remove config.logger = Logger.new(STDOUT) in your config/environment.rb and config/environments/production.rb
Use web: bundle exec rails server thin -p $PORT -e $RAILS_ENV in your Procfile
Resolution: I deleted the procfile (according to this it's not necessary, just recommended for complete control) and things seem to be working alright now. Still not sure what the issue was though.