質問編集履歴

2

エラー部分のログの追加

2019/02/28 14:32

投稿

tak878
tak878

スコア10

test CHANGED
File without changes
test CHANGED
@@ -298,14 +298,64 @@
298
298
 
299
299
  $heroku logs
300
300
 
301
- 2019-02-27T09:39:20.178986+00:00 heroku[web.1]: State changed from up to down
302
-
303
- 2019-02-27T09:39:21.327041+00:00 heroku[web.1]: Stopping all processes with SIGTERM
304
-
305
- 2019-02-27T09:39:20.178986+00:00 heroku[web.1]: State changed from up to down
306
-
307
- 2019-02-27T09:39:21.327041+00:00 heroku[web.1]: Stopping all processes with SIGTERM
308
-
309
-
310
-
311
- ```
301
+ 2019-02-27T11:07:36.696670+00:00 heroku[run.6060]: Awaiting client
302
+
303
+ 2019-02-27T11:07:36.733726+00:00 heroku[run.6060]: Starting process with command `rails db:migrate`
304
+
305
+ 2019-02-27T11:07:37.127872+00:00 heroku[run.6060]: State changed from starting to up
306
+
307
+ 2019-02-27T11:07:44.362286+00:00 heroku[run.6060]: State changed from up to complete
308
+
309
+ 2019-02-27T11:07:44.345745+00:00 heroku[run.6060]: Process exited with status 0
310
+
311
+ 2019-02-27T11:34:06.530234+00:00 heroku[web.1]: Idling
312
+
313
+ 2019-02-27T11:34:06.548070+00:00 heroku[web.1]: State changed from up to down
314
+
315
+ 2019-02-27T11:34:07.669420+00:00 heroku[web.1]: Stopping all processes with SIGTERM
316
+
317
+ 2019-02-27T11:34:07.703117+00:00 app[web.1]: [4] - Gracefully shutting down workers...
318
+
319
+ 2019-02-27T11:34:08.178818+00:00 heroku[web.1]: Process exited with status 143
320
+
321
+ 2019-02-28T14:10:47.180765+00:00 heroku[web.1]: State changed from down to starting
322
+
323
+ 2019-02-28T14:11:02.235525+00:00 heroku[web.1]: Starting process with command `bundle exec puma -C config/puma.rb`
324
+
325
+ 2019-02-28T14:11:04.372371+00:00 app[web.1]: [4] Puma starting in cluster mode...
326
+
327
+ 2019-02-28T14:11:04.372402+00:00 app[web.1]: [4] * Version 3.12.0 (ruby 2.4.1-p111), codename: Llamas in Pajamas
328
+
329
+ 2019-02-28T14:11:04.372404+00:00 app[web.1]: [4] * Min threads: 1, max threads: 1
330
+
331
+ 2019-02-28T14:11:04.372406+00:00 app[web.1]: [4] * Environment: production
332
+
333
+ 2019-02-28T14:11:04.372407+00:00 app[web.1]: [4] * Process workers: 2
334
+
335
+ 2019-02-28T14:11:04.372409+00:00 app[web.1]: [4] * Preloading application
336
+
337
+ 2019-02-28T14:11:08.393436+00:00 heroku[web.1]: State changed from starting to up
338
+
339
+ 2019-02-28T14:11:08.269058+00:00 app[web.1]: [4] * Listening on tcp://0.0.0.0:56137
340
+
341
+ 2019-02-28T14:11:08.269449+00:00 app[web.1]: [4] ! WARNING: Detected 1 Thread(s) started in app boot:
342
+
343
+ 2019-02-28T14:11:08.269587+00:00 app[web.1]: [4] ! #<Thread:0x0055aa8f136430@/app/vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:299 sleep> - /app/vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:301:in `sleep'
344
+
345
+ 2019-02-28T14:11:08.269760+00:00 app[web.1]: [4] Use Ctrl-C to stop
346
+
347
+ 2019-02-28T14:11:08.310544+00:00 app[web.1]: [4] - Worker 0 (pid: 10) booted, phase: 0
348
+
349
+ 2019-02-28T14:11:08.314965+00:00 app[web.1]: [4] - Worker 1 (pid: 20) booted, phase: 0
350
+
351
+ 2019-02-28T14:11:40.662296+00:00 heroku[run.6209]: State changed from starting to up
352
+
353
+ 2019-02-28T14:11:40.731192+00:00 heroku[run.6209]: Awaiting client
354
+
355
+ 2019-02-28T14:11:40.771479+00:00 heroku[run.6209]: Starting process with command `rails db:migrate`
356
+
357
+ 2019-02-28T14:11:52.346512+00:00 heroku[run.6209]: State changed from up to complete
358
+
359
+ 2019-02-28T14:11:52.322330+00:00 heroku[run.6209]: Process exited with status 0
360
+
361
+ ```

1

エラーコードの追加

2019/02/28 14:32

投稿

tak878
tak878

スコア10

test CHANGED
File without changes
test CHANGED
@@ -288,6 +288,24 @@
288
288
 
289
289
  </html>
290
290
 
291
- コード
292
-
293
- ```
291
+ ```
292
+
293
+
294
+
295
+ ### エラーコード
296
+
297
+ ```$h
298
+
299
+ $heroku logs
300
+
301
+ 2019-02-27T09:39:20.178986+00:00 heroku[web.1]: State changed from up to down
302
+
303
+ 2019-02-27T09:39:21.327041+00:00 heroku[web.1]: Stopping all processes with SIGTERM
304
+
305
+ 2019-02-27T09:39:20.178986+00:00 heroku[web.1]: State changed from up to down
306
+
307
+ 2019-02-27T09:39:21.327041+00:00 heroku[web.1]: Stopping all processes with SIGTERM
308
+
309
+
310
+
311
+ ```