I have read every single SO answer I can find on H10 errors, and am still unable to fix the issue. My app works fine in dev, but in production I get the useless "Application Error" message, and the logs only give me a tiny amount of information. The app was working, and the only major change thats been made since then was using Puma in production (created a config/puma.rb file and a Procfile), as I've been following the Rails Tutorial.
Logs:
2015-03-01T00:21:46.250486+00:00 app[web.1]: => Ctrl-C to shutdown server
2015-03-01T00:21:46.250482+00:00 app[web.1]: => Rails 4.2.0 application starting in production on http://0.0.0.0:36909
2015-03-01T00:21:46.250452+00:00 app[web.1]: => Booting Puma
2015-03-01T00:21:47.672814+00:00 app[web.1]: * Listening on tcp://0.0.0.0:36909
2015-03-01T00:21:47.672797+00:00 app[web.1]: Puma 2.11.1 starting...
2015-03-01T00:21:47.672812+00:00 app[web.1]: * Environment: production
2015-03-01T00:21:47.672804+00:00 app[web.1]: * Min threads: 0, max threads: 16
2015-03-01T00:21:47.995124+00:00 heroku[web.1]: State changed from starting to up
2015-03-01T01:25:01.069619+00:00 heroku[web.1]: Idling
2015-03-01T01:25:01.070164+00:00 heroku[web.1]: State changed from up to down
2015-03-01T01:25:03.868187+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2015-03-01T01:25:04.655669+00:00 app[web.1]: Exiting
2015-03-01T01:25:05.901550+00:00 heroku[web.1]: Process exited with status 143
2015-03-03T18:18:29.133217+00:00 heroku[web.1]: Unidling
2015-03-03T18:18:29.133564+00:00 heroku[web.1]: State changed from down to starting
2015-03-03T18:18:34.226482+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 32028 -e production`
2015-03-03T18:18:39.475492+00:00 app[web.1]: => Booting Puma
2015-03-03T18:18:39.475519+00:00 app[web.1]: => Rails 4.2.0 application starting in production on http://0.0.0.0:32028
2015-03-03T18:18:39.475521+00:00 app[web.1]: => Run `rails server -h` for more startup options
2015-03-03T18:18:39.475522+00:00 app[web.1]: => Ctrl-C to shutdown server
2015-03-03T18:18:40.951238+00:00 app[web.1]: * Min threads: 0, max threads: 16
2015-03-03T18:18:40.951182+00:00 app[web.1]: Puma 2.11.1 starting...
2015-03-03T18:18:40.951281+00:00 app[web.1]: * Environment: production
2015-03-03T18:18:40.951344+00:00 app[web.1]: * Listening on tcp://0.0.0.0:32028
2015-03-03T18:18:41.226254+00:00 app[web.1]: Started GET "/about" for 108.94.29.164 at 2015-03-03 18:18:41 +0000
2015-03-03T18:18:41.711420+00:00 app[web.1]: Processing by StaticPagesController#about as HTML
2015-03-03T18:18:41.776431+00:00 app[web.1]: Rendered layouts/_shim.html.erb (0.5ms)
2015-03-03T18:18:41.055292+00:00 heroku[web.1]: State changed from starting to up
2015-03-03T18:18:41.769299+00:00 app[web.1]: Rendered static_pages/about.html.erb within layouts/application (0.7ms)
2015-03-03T18:18:41.780270+00:00 app[web.1]: Rendered layouts/_header.html.erb (0.8ms)
2015-03-03T18:18:41.780272+00:00 app[web.1]: Rendered layouts/_footer.html.erb (0.6ms)
2015-03-03T18:18:41.780273+00:00 app[web.1]: Completed 200 OK in 58ms (Views: 40.4ms | ActiveRecord: 0.0ms)
2015-03-03T18:18:41.785426+00:00 heroku[router]: at=info method=GET path="/about" host=alecfwilson-sample-rails-app.herokuapp.com request_id=f01990b2-55ef-4bb5-99ba-635bd06d211d fwd="108.94.29.164" dyno=web.1 connect=0ms service=585ms status=200 bytes=2600
2015-03-03T18:18:43.046815+00:00 heroku[router]: at=info method=GET path="/assets/application-3693022c438b060c15d38fbd42afb0dd.css" host=alecfwilson-sample-rails-app.herokuapp.com request_id=4777c80d-585c-4e9a-a260-df8e498d5aef fwd="108.94.29.164" dyno=web.1 connect=1ms service=4ms status=304 bytes=100
2015-03-03T18:18:43.088423+00:00 heroku[router]: at=info method=GET path="/assets/application-40a1932d75f4dbff6f274ab2c04c99ef.js" host=alecfwilson-sample-rails-app.herokuapp.com request_id=3418bdae-28fa-45c0-adf4-e121b7a65341 fwd="108.94.29.164" dyno=web.1 connect=5ms service=2ms status=304 bytes=114
2015-03-03T18:18:45.693979+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=alecfwilson-sample-rails-app.herokuapp.com request_id=1ec2d858-f4f4-4130-83ed-9835a6b8aee4 fwd="108.94.29.164" dyno=web.1 connect=0ms service=1ms status=200 bytes=143
2015-03-03T19:25:51.614540+00:00 heroku[web.1]: Idling
2015-03-03T19:25:51.615133+00:00 heroku[web.1]: State changed from up to down
2015-03-03T19:25:54.642520+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2015-03-03T19:25:55.360332+00:00 app[web.1]: Exiting
2015-03-03T19:25:56.374683+00:00 heroku[web.1]: Process exited with status 143
2015-03-04T02:32:30.738201+00:00 heroku[api]: Deploy ada64bd by alec.f.wilson#gmail.com
2015-03-04T02:32:30.738201+00:00 heroku[api]: Release v15 created by alec.f.wilson#gmail.com
2015-03-04T02:32:43.267564+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by alec.f.wilson#gmail.com
2015-03-04T02:32:47.471977+00:00 heroku[run.5036]: Awaiting client
2015-03-04T02:32:47.501831+00:00 heroku[run.5036]: Starting process with command `bundle exec rake db:migrate`
2015-03-04T02:32:47.757400+00:00 heroku[run.5036]: State changed from starting to up
2015-03-04T02:32:53.981368+00:00 heroku[run.5036]: Process exited with status 0
2015-03-04T02:32:53.997726+00:00 heroku[run.5036]: State changed from up to complete
2015-03-04T02:33:00.228053+00:00 heroku[web.1]: Unidling
2015-03-04T02:33:00.228382+00:00 heroku[web.1]: State changed from down to starting
2015-03-04T02:33:05.010249+00:00 heroku[web.1]: Starting process with command `bundle exec puma -C config/puma.rb`
2015-03-04T02:33:07.896116+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/configuration.rb:179:in `_load_from'
2015-03-04T02:33:07.896123+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/bin/puma:10:in `<top (required)>'
2015-03-04T02:33:07.896099+00:00 app[web.1]: /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/configuration.rb:179:in `read': No such file or directory # rb_sysopen - config/puma.rb (Errno::ENOENT)
2015-03-04T02:33:07.896127+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/bin/puma:23:in `load'
2015-03-04T02:33:07.896120+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/cli.rb:308:in `parse_options'
2015-03-04T02:33:07.896118+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/configuration.rb:40:in `load'
2015-03-04T02:33:07.896121+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/cli.rb:453:in `run'
2015-03-04T02:33:07.896128+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/bin/puma:23:in `<main>'
2015-03-04T02:33:08.726223+00:00 heroku[web.1]: State changed from starting to crashed
2015-03-04T02:33:08.726988+00:00 heroku[web.1]: State changed from crashed to starting
2015-03-04T02:33:08.714157+00:00 heroku[web.1]: Process exited with status 1
2015-03-04T02:33:12.828442+00:00 heroku[web.1]: Starting process with command `bundle exec puma -C config/puma.rb`
2015-03-04T02:33:16.051228+00:00 heroku[web.1]: State changed from starting to crashed
2015-03-04T02:33:16.031660+00:00 heroku[web.1]: Process exited with status 1
2015-03-04T02:33:17.607265+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=alecfwilson-sample-rails-app.herokuapp.com request_id=cc813454-8a73-46b1-9f2f-398653e718b6 fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
2015-03-04T02:33:17.807509+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=alecfwilson-sample-rails-app.herokuapp.com request_id=0f04159b-e864-4a16-8c6d-aee891f112b3 fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
2015-03-04T02:33:18.286091+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/about" host=alecfwilson-sample-rails-app.herokuapp.com request_id=bdee0496-b545-4f15-88fc-1ebd92869e64 fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
2015-03-04T02:33:18.965330+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=alecfwilson-sample-rails-app.herokuapp.com request_id=364c0e82-2cb8-4613-845a-093a09bfb663 fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
2015-03-04T02:33:15.303042+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/cli.rb:308:in `parse_options'
2015-03-04T02:33:15.303046+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/cli.rb:453:in `run'
2015-03-04T02:33:15.303018+00:00 app[web.1]: /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/configuration.rb:179:in `read': No such file or directory # rb_sysopen - config/puma.rb (Errno::ENOENT)
2015-03-04T02:33:15.303051+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/bin/puma:23:in `<main>'
2015-03-04T02:33:15.303040+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/configuration.rb:40:in `load'
2015-03-04T02:33:15.303049+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/bin/puma:23:in `load'
2015-03-04T02:33:15.303037+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/configuration.rb:179:in `_load_from'
2015-03-04T02:33:15.303047+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/bin/puma:10:in `<top (required)>'
2015-03-04T02:33:22.485187+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=alecfwilson-sample-rails-app.herokuapp.com request_id=68be4767-c94f-41b1-84fe-9f7fc95e6f4c fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
2015-03-04T02:33:22.954529+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=alecfwilson-sample-rails-app.herokuapp.com request_id=65918dc8-be1f-4875-997d-a9507b141182 fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
2015-03-04T02:33:23.061083+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=alecfwilson-sample-rails-app.herokuapp.com request_id=ea5e39cf-0b11-482b-a0c2-53f9068eca5f fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
2015-03-04T02:37:48.220193+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=alecfwilson-sample-rails-app.herokuapp.com request_id=be8d1130-94d0-42b7-95ae-e73e5bae3c2d fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
2015-03-04T02:37:49.023244+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=alecfwilson-sample-rails-app.herokuapp.com request_id=7b8ba657-f700-4519-8cda-7ee709aacdf1 fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
2015-03-04T02:37:49.322225+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=alecfwilson-sample-rails-app.herokuapp.com request_id=53642f7e-a8ad-4279-b619-2e482155e792 fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
2015-03-04T02:38:25.709950+00:00 heroku[api]: Release v16 created by alec.f.wilson#gmail.com
2015-03-04T02:38:25.709950+00:00 heroku[api]: Deploy bf99108 by alec.f.wilson#gmail.com
2015-03-04T02:38:26.037514+00:00 heroku[web.1]: State changed from crashed to starting
2015-03-04T02:38:29.655020+00:00 heroku[web.1]: Starting process with command `bundle exec puma -C config/puma.rb`
2015-03-04T02:38:32.015466+00:00 app[web.1]: /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/configuration.rb:179:in `read': No such file or directory # rb_sysopen - config/puma.rb (Errno::ENOENT)
2015-03-04T02:38:32.015483+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/configuration.rb:179:in `_load_from'
2015-03-04T02:38:32.015486+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/configuration.rb:40:in `load'
2015-03-04T02:38:32.015487+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/cli.rb:308:in `parse_options'
2015-03-04T02:38:32.015493+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/bin/puma:10:in `<top (required)>'
2015-03-04T02:38:32.015495+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/bin/puma:23:in `load'
2015-03-04T02:38:32.015491+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/cli.rb:453:in `run'
2015-03-04T02:38:32.015497+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/bin/puma:23:in `<main>'
2015-03-04T02:38:32.719386+00:00 heroku[web.1]: Process exited with status 1
2015-03-04T02:38:32.739368+00:00 heroku[web.1]: State changed from starting to crashed
2015-03-04T02:38:34.073282+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=alecfwilson-sample-rails-app.herokuapp.com request_id=d97ef726-cdcc-4724-ad8d-506f71c36da6 fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
2015-03-04T02:38:34.756462+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=alecfwilson-sample-rails-app.herokuapp.com request_id=b64b5c74-00de-406a-a769-a6771b5ffabd fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
2015-03-04T02:38:35.037847+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=alecfwilson-sample-rails-app.herokuapp.com request_id=90f3b563-de59-4107-a8fe-d613cf98aefd fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
I've already run $ heroku run rake db:migrate, $ heroku restart, and reset the production database. What else can I do here?
Fixed. Going line by line through the logs, found that I had my puma.rb file in the wrong location.
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.
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.
I registered my domain on heroku. On Heroku address my web-site work fine! But on my new domain address my web-site is not work. I see following mistake: An error occurred in the application and your page could not be served.
My heroku address: http://mighty-oasis-6099.herokuapp.com/ - work fine
My new domain address: http://priroda-site.tk/ - is not work
Heroku logs:
ark#ark-Aspire-5750G:~/appq$ heroku logs
2014-07-21T12:18:17.903687+00:00 app[web.1]: Processing by WelcomeController#index as HTML
2014-07-21T12:18:17.734988+00:00 app[web.1]: I, [2014-07-21T12:18:17.734848 #2] INFO -- : Started GET "/" for 46.63.243.55 at 2014-07-21 12:18:17 +0000
2014-07-21T12:18:17.948925+00:00 app[web.1]: Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms)
2014-07-21T12:18:17.734986+00:00 app[web.1]: => Ctrl-C to shutdown server
2014-07-21T12:18:17.944099+00:00 app[web.1]: Processing by WelcomeController#index as HTML
2014-07-21T12:18:17.972098+00:00 app[web.1]: Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
2014-07-21T12:18:17.967684+00:00 app[web.1]: Processing by WelcomeController#index as HTML
2014-07-21T12:18:17.938487+00:00 app[web.1]: Completed 200 OK in 35ms (Views: 11.7ms | ActiveRecord: 0.0ms)
2014-07-21T12:18:16.989193+00:00 heroku[web.1]: State changed from starting to up
2014-07-21T12:18:17.936717+00:00 app[web.1]: Rendered welcome/index.html.erb within layouts/application (7.7ms)
2014-07-21T12:18:17.940683+00:00 app[web.1]: I, [2014-07-21T12:18:17.940568 #2] INFO -- : Started GET "/" for 46.63.243.55 at 2014-07-21 12:18:17 +0000
2014-07-21T12:18:17.947856+00:00 app[web.1]: Rendered welcome/index.html.erb within layouts/application (2.4ms)
2014-07-21T12:18:17.965994+00:00 app[web.1]: I, [2014-07-21T12:18:17.965891 #2] INFO -- : Started GET "/" for 46.63.243.55 at 2014-07-21 12:18:17 +0000
2014-07-21T12:18:17.971296+00:00 app[web.1]: Rendered welcome/index.html.erb within layouts/application (2.6ms)
2014-07-21T12:18:18.991472+00:00 heroku[router]: at=info method=GET path="/" host=mighty-oasis-6099.herokuapp.com request_id=124580f1-de0f-4be
4-8408-1759ba59f086 fwd="46.63.243.55" dyno=web.1 connect=0ms service=17ms status=200 bytes=53606
2014-07-21T12:18:18.987091+00:00 app[web.1]: Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms)
2014-07-21T12:18:18.986091+00:00 app[web.1]: Rendered welcome/index.html.erb within layouts/application (3.4ms)
2014-07-21T12:18:18.976947+00:00 app[web.1]: I, [2014-07-21T12:18:18.976822 #2] INFO -- : Started GET "/" for 46.63.243.55 at 2014-07-21 12:18:18 +0000
2014-07-21T12:18:18.981140+00:00 app[web.1]: Processing by WelcomeController#index as HTML
2014-07-21T12:18:19.335829+00:00 heroku[router]: at=info method=GET path="/videos/Peace.mp4" host=mighty-oasis-6099.herokuapp.com request_id=c9153d1f-bb13-42a7-9b1b-5fbcd9e43eca fwd="46.63.243.55" dyno=web.1 connect=0ms service=3ms status=304 bytes=133
2014-07-21T12:18:19.336964+00:00 heroku[router]: at=info method=GET path="/videos/Bird.mp4" host=mighty-oasis-6099.herokuapp.com request_id=0184fbb1-3a6c-4efe-b5e1-0b8c170248e6 fwd="46.63.243.55" dyno=web.1 connect=1ms service=5ms status=304 bytes=133
2014-07-21T12:18:20.005790+00:00 heroku[router]: at=info method=GET path="/videos/Bird.mp4" host=mighty-oasis-6099.herokuapp.com request_id=00dd5ef5-2622-4a1a-9492-c6c67c2e55d2 fwd="46.63.243.55" dyno=web.1 connect=0ms service=454ms status=206 bytes=2672483
2014-07-21T12:18:20.074863+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=mighty-oasis-6099.herokuapp.com request_id=34cd2190-1cf9-4a35-b715-bf153030491e fwd="46.63.243.55" dyno=web.1 connect=3ms service=330ms status=304 bytes=133
2014-07-21T12:18:21.061306+00:00 heroku[router]: at=info method=GET path="/videos/Peace.mp4" host=mighty-oasis-6099.herokuapp.com request_id=6d8ff2e6-6d5a-4738-85f5-abbd30b16711 fwd="46.63.243.55" dyno=web.1 connect=1ms service=1414ms status=206 bytes=27993450
2014-07-21T13:20:16.486418+00:00 heroku[web.1]: State changed from up to down
2014-07-21T13:20:16.485660+00:00 heroku[web.1]: Idling
2014-07-21T13:20:19.365341+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:170:in `select'
2014-07-21T13:20:19.365334+00:00 app[web.1]: [2014-07-21 13:20:19] FATAL SignalException: SIGTERM
2014-07-21T13:20:19.365348+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:14:in `run'
2014-07-21T13:20:19.365345+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:32:in `start'
2014-07-21T13:20:19.365350+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:264:in `start'
2014-07-21T13:20:19.365343+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:170:in `block in start'
2014-07-21T13:20:19.365391+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/commands/commands_tasks.rb:76:in `tap'
2014-07-21T13:20:19.365397+00:00 app[web.1]: /app/vendor/bundle/r
uby/2.0.0/gems/railties-4.1.1/lib/rails/commands.rb:17:in `<top (required)>'
2014-07-21T13:20:19.365389+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/commands/commands_tasks.rb:81:in `block in server'
2014-07-21T13:20:19.365351+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/commands/server.rb:69:in `start'
2014-07-21T13:20:19.365395+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
2014-07-21T13:20:19.365551+00:00 app[web.1]: [2014-07-21 13:20:19] INFO WEBrick::HTTPServer#start done.
2014-07-21T13:20:19.365613+00:00 app[web.1]: Exiting
2014-07-21T13:20:19.365347+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:160:in `start'
2014-07-21T13:20:19.365393+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/commands/commands_tasks.rb:76:in `server'
2014-07-21T13:20:19.365398+00:00 app[web.1]: bin/rails:8:in `require'
2014-07-21T13:20:19.365400+00:00 app[web.1]: bin/rails:8:in `<main>'
2014-07-21T13:20:19.365425+00:00 app[web.1]: [2014-07-21 13:20:19] INFO going to shutdown ...
2014-07-21T13:20:20.750354+00:00 heroku[web.1]: Process exited with status 143
2014-07-21T13:20:18.877979+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2014-07-21T13:27:38.008184+00:00 heroku[web.1]: Unidling
2014-07-21T13:27:38.008473+00:00 heroku[web.1]: State changed from down to starting
2014-07-21T13:27:46.655660+00:00 app[web.1]: [2014-07-21 13:27:46] INFO WEBrick 1.3.1
2014-07-21T13:27:46.655687+00:00 app[web.1]: [2014-07-21 13:27:46] INFO ruby 2.0.0 (2014-05-08) [x86_64-linux]
2014-07-21T13:27:46.656072+00:00 app[web.1]: [2014-07-21 13:27:46] INFO WEBrick::HTTPServer#start: pid=2 port=13982
2014-07-21T13:27:47.258798+00:00 heroku[web.1]: State changed from starting to up
2014-07-21T13:27:48.243456+00:00 heroku[router]: at=info method=GET path="/" host=mighty-oasis-6099.herokuapp.com request_id=dc8cab61-ab8e-47f9-af04-13ddc312fa43 fwd="74.202.243.44" dyno=web.1 connect=5ms service=166ms status=200 bytes=53646
2014-07-21T13:27:48.084392+00:00 app[web.1]: => Booting WEBrick
2014-07-21T13:27:48.084400+00:00 app[web.1]: => Rails 4.1.1 application starting in production on http://0.0.0.0:13982
2014-07-21T13:27:48.084439+00:00 app[web.1]: I, [2014-07-21T13:27:48.084288 #2] INFO -- : Started GET "/" for 74.202.243.44 at 2014-07-21 13:27:48 +0000
2014-07-21T13:27:48.084402+00:00 app[web.1]: => Run `rails server -h` for more startup options
2014-07-21T13:27:48.084436+00:00 app[web.1]: => Ctrl-C to shutdown server
2014-07-21T13:27:48.169488+00:00 app[web.1]: Processing by WelcomeController#index as HTML
2014-07-21T13:27:48.084404+00:00 app[web.1]: => Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
2014-07-21T13:27:48.239352+00:00 app[web.1]: Completed 200 OK in 70ms (Views: 49.3ms | ActiveRecord: 0.0ms)
2014-07-21T13:27:48.237623+00:00 app[web.1]: Rendered welcome/index.html.erb within layouts/application (45.5ms)
2014-07-21T13:27:43.647314+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 13982 -e production`
2014-07-21T14:02:50.797308+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=priroda-site.tk request_id=11690b9a-59a6-4012-91fa-f447a22fa21c fwd="46.63.243.55" dyno= connect= service= status=503 bytes=
2014-07-21T14:02:51.035501+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/favicon.ico" host=priroda-site.tk request_id=c4fcb005-f091-478e-bf83-d071fc89535d fwd="46.63.243.55" dyno= connect= service= status=503 bytes=
2014-07
-21T14:02:54.478577+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=priroda-site.tk request_id=772a8656-5ba2-4f2b-8f90-f1ffa3aefe4a fwd="46.63.243.55" dyno= connect= service= status=503 bytes=
2014-07-21T14:02:54.910759+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/favicon.ico" host=priroda-site.tk request_id=c32ec8e9-3c54-4d35-917a-e3b165b9ed78 fwd="46.63.243.55" dyno= connect= service= status=503 bytes=
2014-07-21T14:03:06.695464+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=priroda-site.tk request_id=065d5677-7914-4119-8267-ceb8cd98ba93 fwd="46.63.243.55" dyno= connect= service= status=503 bytes=
2014-07-21T14:03:07.002782+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/favicon.ico" host=priroda-site.tk request_id=bfd55239-b2a9-42b6-82d9-a0b248ddc16c fwd="46.63.243.55" dyno= connect= service= status=503 bytes=
2014-07-21T14:05:35.184441+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=priroda-site.tk request_id=8558542a-5632-41a3-8b63-6de4447f0b32 fwd="46.63.243.55" dyno= connect= service= status=503 bytes=
2014-07-21T14:05:35.992088+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/favicon.ico" host=priroda-site.tk request_id=e05ace8e-045d-4e22-95ca-bfecf6fb388d fwd="46.63.243.55" dyno= connect= service= status=503 bytes=
2014-07-21T14:05:50.614054+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=priroda-site.tk request_id=0ed8b7f4-7921-462d-bd76-14bf2cd7d777 fwd="46.63.243.55" dyno= connect= service= status=503 bytes=
2014-07-21T14:05:51.420887+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/favicon.ico" host=priroda-site.tk request_id=0f313ebe-094b-4818-b7c6-ec3c9a2c074a fwd="46.63.243.55" dyno= connect= service= status=503 bytes=
2014-07-21T14:06:35.730002+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=www.priroda-site.tk request_id=729863e1-e33f-460e-b1b0-744637d5b70e fwd="46.63.243.55" dyno= connect= service= status=503 bytes=
2014-07-21T14:06:35.978239+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/favicon.ico" host=www.priroda-site.tk request_id=8f6e7058-8242-4196-b8b1-1d32338c8a04 fwd="46.63.243.55" dyno= connect= service= status=503 bytes=
2014-07-21T14:06:41.405524+00:00 heroku[router]: at=info method=GET path="/" host=mighty-oasis-6099.herokuapp.com request_id=ccfde137-bdfc-4eb5-937f-16536b6efbae fwd="46.63.243.55" dyno=web.1 connect=0ms service=14ms status=304 bytes=727
2014-07-21T14:06:41.400111+00:00 app[web.1]: Processing by WelcomeController#index as HTML
2014-07-21T14:06:41.405111+00:00 app[web.1]: Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)
2014-07-21T14:06:41.396201+00:00 app[web.1]: I, [2014-07-21T14:06:41.396087 #2] INFO -- : Started GET "/" for 46.63.243.55 at 2014-07-21 14:06:41 +0000
2014-07-21T14:06:41.404399+00:00 app[web.1]: Rendered welcome/index.html.erb within layouts/application (2.5ms)
2014-07-21T14:06:42.011078+00:00 heroku[router]: at=info method=GET path="/videos/Bird.mp4" host=mighty-oasis-6099.herokuapp.com request_id=f8c52900-db94-4fe1-b4ba-86d4955ac7c2 fwd="46.63.243.55" dyno=web.1 connect=1ms service=4ms status=304 bytes=133
2014-07-21T14:06:42.020591+00:00 heroku[router]: at=info method=GET path="/videos/Peace.mp4" host=mighty-oasis-6099.herokuapp.com request_id=a2c95155-6666-4abc-835b-e42e38900304 fwd="46.63.243.55" dyno=web.1 connect=1ms service=4ms status=304 bytes=133
2014-07-21T14:06:42.268714+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=mighty-oasis-6099.herokuapp.com request_id=6cbbd898-e8ee-41eb-9d4a-cf8f9e9e9e29 fwd="46.63.243.55" dyno=web.1 connect=0ms service=4ms status=304 bytes=133
2014-07-21T14:06:42.851849+00:00 heroku[router]: at=info method=GET path="/videos/Bird.mp4" host=mighty-oasis-6099.herokuapp.com request_id=8095f19a-5199-4db9-be51-84b7ee4274e8 fwd="46.63.243.55" dyno=web.1 connect=1ms service=362ms status=206 bytes=2627683
2014-07-21T14:06:43.611025+00:00 heroku[router]: at=info method=GET path="/videos/Peace.mp4" host=mighty-oasis-6099.herokuapp.com request_id=6fdcb509-3429-4076-8515-00a0de0ca9d1 fwd="46.63.243.55" dyno=web.1 connect=1ms service=1101ms status=206 bytes=27960556
2014-07-21T14:06:47.063494+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=priroda-site.tk request_id=d2c1a195-986f-4d1d-ae02-66f3024d0d58 fwd="46.63.243.55" dyno= connect= service= status=503 bytes=
2014-07-21T14:06:47.308490+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/favicon.ico" host=priroda-site.tk request_id=f37834b4-1cd7-4982-8c42-05cb18a47afc fwd="46.63.243.55" dyno= connect= service= status=503 bytes=
2014-07-21T14:08:22.081645+00:00 heroku[api]: Scale to web=1 by kotinoka2014#rambler.ru
2014-07-21T14:10:55.305823+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=priroda-site.tk request_id=ce12bb09-4fbc-499f-8598-1b37183e330a fwd="46.63.243.55" dyno= connect= service= status=503 bytes=
2014-07-21T14:10:56.051457+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/favicon.ico" host=priroda-site.tk request_id=67cb9db1-2709-40f3-b391-3863aa6d1144 fwd="46.63.243.55" dyno= connect= service= status=503 bytes=
2014-07-21T14:11:25.601031+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=priroda-site.tk request_id=e757fc03-75f6-455a-bddf-9251a667d756 fwd="46.63.243.55" dyno= connect= service= status=503 bytes=
2014-07-21T14:11:26.600772+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/favicon.ico" host=priroda-site.tk request_id=fbdb8d37-e151-4f36-84e3-64fda6b7c7d4 fwd="46.63.243.55" dyno= connect= service= status=503 bytes=
2014-07-21T14:12:17.222599+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=priroda-site.tk request_id=42dd75d9-79b2-423d-87b2-4ed4ed760028 fwd="46.63.243.55" dyno= connect= service= status=503 bytes=
2014-07-21T14:12:17.715300+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/favicon.ico" host=priroda-site.tk request_id=05f176c8-51cb-4632-a70c-a2785b6553b6 fwd="46.63.243.55" dyno= connect= service= status=503 bytes=
2014-07-21T14:15:51.944861+00:00 heroku[router]: at=info method=GET path="/" host=mighty-oasis-6099.herokuapp.com request_id=ba78436a-a3d8-4a12-8b22-102e7adcb743 fwd="46.63.243.55" dyno=web.1 connect=1ms service=13ms status=304 bytes=727
2014-07-21T14:15:51.935493+00:00 app[web.1]: I, [2014-07-21T14:15:51.935387 #2] INFO -- : Started GET "/" for 46.63.243.55 at 2014-07-21 14:15:51 +0000
2014-07-21T14:15:51.941951+00:00 app[web.1]: Rendered welcome/index.html.erb within layouts/application (2.3ms)
2014-07-21T14:15:51.938015+00:00 app[web.1]: Processing by WelcomeController#index as HTML
2014-07-21T14:15:51.942754+00:00 app[web.1]: Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms)
2014-07-21T14:15:52.926411+00:00 heroku[router]: at=info method=GET path="/videos/Bird.mp4" host=mighty-oasis-6099.herokuapp.com request_id=b69db571-5824-4d49-8ece-351f2a467b3e fwd="46.63.243.55" dyno=web.1 connect=6ms service=311ms status=206 bytes=2597726
2014-07-21T14:15:53.773418+00:00 heroku[router]: at=info method=GET path="/videos/Peace.mp4" host=mighty-oasis-6099.herokuapp.com request_id=6271b261-bbb4-48b7-ad12-68de708c5f10 fwd="46.63.243.55" dyno=web.1 connect=2ms service=1172ms status=206 bytes=27939166
Production.rb
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# Code is not reloaded between requests.
config.cache_classes = true
# Eager load code on boot. This eager loads most of Rails and
# your application in memory, allowing both threaded web servers
# and those relying on copy on write to perform better.
# Rake tasks automatically ignore this option for performance.
config.eager_load = true
# Full error reports are disabled and caching is turned on.
config.consider_all_requests_local = false
config.action_controller.perform_caching = true
# Enable Rack::Cache to put a simple HTTP cache in front of your application
# Add `rack-cache` to your Gemfile before enabling this.
# For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
# config.action_dispatch.rack_cache = true
# Disable Rails's static asset server (Apache or nginx will already do this).
config.serve_static_assets = true
# Compress JavaScripts and CSS.
config.assets.js_compressor = :uglifier
# config.assets.css_compressor = :sass
# Do not fallback to assets pipeline if a precompiled asset is missed.
config.assets.compile = false
# Generate digests for assets URLs.
config.assets.digest = true
# Version of your assets, change this if you want to expire all your assets.
config.assets.version = '1.0'
# Specifies the header that your server uses for sending files.
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
# config.force_ssl = true
# Set to :debug to see everything in the log.
config.log_level = :info
# Prepend all log lines with the following tags.
# config.log_tags = [ :subdomain, :uuid ]
# Use a different logger for distributed setups.
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
# Use a different cache store in production.
# config.cache_store = :mem_cache_store
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
# config.action_controller.asset_host = "http://assets.example.com"
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
# config.assets.precompile += %w( search.js )
# Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
# config.action_mailer.raise_delivery_errors = false
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
# the I18n.default_locale when a translation cannot be found).
config.i18n.fallbacks = true
# Send deprecation notices to registered listeners.
config.active_support.deprecation = :notify
# Disable automatic flushing of the log to improve performance.
# config.autoflush_log = false
# Use default logging formatter so that PID and timestamp are not suppressed.
config.log_formatter = ::Logger::Formatter.new
# Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false
end
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