teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

heroku logsメッセージ追加

2017/09/28 06:32

投稿

ToruOkada
ToruOkada

スコア16

title CHANGED
File without changes
body CHANGED
@@ -22,8 +22,10 @@
22
22
  2017-09-28T05:46:24.321007+00:00 app[web.1]: Process exited unexpectedly: nginx
23
23
  2017-09-28T05:46:24.321106+00:00 app[web.1]: Going down, terminating child processes...
24
24
  2017-09-28T05:46:24.399406+00:00 heroku[web.1]: Process exited with status 1
25
- 2017-09-28T05:46:24.416638+00:00 heroku[web.1]: State changed from starting to crashed```
25
+ 2017-09-28T05:46:24.416638+00:00 heroku[web.1]: State changed from starting to crashed
26
26
 
27
+ ```
28
+
27
29
  ###該当のソースコード
28
30
  ```heroku cli
29
31
  下記のコマンドを順に打ちました。

1

エラーメッセージの続きを追加

2017/09/28 06:32

投稿

ToruOkada
ToruOkada

スコア16

title CHANGED
File without changes
body CHANGED
@@ -8,8 +8,21 @@
8
8
  ###発生している問題・エラーメッセージ
9
9
 
10
10
  ```
11
- 2017-09-28T05:28:43.983822+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=POST path="/"
12
- ```
11
+ 2017-09-28T05:25:31.824096+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=reversi-new.herokuapp.com request_id=a75754c9-e965-458f-ae39-b1e819d1c278 fwd="106.161.146.250" dyno= connect= service= status=503 bytes= protocol=https
12
+ 2017-09-28T05:25:32.568935+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=reversi-new.herokuapp.com request_id=330193f7-88ea-4db5-bed7-5c8fdbac7078 fwd="106.161.146.250" dyno= connect= service= status=503 bytes= protocol=https
13
+ 2017-09-28T05:28:43.983822+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=POST path="/" host=reversi-new.herokuapp.com request_id=4a0f4f13-77ea-4b51-b0aa-b953e3d74930 fwd="203.104.156.74" dyno= connect= service= status=503 bytes= protocol=https
14
+ 2017-09-28T05:46:18.441539+00:00 heroku[web.1]: State changed from crashed to starting
15
+ 2017-09-28T05:46:19.504116+00:00 heroku[web.1]: Starting process with command `vendor/bin/heroku-php-nginx -C nginx_app.conf`
16
+ 2017-09-28T05:46:22.093475+00:00 app[web.1]: Using Nginx server-level configuration include 'nginx_app.conf'
17
+ 2017-09-28T05:46:22.138909+00:00 app[web.1]: Optimizing defaults for 1X dyno...
18
+ 2017-09-28T05:46:22.312452+00:00 app[web.1]: 4 processes at 128MB memory limit.
19
+ 2017-09-28T05:46:22.316467+00:00 app[web.1]: Starting php-fpm...
20
+ 2017-09-28T05:46:24.317920+00:00 app[web.1]: Starting nginx...
21
+ 2017-09-28T05:46:24.320619+00:00 app[web.1]: nginx: [emerg] invalid number of arguments in "rewrite" directive in /app/nginx_app.conf:2
22
+ 2017-09-28T05:46:24.321007+00:00 app[web.1]: Process exited unexpectedly: nginx
23
+ 2017-09-28T05:46:24.321106+00:00 app[web.1]: Going down, terminating child processes...
24
+ 2017-09-28T05:46:24.399406+00:00 heroku[web.1]: Process exited with status 1
25
+ 2017-09-28T05:46:24.416638+00:00 heroku[web.1]: State changed from starting to crashed```
13
26
 
14
27
  ###該当のソースコード
15
28
  ```heroku cli