質問編集履歴
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,133 +14,129 @@
|
|
14
14
|
|
15
15
|
### エラーメッセージ
|
16
16
|
|
17
|
-
heroku logs -t
|
17
|
+
heroku logs --tail
|
18
18
|
|
19
19
|
とするとログが出力されます。
|
20
20
|
|
21
21
|
```
|
22
22
|
|
23
|
-
2020-06-04T06:34:17.511946+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.1/lib/rails/initializable.rb:32:in `instance_exec'
|
24
|
-
|
25
|
-
2020-06-04T06:34:17.511947+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.1/lib/rails/initializable.rb:32:in `run'
|
26
|
-
|
27
|
-
2020-06-04T06:34:17.511967+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.1/lib/rails/initializable.rb:61:in `block in run_initializers'
|
28
|
-
|
29
|
-
2020-06-04T0
|
23
|
+
2020-06-04T08:59:47.581168+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-
|
30
|
-
|
31
|
-
2020-06-04T06:34:17.511971+00:00 app[web.1]: from /app/vendor/ruby-2.6.6/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
|
32
24
|
|
33
25
|
省略
|
34
26
|
|
35
|
-
2020-06-04T0
|
36
|
-
|
37
|
-
2020-06-04T0
|
38
|
-
|
39
|
-
2020-06-04T0
|
40
|
-
|
41
|
-
2020-06-04T0
|
42
|
-
|
43
|
-
2020-06-04T0
|
44
|
-
|
45
|
-
2020-06-04T0
|
46
|
-
|
47
|
-
2020-06-04T0
|
48
|
-
|
49
|
-
2020-06-04T0
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
2020-06-04T0
|
54
|
-
|
55
|
-
2020-06-04T0
|
56
|
-
|
57
|
-
2020-06-04T0
|
58
|
-
|
59
|
-
2020-06-04T0
|
60
|
-
|
61
|
-
2020-06-04T0
|
62
|
-
|
63
|
-
2020-06-04T0
|
64
|
-
|
65
|
-
2020-06-04T0
|
66
|
-
|
67
|
-
2020-06-04T0
|
68
|
-
|
69
|
-
2020-06-04T0
|
70
|
-
|
71
|
-
2020-06-04T0
|
72
|
-
|
73
|
-
2020-06-04T0
|
74
|
-
|
75
|
-
2020-06-04T0
|
76
|
-
|
77
|
-
2020-06-04T0
|
78
|
-
|
79
|
-
2020-06-04T0
|
80
|
-
|
81
|
-
2020-06-04T0
|
82
|
-
|
83
|
-
2020-06-04T0
|
84
|
-
|
85
|
-
2020-06-04T0
|
86
|
-
|
87
|
-
2020-06-04T0
|
88
|
-
|
89
|
-
2020-06-04T0
|
90
|
-
|
91
|
-
2020-06-04T0
|
92
|
-
|
93
|
-
2020-06-04T0
|
94
|
-
|
95
|
-
2020-06-04T0
|
96
|
-
|
97
|
-
2020-06-04T0
|
98
|
-
|
99
|
-
2020-06-04T0
|
100
|
-
|
101
|
-
2020-06-04T0
|
102
|
-
|
103
|
-
2020-06-04T0
|
104
|
-
|
105
|
-
2020-06-04T0
|
106
|
-
|
107
|
-
2020-06-04T0
|
108
|
-
|
109
|
-
2020-06-04T0
|
110
|
-
|
111
|
-
2020-06-04T0
|
112
|
-
|
113
|
-
2020-06-04T0
|
114
|
-
|
115
|
-
2020-06-04T0
|
116
|
-
|
117
|
-
2020-06-04T0
|
118
|
-
|
119
|
-
2020-06-04T0
|
120
|
-
|
121
|
-
2020-06-04T0
|
122
|
-
|
123
|
-
2020-06-04T0
|
124
|
-
|
125
|
-
2020-06-04T0
|
126
|
-
|
127
|
-
2020-06-04T0
|
128
|
-
|
129
|
-
2020-06-04T0
|
130
|
-
|
131
|
-
2020-06-04T0
|
132
|
-
|
133
|
-
2020-06-04T0
|
134
|
-
|
135
|
-
2020-06-04T0
|
136
|
-
|
137
|
-
2020-06-04T0
|
138
|
-
|
139
|
-
2020-06-04T0
|
140
|
-
|
141
|
-
2020-06-04T0
|
142
|
-
|
143
|
-
2020-06-04T0
|
27
|
+
2020-06-04T08:59:47.581313+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:116:in `new_from_string'
|
28
|
+
|
29
|
+
2020-06-04T08:59:47.581316+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:105:in `load_file'
|
30
|
+
|
31
|
+
2020-06-04T08:59:47.581336+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:66:in `parse_file'
|
32
|
+
|
33
|
+
2020-06-04T08:59:47.581337+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/server.rb:349:in `build_app_and_options_from_config'
|
34
|
+
|
35
|
+
2020-06-04T08:59:47.581343+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/server.rb:249:in `app'
|
36
|
+
|
37
|
+
2020-06-04T08:59:47.581345+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/server.rb:422:in `wrapped_app'
|
38
|
+
|
39
|
+
2020-06-04T08:59:47.581364+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/server.rb:312:in `block in start'
|
40
|
+
|
41
|
+
2020-06-04T08:59:47.581365+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/server.rb:379:in `handle_profiling'
|
42
|
+
|
43
|
+
/app/vendor/bundle/ruby/2.6.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
|
44
|
+
|
45
|
+
2020-06-04T08:59:47.581415+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
|
46
|
+
|
47
|
+
2020-06-04T08:59:47.667499+00:00 heroku[web.1]: State changed from crashed to starting
|
48
|
+
|
49
|
+
2020-06-04T09:00:04.131661+00:00 app[web.1]: DEPRECATION WARNING: Including LoggerSilence is deprecated and will be removed in Rails 6.1. Please use `ActiveSupport::LoggerSilence` instead (called from <top (required)> at /app/config/application.rb:3)
|
50
|
+
|
51
|
+
2020-06-04T09:00:04.213157+00:00 app[web.1]: => Booting Puma
|
52
|
+
|
53
|
+
2020-06-04T09:00:04.213160+00:00 app[web.1]: => Rails 6.0.3.1 application starting in production
|
54
|
+
|
55
|
+
2020-06-04T09:00:04.213160+00:00 app[web.1]: => Run `rails server --help` for more startup options
|
56
|
+
|
57
|
+
2020-06-04T09:00:06.496369+00:00 app[web.1]: Exiting
|
58
|
+
|
59
|
+
2020-06-04T09:00:06.496674+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.2/lib/i18n/backend/base.rb:227:in `load_file': can not load translations from /app/config/locales/en.yml: expects it to return a hash, but does not (I18n::InvalidLocaleData)
|
60
|
+
|
61
|
+
2020-06-04T09:00:06.496701+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.2/lib/i18n/backend/base.rb:18:in `block in load_translations'
|
62
|
+
|
63
|
+
2020-06-04T09:00:06.496702+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.2/lib/i18n/backend/base.rb:18:in `each'
|
64
|
+
|
65
|
+
2020-06-04T09:00:06.496705+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.2/lib/i18n/backend/base.rb:18:in `load_translations'
|
66
|
+
|
67
|
+
2020-06-04T09:00:06.496706+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.2/lib/i18n/backend/simple.rb:80:in `init_translations'
|
68
|
+
|
69
|
+
2020-06-04T09:00:06.496708+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.2/lib/i18n/backend/simple.rb:65:in `eager_load!'
|
70
|
+
|
71
|
+
2020-06-04T09:00:06.496729+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.2/lib/i18n.rb:76:in `eager_load!'
|
72
|
+
|
73
|
+
2020-06-04T09:00:06.496730+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.1/lib/rails/application/finisher.rb:123:in `each'
|
74
|
+
|
75
|
+
2020-06-04T09:00:06.496734+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.1/lib/rails/application/finisher.rb:123:in `block in <module:Finisher>'
|
76
|
+
|
77
|
+
2020-06-04T09:00:06.496737+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.1/lib/rails/initializable.rb:32:in `instance_exec'
|
78
|
+
|
79
|
+
2020-06-04T09:00:06.496758+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.1/lib/rails/initializable.rb:32:in `run'
|
80
|
+
|
81
|
+
2020-06-04T09:00:06.496758+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.1/lib/rails/initializable.rb:61:in `block in run_initializers'
|
82
|
+
|
83
|
+
2020-06-04T09:00:06.496761+00:00 app[web.1]: from /app/vendor/ruby-2.6.6/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each'
|
84
|
+
|
85
|
+
2020-06-04T09:00:06.496764+00:00 app[web.1]: from /app/vendor/ruby-2.6.6/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
|
86
|
+
|
87
|
+
2020-06-04T09:00:06.496793+00:00 app[web.1]: from /app/vendor/ruby-2.6.6/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from'
|
88
|
+
|
89
|
+
2020-06-04T09:00:06.496794+00:00 app[web.1]: from /app/vendor/ruby-2.6.6/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component'
|
90
|
+
|
91
|
+
2020-06-04T09:00:06.496799+00:00 app[web.1]: from /app/vendor/ruby-2.6.6/lib/ruby/2.6.0/tsort.rb:347:in `each'
|
92
|
+
|
93
|
+
2020-06-04T09:00:06.496799+00:00 app[web.1]: from /app/vendor/ruby-2.6.6/lib/ruby/2.6.0/tsort.rb:347:in `call'
|
94
|
+
|
95
|
+
2020-06-04T09:00:06.496802+00:00 app[web.1]: from /app/vendor/ruby-2.6.6/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component'
|
96
|
+
|
97
|
+
2020-06-04T09:00:06.496805+00:00 app[web.1]: from /app/vendor/ruby-2.6.6/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each'
|
98
|
+
|
99
|
+
2020-06-04T09:00:06.496832+00:00 app[web.1]: from /app/vendor/ruby-2.6.6/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each'
|
100
|
+
|
101
|
+
2020-06-04T09:00:06.496833+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.1/lib/rails/initializable.rb:60:in `run_initializers'
|
102
|
+
|
103
|
+
2020-06-04T09:00:06.496837+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.1/lib/rails/application.rb:363:in `initialize!'
|
104
|
+
|
105
|
+
2020-06-04T09:00:06.496855+00:00 app[web.1]: from /app/config/environment.rb:2:in `<top (required)>'
|
106
|
+
|
107
|
+
2020-06-04T09:00:06.496859+00:00 app[web.1]: from config.ru:1:in `require_relative'
|
108
|
+
|
109
|
+
2020-06-04T09:00:06.496860+00:00 app[web.1]: from config.ru:1:in `block in <main>'
|
110
|
+
|
111
|
+
2020-06-04T09:00:06.496860+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:116:in `eval'
|
112
|
+
|
113
|
+
2020-06-04T09:00:06.496861+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:116:in `new_from_string'
|
114
|
+
|
115
|
+
2020-06-04T09:00:06.496861+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:105:in `load_file'
|
116
|
+
|
117
|
+
2020-06-04T09:00:06.496864+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:66:in `parse_file'
|
118
|
+
|
119
|
+
2020-06-04T09:00:06.496864+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/server.rb:349:in `build_app_and_options_from_config'
|
120
|
+
|
121
|
+
2020-06-04T09:00:06.496895+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/server.rb:249:in `app'
|
122
|
+
|
123
|
+
2020-06-04T09:00:06.496895+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/server.rb:422:in `wrapped_app'
|
124
|
+
|
125
|
+
2020-06-04T09:00:06.496899+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/server.rb:312:in `block in start'
|
126
|
+
|
127
|
+
2020-06-04T09:00:06.496900+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/server.rb:379:in `handle_profiling'
|
128
|
+
|
129
|
+
2020-06-04T09:00:06.496902+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/server.rb:311:in `start'
|
130
|
+
|
131
|
+
2020-06-04T09:00:06.496931+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.1/lib/rails/commands/server/server_command.rb:39:in `start'
|
132
|
+
|
133
|
+
2020-06-04T09:00:06.496932+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.1/lib/rails/commands/server/server_command.rb:147:in `block in perform'
|
134
|
+
|
135
|
+
2020-06-04T09:00:06.496935+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.1/lib/rails/commands/server/server_command.rb:138:in `tap'
|
136
|
+
|
137
|
+
省略
|
138
|
+
|
139
|
+
2020-06-04T09:00:09.918944+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=butube.herokuapp.com request_id=5342f61d-fcdf-46fb-a029-efbe12ab96dc fwd="133.201.148.96" dyno= connect= service= status=503 bytes= protocol=https
|
144
140
|
|
145
141
|
```
|
146
142
|
|
@@ -180,6 +176,26 @@
|
|
180
176
|
|
181
177
|
```
|
182
178
|
|
179
|
+
config/environment/development.rb
|
180
|
+
|
181
|
+
config/environment/production.rb
|
182
|
+
|
183
|
+
config/environment/test.rb
|
184
|
+
|
185
|
+
上の3つのファイルに
|
186
|
+
|
187
|
+
```
|
188
|
+
|
189
|
+
error_logger = ActiveSupport::Logger.new(STDOUT)
|
190
|
+
|
191
|
+
error_logger.level = Logger::ERROR
|
192
|
+
|
193
|
+
Rails.logger.extend ActiveSupport::Logger.broadcast(error_logger)
|
194
|
+
|
195
|
+
```
|
196
|
+
|
197
|
+
を追記しましたがうまくいきません。
|
198
|
+
|
183
199
|
|
184
200
|
|
185
201
|
### 補足情報
|