I'm following the rails tutorial at railstutorial.org. My next step was to deploy my app to Heroku. When I deploy the app to Heroku, it gives me an error message saying:
An error occurred in the application and your page could not be served. Please try again in a few moments.
If you are the application owner, check your logs for details.
Here are my Heroku log files:
Your version of git is 1.9.4.. Which has serious security vulnerabilities.
More information here: https://blog.heroku.com/archives/2014/12/23/update_your_git_clients_on_windows_and_os_x
2015-10-15T23:33:50.886651+00:00 heroku[web.1]: State changed from starting to crashed
2015-10-15T23:36:42.674698+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=lit-coast-3953.herokuapp.com request_id=cbb2ea7f-a774-4ab2-960f-9c0e0717a8ea fwd="172.79.90.237" dyno= connect= service= status=503 bytes=
2015-10-15T23:36:43.560640+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=lit-coast-3953.herokuapp.com request_id=28defc83-3012-457b-985d-3b46acc61248 fwd="172.79.90.237" dyno= connect= service= status=503 bytes=
2015-10-15T23:39:07.288428+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=lit-coast-3953.herokuapp.com request_id=4ba7be07-c257-4b2a-b3f6-d67e38349eed fwd="172.79.90.237" dyno= connect= service= status=503 bytes=
2015-10-15T23:39:07.434790+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=lit-coast-3953.herokuapp.com request_id=94ba475b-1100-46ae-9a1c-400ba24da2f0 fwd="172.79.90.237" dyno= connect= service= status=503 bytes=
2015-10-15T23:39:24.953214+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=lit-coast-3953.herokuapp.com request_id=d76bc985-4a0c-4e38-91a9-0aee8a55951f fwd="172.79.90.237" dyno= connect= service= status=503 bytes=
2015-10-15T23:39:25.362551+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=lit-coast-3953.herokuapp.com request_id=a09efac9-dd70-4035-a402-d0960af92549 fwd="172.79.90.237" dyno= connect= service= status=503 bytes=
2015-10-15T23:57:26.983461+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 7986 -e production`
2015-10-15T23:57:24.121569+00:00 heroku[web.1]: State changed from crashed to starting
2015-10-15T23:57:30.953715+00:00 app[web.1]: => Booting Puma
2015-10-15T23:57:30.953742+00:00 app[web.1]: => Rails 4.2.4 application starting in production on http://0.0.0.0:7986
2015-10-15T23:57:30.953743+00:00 app[web.1]: => Run `rails server -h` for more startup options
2015-10-15T23:57:30.953744+00:00 app[web.1]: => Ctrl-C to shutdown server
2015-10-15T23:57:31.860563+00:00 app[web.1]: Exiting
2015-10-15T23:57:31.862117+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/dynamic_matchers.rb:26:in `method_missing': undefined local variable or method `has_secured_password' for User (call 'User.connection' to establish a connection):Class (NameError)
2015-10-15T23:57:31.862138+00:00 app[web.1]: from /app/app/models/user.rb:8:in `<class:User>'
2015-10-15T23:57:31.862156+00:00 app[web.1]: from /app/app/models/user.rb:1:in `<top (required)>'
2015-10-15T23:57:31.862177+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
2015-10-15T23:57:31.862195+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `block in require'
2015-10-15T23:57:31.862208+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency' 2015-10-15T23:57:31.862224+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
2015-10-15T23:57:31.862239+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:360:in `require_or_load' 2015-10-15T23:57:31.862266+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:317:in `depend_on'
2015-10-15T23:57:31.862293+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:233:in `require_dependency'
2015-10-15T23:57:31.862321+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/engine.rb:471:in `each'
2015-10-15T23:57:31.862306+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/engine.rb:472:in `block (2 levels) in eager_load!'
2015-10-15T23:57:31.862350+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/engine.rb:469:in `each'
2015-10-15T23:57:31.862336+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/engine.rb:471:in `block in eager_load!'
2015-10-15T23:57:31.862366+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/engine.rb:469:in `eager_load!'
2015-10-15T23:57:31.862386+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/engine.rb:346:in `eager_load!'
2015-10-15T23:57:31.862398+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/application/finisher.rb:56:in `each'
2015-10-15T23:57:31.862411+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/application/finisher.rb:56:in `block in <module:Finisher>'
2015-10-15T23:57:31.862436+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/initializable.rb:30:in `instance_exec'
2015-10-15T23:57:31.862464+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/initializable.rb:30:in `run'
2015-10-15T23:57:31.862479+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/initializable.rb:55:in `block in run_initializers'
2015-10-15T23:57:31.862493+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each'
2015-10-15T23:57:31.862504+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
2015-10-15T23:57:31.862518+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from'
2015-10-15T23:57:31.862533+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:182:in `block in each_strongly_connected_component'
2015-10-15T23:57:31.862548+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each'
2015-10-15T23:57:31.862563+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component'
2015-10-15T23:57:31.862603+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
2015-10-15T23:57:31.862617+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/initializable.rb:54:in `run_initializers'
2015-10-15T23:57:31.862633+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/application.rb:352:in `initialize!'
2015-10-15T23:57:31.862648+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2015-10-15T23:57:31.862679+00:00 app[web.1]: from /app/config.ru:3:in `block in <main>'
2015-10-15T23:57:31.862663+00:00 app[web.1]: from /app/config.ru:3:in `require'
2015-10-15T23:57:31.862693+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `instance_eval'
2015-10-15T23:57:31.862718+00:00 app[web.1]: from /app/config.ru:in `new'
2015-10-15T23:57:31.862706+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `initialize'
2015-10-15T23:57:31.862734+00:00 app[web.1]: from /app/config.ru:in `<main>'
2015-10-15T23:57:31.862776+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `eval'
2015-10-15T23:57:31.862792+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `new_from_string'
2015-10-15T23:57:31.862807+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/builder.rb:40:in `parse_file'
2015-10-15T23:57:31.862821+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/server.rb:299:in `build_app_and_options_from_config'
2015-10-15T23:57:31.862834+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/server.rb:208:in `app'
2015-10-15T23:57:31.862879+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/server.rb:272:in `start'
2015-10-15T23:57:31.862864+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/server.rb:336:in `wrapped_app'
2015-10-15T23:57:31.862894+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/commands/server.rb:80:in `start'
2015-10-15T23:57:31.862847+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/commands/server.rb:61:in `app'
2015-10-15T23:57:31.862921+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:80:in `block in server'
2015-10-15T23:57:31.862948+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:75:in `tap'
2015-10-15T23:57:31.862961+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:75:in `server'
2015-10-15T23:57:31.862973+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
2015-10-15T23:57:31.862988+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/commands.rb:17:in `<top (required)>'
2015-10-15T23:57:31.863004+00:00 app[web.1]: from bin/rails:4:in `require'
2015-10-15T23:57:31.863018+00:00 app[web.1]: from bin/rails:4:in `<main>'
2015-10-15T23:57:32.859780+00:00 heroku[web.1]: State changed from starting to crashed
2015-10-15T23:57:32.857005+00:00 heroku[web.1]: Process exited with status 1
2015-10-16T00:01:35.819809+00:00 heroku[slug-compiler]: Slug compilation started
2015-10-16T00:01:35.819819+00:00 heroku[slug-compiler]: Slug compilation finished
2015-10-16T00:01:35.747968+00:00 heroku[api]: Deploy e6ed5b4 by butlera10#gmail.com
2015-10-16T00:01:35.747968+00:00 heroku[api]: Release v11 created by butlera10#gmail.com
2015-10-16T00:01:35.972558+00:00 heroku[web.1]: State changed from crashed to starting
2015-10-16T00:01:39.613244+00:00 heroku[web.1]: Starting process with command `bundle exec puma -C config/puma.rb`
2015-10-16T00:01:42.310288+00:00 app[web.1]: Puma starting in single mode...
2015-10-16T00:01:42.310307+00:00 app[web.1]: * Version 2.11.1 (ruby 2.0.0-p645), codename: Intrepid Squirrel
2015-10-16T00:01:42.310309+00:00 app[web.1]: * Min threads: 0, max threads: 16
2015-10-16T00:01:42.310310+00:00 app[web.1]: * Environment: production
2015-10-16T00:01:45.975901+00:00 app[web.1]: * Listening on tcp://0.0.0.0:9292
2015-10-16T00:01:45.976271+00:00 app[web.1]: Use Ctrl-C to stop
2015-10-16T00:01:49.599802+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by butlera10#gmail.com
2015-10-16T00:01:52.459341+00:00 heroku[run.4849]: Awaiting client
2015-10-16T00:01:52.496893+00:00 heroku[run.4849]: Starting process with command `bundle exec rake db:migrate`
2015-10-16T00:01:52.850289+00:00 heroku[run.4849]: State changed from starting to up
2015-10-16T00:01:59.668556+00:00 heroku[run.4849]: Process exited with status 0
2015-10-16T00:01:59.674461+00:00 heroku[run.4849]: State changed from up to complete
2015-10-16T00:02:39.725945+00:00 heroku[web.1]: Stopping process with SIGKILL
2015-10-16T00:02:39.725945+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2015-10-16T00:02:41.099174+00:00 heroku[web.1]: State changed from starting to crashed
2015-10-16T00:02:41.065951+00:00 heroku[web.1]: Process exited with status 137
2015-10-16T00:03:10.642913+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=lit-coast-3953.herokuapp.com request_id=441707a4-6407-48fe-9e04-35f8a7a68dd5 fwd="172.79.90.237" dyno= connect= service= status=503 bytes=
2015-10-16T00:03:10.882972+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=lit-coast-3953.herokuapp.com request_id=7d301278-0040-48a8-ae80-992936681b30 fwd="172.79.90.237" dyno= connect= service= status=503 bytes=
2015-10-16T00:03:15.576603+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=lit-coast-3953.herokuapp.com request_id=7e558323-1f30-43df-84bb-db6b7d9b6e1c fwd="172.79.90.237" dyno= connect= service= status=503 bytes=
2015-10-16T00:03:15.731893+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=lit-coast-3953.herokuapp.com request_id=db7c42e0-1ea2-4d95-8a10-07336adec3fc fwd="172.79.90.237" dyno= connect= service= status=503 bytes=
2015-10-16T00:03:17.610215+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=lit-coast-3953.herokuapp.com request_id=9dac3a5f-ee0c-49b2-b1a9-b6133ac6e862 fwd="172.79.90.237" dyno= connect= service= status=503 bytes=
2015-10-16T00:03:17.821084+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=lit-coast-3953.herokuapp.com request_id=308f51a0-0bbf-46e4-a7ca-6ab6175d4c90 fwd="172.79.90.237" dyno= connect= service= status=503 bytes=
2015-10-16T00:04:54.511133+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=lit-coast-3953.herokuapp.com request_id=53371904-5090-4ef2-b612-c5844e06b994 fwd="172.79.90.237" dyno= connect= service= status=503 bytes=
2015-10-16T00:04:54.826183+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=lit-coast-3953.herokuapp.com request_id=f3e1a015-7a40-4d20-a407-d83a13617368 fwd="172.79.90.237" dyno= connect= service= status=503 bytes=
2015-10-16T00:04:59.367280+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=lit-coast-3953.herokuapp.com request_id=f3d9a09c-2aff-4a66-86eb-a1561b68132d fwd="172.79.90.237" dyno= connect= service= status=503 bytes=
2015-10-16T00:04:59.593237+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=lit-coast-3953.herokuapp.com request_id=8456c0bc-0e0c-49ce-8d9f-9fd2de9173a4 fwd="172.79.90.237" dyno= connect= service= status=503 bytes=
I'm assuming (but not sure) the line below is the error thats in my app, but I'm not sure how to correct the error:
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/dynamic_matchers.rb:26:in `method_missing': undefined local variable or method `has_secured_password' for User (call 'User.connection' to establish a connection):Class (NameError)
Here is my user.rb file:
class User < ActiveRecord::Base
before_save { self.email = email.downcase}
validates :name, presence: true, length: { maximum: 50 }
VALID_EMAIL_REGEX = /\A[\w+\-.]+#[a-z\d\-.]+\.[a-z]+\z/i
validates :email, presence: true, length: { maximum: 255 },
format: { with: VALID_EMAIL_REGEX },
uniqueness: {case_sensitive: false}
has_secure_password
validates :password, length: { minimum: 6 }
end
Can someone tell me what the problem is and how I can solve it? Thanks in advance!
As nayiaw pointed out, it looks like you are trying to call #has_secured_password, when you probably meant #has_secure_password. In other words it looks like there is a typo in your code. If you look at the stack trace line right below the one you copied, it points to line 8 in your user model. My guess is that the typo is there, you probably have "has_secured_password", when it should really be "has_secure_password"
You could also do something like
git grep has_secured_password
in your project directory to see where that line is coming from.
Related
Initially, the problem was "Failed to install gems via Bundler." which i fixed by entering
by using this line
`bundle lock --add-platform x86_64-linux`
then add and commit to git, also update it on heroku, yet my couldn't app start i know you will advise me to check logs but i'm new on heroku app deployment, I can hardly find error or how to address from the logs, for example getting 503 error from my log:
2022-08-09T06:31:41.767338+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=examplerails.herokuapp.com request_id=981a1409-1e70-492c-a2ea-081a06f72ecf fwd="102.89.41.87" dyno= connect= service= status=503 bytes= protocol=https
2022-08-09T06:31:43.201958+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=examplerails.herokuapp.com request_id=8bc32463-dd26-4a1e-bc7f-483b72d91fa4 fwd="102.89.41.87" dyno= connect= service= status=503 bytes= protocol=https
2022-08-09T06:34:41.603649+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=examplerails.herokuapp.com request_id=1b7339b2-9706-479e-8ba9-3a29392a05a8 fwd="102.89.41.87" dyno= connect= service= status=503 bytes= protocol=https
2022-08-09T06:34:41.882759+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=examplerails.herokuapp.com request_id=a6ad6b2c-2cb5-4fd9-a803-1fc1ebf36b17 fwd="102.89.41.87" dyno= connect= service= status=503 bytes= protocol=https
2022-08-09T06:43:46.049127+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=examplerails.herokuapp.com request_id=c282cc3b-2f7e-4010-9f96-ddc996c87abd fwd="102.89.41.87" dyno= connect= service= status=503 bytes= protocol=https
2022-08-09T06:43:46.314701+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=examplerails.herokuapp.com request_id=3a12bb5a-2b46-433c-997e-a9b6bcdcb18f fwd="102.89.41.87" dyno= connect= service= status=503 bytes= protocol=https
2022-08-09T06:48:44.746660+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=examplerails.herokuapp.com request_id=6c61c7ce-f69e-43de-aed5-40d5f85239a1 fwd="102.89.41.87" dyno= connect= service= status=503 bytes= protocol=https
2022-08-09T06:48:45.250757+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=examplerails.herokuapp.com request_id=b4656eff-d125-4225-90fd-fb8e14cdf5ea fwd="102.89.41.87" dyno= connect= service= status=503 bytes= protocol=https
``
**or is it from this line of logs?**
``
from config.ru:3:in `require_relative'
2022-08-09T02:17:27.936748+00:00 app[web.1]: from config.ru:3:in `block in <main>'
2022-08-09T02:17:27.936755+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.4/lib/rack/builder.rb:116:in `eval'
2022-08-09T02:17:27.936764+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.4/lib/rack/builder.rb:116:in `new_from_string'
2022-08-09T02:17:27.936766+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.4/lib/rack/builder.rb:105:in `load_file'
2022-08-09T02:17:27.936773+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.4/lib/rack/builder.rb:66:in `parse_file'
2022-08-09T02:17:27.936775+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.4/lib/rack/server.rb:349:in `build_app_and_options_from_config'
2022-08-09T02:17:27.936776+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.4/lib/rack/server.rb:249:in `app'
2022-08-09T02:17:27.936791+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.4/lib/rack/server.rb:422:in `wrapped_app'
2022-08-09T02:17:27.936791+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.4/lib/rack/server.rb:312:in `block in start'
2022-08-09T02:17:27.936792+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.4/lib/rack/server.rb:379:in `handle_profiling'
2022-08-09T02:17:27.936794+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.4/lib/rack/server.rb:311:in `start'
2022-08-09T02:17:27.936794+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/commands/server/server_command.rb:38:in `start'
2022-08-09T02:17:27.936803+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/commands/server/server_command.rb:143:in `block in perform'
2022-08-09T02:17:27.936805+00:00 app[web.1]: from <internal:kernel>:90:in `tap'
2022-08-09T02:17:27.936807+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/commands/server/server_command.rb:134:in `perform'
2022-08-09T02:17:27.936809+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
2022-08-09T02:17:27.936817+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
2022-08-09T02:17:27.936819+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
2022-08-09T02:17:27.936820+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/command/base.rb:87:in `perform'
2022-08-09T02:17:27.936828+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/command.rb:48:in `invoke'
2022-08-09T02:17:27.936830+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/commands.rb:18:in `<main>'
2022-08-09T02:17:27.936837+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
2022-08-09T02:17:27.936839+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
2022-08-09T02:17:27.936841+00:00 app[web.1]: from bin/rails:4:in `<main>'
``
Later got it solved with this command on terminal
$heroku run rails console
Thanks!
I have this rails site I want to deploy but not used to heroku, and I am not able to undertsand this heroku logs:
➜ LisbonExperienceRails git:(master) ✗ heroku logs --tail
2020-03-29T18:24:22.842298+00:00 app[web.1]: * Version 4.3.3 (ruby 2.6.3-
p62), codename: Mysterious Traveller
enter code here 2020-03-29T18:24:22.842299+00:00 app[web.1]: * Min enter code herethreads: 5, max threads: 5
enter code here2enter code here020-03-29T18:24:22.842323+00:00 app[web.1]: * enter code here
enter code hereEnvironment: production
enter code here2020-03-29T18:24:24.389690+00:00 heroku[run.1436]: State changed
from starting to up
2020-03-29T18:24:24.790160+00:00 heroku[run.1436]: Awaiting client
2020-03-29T18:24:24.840400+00:00 heroku[run.1436]: Starting process with command `rails db:migrate`
2020-03-29T18:24:30.040224+00:00 app[web.1]: * Listening on tcp://0.0.0.0:18470
2020-03-29T18:24:30.042395+00:00 app[web.1]: bundler: failed to load command: puma (/app/vendor/bundle/ruby/2.6.0/bin/puma)
2020-03-29T18:24:30.042479+00:00 app[web.1]: Errno::ENOENT: No such file or directory # rb_sysopen - tmp/pids/server.pid
2020-03-29T18:24:30.042482+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:216:in `initialize'
2020-03-29T18:24:30.042482+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:216:in `open'
2020-03-29T18:24:30.042483+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:216:in `write_pid'
2020-03-29T18:24:30.042483+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:105:in `write_state'
2020-03-29T18:24:30.042484+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/single.rb:103:in `run'
2020-03-29T18:24:30.042484+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:172:in `run'
2020-03-29T18:24:30.042485+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/cli.rb:80:in `run'
2020-03-29T18:24:30.042485+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/bin/puma:10:in `<top (required)>'
2020-03-29T18:24:30.042487+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/bin/puma:23:in `load'
2020-03-29T18:24:30.042487+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/bin/puma:23:in `<top (required)>'
2020-03-29T18:24:30.144051+00:00 heroku[web.1]: State changed from starting to crashed
2020-03-29T18:24:30.128568+00:00 heroku[web.1]: Process exited with status 1
2020-03-29T18:24:32.875605+00:00 heroku[run.1436]: State changed from up to complete
2020-03-29T18:24:32.858184+00:00 heroku[run.1436]: Process exited with status 0
2020-03-29T18:25:08.039240+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=frozen-scrubland-52032.herokuapp.com request_id=c7c63b60-be70-4c82-aa40-f4b8c1045dab fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
2020-03-29T18:25:08.964216+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=frozen-scrubland-52032.herokuapp.com request_id=87dc4beb-f129-45a8-86f5-0914252675cd fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
2020-03-29T18:34:55.211912+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=frozen-scrubland-52032.herokuapp.com request_id=8cfb30b5-e9ab-4e8a-b9db-6382002556f5 fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
2020-03-29T18:34:55.911037+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=frozen-scrubland-52032.herokuapp.com request_id=668543c5-164f-40f3-afc3-82e280d19b50 fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
2020-03-29T18:37:06.279698+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=frozen-scrubland-52032.herokuapp.com request_id=c1eb428f-a1ba-461c-9126-5a7bbbf6915e fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
2020-03-29T18:37:07.431538+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=frozen-scrubland-52032.herokuapp.com request_id=0cf9b521-2ff6-4600-ae25-a4ba23036e13 fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
2020-03-29T18:40:00.086892+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=frozen-scrubland-52032.herokuapp.com request_id=8c29310f-5f06-4c65-87a1-5c2451ff2c75 fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
2020-03-29T18:40:00.856712+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=frozen-scrubland-52032.herokuapp.com request_id=f6e7ab71-b607-4a4f-8e89-b9e740b1b3ea fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
2020-03-29T18:44:00.103996+00:00 app[api]: Starting process with command `bundle exec rake -T` by user cecile_rougnaux#hotmail.com
2020-03-29T18:44:10.066646+00:00 heroku[run.8343]: State changed from starting to up
2020-03-29T18:44:10.780483+00:00 heroku[run.8343]: Awaiting client
2020-03-29T18:44:10.845048+00:00 heroku[run.8343]: Starting process with command `bundle exec rake -T`
2020-03-29T18:44:18.078898+00:00 heroku[run.8343]: State changed from up to complete
2020-03-29T18:44:18.059294+00:00 heroku[run.8343]: Process exited with status 0
2020-03-29T18:44:54.949571+00:00 app[api]: Starting process with command `bundle exec rake -T` by user cecile_rougnaux#hotmail.com
2020-03-29T18:45:03.226651+00:00 heroku[run.1199]: State changed from starting to up
2020-03-29T18:45:03.443510+00:00 heroku[run.1199]: Awaiting client
2020-03-29T18:45:03.500283+00:00 heroku[run.1199]: Starting process with command `bundle exec rake -T`
2020-03-29T18:45:10.169424+00:00 heroku[run.1199]: State changed from up to complete
2020-03-29T18:45:10.153328+00:00 heroku[run.1199]: Process exited with status 0
2020-03-29T18:45:35.142130+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=frozen-scrubland-52032.herokuapp.com request_id=9349fc3a-c140-4a1c-b54b-0d10474ad670 fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
2020-03-29T18:45:36.051022+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=frozen-scrubland-52032.herokuapp.com request_id=56be90fa-da28-4455-9de0-478487d70bc4 fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
2020-03-29T18:48:40.207301+00:00 app[api]: Starting process with command `bundle install` by user cecile_rougnaux#hotmail.com
2020-03-29T18:48:48.384063+00:00 heroku[run.1409]: State changed from starting to up
2020-03-29T18:48:53.268671+00:00 heroku[run.1409]: State changed from up to complete
2020-03-29T18:48:54.350707+00:00 app[api]: Starting process with command `bundle exec rake db:migrate` by user cecile_rougnaux#hotmail.com
2020-03-29T18:49:01.631020+00:00 heroku[run.1442]: State changed from starting to up
2020-03-29T18:49:01.752331+00:00 heroku[run.1442]: Awaiting client
2020-03-29T18:49:01.807471+00:00 heroku[run.1442]: Starting process with command `bundle exec rake db:migrate`
2020-03-29T18:49:08.730528+00:00 heroku[run.1442]: State changed from up to complete
2020-03-29T18:49:08.714537+00:00 heroku[run.1442]: Process exited with status 0
2020-03-29T18:50:20.441131+00:00 heroku[web.1]: State changed from crashed to starting
2020-03-29T18:50:27.885259+00:00 heroku[web.1]: Starting process with command `bundle exec puma -C config/puma.rb`
2020-03-29T18:50:30.518292+00:00 app[web.1]: Puma starting in single mode...
2020-03-29T18:50:30.518326+00:00 app[web.1]: * Version 4.3.3 (ruby 2.6.3-p62), codename: Mysterious Traveller
2020-03-29T18:50:30.518327+00:00 app[web.1]: * Min threads: 5, max threads: 5
2020-03-29T18:50:30.518327+00:00 app[web.1]: * Environment: production
2020-03-29T18:50:34.228872+00:00 app[web.1]: * Listening on tcp://0.0.0.0:45195
2020-03-29T18:50:34.229460+00:00 app[web.1]: bundler: failed to load command: puma (/app/vendor/bundle/ruby/2.6.0/bin/puma)
2020-03-29T18:50:34.229526+00:00 app[web.1]: Errno::ENOENT: No such file or directory # rb_sysopen - tmp/pids/server.pid
2020-03-29T18:50:34.229528+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:216:in `initialize'
2020-03-29T18:50:34.229529+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:216:in `open'
2020-03-29T18:50:34.229529+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:216:in `write_pid'
2020-03-29T18:50:34.229529+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:105:in `write_state'
2020-03-29T18:50:34.229530+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/single.rb:103:in `run'
2020-03-29T18:50:34.229530+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:172:in `run'
2020-03-29T18:50:34.229531+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/cli.rb:80:in `run'
2020-03-29T18:50:34.229531+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/bin/puma:10:in `<top (required)>'
2020-03-29T18:50:34.229532+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/bin/puma:23:in `load'
2020-03-29T18:50:34.229533+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/bin/puma:23:in `<top (required)>'
2020-03-29T18:50:34.305375+00:00 heroku[web.1]: State changed from starting to crashed
2020-03-29T18:50:34.287584+00:00 heroku[web.1]: Process exited with status 1
2020-03-29T18:51:10.041481+00:00 heroku[web.1]: State changed from crashed to starting
2020-03-29T18:51:09.701111+00:00 app[api]: Set GMAIL_EMAIL, GMAIL_PASSWORD config vars by user cecile_rougnaux#hotmail.com
2020-03-29T18:51:09.701111+00:00 app[api]: Release v9 created by user cecile_rougnaux#hotmail.com
2020-03-29T18:51:18.393405+00:00 heroku[web.1]: Starting process with command `bundle exec puma -C config/puma.rb`
2020-03-29T18:51:21.735395+00:00 app[web.1]: Puma starting in single mode...
2020-03-29T18:51:21.735421+00:00 app[web.1]: * Version 4.3.3 (ruby 2.6.3-p62), codename: Mysterious Traveller
2020-03-29T18:51:21.735430+00:00 app[web.1]: * Min threads: 5, max threads: 5
2020-03-29T18:51:21.735431+00:00 app[web.1]: * Environment: production
2020-03-29T18:51:26.103643+00:00 app[web.1]: * Listening on tcp://0.0.0.0:44574
2020-03-29T18:51:26.104208+00:00 app[web.1]: bundler: failed to load command: puma (/app/vendor/bundle/ruby/2.6.0/bin/puma)
2020-03-29T18:51:26.104286+00:00 app[web.1]: Errno::ENOENT: No such file or directory # rb_sysopen - tmp/pids/server.pid
2020-03-29T18:51:26.104287+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:216:in `initialize'
2020-03-29T18:51:26.104287+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:216:in `open'
2020-03-29T18:51:26.104288+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:216:in `write_pid'
2020-03-29T18:51:26.104288+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:105:in `write_state'
2020-03-29T18:51:26.104288+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/single.rb:103:in `run'
2020-03-29T18:51:26.104289+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:172:in `run'
2020-03-29T18:51:26.104289+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/cli.rb:80:in `run'
2020-03-29T18:51:26.104289+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/bin/puma:10:in `<top (required)>'
2020-03-29T18:51:26.104290+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/bin/puma:23:in `load'
2020-03-29T18:51:26.104290+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/bin/puma:23:in `<top (required)>'
2020-03-29T18:51:26.209443+00:00 heroku[web.1]: State changed from starting to crashed
2020-03-29T18:51:26.188677+00:00 heroku[web.1]: Process exited with status 1
2020-03-29T18:51:35.536923+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=frozen-scrubland-52032.herokuapp.com request_id=df9ff8aa-78d4-44d2-a570-ac2132eee46b fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
2020-03-29T18:51:36.280816+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=frozen-scrubland-52032.herokuapp.com request_id=d9680377-a55e-4aa7-9194-6b167a88311a fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
Thanks for your help, any ;))
C
Raily should automatically create those folders during initialization via bundle exec rails server.
Since you're executing puma diretctly, those folders don't exist yet. To fix that you should either launch your server with the recommended command above, or use a script to create the tmp and tmp/pids directories before running the exec command.
My code + site were previously working and with 0 code changes I started to get this error message in my Heroku logs when trying to query the database:
(erb):19:in `<main>': undefined method `[]' for nil:NilClass (NoMethodError).
I'm not sure where to look for this error because it isn't telling me where to look or what file the error is happening in. If anyone has any advice it would be much appreciated!
I have posted the full logs for reference, the app seems to be crashing right away because of this. I am running a Rails server using Postgres with a React front end.
2019-05-16T03:18:48.031948+00:00 app[web.1]: => Booting Puma
2019-05-16T03:18:48.031951+00:00 app[web.1]: => Rails 5.2.3 application starting in production
2019-05-16T03:18:48.031953+00:00 app[web.1]: => Run `rails server -h` for more startup options
2019-05-16T03:18:48.031954+00:00 app[web.1]: Exiting
2019-05-16T03:18:51.847816+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 44489 -e production`
2019-05-16T03:18:57.042441+00:00 heroku[web.1]: State changed from starting to crashed
2019-05-16T03:18:56.943508+00:00 app[web.1]: (erb):19:in `<main>': undefined method `[]' for nil:NilClass (NoMethodError)
2019-05-16T03:18:56.943566+00:00 app[web.1]: from /app/vendor/ruby-2.6.1/lib/ruby/2.6.0/erb.rb:901:in `eval'
2019-05-16T03:18:56.943592+00:00 app[web.1]: from /app/vendor/ruby-2.6.1/lib/ruby/2.6.0/erb.rb:901:in `result'
2019-05-16T03:18:56.943624+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activestorage-5.2.3/lib/active_storage/engine.rb:95:in `block (2 levels) in <class:Engine>'
2019-05-16T03:18:56.943660+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:71:in `instance_eval'
2019-05-16T03:18:56.943682+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:71:in `block in execute_hook'
2019-05-16T03:18:56.943701+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:62:in `with_execution_control'
2019-05-16T03:18:56.943720+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:67:in `execute_hook'
2019-05-16T03:18:56.943741+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:52:in `block in run_load_hooks'
2019-05-16T03:18:56.943772+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:51:in `each'
2019-05-16T03:18:56.943792+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:51:in `run_load_hooks'
2019-05-16T03:18:56.943811+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activestorage-5.2.3/app/models/active_storage/blob.rb:235:in `<class:Blob>'
2019-05-16T03:18:56.943834+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activestorage-5.2.3/app/models/active_storage/blob.rb:16:in `<main>'
2019-05-16T03:18:56.943858+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
2019-05-16T03:18:56.943892+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
2019-05-16T03:18:56.943916+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
2019-05-16T03:18:56.943941+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
2019-05-16T03:18:56.943966+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
2019-05-16T03:18:56.944003+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
2019-05-16T03:18:56.944006+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
2019-05-16T03:18:56.944007+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
2019-05-16T03:18:56.944012+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:378:in `block in require_or_load'
2019-05-16T03:18:56.944014+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:37:in `block in load_interlock'
2019-05-16T03:18:56.944015+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:14:in `block in loading'
2019-05-16T03:18:56.944019+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/concurrency/share_lock.rb:151:in `exclusive'
2019-05-16T03:18:56.944021+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:13:in `loading'
2019-05-16T03:18:56.944024+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:37:in `load_interlock'
2019-05-16T03:18:56.944028+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:356:in `require_or_load'
2019-05-16T03:18:56.944031+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/active_support.rb:48:in `block in require_or_load'
2019-05-16T03:18:56.944035+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/active_support.rb:16:in `allow_bootsnap_retry'
2019-05-16T03:18:56.944038+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/active_support.rb:47:in `require_or_load'
2019-05-16T03:18:56.944041+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:334:in `depend_on'
2019-05-16T03:18:56.944083+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/active_support.rb:85:in `depend_on'
2019-05-16T03:18:56.944102+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:246:in `require_dependency'
2019-05-16T03:18:56.944107+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:478:in `block (2 levels) in eager_load!'
2019-05-16T03:18:56.944118+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:477:in `each'
2019-05-16T03:18:56.944120+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:477:in `block in eager_load!'
2019-05-16T03:18:56.944122+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:475:in `each'
2019-05-16T03:18:56.944123+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:475:in `eager_load!'
2019-05-16T03:18:56.944125+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:356:in `eager_load!'
2019-05-16T03:18:56.944126+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/application/finisher.rb:69:in `each'
2019-05-16T03:18:56.944128+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/application/finisher.rb:69:in `block in <module:Finisher>'
2019-05-16T03:18:56.944129+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `instance_exec'
2019-05-16T03:18:56.944131+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `run'
2019-05-16T03:18:56.944135+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:61:in `block in run_initializers'
2019-05-16T03:18:56.944137+00:00 app[web.1]: from /app/vendor/ruby-2.6.1/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each'
2019-05-16T03:18:56.944138+00:00 app[web.1]: from /app/vendor/ruby-2.6.1/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
2019-05-16T03:18:56.944140+00:00 app[web.1]: from /app/vendor/ruby-2.6.1/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from'
2019-05-16T03:18:56.944142+00:00 app[web.1]: from /app/vendor/ruby-2.6.1/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component'
2019-05-16T03:18:56.944143+00:00 app[web.1]: from /app/vendor/ruby-2.6.1/lib/ruby/2.6.0/tsort.rb:347:in `each'
2019-05-16T03:18:56.944145+00:00 app[web.1]: from /app/vendor/ruby-2.6.1/lib/ruby/2.6.0/tsort.rb:347:in `call'
2019-05-16T03:18:56.944146+00:00 app[web.1]: from /app/vendor/ruby-2.6.1/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component'
2019-05-16T03:18:56.944150+00:00 app[web.1]: from /app/vendor/ruby-2.6.1/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each'
2019-05-16T03:18:56.944151+00:00 app[web.1]: from /app/vendor/ruby-2.6.1/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each'
2019-05-16T03:18:56.944153+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:60:in `run_initializers'
2019-05-16T03:18:56.944154+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/application.rb:361:in `initialize!'
2019-05-16T03:18:56.944158+00:00 app[web.1]: from /app/config/environment.rb:5:in `<main>'
2019-05-16T03:18:56.944160+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
2019-05-16T03:18:56.944164+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
2019-05-16T03:18:56.944167+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
2019-05-16T03:18:56.944171+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
2019-05-16T03:18:56.944174+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
2019-05-16T03:18:56.944178+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
2019-05-16T03:18:56.944181+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
2019-05-16T03:18:56.944184+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
2019-05-16T03:18:56.944213+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:48:in `require_relative'
2019-05-16T03:18:56.944215+00:00 app[web.1]: from config.ru:3:in `block in <main>'
2019-05-16T03:18:56.944220+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in `instance_eval'
2019-05-16T03:18:56.944221+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in `initialize'
2019-05-16T03:18:56.944223+00:00 app[web.1]: from config.ru:in `new'
2019-05-16T03:18:56.944227+00:00 app[web.1]: from config.ru:in `<main>'
2019-05-16T03:18:56.944229+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in `eval'
2019-05-16T03:18:56.944232+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in `new_from_string'
2019-05-16T03:18:56.944235+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:40:in `parse_file'
2019-05-16T03:18:56.944239+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/server.rb:319:in `build_app_and_options_from_config'
2019-05-16T03:18:56.944268+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/server.rb:219:in `app'
2019-05-16T03:18:56.944270+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:27:in `app'
2019-05-16T03:18:56.944272+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/server.rb:354:in `wrapped_app'
2019-05-16T03:18:56.944273+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/server.rb:283:in `start'
2019-05-16T03:18:56.944275+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:53:in `start'
2019-05-16T03:18:56.944276+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:147:in `block in perform'
2019-05-16T03:18:56.944280+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:142:in `tap'
2019-05-16T03:18:56.944282+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:142:in `perform'
2019-05-16T03:18:56.944283+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
2019-05-16T03:18:56.944285+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
2019-05-16T03:18:56.944288+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
2019-05-16T03:18:56.944294+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/command/base.rb:65:in `perform'
2019-05-16T03:18:56.944298+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/command.rb:46:in `invoke'
2019-05-16T03:18:56.944300+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/commands.rb:18:in `<main>'
2019-05-16T03:18:56.944306+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
2019-05-16T03:18:56.944310+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
2019-05-16T03:18:56.944312+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
2019-05-16T03:18:56.944316+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
2019-05-16T03:18:56.944319+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
2019-05-16T03:18:56.944322+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
2019-05-16T03:18:56.944326+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
2019-05-16T03:18:56.944329+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
2019-05-16T03:18:56.944333+00:00 app[web.1]: from bin/rails:9:in `<main>'
2019-05-16T03:18:56.946482+00:00 app[web.1]: => Booting Puma
2019-05-16T03:18:56.946485+00:00 app[web.1]: => Rails 5.2.3 application starting in production
2019-05-16T03:18:56.946486+00:00 app[web.1]: => Run `rails server -h` for more startup options
2019-05-16T03:18:56.946488+00:00 app[web.1]: Exiting
2019-05-16T03:18:57.021770+00:00 heroku[web.1]: Process exited with status 1
2019-05-16T03:18:59.372424+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=access-health-api.herokuapp.com request_id=2d1cd2c7-26c3-4683-811d-cbda8db552dc fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:18:59.663153+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=access-health-api.herokuapp.com request_id=56992e93-e701-4804-a9d7-69c8d8df7d7a fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:19:02.649992+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=access-health-api.herokuapp.com request_id=31ee4ee0-7922-4aa8-a325-8e64ba6df53a fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:19:03.021979+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=access-health-api.herokuapp.com request_id=220e35c1-a291-432a-8d6b-8d29da2767ef fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:19:07.504379+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/api/v1/users" host=access-health-api.herokuapp.com request_id=008e3ef2-c32c-47d8-8309-699caa249e63 fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:19:07.819506+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=access-health-api.herokuapp.com request_id=d73baebd-1589-42e5-924f-5afe337d038d fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:21:18.522834+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/api/v1/campaigns?limit=10&offset=0" host=access-health-api.herokuapp.com request_id=e9eedb45-dc01-41f0-bbde-8b2ecc0f7961 fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:21:18.527111+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/api/v1/donations" host=access-health-api.herokuapp.com request_id=34206172-903b-4e96-a143-8233398054eb fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:21:18.552441+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBMZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--e302b733d6a303f98f430527e4db7d9e1c7194d0/imaeg10.jpg" host=access-health-api.herokuapp.com request_id=8517b5f3-a6de-4b59-a50e-3fd5df1d844a fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:21:18.534909+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/api/v1/campaigns" host=access-health-api.herokuapp.com request_id=b2dd49bb-5ffe-4c69-b4da-b440152c255c fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:21:18.558146+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBLdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--c9e2fbcef5f6da29926f88b9a59eafaf2a621902/image8.jpeg" host=access-health-api.herokuapp.com request_id=ad023112-c77f-40a0-aeb2-d27958869cf8 fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:21:18.560544+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBNUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--434e900caca4f34c2e63005cd6820116c07a732c/image12.jpg" host=access-health-api.herokuapp.com request_id=b28c7275-2c51-4016-a1b9-a88183564334 fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:21:18.559299+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBGZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--c9c9909537431b859cae12836c80416ea5649eeb/image7.jpeg" host=access-health-api.herokuapp.com request_id=a7b52b07-a196-46ae-a200-4c79571e32cb fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:21:18.679112+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBNdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--956376570744f0cfdad27f52b232b51ce980f004/image14.jpg" host=access-health-api.herokuapp.com request_id=7826790c-6c3b-4d8d-b4d2-6842d3082719 fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:21:18.525066+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/api/v1/users" host=access-health-api.herokuapp.com request_id=3136154e-d953-424c-8460-956157999cb3 fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:21:18.554648+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBFUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--b51c526a014de8d76bb5d90f35796fb2eae84886/image3.jpg" host=access-health-api.herokuapp.com request_id=3caa2f7a-8db5-4592-b8f9-be25e2af6304 fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:21:18.562032+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBMUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--5c47228f800d55ab9ec19b608f3222382f67280a/image9.jpeg" host=access-health-api.herokuapp.com request_id=176b645d-0eea-416b-8f7b-6f8efdf769c4 fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:21:18.679591+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBFdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2e0ed771252e549303c16fe6bfd23cc0b44623ac/image4.jpg" host=access-health-api.herokuapp.com request_id=08371d3f-fe83-48c3-88ff-d6e911366cb7 fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:21:18.670224+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBNQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--76604889b9eb7c143ae9ab78a7fc1243783a77b7/image11.jpg" host=access-health-api.herokuapp.com request_id=17b2b861-0343-4a9a-8bad-ffabd1bdc9e8 fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:21:18.677029+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBOQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--ecd1de1a884d5248751e826ea51b0b6053f36c63/image15.jpg" host=access-health-api.herokuapp.com request_id=28628a35-65f1-4247-944e-453595204b11 fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:29:13.803733+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/api/v1/campaigns?limit=10&offset=0" host=access-health-api.herokuapp.com request_id=d6612341-e2da-48e2-a69d-8a2f77920d8f fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:29:13.802351+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/api/v1/donations" host=access-health-api.herokuapp.com request_id=49819d09-b169-48c1-958b-0ac1ece45e2c fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:29:13.801217+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/api/v1/users" host=access-health-api.herokuapp.com request_id=d74d9cb1-ab8f-45b2-857c-a52d5afe680c fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:29:13.836605+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBNQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--76604889b9eb7c143ae9ab78a7fc1243783a77b7/image11.jpg" host=access-health-api.herokuapp.com request_id=c4cf28a2-f071-48df-98bd-67fa4d14c9ee fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:29:13.807718+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/api/v1/campaigns" host=access-health-api.herokuapp.com request_id=4d22425b-0686-4702-9b67-da66846e67d6 fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:29:13.835121+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBGZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--c9c9909537431b859cae12836c80416ea5649eeb/image7.jpeg" host=access-health-api.herokuapp.com request_id=5d8e4d55-54af-45d6-b221-8f4b62a5d42b fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:29:13.957398+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBNdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--956376570744f0cfdad27f52b232b51ce980f004/image14.jpg" host=access-health-api.herokuapp.com request_id=6ceed2db-cbe1-4c35-83f9-1b86b43f1435 fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:29:13.834407+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBMZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--e302b733d6a303f98f430527e4db7d9e1c7194d0/imaeg10.jpg" host=access-health-api.herokuapp.com request_id=fd8bb5a6-1c76-4dfe-b5d6-9139e4ed2ae8 fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:29:13.945770+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBMUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--5c47228f800d55ab9ec19b608f3222382f67280a/image9.jpeg" host=access-health-api.herokuapp.com request_id=c8654612-7345-46df-a9ce-9d147a12ea2f fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:29:13.937624+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBNUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--434e900caca4f34c2e63005cd6820116c07a732c/image12.jpg" host=access-health-api.herokuapp.com request_id=f58d4b84-7da2-47b7-ac31-afab5ad7bbeb fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:29:13.948654+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBFdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2e0ed771252e549303c16fe6bfd23cc0b44623ac/image4.jpg" host=access-health-api.herokuapp.com request_id=8dfb2fa6-5768-45ae-aa5c-8fbb63eae45a fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:29:13.837688+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBLdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--c9e2fbcef5f6da29926f88b9a59eafaf2a621902/image8.jpeg" host=access-health-api.herokuapp.com request_id=d728ad22-472c-4047-827f-917ab6889b0b fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:29:13.824566+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBFUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--b51c526a014de8d76bb5d90f35796fb2eae84886/image3.jpg" host=access-health-api.herokuapp.com request_id=092dad6d-c47e-4db7-bd41-7714563669f2 fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
2019-05-16T03:29:13.836115+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBOQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--ecd1de1a884d5248751e826ea51b0b6053f36c63/image15.jpg" host=access-health-api.herokuapp.com request_id=c5d50bb9-e35c-4c64-9cdd-4d583f9a0dd4 fwd="68.198.112.113" dyno= connect= service= status=503 bytes= protocol=https
It looks like the error is coming from Embedded Ruby. Is there a YAML configuration file with ERB tags <%= %> that is trying to access a key of a nil hash?
from /app/vendor/ruby-2.6.1/lib/ruby/2.6.0/erb.rb:901:in `eval'
I just solved possibly the same problem. Turns out, I didn't have a Rails master key set in Heroku. Here's the info that worked for me:
Before continuing on we'll take a moment to do an absolutely essential step to ensure Active Storage works with Heroku. Heroku will only be able to unencrypt your credentials.yml.enc if we add our master key (which can be found in config/master.key). However, the master key is gitignored for good reason. Do not check this file into git. We can use the heroku command line to secretly add the key to our heroku config.
$ heroku config:set RAILS_MASTER_KEY=<your-master-key-here>
If you do not do this Active Storage won't work on Heroku and will cause a ton of unhelpful errors.
So I'm using Rails 4.0 and Ruby 2.0. My app works locally and I'm just trying to push it to Heroku. When I push it, my terminal indicates that everything worked. However, when I run "Heroku open", I get this error message:
"Application Error
An error occurred in the application and your page could not be served. Please try again in a few moments.
If you are the application owner, check your logs for details."
So I check my Heroku logs and get this:
2013-10-09T18:11:04+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby/Rails app
2013-10-09T18:44:51+00:00 heroku[slug-compiler]: Slug compilation started
2013-10-09T18:52:38.087581+00:00 heroku[web.1]: Idling
2013-10-09T18:52:42.873303+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2013-10-09T18:52:44.057184+00:00 app[web.1]: /app/vendor/ruby-1.9.2/lib/ruby/1.9.1/webrick/server.rb:90:in `select'
2013-10-09T18:52:44.057184+00:00 app[web.1]: [2013-10-09 18:52:44] ERROR SignalException: SIGTERM
2013-10-09T18:52:52.698902+00:00 heroku[web.1]: Error R12 (Exit timeout) -> At least one process failed to exit within 10 seconds of SIGTERM
2013-10-09T18:52:52.699100+00:00 heroku[web.1]: Stopping remaining processes with SIGKILL
2013-10-09T18:52:55.089017+00:00 heroku[web.1]: Process exited with status 137
2013-10-09T18:52:55.117506+00:00 heroku[web.1]: State changed from up to down
2013-10-09T19:09:30+00:00 heroku[slug-compiler]: Slug compilation started
2013-10-09T19:09:56+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby/Rails app
2013-10-09T19:12:56+00:00 heroku[slug-compiler]: Slug compilation started
2013-10-09T19:13:19+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby/Rails app
2013-10-09T19:14:39+00:00 heroku[slug-compiler]: Slug compilation started
2013-10-09T19:15:08+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby/Rails app
2013-10-09T19:17:15+00:00 heroku[slug-compiler]: Slug compilation started
2013-10-09T19:17:43+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby/Rails app
2013-10-09T19:18:02+00:00 heroku[slug-compiler]: Slug compilation started
2013-10-09T19:18:24+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby/Rails app
2013-10-09T19:20:12+00:00 heroku[slug-compiler]: Slug compilation started
2013-10-09T19:21:40.262707+00:00 heroku[web.1]: State changed from down to starting
2013-10-09T19:21:40+00:00 heroku[slug-compiler]: Slug compilation finished
2013-10-09T19:21:45.164416+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 51664 -e $RAILS_ENV`
2013-10-09T19:21:45.824512+00:00 app[web.1]: bash: bin/rails: No such file or directory
2013-10-09T19:21:47.372719+00:00 heroku[web.1]: State changed from starting to crashed
2013-10-09T19:21:47.374233+00:00 heroku[web.1]: State changed from crashed to starting
2013-10-09T19:21:47.360556+00:00 heroku[web.1]: Process exited with status 127
2013-10-09T19:21:52.782769+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 21782 -e $RAILS_ENV`
2013-10-09T19:21:53.632718+00:00 app[web.1]: bash: bin/rails: No such file or directory
2013-10-09T19:21:55.247743+00:00 heroku[web.1]: Process exited with status 127
2013-10-09T19:21:55.260010+00:00 heroku[web.1]: State changed from starting to crashed
2013-10-09T19:22:00.902528+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:22:15.746476+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:22:19.270286+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:22:19.314670+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:22:17.799045+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:24:19.549828+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:24:22.196517+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:24:22.302682+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:22:19.122401+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:22:17.689844+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:25:40.152185+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:25:40.254083+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:22:18.422342+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:25:48.595371+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/simulation host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:25:48.706113+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:24:19.441344+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:29:30.447734+00:00 heroku[web.1]: State changed from crashed to starting
2013-10-09T19:29:39.212672+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 8011 -e $RAILS_ENV`
2013-10-09T19:29:40.275800+00:00 app[web.1]: bash: bin/rails: No such file or directory
2013-10-09T19:29:41.536523+00:00 heroku[web.1]: Process exited with status 127
2013-10-09T19:29:41.553119+00:00 heroku[web.1]: State changed from starting to crashed
2013-10-09T19:29:43.142915+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:29:49.393166+00:00 heroku[web.1]: Error R99 (Platform error) -> Failed to launch the dyno within 10 seconds
2013-10-09T19:29:49.393401+00:00 heroku[web.1]: Stopping process with SIGKILL
2013-10-09T19:30:32.885333+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by benjamin_clayman#alumni.brown.edu
2013-10-09T19:30:40.320116+00:00 heroku[run.5508]: Awaiting client
2013-10-09T19:30:40.377694+00:00 heroku[run.5508]: Starting process with command `bundle exec rake db:migrate`
2013-10-09T19:30:41.612272+00:00 heroku[run.5508]: State changed from starting to up
2013-10-09T19:30:51.132253+00:00 heroku[run.5508]: Process exited with status 0
2013-10-09T19:30:51.164260+00:00 heroku[run.5508]: State changed from up to complete
2013-10-09T19:31:07.432378+00:00 heroku[api]: Starting process with command `bundle exec rake db:seed` by benjamin_clayman#alumni.brown.edu
2013-10-09T19:31:14.013906+00:00 heroku[run.1827]: Awaiting client
2013-10-09T19:31:14.080713+00:00 heroku[run.1827]: Starting process with command `bundle exec rake db:seed`
2013-10-09T19:31:15.414436+00:00 heroku[run.1827]: State changed from starting to up
2013-10-09T19:31:19.041011+00:00 heroku[run.1827]: Process exited with status 1
2013-10-09T19:31:19.056727+00:00 heroku[run.1827]: State changed from up to complete
2013-10-09T19:32:08.619874+00:00 heroku[web.1]: State changed from crashed to starting
2013-10-09T19:32:11.337276+00:00 heroku[api]: Starting process with command `bundle exec rake db:seed` by benjamin_clayman#alumni.brown.edu
2013-10-09T19:32:14.419913+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 10397 -e $RAILS_ENV`
2013-10-09T19:32:15.072660+00:00 app[web.1]: bash: bin/rails: No such file or directory
2013-10-09T19:32:16.194007+00:00 heroku[web.1]: Process exited with status 127
2013-10-09T19:32:16.208094+00:00 heroku[web.1]: State changed from starting to crashed
2013-10-09T19:32:21.776095+00:00 heroku[run.5181]: Awaiting client
2013-10-09T19:32:21.872776+00:00 heroku[run.5181]: Starting process with command `bundle exec rake db:seed`
2013-10-09T19:32:22.981513+00:00 heroku[run.5181]: State changed from starting to up
2013-10-09T19:32:27.556289+00:00 heroku[run.5181]: Client connection closed. Sending SIGHUP to all processes
2013-10-09T19:32:29.032961+00:00 heroku[run.5181]: Process exited with status 1
2013-10-09T19:32:29.087562+00:00 heroku[run.5181]: State changed from up to complete
2013-10-09T19:42:43.713377+00:00 heroku[web.1]: State changed from crashed to starting
2013-10-09T19:42:48.645184+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 4793 -e $RAILS_ENV`
2013-10-09T19:42:49.240477+00:00 app[web.1]: bash: bin/rails: No such file or directory
2013-10-09T19:42:50.587908+00:00 heroku[web.1]: Process exited with status 127
2013-10-09T19:42:50.602229+00:00 heroku[web.1]: State changed from starting to crashed
2013-10-09T19:42:46+00:00 heroku[slug-compiler]: Slug compilation started
2013-10-09T19:43:18.483470+00:00 heroku[api]: Deploy 22ad50c by benjamin_clayman#alumni.brown.edu
2013-10-09T19:43:18.496059+00:00 heroku[api]: Release v19 created by benjamin_clayman#alumni.brown.edu
2013-10-09T19:43:18.648420+00:00 heroku[web.1]: State changed from crashed to starting
2013-10-09T19:43:18+00:00 heroku[slug-compiler]: Slug compilation finished
2013-10-09T19:43:24.039482+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 37273 -e $RAILS_ENV`
2013-10-09T19:43:24.917501+00:00 app[web.1]: bash: bin/rails: No such file or directory
2013-10-09T19:43:26.321155+00:00 heroku[web.1]: Process exited with status 127
2013-10-09T19:43:26.339466+00:00 heroku[web.1]: State changed from starting to crashed
2013-10-09T19:43:34.291081+00:00 heroku[web.1]: Error R99 (Platform error) -> Failed to launch the dyno within 10 seconds
2013-10-09T19:43:34.291514+00:00 heroku[web.1]: Stopping process with SIGKILL
2013-10-09T19:43:54.377170+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:43:57.816484+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:43:58.025631+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:43:59.803749+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:43:59.891121+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
It looks like the app is crashing (error code of H10) but I have no idea why.
Any help would be greatly appreciated; have been trying to get this app online for way too long!
Thanks,
Mariogs
So these are the logs when I try to load the "/ladder" page:
2013-10-10T20:14:00.495559+00:00 app[web.1]: Started GET "/ladder" for 75.69.143.242 at 2013-10-10 20:14:00 +0000
2013-10-10T20:14:00.508841+00:00 app[web.1]: Processing by PagesController#ladder as HTML
2013-10-10T20:14:00.508841+00:00 app[web.1]: Processing by PagesController#ladder as HTML
2013-10-10T20:14:00.495559+00:00 app[web.1]: Started GET "/ladder" for 75.69.143.242 at 2013-10-10 20:14:00 +0000
2013-10-10T20:14:00.529363+00:00 app[web.1]: Rendered pages/ladder.html.haml within layouts/application (0.4ms)
2013-10-10T20:14:00.529363+00:00 app[web.1]: Rendered pages/ladder.html.haml within layouts/application (0.4ms)
2013-10-10T20:14:00.555095+00:00 app[web.1]: Rendered layouts/_nav.html.erb (0.5ms)
2013-10-10T20:14:00.562435+00:00 app[web.1]: Rendered layouts/_footer.html.erb (0.1ms)
2013-10-10T20:14:00.562435+00:00 app[web.1]: Rendered layouts/_footer.html.erb (0.1ms)
2013-10-10T20:14:00.555095+00:00 app[web.1]: Rendered layouts/_nav.html.erb (0.5ms)
2013-10-10T20:14:00.565824+00:00 app[web.1]: Completed 200 OK in 57ms (Views: 37.3ms | ActiveRecord: 12.4ms)
2013-10-10T20:14:00.565824+00:00 app[web.1]: Completed 200 OK in 57ms (Views: 37.3ms | ActiveRecord: 12.4ms)
2013-10-10T20:14:00.576713+00:00 heroku[router]: at=info method=GET path=/ladder host=rocky-brushlands-1229.herokuapp.com fwd="75.69.143.242" dyno=web.1 connect=1ms service=94ms status=304 bytes=0
2013-10-10T20:14:01.000519+00:00 heroku[router]: at=info method=GET path=/assets/knitting250px.png host=rocky-brushlands-1229.herokuapp.com fwd="75.69.143.242" dyno=web.1 connect=0ms service=9ms status=404 bytes=728
2013-10-10T20:14:00.999368+00:00 app[web.1]:
2013-10-10T20:14:00.998228+00:00 app[web.1]: Started GET "/assets/knitting250px.png" for 75.69.143.242 at 2013-10-10 20:14:00 +0000
2013-10-10T20:14:00.999368+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/assets/knitting250px.png"):
2013-10-10T20:14:00.999368+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2013-10-10T20:14:00.999368+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2013-10-10T20:14:00.999368+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `block in call'
2013-10-10T20:14:00.999368+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:38:in `call_app'
2013-10-10T20:14:00.999368+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `block in tagged'
2013-10-10T20:14:00.999368+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `tagged'
2013-10-10T20:14:00.999590+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2013-10-10T20:14:00.999590+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2013-10-10T20:14:00.999590+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2013-10-10T20:14:00.999590+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/static.rb:64:in `call'
2013-10-10T20:14:00.999590+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/engine.rb:511:in `call'
2013-10-10T20:14:00.999590+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:97:in `call'
2013-10-10T20:14:00.999590+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2013-10-10T20:14:00.999590+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2013-10-10T20:14:00.999730+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2013-10-10T20:14:00.999730+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2013-10-10T20:14:00.999368+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `call'
2013-10-10T20:14:00.999368+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:25:in `tagged'
2013-10-10T20:14:00.996893+00:00 app[web.1]: Started GET "/assets/knitting250px.png" for 75.69.143.242 at 2013-10-10 20:14:00 +0000
2013-10-10T20:14:00.999590+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2013-10-10T20:14:00.999730+00:00 app[web.1]:
2013-10-10T20:14:00.999730+00:00 app[web.1]:
2013-10-10T20:14:00.999730+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/assets/knitting250px.png"):
2013-10-10T20:14:00.999730+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2013-10-10T20:14:00.999590+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2013-10-10T20:14:00.999730+00:00 app[web.1]:
2013-10-10T20:14:00.999730+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2013-10-10T20:14:00.999730+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:38:in `call_app'
2013-10-10T20:14:01.000144+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `tagged'
2013-10-10T20:14:01.000144+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `call'
2013-10-10T20:14:01.000144+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2013-10-10T20:14:01.000144+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2013-10-10T20:14:01.000144+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2013-10-10T20:14:01.000144+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `block in tagged'
2013-10-10T20:14:01.000144+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:25:in `tagged'
2013-10-10T20:14:01.000144+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `block in call'
2013-10-10T20:14:00.999730+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2013-10-10T20:14:01.000286+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/engine.rb:511:in `call'
2013-10-10T20:14:01.000286+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2013-10-10T20:14:01.000144+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2013-10-10T20:14:01.000286+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:97:in `call'
2013-10-10T20:14:01.000286+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2013-10-10T20:14:01.000286+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2013-10-10T20:14:01.000144+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/static.rb:64:in `call'
2013-10-10T20:14:01.000286+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2013-10-10T20:14:01.000286+00:00 app[web.1]:
2013-10-10T20:14:01.000286+00:00 app[web.1]:
2013-10-10T20:14:01.074531+00:00 heroku[router]: at=info method=GET path=/favicon.ico host=rocky-brushlands-1229.herokuapp.com fwd="75.69.143.242" dyno=web.1 connect=0ms service=7ms status=304 bytes=0
2013-10-10T20:14:01.000286+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2013-10-10T20:14:01.000286+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2013-10-10T20:14:00.647780+00:00 heroku[router]: at=info method=GET path=/assets/application-a792af9cec9481fd62c86dd7b997071b.css host=rocky-brushlands-1229.herokuapp.com fwd="75.69.143.242" dyno=web.1 connect=1ms service=17ms status=304 bytes=0
I have no idea why the #ladder instance variable seems to be empty...
Error is clear:
bash: bin/rails: No such file or directory
Rails 4 requires a bin directory
It even provides a handy rake task for you
rake rails:update:bin
In future consult the Heroku documentation
Rails 4 on Heroku
My app worked fine on my localhost and on Heroku until I tried changing the name of my project on Heroku through their website, not the CLI. Now, the app still works on my localhost but I get an Application Error and the message, An error occurred in the application and your page could not be served. Please try again in a few moments. If you are the application owner, check your logs for details.
Additionally, I was running Ruby Rails 3.2 and updated to 4.0 in the middle of my project to stay as up to date as possible but it's made the whole process much more complicated.
I just started coding and had this project almost finished - just needed to get it synced up with a host and my custom domain and it all went to crap :/ Any help would be very appreciated.
Here is what I get when I run Heroku logs --tail:
2013-10-19T04:45:55.858947+00:00 heroku[run.8369]: State changed from starting to up
2013-10-19T04:46:00.106324+00:00 heroku[run.8369]: Process exited with status 0
2013-10-19T04:46:00.144464+00:00 heroku[run.8369]: State changed from up to complete
2013-10-19T04:46:06.146445+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=lit-basin-5401.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T04:46:06.983600+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=lit-basin-5401.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T04:46:06.757189+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=lit-basin-5401.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T04:49:11.041661+00:00 heroku[web.1]: State changed from crashed to starting
2013-10-19T04:49:16.507236+00:00 heroku[web.1]: Starting process with command `bundle exec
rails server thin -p 51640 -e $RACK_ENV`
2013-10-19T04:49:19.896050+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `block in require'
2013-10-19T04:49:19.896050+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `block in get'
2013-10-19T04:49:19.896050+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `inject'
2013-10-19T04:49:19.896050+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require': cannot load such file -- thin (LoadError)
2013-10-19T04:49:19.896050+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
2013-10-19T04:49:19.896050+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
2013-10-19T04:49:19.896050+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/thin.rb:1:in `<top (required)>'
2013-10-19T04:49:19.896050+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `const_get'
2013-10-19T04:49:19.896050+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `each'
2013-10-19T04:49:19.896050+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `get'
2013-10-19T04:49:19.896278+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands/server.rb:63:in `start'
2013-10-19T04:49:19.896278+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:78:in `block in <top (required)>'
2013-10-19T04:49:19.896278+00:00 app[web.1]: from bin/rails:4:in `<main>'
2013-10-19T04:49:19.896278+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:268:in `server'
2013-10-19T04:49:19.896278+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in `<top (required)>'
2013-10-19T04:49:19.896278+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in `tap'
2013-10-19T04:49:19.896278+00:00 app[web.1]: from bin/rails:4:in `require'
2013-10-19T04:49:19.911301+00:00 app[web.1]: Exiting
2013-10-19T04:49:21.448808+00:00 heroku[web.1]: Process exited with status 1
2013-10-19T04:49:21.452988+00:00 heroku[web.1]: State changed from starting to crashed
2013-10-19T05:05:09.305097+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=www.crt.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T05:05:09.911911+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=www.crt.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T05:05:10.312640+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=www.crt.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T05:05:17.288098+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=crt.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T05:05:18.112302+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=crt.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T05:05:18.535047+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=crt.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T05:07:35+00:00 heroku[slug-compiler]: Slug compilation started
2013-10-19T05:08:04.559035+00:00 heroku[api]: Deploy ce44379 by sunghoster#gmail.com
2013-10-19T05:08:04.583465+00:00 heroku[api]: Release v17 created by sunghoster#gmail.com
2013-10-19T05:08:04.830493+00:00 heroku[web.1]: State changed from crashed to starting
2013-10-19T05:08:08.815396+00:00 heroku[web.1]: Starting process with command `bundle exec rails server thin -p 58476 -e $RACK_ENV`
2013-10-19T05:08:04+00:00 heroku[slug-compiler]: Slug compilation finished
2013-10-19T05:08:11.044510+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require': cannot load such file -- thin (LoadError)
2013-10-19T05:08:11.044510+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `block in require'
2013-10-19T05:08:11.044510+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/thin.rb:1:in `<top (required)>'
2013-10-19T05:08:11.044510+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
2013-10-19T05:08:11.044510+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `const_get'
2013-10-19T05:08:11.044510+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
2013-10-19T05:08:11.044708+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in `tap'
2013-10-19T05:08:11.044510+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `block in get'
2013-10-19T05:08:11.044708+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in `<top (required)>'
2013-10-19T05:08:11.044510+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `inject'
2013-10-19T05:08:11.044708+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:268:in `server'
2013-10-19T05:08:11.044708+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands/server.rb:63:in `start'
2013-10-19T05:08:11.044708+00:00 app[web.1]: from bin/rails:4:in `<main>'
2013-10-19T05:08:11.044708+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:78:in `block in <top (required)>'
2013-10-19T05:08:11.044510+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `each'
2013-10-19T05:08:11.044708+00:00 app[web.1]: from bin/rails:4:in `require'
2013-10-19T05:08:11.044510+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `get'
2013-10-19T05:08:11.057865+00:00 app[web.1]: Exiting
2013-10-19T05:08:12.143057+00:00 heroku[web.1]: Process exited with status 1
2013-10-19T05:08:12.152853+00:00 heroku[web.1]: State changed from starting to crashed
2013-10-19T05:08:12.154304+00:00 heroku[web.1]: State changed from crashed to starting
2013-10-19T05:08:16.644957+00:00 heroku[web.1]: Starting process with command `bundle exec rails server thin -p 44473 -e $RACK_ENV`
2013-10-19T05:08:20.604410+00:00 heroku[web.1]: State changed from starting to crashed
2013-10-19T05:08:22.393304+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=crt.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T05:08:22.599461+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=crt.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T05:08:19.316804+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `block in get'
2013-10-19T05:08:19.317076+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:268:in `server'
2013-10-19T05:08:19.316804+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `const_get'
2013-10-19T05:08:19.317076+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in `tap'
2013-10-19T05:08:19.316804+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require': cannot load such file -- thin (LoadError)
2013-10-19T05:08:19.316804+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/thin.rb:1:in `<top (required)>'
2013-10-19T05:08:19.316804+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
2013-10-19T05:08:19.316804+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `each'
2013-10-19T05:08:19.317076+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:78:in `block in <top (required)>'
2013-10-19T05:08:19.317076+00:00 app[web.1]: from bin/rails:4:in `<main>'
2013-10-19T05:08:19.316804+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `inject'
2013-10-19T05:08:19.317076+00:00 app[web.1]: from bin/rails:4:in `require'
2013-10-19T05:08:19.317076+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in `<top (required)>'
2013-10-19T05:08:19.329850+00:00 app[web.1]: Exiting
2013-10-19T05:08:19.316804+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
2013-10-19T05:08:19.316804+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `block in require'
2013-10-19T05:08:19.316804+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `get'
2013-10-19T05:08:19.317076+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands/server.rb:63:in `start'
2013-10-19T05:08:20.589816+00:00 heroku[web.1]: Process exited with status 1
2013-10-19T05:08:21.758023+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=crt.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T05:09:28.445030+00:00 heroku[api]: Starting process with command `bundle exec
rake db:migrate` by sunghoster#gmail.com
2013-10-19T05:09:32.830791+00:00 heroku[run.1104]: Awaiting client
2013-10-19T05:09:32.878270+00:00 heroku[run.1104]: Starting process with command `bundle exec rake db:migrate`
2013-10-19T05:09:33.696273+00:00 heroku[run.1104]: State changed from starting to up
2013-10-19T05:09:35.512494+00:00 heroku[run.1104]: Client connection closed. Sending SIGHUP to all processes
2013-10-19T05:09:36.469621+00:00 heroku[run.1104]: Process exited with status 0
2013-10-19T05:09:36.484133+00:00 heroku[run.1104]: State changed from up to complete
2013-10-19T05:09:41.437949+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by sunghoster#gmail.com
2013-10-19T05:09:46.113833+00:00 heroku[run.8756]: Awaiting client
2013-10-19T05:09:46.146484+00:00 heroku[run.8756]: Starting process with command `bundle exec rake db:migrate`
2013-10-19T05:09:46.930509+00:00 heroku[run.8756]: State changed from starting to up
2013-10-19T05:09:50.254973+00:00 heroku[run.8756]: Process exited with status 0
2013-10-19T05:09:50.264019+00:00 heroku[run.8756]: State changed from up to complete
2013-10-19T05:09:56.581611+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=crt.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T05:09:57.396220+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=crt.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T05:09:57.702612+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=crt.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
Changing the name in Heroku does nothing -- but you'll have to change it in your local git repo with these lines:
git remote rm heroku
heroku git:remote -a newname
As for your errors, it seems you've got some big errors within your app. As #KepaniHaole said, you seem to have "thin" errors - do you have the gem in your GemFile?