$ rails server -e development
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/fileutils.rb:90: warning: already initialized constant FileUtils::VERSION
/usr/local/lib/ruby/gems/2.5.0/gems/fileutils-1.1.0/lib/fileutils.rb:92: warning: previous definition of VERSION was here
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/fileutils.rb:1188: warning: already initialized constant FileUtils::Entry_::S_IF_DOOR
/usr/local/lib/ruby/gems/2.5.0/gems/fileutils-1.1.0/lib/fileutils.rb:1267: warning: previous definition of S_IF_DOOR was here
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/fileutils.rb:1446: warning: already initialized constant FileUtils::Entry_::DIRECTORY_TERM
/usr/local/lib/ruby/gems/2.5.0/gems/fileutils-1.1.0/lib/fileutils.rb:1541: warning: previous definition of DIRECTORY_TERM was here
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/fileutils.rb:1448: warning: already initialized constant FileUtils::Entry_::SYSCASE
/usr/local/lib/ruby/gems/2.5.0/gems/fileutils-1.1.0/lib/fileutils.rb:1543: warning: previous definition of SYSCASE was here
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/fileutils.rb:1501: warning: already initialized constant FileUtils::OPT_TABLE
/usr/local/lib/ruby/gems/2.5.0/gems/fileutils-1.1.0/lib/fileutils.rb:1596: warning: previous definition of OPT_TABLE was here
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/fileutils.rb:1555: warning: already initialized constant FileUtils::LOW_METHODS
/usr/local/lib/ruby/gems/2.5.0/gems/fileutils-1.1.0/lib/fileutils.rb:1650: warning: previous definition of LOW_METHODS was here
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/fileutils.rb:1562: warning: already initialized constant FileUtils::METHODS
/usr/local/lib/ruby/gems/2.5.0/gems/fileutils-1.1.0/lib/fileutils.rb:1657: warning: previous definition of METHODS was here
WARNING: Nokogiri was built against LibXML version 2.9.4, but has dynamically loaded 2.8.0
=> Booting Puma
=> Rails 5.2.0 application starting in development
=> Run `rails server -h` for more startup options
[59285] Puma starting in cluster mode...
[59285] * Version 3.6.2 (ruby 2.5.1-p57), codename: Sleepy Sunday Serenity
[59285] * Min threads: 5, max threads: 5
[59285] * Environment: development
[59285] * Process workers: 1
[59285] * Preloading application
[59285] * Listening on tcp://localhost:3000
[59285] Use Ctrl-C to stop
[59285] - Worker 0 (pid: 59305) booted, phase: 0
source=rack-timeout id=a30cb83a-2e51-4b0c-b4eb-b70e7007e994 timeout=5000ms state=ready
source=rack-timeout id=a30cb83a-2e51-4b0c-b4eb-b70e7007e994 timeout=5000ms service=1ms state=active
source=rack-timeout id=a30cb83a-2e51-4b0c-b4eb-b70e7007e994 timeout=15000ms service=1ms state=ready
source=rack-timeout id=a30cb83a-2e51-4b0c-b4eb-b70e7007e994 timeout=15000ms service=0ms state=active
Started GET "/" for ::1 at 2018-06-13 15:19:51 -0500
(1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
Processing by Rails::WelcomeController#index as HTML
Rendering /usr/local/lib/ruby/gems/2.5.0/gems/railties- 5.2.0/lib/rails/templates/rails/welcome/index.html.erb
Rendered /usr/local/lib/ruby/gems/2.5.0/gems/railties-5.2.0/lib/rails/templates/rails/welcome/index.html.erb (3.4ms)
Completed 200 OK in 10ms (Views: 7.3ms | ActiveRecord: 0.0ms)
source=rack-timeout id=a30cb83a-2e51-4b0c-b4eb-b70e7007e994 timeout=15000ms service=88ms state=completed
source=rack-timeout id=a30cb83a-2e51-4b0c-b4eb-b70e7007e994 timeout=15000ms service=90ms state=completed
source=rack-timeout id=70869e53-6fb0-4862-995f-eb7cbc63cbf0 timeout=5000ms state=ready
source=rack-timeout id=70869e53-6fb0-4862-995f-eb7cbc63cbf0 timeout=5000ms service=0ms state=active
source=rack-timeout id=70869e53-6fb0-4862-995f-eb7cbc63cbf0 timeout=15000ms service=0ms state=ready
source=rack-timeout id=70869e53-6fb0-4862-995f-eb7cbc63cbf0 timeout=15000ms service=0ms state=active
Started GET "/" for ::1 at 2018-06-13 15:20:01 -0500
Processing by Rails::WelcomeController#index as HTML
Rendering /usr/local/lib/ruby/gems/2.5.0/gems/railties-5.2.0/lib/rails/templates/rails/welcome/index.html.erb
Rendered /usr/local/lib/ruby/gems/2.5.0/gems/railties-5.2.0/lib/rails/templates/rails/welcome/index.html.erb (2.3ms)
Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.0ms)
source=rack-timeout id=70869e53-6fb0-4862-995f-eb7cbc63cbf0 timeout=15000ms service=16ms state=completed
source=rack-timeout id=70869e53-6fb0-4862-995f-eb7cbc63cbf0 timeout=15000ms service=17ms state=completed
How to I get to the ROR app. Like it looks like the live site.
https://pcms.herokuapp.com/login
The app was designed by a previous developer in 2013. I just received the files two weeks ago. Having to update everything to latest versions of everything. I've added the database into the pgAdmin4.
I need to be able to see the changes in the localhost before pushing to heroku platform.
routes.rb
Rails.application.routes.draw do
get 'welcome/index'
resources :feedbacks, only: [:post]
YES I am in the App Directory
EDITED
$bin/rails s
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/fileutils.rb:90: warning: already initialized constant FileUtils::VERSION
/usr/local/lib/ruby/gems/2.5.0/gems/fileutils-1.1.0/lib/fileutils.rb:92: warning: previous definition of VERSION was here
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/fileutils.rb:1188: warning: already initialized constant FileUtils::Entry_::S_IF_DOOR
/usr/local/lib/ruby/gems/2.5.0/gems/fileutils-1.1.0/lib/fileutils.rb:1267: warning: previous definition of S_IF_DOOR was here
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/fileutils.rb:1446: warning: already initialized constant FileUtils::Entry_::DIRECTORY_TERM
/usr/local/lib/ruby/gems/2.5.0/gems/fileutils-1.1.0/lib/fileutils.rb:1541: warning: previous definition of DIRECTORY_TERM was here
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/fileutils.rb:1448: warning: already initialized constant FileUtils::Entry_::SYSCASE
/usr/local/lib/ruby/gems/2.5.0/gems/fileutils-1.1.0/lib/fileutils.rb:1543: warning: previous definition of SYSCASE was here
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/fileutils.rb:1501: warning: already initialized constant FileUtils::OPT_TABLE
/usr/local/lib/ruby/gems/2.5.0/gems/fileutils-1.1.0/lib/fileutils.rb:1596: warning: previous definition of OPT_TABLE was here
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/fileutils.rb:1555: warning: already initialized constant FileUtils::LOW_METHODS
/usr/local/lib/ruby/gems/2.5.0/gems/fileutils-1.1.0/lib/fileutils.rb:1650: warning: previous definition of LOW_METHODS was here
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/fileutils.rb:1562: warning: already initialized constant FileUtils::METHODS
/usr/local/lib/ruby/gems/2.5.0/gems/fileutils-1.1.0/lib/fileutils.rb:1657: warning: previous definition of METHODS was here
WARNING: Nokogiri was built against LibXML version 2.9.4, but has dynamically loaded 2.8.0
=> Booting Puma
=> Rails 5.2.0 application starting in development
=> Run `rails server -h` for more startup options
[62183] Puma starting in cluster mode...
[62183] * Version 3.6.2 (ruby 2.5.1-p57), codename: Sleepy Sunday Serenity
[62183] * Min threads: 5, max threads: 5
[62183] * Environment: development
[62183] * Process workers: 1
[62183] * Preloading application
[62183] * Listening on tcp://localhost:3000
[62183] Use Ctrl-C to stop
[62183] - Worker 0 (pid: 62203) booted, phase: 0
source=rack-timeout id=9a3731c3-b99e-49b9-8e7e-026d791a8879 timeout=5000ms state=ready
source=rack-timeout id=9a3731c3-b99e-49b9-8e7e-026d791a8879 timeout=5000ms service=1ms state=active
source=rack-timeout id=9a3731c3-b99e-49b9-8e7e-026d791a8879 timeout=15000ms service=1ms state=ready
source=rack-timeout id=9a3731c3-b99e-49b9-8e7e-026d791a8879 timeout=15000ms service=4ms state=active
Started GET "/" for ::1 at 2018-06-13 20:28:22 -0500
(1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
Processing by Rails::WelcomeController#index as HTML
Rendering /usr/local/lib/ruby/gems/2.5.0/gems/railties-5.2.0/lib/rails/templates/rails/welcome/index.html.erb
Rendered /usr/local/lib/ruby/gems/2.5.0/gems/railties-5.2.0/lib/rails/templates/rails/welcome/index.html.erb (3.2ms)
Completed 200 OK in 11ms (Views: 8.0ms | ActiveRecord: 0.0ms)
source=rack-timeout id=9a3731c3-b99e-49b9-8e7e-026d791a8879 timeout=15000ms service=84ms state=completed
source=rack-timeout id=9a3731c3-b99e-49b9-8e7e-026d791a8879 timeout=15000ms service=86ms state=completed
I'm trying to deploy Grails application to Heroku for the first time , and it's successfully deployed as per their log :
|Done creating WAR target/PatientBoards-0.1.war
-----> No server directory found. Adding webapp-runner 7.0.57.2 automatically.
-----> Discovering process types
Procfile declares types -> (none)
Default types for buildpack -> web
-----> Compressing... done, 132.4MB
-----> Launching... done, v5
https://patientboards.herokuapp.com/ deployed to Heroku
But when I go to https://patientboards.herokuapp.com the page is blank ! although i tried it locally and the application is working fine .
i found this in the log:
2015-11-24T23:22:38.752616+00:00 app[web.1]: INFO: Illegal access: this web application instance has been stopped already. Could not load net.sf.ehcache.store.disk.DiskStore$KeySet. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
2015-11-24T23:22:38.752617+00:00 app[web.1]: java.lang.IllegalStateException
2015-11-24T23:22:38.752618+00:00 app[web.1]: at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1612)
2015-11-24T23:22:38.752618+00:00 app[web.1]: at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
2015-11-24T23:22:38.752619+00:00 app[web.1]: at net.sf.ehcache.store.disk.DiskStore.keySet(DiskStore.java:610)
2015-11-24T23:22:38.752624+00:00 app[web.1]: at net.sf.ehcache.store.disk.DiskStorageFactory$DiskExpiryTask.run(DiskStorageFactory.java:817)
2015-11-24T23:22:38.752625+00:00 app[web.1]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
2015-11-24T23:22:38.752647+00:00 app[web.1]: at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
2015-11-24T23:22:38.752648+00:00 app[web.1]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
2015-11-24T23:22:38.752648+00:00 app[web.1]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
2015-11-24T23:22:38.752649+00:00 app[web.1]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
2015-11-24T23:22:38.752649+00:00 app[web.1]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
2015-11-24T23:22:38.752650+00:00 app[web.1]: at java.lang.Thread.run(Thread.java:745)
2015-11-24T23:22:38.752651+00:00 app[web.1]:
2015-11-24T23:25:38.811300+00:00 app[web.1]: Nov 24, 2015 11:25:38 PM org.apache.catalina.loader.WebappClassLoader loadClass
2015-11-24T23:25:38.811307+00:00 app[web.1]: INFO: Illegal access: this web application instance has been stopped already. Could not load net.sf.ehcache.util.concurrent.ConcurrentHashMap$ValueIterator. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
2015-11-24T23:25:38.811309+00:00 app[web.1]: java.lang.IllegalStateException
2015-11-24T23:25:38.811310+00:00 app[web.1]: at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1612)
2015-11-24T23:25:38.811311+00:00 app[web.1]: at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
2015-11-24T23:25:38.811312+00:00 app[web.1]: at net.sf.ehcache.util.concurrent.ConcurrentHashMap$ValuesView.iterator(ConcurrentHashMap.java:3252)
2015-11-24T23:25:38.811312+00:00 app[web.1]: at net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl$1.run(ExtendedStatisticsImpl.java:104)
2015-11-24T23:25:38.811313+00:00 app[web.1]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
2015-11-24T23:25:38.811314+00:00 app[web.1]: at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
2015-11-24T23:25:38.811315+00:00 app[web.1]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
2015-11-24T23:25:38.811315+00:00 app[web.1]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
2015-11-24T23:25:38.811316+00:00 app[web.1]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
2015-11-24T23:25:38.811317+00:00 app[web.1]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
2015-11-24T23:25:38.811318+00:00 app[web.1]: at java.lang.Thread.run(Thread.java:745)
2015-11-24T23:25:38.811319+00:00 app[web.1]:
2015-11-24T23:27:24.541959+00:00 heroku[router]: at=info method=GET path="/" host=patientboards.herokuapp.com request_id=264982a9-7c89-492d-bf01-0aa72639cd75 fwd="176.61.71.119" dyno=web.1 connect=0ms service=28ms status=404 bytes=128
Am I missing something ?
Thanks
I've started using New Relic, and since then my Heroku Logs have become unreadable. The below are my logs. How can I fix this?
2015-01-15T12:18:09.178945+00:00 app[web.1]: [2015-01-15 12:18:09] INFO going to shutdown ...
2015-01-15T12:18:10.382987+00:00 app[web.1]: => Booting WEBrick
2015-01-15T12:18:10.383016+00:00 app[web.1]: ** [NewRelic][01/15/15 07:19:51 +0000 web.1 (3)] INFO : Installing Rack::Builder middleware instrumentation
2015-01-15T12:18:10.383017+00:00 app[web.1]: ** [NewRelic][01/15/15 07:19:51 +0000 web.1 (3)] INFO : Installing ActiveRecord 4 instrumentation
2015-01-15T12:18:10.382995+00:00 app[web.1]: => Rails 4.1.6 application starting in production on http://XXXXX //commented out
2015-01-15T12:18:10.383055+00:00 app[web.1]: ** [NewRelic][01/15/15 07:19:51 +0000 web.1 (3)] INFO : Installing Rails 3+ middleware instrumentation
2015-01-15T12:18:10.382997+00:00 app[web.1]: => Run `rails server -h` for more startup options
2015-01-15T12:18:10.383013+00:00 app[web.1]: ** [NewRelic][01/15/15 07:19:51 +0000 web.1 (3)] INFO : Application: XXXXXX.heroku.app.com //commented out
2015-01-15T12:18:10.382999+00:00 app[web.1]: => Notice: server is listening on all i interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
2015-01-15T12:18:10.383003+00:00 app[web.1]: ** [NewRelic][01/15/15 07:19:51 +0000 web.1 (3)] INFO : Starting the New Relic agent in "production" environment.
2015-01-15T12:18:10.383001+00:00 app[web.1]: => Ctrl-C to shutdown server
2015-01-15T12:18:10.383011+00:00 app[web.1]: ** [NewRelic][01/15/15 07:19:51 +0000 web.1 (3)] INFO : Dispatcher: webrick
2015-01-15T12:18:10.383062+00:00 app[web.1]: ** [NewRelic][01/15/15 07:19:51 +0000 web.1 (3)] INFO : Installing Rails 4 view instrumentation
2015-01-15T12:18:10.383067+00:00 app[web.1]: ** [NewRelic][01/15/15 07:19:52 +0000 web.1 (3)] INFO : Doing deferred dependency-detection before Rack startup
2015-01-15T12:18:10.383005+00:00 app[web.1]: ** [NewRelic][01/15/15 07:19:51 +0000 web.1 (3)] INFO : To prevent agent startup add a NEWRELIC_AGENT_ENABLED=false environment variable or modify the "production" section of your newrelic.yml.
2015-01-15T12:18:10.383008+00:00 app[web.1]: ** [NewRelic][01/15/15 07:19:51 +0000 web.1 (3)] INFO : Reading configuration from config/newrelic.yml (/app)
2015-01-15T12:18:10.383059+00:00 app[web.1]: ** [NewRelic][01/15/15 07:19:51 +0000 web.1 (3)] INFO : Installing Rails 4 Error instrumentation
2015-01-15T12:18:10.383010+00:00 app[web.1]: ** [NewRelic][01/15/15 07:19:51 +0000 web.1 (3)] INFO : Environment: production
2015-01-15T12:18:10.383014+00:00 app[web.1]: ** [NewRelic][01/15/15 07:19:51 +0000 web.1 (3)] INFO : Installing deferred Rack instrumentation
2015-01-15T12:18:10.383061+00:00 app[web.1]: ** [NewRelic][01/15/15 07:19:51 +0000 web.1 (3)] INFO : Installing Rails 4 Controller instrumentation
2015-01-15T12:18:10.383065+00:00 app[web.1]: ** [NewRelic][01/15/15 07:19:51 +0000 web.1 (3)] INFO : Reporting to: https://rpm.newrelic.com/accounts/XXXX/applications/XXXX //commen
2015-01-15T12:18:10.383058+00:00 app[web.1]: ** [NewRelic][01/15/15 07:19:51 +0000 web.1 (3)] INFO : Installing Net instrumentation
2015-01-15T12:18:10.383063+00:00 app[web.1]: ** [NewRelic][01/15/15 07:19:51 +0000 web.1 (3)] INFO : Finished instrumentation
2015-01-15T12:18:10.383068+00:00 app[web.1]: Exiting
2015-01-15T12:18:10.383070+00:00 app[web.1]: ** [NewRelic][01/15/15 12:18:09 +0000 web.1 (3)] INFO : Starting Agent shutdown
2015-01-15T12:18:11.875997+00:00 heroku[web.1]: Process exited with status 143
2015-01-15T19:11:18.706989+00:00 heroku[web.1]: State changed from down to starting
2 things may help here:
Turn logging down to warn.
use $ grep -vi relic when looking at logs
If you have any further questions please reach out to us at support.newrelic.com
We cannot clear the cache on Heroku despite trying Rails.cache.clear and rake tmp:clear.
Help?
Console output and errors:
irb(main):001:0> rake tmp:clear
NameError: undefined local variable or method `clear' for main:Object
from (irb):1
from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/commands/console.rb:47:in `start'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/commands/console.rb:8:in `start'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/commands.rb:41:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
irb(main):002:0> Rails.cache.clear
Errno::ENOENT: No such file or directory - /app/tmp/cache/
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/cache/file_store.rb:26:in `open'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/cache/file_store.rb:26:in `entries'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/cache/file_store.rb:26:in `clear'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/cache/strategy/local_cache.rb:88:in `clear'
from (irb):2
from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/commands/console.rb:47:in `start'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/commands/console.rb:8:in `start'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/commands.rb:41:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
irb(main):003:0> exit
wc:~ c$ heroku run --app p-g rails runner -e production Rails.cache.clear
Running `rails runner -e production Rails.cache.clear` attached to terminal... up, run.6955
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)
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)
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] INFO : NEW_RELIC_LOG does not have a corresponding configuration setting (log does not exist).
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] INFO : Run `rake newrelic:config:docs` or visit https://newrelic.com/docs/ruby/ruby-agent-configuration to see a list of available configuration settings.
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] INFO : Starting the New Relic agent in "production" environment.
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] INFO : To prevent agent startup add a NEWRELIC_ENABLE=false environment variable or modify the "production" section of your newrelic.yml.
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] INFO : Reading configuration from
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] ERROR : Unable to read configuration file : Is a directory - /app
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] INFO : Enabling the Request Sampler.
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] INFO : Environment: production
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] INFO : No known dispatcher detected.
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] INFO : Application: production
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] WARN : Refusing to re-register DependencyDetection block with name 'typhoeus'
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] WARN : Refusing to re-register DependencyDetection block with name 'curb'
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] INFO : Installing Mongo instrumentation
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] INFO : Installing deferred Rack instrumentation
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] INFO : Installing Unicorn instrumentation
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] INFO : Detected Unicorn, please see additional documentation: https://newrelic.com/docs/troubleshooting/im-using-unicorn-and-i-dont-see-any-data
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] INFO : Installing Net instrumentation
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] INFO : Installing Rails 3 Controller instrumentation
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] INFO : Installing Rails 3.1/3.2 view instrumentation
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] INFO : Installing Rails3 Error instrumentation
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] INFO : Finished instrumentation
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] INFO : Starting the New Relic agent in "production" environment.
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] INFO : To prevent agent startup add a NEWRELIC_ENABLE=false environment variable or modify the "production" section of your newrelic.yml.
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] INFO : Reading configuration from
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] ERROR : Unable to read configuration file : Is a directory - /app
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] INFO : Reporting to: https://rpm.newrelic.com/accounts/401477/applications/2403960
** [NewRelic][12/31/13 08:30:23 +0000 868d7dfd-65ca-43c7-b727-eb36055b9d2d (2)] INFO : Starting Agent shutdown
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/commands/runner.rb:53:in `eval': No such file or directory - /app/tmp/cache/ (Errno::ENOENT)
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/cache/file_store.rb:26:in `entries'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/cache/file_store.rb:26:in `clear'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/cache/strategy/local_cache.rb:88:in `clear'
from (eval):1:in `<top (required)>'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/commands/runner.rb:53:in `eval'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/commands/runner.rb:53:in `<top (required)>'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/commands.rb:64:in `require'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/commands.rb:64:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
You have to run
heroku run rake tmp:create
first.
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.