質問編集履歴

1

バックエンド側のエラーログの内容

2022/06/20 18:07

投稿

mymt658
mymt658

スコア15

test CHANGED
File without changes
test CHANGED
@@ -26,9 +26,48 @@
26
26
 
27
27
  ```ここに言語を入力
28
28
  バックエンド側エラー
29
- ! Unable to load application: ArgumentError: Missing `secret_key_base` for 'production' environment, set this string with `rails credentials:edit`
30
- 2022-06-20T16:43:26.748302+00:00 app[web.1]: bundler: failed to load command: puma (/usr/local/bundle/bin/puma)
31
- 2022-06-20T16:43:26.748326+00:00 app[web.1]: ArgumentError: Missing `secret_key_base` for 'production' environment, set this string with `rails credentials:edit`
29
+ Unable to load application: ArgumentError: Missing `secret_key_base` for 'production' environment, set this string with `rails credentials:edit`
30
+ 2022-06-20T17:57:57.714748+00:00 app[web.1]: bundler: failed to load command: puma (/usr/local/bundle/bin/puma)
31
+ 2022-06-20T17:57:57.714778+00:00 app[web.1]: ArgumentError: Missing `secret_key_base` for 'production' environment, set this string with `rails credentials:edit`
32
+ 2022-06-20T17:57:57.714779+00:00 app[web.1]: /usr/local/bundle/gems/railties-6.0.4.7/lib/rails/application.rb:588:in `validate_secret_key_base'
33
+ 2022-06-20T17:57:57.714780+00:00 app[web.1]: /usr/local/bundle/gems/railties-6.0.4.7/lib/rails/application.rb:423:in `secret_key_base'
34
+ 2022-06-20T17:57:57.714781+00:00 app[web.1]: /usr/local/bundle/gems/devise-4.8.1/lib/devise/secret_key_finder.rb:24:in `key_exists?'
35
+ 2022-06-20T17:57:57.714781+00:00 app[web.1]: /usr/local/bundle/gems/devise-4.8.1/lib/devise/secret_key_finder.rb:16:in `find'
36
+ 2022-06-20T17:57:57.714781+00:00 app[web.1]: /usr/local/bundle/gems/devise-4.8.1/lib/devise/rails.rb:37:in `block in <class:Engine>'
37
+ 2022-06-20T17:57:57.714781+00:00 app[web.1]: /usr/local/bundle/gems/railties-6.0.4.7/lib/rails/initializable.rb:32:in `instance_exec'
38
+ 2022-06-20T17:57:57.714782+00:00 app[web.1]: /usr/local/bundle/gems/railties-6.0.4.7/lib/rails/initializable.rb:32:in `run'
39
+ 2022-06-20T17:57:57.714782+00:00 app[web.1]: /usr/local/bundle/gems/railties-6.0.4.7/lib/rails/initializable.rb:61:in `block in run_initializers'
40
+ 2022-06-20T17:57:57.714782+00:00 app[web.1]: /usr/local/lib/ruby/2.7.0/tsort.rb:228:in `block in tsort_each'
41
+ 2022-06-20T17:57:57.714783+00:00 app[web.1]: /usr/local/lib/ruby/2.7.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
42
+ 2022-06-20T17:57:57.714783+00:00 app[web.1]: /usr/local/lib/ruby/2.7.0/tsort.rb:431:in `each_strongly_connected_component_from'
43
+ 2022-06-20T17:57:57.714783+00:00 app[web.1]: /usr/local/lib/ruby/2.7.0/tsort.rb:349:in `block in each_strongly_connected_component'
44
+ 2022-06-20T17:57:57.714784+00:00 app[web.1]: /usr/local/lib/ruby/2.7.0/tsort.rb:347:in `each'
45
+ 2022-06-20T17:57:57.714784+00:00 app[web.1]: /usr/local/lib/ruby/2.7.0/tsort.rb:347:in `call'
46
+ 2022-06-20T17:57:57.714784+00:00 app[web.1]: /usr/local/lib/ruby/2.7.0/tsort.rb:347:in `each_strongly_connected_component'
47
+ 2022-06-20T17:57:57.714785+00:00 app[web.1]: /usr/local/lib/ruby/2.7.0/tsort.rb:226:in `tsort_each'
48
+ 2022-06-20T17:57:57.714785+00:00 app[web.1]: /usr/local/lib/ruby/2.7.0/tsort.rb:205:in `tsort_each'
49
+ 2022-06-20T17:57:57.714785+00:00 app[web.1]: /usr/local/bundle/gems/railties-6.0.4.7/lib/rails/initializable.rb:60:in `run_initializers'
50
+ 2022-06-20T17:57:57.714785+00:00 app[web.1]: /usr/local/bundle/gems/railties-6.0.4.7/lib/rails/application.rb:363:in `initialize!'
51
+ 2022-06-20T17:57:57.714786+00:00 app[web.1]: /myapp/config/environment.rb:5:in `<top (required)>'
52
+ 2022-06-20T17:57:57.714786+00:00 app[web.1]: config.ru:3:in `require_relative'
53
+ 2022-06-20T17:57:57.714787+00:00 app[web.1]: config.ru:3:in `block in <main>'
54
+ 2022-06-20T17:57:57.714787+00:00 app[web.1]: /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:116:in `eval'
55
+ 2022-06-20T17:57:57.714787+00:00 app[web.1]: /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:116:in `new_from_string'
56
+ 2022-06-20T17:57:57.714787+00:00 app[web.1]: /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:105:in `load_file'
57
+ 2022-06-20T17:57:57.714788+00:00 app[web.1]: /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:66:in `parse_file'
58
+ 2022-06-20T17:57:57.714788+00:00 app[web.1]: /usr/local/bundle/gems/puma-4.3.12/lib/puma/configuration.rb:321:in `load_rackup'
59
+ 2022-06-20T17:57:57.714788+00:00 app[web.1]: /usr/local/bundle/gems/puma-4.3.12/lib/puma/configuration.rb:246:in `app'
60
+ 2022-06-20T17:57:57.714788+00:00 app[web.1]: /usr/local/bundle/gems/puma-4.3.12/lib/puma/runner.rb:155:in `load_and_bind'
61
+ 2022-06-20T17:57:57.714789+00:00 app[web.1]: /usr/local/bundle/gems/puma-4.3.12/lib/puma/single.rb:98:in `run'
62
+ 2022-06-20T17:57:57.714789+00:00 app[web.1]: /usr/local/bundle/gems/puma-4.3.12/lib/puma/launcher.rb:172:in `run'
63
+ 2022-06-20T17:57:57.714789+00:00 app[web.1]: /usr/local/bundle/gems/puma-4.3.12/lib/puma/cli.rb:80:in `run'
64
+ 2022-06-20T17:57:57.714789+00:00 app[web.1]: /usr/local/bundle/gems/puma-4.3.12/bin/puma:10:in `<top (required)>'
65
+ 2022-06-20T17:57:57.714790+00:00 app[web.1]: /usr/local/bundle/bin/puma:23:in `load'
66
+ 2022-06-20T17:57:57.714790+00:00 app[web.1]: /usr/local/bundle/bin/puma:23:in `<top (required)>'
67
+ 2022-06-20T17:57:57.883268+00:00 heroku[web.1]: Process exited with status 1
68
+ 2022-06-20T17:57:57.924554+00:00 heroku[web.1]: State changed from starting to crashed
69
+ 2022-06-20T17:57:58.765086+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=englist.herokuapp.com request_id=2207c202-391a-46e3-90db-5b813206653b fwd="106.180.10.162" dyno= connect= service= status=503 bytes= protocol=https
70
+
32
71
 
33
72
  ```
34
73