質問編集履歴
4
情報の修正
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
djangoをherokuにデプロイ
|
1
|
+
djangoをherokuにデプロイエラーが出ます。
|
test
CHANGED
@@ -1,81 +1,3 @@
|
|
1
1
|
djangoをherokuにデプロイ後エラーが出ます。
|
2
2
|
|
3
3
|
ローカルでは問題なく、動作しており、色々試したのですが、解決の糸口が掴めません。
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
関係ありそうな、heroku logs --tailを載せます。
|
8
|
-
|
9
|
-
他に追加情報が必要でしたら、その都度修正致します。
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
```Bash
|
14
|
-
|
15
|
-
2019-07-11T10:33:40.000000+00:00 app[api]: Build started by user ××××××××@××××××××.jp
|
16
|
-
|
17
|
-
2019-07-11T10:34:11.305985+00:00 heroku[web.1]: Restarting
|
18
|
-
|
19
|
-
2019-07-11T10:34:11.314686+00:00 heroku[web.1]: State changed from up to starting
|
20
|
-
|
21
|
-
2019-07-11T10:34:10.826074+00:00 app[api]: Deploy e0728a6a by user ××××××××@××××××××.jp
|
22
|
-
|
23
|
-
2019-07-11T10:34:10.826074+00:00 app[api]: Release v45 created by user ××××××××@××××××××.jp
|
24
|
-
|
25
|
-
2019-07-11T10:34:12.479712+00:00 heroku[web.1]: Stopping all processes with SIGTERM
|
26
|
-
|
27
|
-
2019-07-11T10:34:12.501929+00:00 app[web.1]: [2019-07-11 19:34:12 +0900] [10] [INFO] Worker exiting (pid: 10)
|
28
|
-
|
29
|
-
2019-07-11T10:34:12.503821+00:00 app[web.1]: [2019-07-11 19:34:12 +0900] [11] [INFO] Worker exiting (pid: 11)
|
30
|
-
|
31
|
-
2019-07-11T10:34:12.503998+00:00 app[web.1]: [2019-07-11 10:34:12 +0000] [4] [INFO] Handling signal: term
|
32
|
-
|
33
|
-
2019-07-11T10:34:12.927931+00:00 app[web.1]: [2019-07-11 10:34:12 +0000] [4] [INFO] Shutting down: Master
|
34
|
-
|
35
|
-
2019-07-11T10:34:13.196427+00:00 heroku[web.1]: Process exited with status 0
|
36
|
-
|
37
|
-
2019-07-11T10:34:17.574086+00:00 heroku[web.1]: Starting process with command `gunicorn tutorial.wsgi`
|
38
|
-
|
39
|
-
2019-07-11T10:34:19.398832+00:00 app[web.1]: [2019-07-11 10:34:19 +0000] [4] [INFO] Starting gunicorn 19.9.0
|
40
|
-
|
41
|
-
2019-07-11T10:34:19.399745+00:00 app[web.1]: [2019-07-11 10:34:19 +0000] [4] [INFO] Listening at: http://0.0.0.0:28736 (4)
|
42
|
-
|
43
|
-
2019-07-11T10:34:19.399875+00:00 app[web.1]: [2019-07-11 10:34:19 +0000] [4] [INFO] Using worker: sync
|
44
|
-
|
45
|
-
2019-07-11T10:34:19.403717+00:00 app[web.1]: [2019-07-11 10:34:19 +0000] [10] [INFO] Booting worker with pid: 10
|
46
|
-
|
47
|
-
2019-07-11T10:34:19.425033+00:00 app[web.1]: [2019-07-11 10:34:19 +0000] [11] [INFO] Booting worker with pid: 11
|
48
|
-
|
49
|
-
2019-07-11T10:34:20.012678+00:00 heroku[web.1]: State changed from starting to up
|
50
|
-
|
51
|
-
2019-07-11T10:34:25.000000+00:00 app[api]: Build succeeded
|
52
|
-
|
53
|
-
2019-07-11T10:34:31.293842+00:00 heroku[router]: at=info method=GET path="/" host=××××××××.herokuapp.com request_id=eef63994-5acd-4056-8921-84a6acb82ec4 fwd="126.36.201.222" dyno=web.1 connect=1ms service=218ms status=500 bytes=234 protocol=https
|
54
|
-
|
55
|
-
2019-07-11T10:34:31.292942+00:00 app[web.1]: 10.51.238.251 - - [11/Jul/2019:19:34:31 +0900] "GET / HTTP/1.1" 500 27 "××××××××.herokuapp.com/users/2/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36"
|
56
|
-
|
57
|
-
2019-07-11T10:34:33.382326+00:00 heroku[router]: at=info method=GET path="/" host=××××××××.herokuapp.com request_id=d369863f-725c-41fc-a421-46b148d36524 fwd="126.36.201.222" dyno=web.1 connect=1ms service=121ms status=500 bytes=234 protocol=https
|
58
|
-
|
59
|
-
2019-07-11T10:34:33.381554+00:00 app[web.1]: 10.51.238.251 - - [11/Jul/2019:19:34:33 +0900] "GET / HTTP/1.1" 500 27 "https://××××××××.herokuapp.com/users/2/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36"
|
60
|
-
|
61
|
-
2019-07-11T10:34:42.449483+00:00 app[api]: Starting process with command `python manage.py migrate` by user ××××××××@××××××××.jp
|
62
|
-
|
63
|
-
2019-07-11T10:34:48.512933+00:00 heroku[run.5860]: State changed from starting to up
|
64
|
-
|
65
|
-
2019-07-11T10:34:48.397698+00:00 heroku[run.5860]: Awaiting client
|
66
|
-
|
67
|
-
2019-07-11T10:34:48.426352+00:00 heroku[run.5860]: Starting process with command `python manage.py migrate`
|
68
|
-
|
69
|
-
2019-07-11T10:34:54.409498+00:00 heroku[run.5860]: State changed from up to complete
|
70
|
-
|
71
|
-
2019-07-11T10:34:54.391095+00:00 heroku[run.5860]: Process exited with status 0
|
72
|
-
|
73
|
-
2019-07-11T10:35:02.104841+00:00 heroku[router]: at=info method=GET path="/" host=××××××××.herokuapp.com request_id=32834cae-4818-4a2a-8745-e347c9353ebf fwd="126.36.201.222" dyno=web.1 connect=0ms service=40ms status=500 bytes=234 protocol=https
|
74
|
-
|
75
|
-
2019-07-11T10:35:02.105845+00:00 app[web.1]: 10.7.129.185 - - [11/Jul/2019:19:35:02 +0900] "GET / HTTP/1.1" 500 27 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.1 Safari/605.1.15"
|
76
|
-
|
77
|
-
2019-07-11T10:35:43.000000+00:00 app[api]: Build started by user ××××××××@××××××××.jp
|
78
|
-
|
79
|
-
2019-07-11T10:36:12.773694+00:00 heroku[web.1]: Restarting
|
80
|
-
|
81
|
-
```
|
3
情報の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
|
6
6
|
|
7
|
-
|
7
|
+
関係ありそうな、heroku logs --tailを載せます。
|
8
8
|
|
9
9
|
他に追加情報が必要でしたら、その都度修正致します。
|
10
10
|
|
2
情報追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -70,7 +70,7 @@
|
|
70
70
|
|
71
71
|
2019-07-11T10:34:54.391095+00:00 heroku[run.5860]: Process exited with status 0
|
72
72
|
|
73
|
-
2019-07-11T10:35:02.104841+00:00 heroku[router]: at=info method=GET path="/" host=
|
73
|
+
2019-07-11T10:35:02.104841+00:00 heroku[router]: at=info method=GET path="/" host=××××××××.herokuapp.com request_id=32834cae-4818-4a2a-8745-e347c9353ebf fwd="126.36.201.222" dyno=web.1 connect=0ms service=40ms status=500 bytes=234 protocol=https
|
74
74
|
|
75
75
|
2019-07-11T10:35:02.105845+00:00 app[web.1]: 10.7.129.185 - - [11/Jul/2019:19:35:02 +0900] "GET / HTTP/1.1" 500 27 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.1 Safari/605.1.15"
|
76
76
|
|
1
情報の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -50,13 +50,13 @@
|
|
50
50
|
|
51
51
|
2019-07-11T10:34:25.000000+00:00 app[api]: Build succeeded
|
52
52
|
|
53
|
-
2019-07-11T10:34:31.293842+00:00 heroku[router]: at=info method=GET path="/" host=
|
53
|
+
2019-07-11T10:34:31.293842+00:00 heroku[router]: at=info method=GET path="/" host=××××××××.herokuapp.com request_id=eef63994-5acd-4056-8921-84a6acb82ec4 fwd="126.36.201.222" dyno=web.1 connect=1ms service=218ms status=500 bytes=234 protocol=https
|
54
54
|
|
55
|
-
2019-07-11T10:34:31.292942+00:00 app[web.1]: 10.51.238.251 - - [11/Jul/2019:19:34:31 +0900] "GET / HTTP/1.1" 500 27 "
|
55
|
+
2019-07-11T10:34:31.292942+00:00 app[web.1]: 10.51.238.251 - - [11/Jul/2019:19:34:31 +0900] "GET / HTTP/1.1" 500 27 "××××××××.herokuapp.com/users/2/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36"
|
56
56
|
|
57
|
-
2019-07-11T10:34:33.382326+00:00 heroku[router]: at=info method=GET path="/" host=
|
57
|
+
2019-07-11T10:34:33.382326+00:00 heroku[router]: at=info method=GET path="/" host=××××××××.herokuapp.com request_id=d369863f-725c-41fc-a421-46b148d36524 fwd="126.36.201.222" dyno=web.1 connect=1ms service=121ms status=500 bytes=234 protocol=https
|
58
58
|
|
59
|
-
2019-07-11T10:34:33.381554+00:00 app[web.1]: 10.51.238.251 - - [11/Jul/2019:19:34:33 +0900] "GET / HTTP/1.1" 500 27 "https://
|
59
|
+
2019-07-11T10:34:33.381554+00:00 app[web.1]: 10.51.238.251 - - [11/Jul/2019:19:34:33 +0900] "GET / HTTP/1.1" 500 27 "https://××××××××.herokuapp.com/users/2/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36"
|
60
60
|
|
61
61
|
2019-07-11T10:34:42.449483+00:00 app[api]: Starting process with command `python manage.py migrate` by user ××××××××@××××××××.jp
|
62
62
|
|