I've updated my application from Ruby 2.7.7 to Ruby 3.0.5 and from Rails 5.2.0 to Rails 6.0.1.
After updating various Gems and fixing a variety of things I have it running well on my test server but when I try to load the new version on Heroku I get 'Detecting rails configuration failed' and it won't run. I'm guessing there's something in the configuration files that needs to be updated but I need some guidance on where to look next.
Here's the last part of the Heroku build (where it appears to deploy it) followed by the tail from the logs.
remote: Cleaning assets
remote: Running: rake assets:clean
remote: I, [2023-01-09T21:32:10.786716 #2870] INFO -- : Removed bootstrap_and_overrides-f7c23a19b2ec05622b15f940ca67f253265408eb4a2f3ca660f5b033ad48e245.css
remote: I, [2023-01-09T21:32:10.788253 #2870] INFO -- : Removed application-1010b7967d5a1017bdba8493f3b3d3e9075bc5b424b558ecabd87213398cd92f.css
remote: I, [2023-01-09T21:32:10.789685 #2870] INFO -- : Removed agents-5caf8c2fd005858f766d149bf7d2aa8be7855a86b0193a5a1fbb896a228ab4b2.js
remote: I, [2023-01-09T21:32:10.791267 #2870] INFO -- : Removed orders-23fa71cb39213c229aeafcb3a7c1c1ba59ce53eb852dfa5cf0144e4e70b24b97.js
remote: I, [2023-01-09T21:32:10.792582 #2870] INFO -- : Removed application-0050256351ac4c8249013d67374531282699b38524ebd667a3414ee861d5676d.js
remote: -----> Detecting rails configuration
remote:
remote: ###### WARNING:
remote:
remote: Detecting rails configuration failed
remote: set HEROKU_DEBUG_RAILS_RUNNER=1 to debug
remote:
remote:
remote: -----> Discovering process types
remote: Procfile declares types -> web, worker
remote: Default types for buildpack -> console, rake
remote:
remote: -----> Compressing...
remote: Done: 115M
remote: -----> Launching...
remote: Released v1027
remote: https://my-dialog-one.herokuapp.com/ deployed to Heroku
remote:
remote: This app is using the Heroku-20 stack, however a newer stack is available.
remote: To upgrade to Heroku-22, see:
remote: https://devcenter.heroku.com/articles/upgrading-to-the-latest-stack
remote:
remote: Verifying deploy... done.
To https://git.heroku.com/my-dialog-one.git
6342203b..f36589c2 master -> master
mpipkorn#Cherwin:~/rails_projects/release/dialog_one$ heroku logs --tail
› Warning: heroku update available from 7.60.1 to 7.66.2.
2023-01-09T21:33:26.326596+00:00 app[worker.1]: ** [NewRelic][2023-01-09 21:33:26 +0000 worker.1 (4)] INFO : Finished instrumentation
2023-01-09T21:33:26.531902+00:00 app[worker.1]: ** [NewRelic][2023-01-09 21:33:26 +0000 worker.1 (4)] INFO : Reporting to: https://rpm.newrelic.com/accounts/1110950/applications/9340224
2023-01-09T21:33:27.159431+00:00 app[worker.1]: []
2023-01-09T21:33:27.590128+00:00 app[web.1]: Abort testing: Your Rails environment is running in production mode!
2023-01-09T21:33:27.590180+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Starting the New Relic agent version 8.14.0 in "production" environment.
2023-01-09T21:33:27.590185+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : To prevent agent startup add a NEW_RELIC_AGENT_ENABLED=false environment variable or modify the "production" section of your newrelic.yml.
2023-01-09T21:33:27.590186+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Reading configuration from config/newrelic.yml (/app)
2023-01-09T21:33:27.590187+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Environment: production
2023-01-09T21:33:27.590187+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Dispatcher: puma
2023-01-09T21:33:27.590187+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Application: My Application
2023-01-09T21:33:27.590188+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Deferring startup of agent reporting thread because puma may fork.
2023-01-09T21:33:27.590188+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing ActiveJob instrumentation
2023-01-09T21:33:27.590189+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing notifications based Active Record instrumentation
2023-01-09T21:33:27.590189+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing ActiveStorage instrumentation
2023-01-09T21:33:27.590189+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing ActiveSupport::Logger instrumentation
2023-01-09T21:33:27.590189+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing New Relic supported ActiveSupportLogger instrumentation using Prepend
2023-01-09T21:33:27.590189+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing Curb instrumentation
2023-01-09T21:33:27.590190+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing New Relic supported Easy instrumentation using Prepend
2023-01-09T21:33:27.590190+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing New Relic supported Multi instrumentation using Prepend
2023-01-09T21:33:27.590190+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing middleware-based Excon instrumentation
2023-01-09T21:33:27.590190+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing Logger instrumentation
2023-01-09T21:33:27.590191+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing New Relic supported Logger instrumentation using Prepend
2023-01-09T21:33:27.590191+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing Net:HTTP Wrappers
2023-01-09T21:33:27.590191+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing New Relic supported NetHTTP instrumentation using MethodChaining
2023-01-09T21:33:27.590191+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing New Relic supported Rack instrumentation using Prepend
2023-01-09T21:33:27.590191+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing New Relic supported Rack instrumentation using Prepend
2023-01-09T21:33:27.590192+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing New Relic supported URLMap instrumentation using Prepend
2023-01-09T21:33:27.590192+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing Rails 3+ middleware instrumentation
2023-01-09T21:33:27.590192+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing Redis Instrumentation
2023-01-09T21:33:27.590192+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing New Relic supported Redis instrumentation using Prepend
2023-01-09T21:33:27.590192+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing Sidekiq instrumentation
2023-01-09T21:33:27.590192+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing Thread Instrumentation
2023-01-09T21:33:27.590193+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing New Relic supported MonitoredThread instrumentation using Prepend
2023-01-09T21:33:27.590193+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing Tilt instrumentation
2023-01-09T21:33:27.590193+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing New Relic supported Tilt instrumentation using Prepend
2023-01-09T21:33:27.590193+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing notifications based Action Cable instrumentation
2023-01-09T21:33:27.590193+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing notifications based Action Controller instrumentation
2023-01-09T21:33:27.590193+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Installing notification based Action View instrumentation
2023-01-09T21:33:27.590193+00:00 app[web.1]: ** [NewRelic][2023-01-09 21:33:25 +0000 web.1 (4)] INFO : Finished instrumentation
2023-01-09T21:33:27.590195+00:00 app[web.1]: []
2023-01-09T21:33:27.590195+00:00 app[web.1]: [4] ! Unable to load application: SystemExit: Abort testing: Your Rails environment is running in production mode!
2023-01-09T21:33:27.728183+00:00 heroku[web.1]: Process exited with status 1
2023-01-09T21:33:27.796943+00:00 heroku[web.1]: State changed from starting to crashed
2023-01-09T21:33:27.826762+00:00 app[worker.1]: Abort testing: Your Rails environment is running in production mode!
2023-01-09T21:33:27.827042+00:00 app[worker.1]: ** [NewRelic][2023-01-09 21:33:27 +0000 worker.1 (4)] INFO : Starting Agent shutdown
2023-01-09T21:33:28.141879+00:00 heroku[worker.1]: Process exited with status 1
2023-01-09T21:33:28.187020+00:00 heroku[worker.1]: State changed from up to crashed
2023-01-09T21:33:41.000000+00:00 app[heroku-postgres]: source=HEROKU_POSTGRESQL_BLACK addon=postgresql-slippery-1471 sample#current_transaction=128271 sample#db_size=64830599bytes sample#tables=105 sample#active-connections=11 sample#waiting-connections=0 sample#index-cache-hit-rate=0.99984 sample#table-cache-hit-rate=0.99997 sample#load-avg-1m=0 sample#load-avg-5m=0 sample#load-avg-15m=0 sample#read-iops=0 sample#write-iops=0.22449 sample#tmp-disk-used=543600640 sample#tmp-disk-available=72435191808 sample#memory-total=8038316kB sample#memory-free=2287912kB sample#memory-cached=4691872kB sample#memory-postgres=22348kB sample#wal-percentage-used=0.06502552817748675
2023-01-09T21:33:43.895111+00:00 heroku[web.2]: Starting process with command `bundle exec puma -C config/puma.rb`
2023-01-09T21:33:45.101204+00:00 app[web.2]: [4] Puma starting in cluster mode...
2023-01-09T21:33:45.101232+00:00 app[web.2]: [4] * Puma version: 6.0.2 (ruby 3.0.5-p211) ("Sunflower")
2023-01-09T21:33:45.101232+00:00 app[web.2]: [4] * Min threads: 1
2023-01-09T21:33:45.101234+00:00 app[web.2]: [4] * Max threads: 1
2023-01-09T21:33:45.101251+00:00 app[web.2]: [4] * Environment: production
2023-01-09T21:33:45.101268+00:00 app[web.2]: [4] * Master PID: 4
2023-01-09T21:33:45.101283+00:00 app[web.2]: [4] * Workers: 2
2023-01-09T21:33:45.101306+00:00 app[web.2]: [4] * Restarts: (✔) hot (✖) phased
2023-01-09T21:33:45.101320+00:00 app[web.2]: [4] * Preloading application
2023-01-09T21:33:49.857555+00:00 app[web.2]: Abort testing: Your Rails environment is running in production mode!
2023-01-09T21:33:49.857628+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Starting the New Relic agent version 8.14.0 in "production" environment.
2023-01-09T21:33:49.857628+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : To prevent agent startup add a NEW_RELIC_AGENT_ENABLED=false environment variable or modify the "production" section of your newrelic.yml.
2023-01-09T21:33:49.857629+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Reading configuration from config/newrelic.yml (/app)
2023-01-09T21:33:49.857629+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Environment: production
2023-01-09T21:33:49.857629+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Dispatcher: puma
2023-01-09T21:33:49.857630+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Application: My Application
2023-01-09T21:33:49.857630+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Deferring startup of agent reporting thread because puma may fork.
2023-01-09T21:33:49.857630+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing ActiveJob instrumentation
2023-01-09T21:33:49.857630+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing notifications based Active Record instrumentation
2023-01-09T21:33:49.857631+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing ActiveStorage instrumentation
2023-01-09T21:33:49.857631+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing ActiveSupport::Logger instrumentation
2023-01-09T21:33:49.857631+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing New Relic supported ActiveSupportLogger instrumentation using Prepend
2023-01-09T21:33:49.857631+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing Curb instrumentation
2023-01-09T21:33:49.857632+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing New Relic supported Easy instrumentation using Prepend
2023-01-09T21:33:49.857632+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing New Relic supported Multi instrumentation using Prepend
2023-01-09T21:33:49.857632+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing middleware-based Excon instrumentation
2023-01-09T21:33:49.857632+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing Logger instrumentation
2023-01-09T21:33:49.857632+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing New Relic supported Logger instrumentation using Prepend
2023-01-09T21:33:49.857632+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing Net:HTTP Wrappers
2023-01-09T21:33:49.857633+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing New Relic supported NetHTTP instrumentation using MethodChaining
2023-01-09T21:33:49.857633+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing New Relic supported Rack instrumentation using Prepend
2023-01-09T21:33:49.857633+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing New Relic supported Rack instrumentation using Prepend
2023-01-09T21:33:49.857633+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing New Relic supported URLMap instrumentation using Prepend
2023-01-09T21:33:49.857633+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing Rails 3+ middleware instrumentation
2023-01-09T21:33:49.857633+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing Redis Instrumentation
2023-01-09T21:33:49.857634+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing New Relic supported Redis instrumentation using Prepend
2023-01-09T21:33:49.857634+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing Sidekiq instrumentation
2023-01-09T21:33:49.857634+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing Thread Instrumentation
2023-01-09T21:33:49.857634+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing New Relic supported MonitoredThread instrumentation using Prepend
2023-01-09T21:33:49.857634+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing Tilt instrumentation
2023-01-09T21:33:49.857636+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing New Relic supported Tilt instrumentation using Prepend
2023-01-09T21:33:49.857636+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing notifications based Action Cable instrumentation
2023-01-09T21:33:49.857636+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing notifications based Action Controller instrumentation
2023-01-09T21:33:49.857636+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Installing notification based Action View instrumentation
2023-01-09T21:33:49.857637+00:00 app[web.2]: ** [NewRelic][2023-01-09 21:33:48 +0000 web.2 (4)] INFO : Finished instrumentation
2023-01-09T21:33:49.857637+00:00 app[web.2]: []
2023-01-09T21:33:49.857637+00:00 app[web.2]: [4] ! Unable to load application: SystemExit: Abort testing: Your Rails environment is running in production mode!
2023-01-09T21:33:50.017411+00:00 heroku[web.2]: Process exited with status 1
2023-01-09T21:33:50.082930+00:00 heroku[web.2]: State changed from starting to crashed
2023-01-09T21:33:51.411767+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/orders/8632?locale=en" host=my.dialog-one.com request_id=63af2bae-541c-4112-9f59-916b39522969 fwd="63.228.0.79" dyno= connect= service= status=503 bytes= protocol=https
2023-01-09T21:33:51.605410+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=my.dialog-one.com request_id=9734b43e-cb6e-47d8-b2a4-d0d2e1a33363 fwd="63.228.0.79" dyno= connect= service= status=503 bytes= protocol=https
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 have a gem (rails-latex) that is not functioning correctly on my app deployed to Heroku but works fine on my local app. I succeeded in installing pdflatex on Heroku so that is not the issue.
To debug this further, I would need to see the log file described in the Heroku logs
2014-03-23T04:32:21.431646+00:00 app[web.1]: This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
2014-03-23T04:32:21.431646+00:00 app[web.1]: \write18 enabled.
2014-03-23T04:32:21.450999+00:00 app[web.1]: entering extended mode
2014-03-23T04:32:21.458053+00:00 app[web.1]: Completed 500 Internal Server Error in 124ms
2014-03-23T04:32:21.458309+00:00 app[web.1]: Completed 500 Internal Server Error in 124ms
2014-03-23T04:32:21.462550+00:00 app[web.1]:
2014-03-23T04:32:21.462550+00:00 app[web.1]: ActionView::Template::Error (pdflatex failed: See /app/tmp/rails-latex/2--2591673647893672512/input.log for details):
2014-03-23T04:32:21.462550+00:00 app[web.1]: 8: \end{document}
2014-03-23T04:32:21.462550+00:00 app[web.1]: 7:
2014-03-23T04:32:21.462550+00:00 app[web.1]: app/views/layouts/menu.pdf.erbtex:9:in `_app_views_layouts_menu_pdf_erbtex___4209895480759438810_30701180'
2014-03-23T04:32:21.462550+00:00 app[web.1]: app/controllers/restaurants_controller.rb:29:in `menu'
2014-03-23T04:32:21.463589+00:00 app[web.1]: 7:
2014-03-23T04:32:21.463589+00:00 app[web.1]: 8: \end{document}
2014-03-23T04:32:21.462550+00:00 app[web.1]: 6: <%= yield %>
2014-03-23T04:32:21.462550+00:00 app[web.1]:
2014-03-23T04:32:21.463589+00:00 app[web.1]: app/views/layouts/menu.pdf.erbtex:9:in `_app_views_layouts_menu_pdf_erbtex___4209895480759438810_30701180'
2014-03-23T04:32:21.463589+00:00 app[web.1]:
2014-03-23T04:32:21.462550+00:00 app[web.1]:
2014-03-23T04:32:21.463589+00:00 app[web.1]: app/controllers/restaurants_controller.rb:29:in `menu'
2014-03-23T04:32:21.463589+00:00 app[web.1]:
2014-03-23T04:32:21.463589+00:00 app[web.1]:
2014-03-23T04:32:21.463589+00:00 app[web.1]: 6: <%= yield %>
2014-03-23T04:32:21.463589+00:00 app[web.1]: ActionView::Template::Error (pdflatex failed: See /app/tmp/rails-latex/2--2591673647893672512/input.log for details):
But since changes to Heroku's filesystem are not saved, I cannot view the input.log file. Is there any way to read this file or redirect it to the heroku logs?
You can look at the filesystem but just know that it would differ across dynos (if you've been writing files) and it will be lost when the dyno is restarted or the application is deployed.
To look at the file system perform:
heroku run bash
and you should be placed at the bash prompt for your application
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.