railsでwebアプリを作っていてこれをデプロイしたいです。
Herokuへのデプロイは成功したんですが、実際に開いてみるとアプリケーションエラーになります。
これがログ(All Processes, web)になります。
ログを見てもどこに問題があるのかわかりません。
問題の解決方法や問題がありそうな箇所をご教授願えないでしょうか?
ログ(All Processes)
2021-05-23T20:01:19.598623+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require' 2021-05-23T20:01:19.598624+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi' 2021-05-23T20:01:19.598624+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register' 2021-05-23T20:01:19.598627+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi' 2021-05-23T20:01:19.598629+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require' 2021-05-23T20:01:19.598632+00:00 app[web.1]: from bin/rails:5:in `<main>' 2021-05-23T20:01:19.671859+00:00 heroku[web.1]: Process exited with status 1 2021-05-23T20:01:19.763441+00:00 heroku[web.1]: State changed from starting to crashed 2021-05-23T21:26:18.686487+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=dialogbook-retreat.herokuapp.com request_id=2741214d-2b41-46e7-90f7-3a5e317512c1 fwd="60.72.86.137" dyno= connect= service= status=503 bytes= protocol=https 2021-05-23T21:26:18.976892+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=dialogbook-retreat.herokuapp.com request_id=80ea5446-a28f-4827-a257-634289d9960f fwd="60.72.86.137" dyno= connect= service= status=503 bytes= protocol=https 2021-05-23T21:27:33.196213+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=dialogbook-retreat.herokuapp.com request_id=30666d95-f75f-4665-abe8-c6212bef2f17 fwd="60.72.86.137" dyno= connect= service= status=503 bytes= protocol=http 2021-05-23T21:27:33.661432+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=dialogbook-retreat.herokuapp.com request_id=966ba6d9-cdb6-49c9-a336-482f235b0d24 fwd="60.72.86.137" dyno= connect= service= status=503 bytes= protocol=http
ログ(web)
2021-05-24T01:53:57.728329+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.1.3.2/lib/rails/command.rb:50:in `invoke' 2021-05-24T01:53:57.728331+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.1.3.2/lib/rails/commands.rb:18:in `<main>' 2021-05-24T01:53:57.728345+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require' 2021-05-24T01:53:57.728346+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi' 2021-05-24T01:53:57.728348+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register' 2021-05-24T01:53:57.728351+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi' 2021-05-24T01:53:57.728365+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require' 2021-05-24T01:53:57.728365+00:00 app[web.1]: from bin/rails:5:in `<main>' 2021-05-24T01:53:57.795347+00:00 heroku[web.1]: Process exited with status 1 2021-05-24T01:53:57.863933+00:00 heroku[web.1]: State changed from starting to crashed
追記
Windows10にwslを導入し、Ubuntuを使用
Ruby -2.7.1
Rails -6系
Bootstrap4
DB … Postgresql
ライブラリ … Devise
あなたの回答
tips
プレビュー