質問編集履歴

2

誤字の修正

2016/10/30 11:37

投稿

gax
gax

スコア13

test CHANGED
File without changes
test CHANGED
@@ -138,7 +138,7 @@
138
138
 
139
139
  ```python
140
140
 
141
- web: sh -c 'cd filmdb && gunicorn filmdb.wsgi --log-file -'
141
+ web: sh -c 'cd filmdb && gunicorn djangoProject.wsgi --log-file -'
142
142
 
143
143
  ```
144
144
 
@@ -146,7 +146,7 @@
146
146
 
147
147
  ```
148
148
 
149
- 2016-10-30T11:08:39.445506+00:00 heroku[web.1]: Starting process with command `gunicorn filmdb.wsgi --log-file -`
149
+ 2016-10-30T11:08:39.445506+00:00 heroku[web.1]: Starting process with command `gunicorn djangoProject.wsgi --log-file -`
150
150
 
151
151
  2016-10-30T11:08:41.304058+00:00 app[web.1]: [2016-10-30 20:08:41 +0900] [3] [INFO] Starting gunicorn 19.6.0
152
152
 
@@ -156,7 +156,7 @@
156
156
 
157
157
  2016-10-30T11:08:41.307468+00:00 app[web.1]: [2016-10-30 20:08:41 +0900] [7] [INFO] Booting worker with pid: 7
158
158
 
159
- 2016-10-30T11:08:41.310039+00:00 app[web.1]: Failed to find application: 'filmdb.wsgi'
159
+ 2016-10-30T11:08:41.310039+00:00 app[web.1]: Failed to find application: 'djangoProject.wsgi'
160
160
 
161
161
  2016-10-30T11:08:41.310148+00:00 app[web.1]: [2016-10-30 20:08:41 +0900] [7] [INFO] Worker exiting (pid: 7)
162
162
 
@@ -170,7 +170,7 @@
170
170
 
171
171
  2016-10-30T11:08:41.414734+00:00 heroku[web.1]: State changed from crashed to starting
172
172
 
173
- 2016-10-30T11:08:47.814168+00:00 heroku[web.1]: Starting process with command `gunicorn filmdb.wsgi --log-file -`
173
+ 2016-10-30T11:08:47.814168+00:00 heroku[web.1]: Starting process with command `gunicorn djangoProject.wsgi --log-file -`
174
174
 
175
175
  2016-10-30T11:08:50.032231+00:00 app[web.1]: [2016-10-30 20:08:50 +0900] [3] [INFO] Starting gunicorn 19.6.0
176
176
 
@@ -180,7 +180,7 @@
180
180
 
181
181
  2016-10-30T11:08:50.036835+00:00 app[web.1]: [2016-10-30 20:08:50 +0900] [7] [INFO] Booting worker with pid: 7
182
182
 
183
- 2016-10-30T11:08:50.040479+00:00 app[web.1]: Failed to find application: 'filmdb.wsgi'
183
+ 2016-10-30T11:08:50.040479+00:00 app[web.1]: Failed to find application: 'djangoProject.wsgi'
184
184
 
185
185
  2016-10-30T11:08:50.040650+00:00 app[web.1]: [2016-10-30 20:08:50 +0900] [7] [INFO] Worker exiting (pid: 7)
186
186
 

1

Procfileとログを追記

2016/10/30 11:37

投稿

gax
gax

スコア13

test CHANGED
File without changes
test CHANGED
@@ -129,3 +129,67 @@
129
129
  Django==1.8.4
130
130
 
131
131
  Python==3.5.2
132
+
133
+
134
+
135
+ ###追記(Procfile経由の場合)
136
+
137
+ Procpile
138
+
139
+ ```python
140
+
141
+ web: sh -c 'cd filmdb && gunicorn filmdb.wsgi --log-file -'
142
+
143
+ ```
144
+
145
+ ログ
146
+
147
+ ```
148
+
149
+ 2016-10-30T11:08:39.445506+00:00 heroku[web.1]: Starting process with command `gunicorn filmdb.wsgi --log-file -`
150
+
151
+ 2016-10-30T11:08:41.304058+00:00 app[web.1]: [2016-10-30 20:08:41 +0900] [3] [INFO] Starting gunicorn 19.6.0
152
+
153
+ 2016-10-30T11:08:41.304544+00:00 app[web.1]: [2016-10-30 20:08:41 +0900] [3] [INFO] Listening at: http://0.0.0.0:48288 (3)
154
+
155
+ 2016-10-30T11:08:41.304654+00:00 app[web.1]: [2016-10-30 20:08:41 +0900] [3] [INFO] Using worker: sync
156
+
157
+ 2016-10-30T11:08:41.307468+00:00 app[web.1]: [2016-10-30 20:08:41 +0900] [7] [INFO] Booting worker with pid: 7
158
+
159
+ 2016-10-30T11:08:41.310039+00:00 app[web.1]: Failed to find application: 'filmdb.wsgi'
160
+
161
+ 2016-10-30T11:08:41.310148+00:00 app[web.1]: [2016-10-30 20:08:41 +0900] [7] [INFO] Worker exiting (pid: 7)
162
+
163
+ 2016-10-30T11:08:41.338944+00:00 app[web.1]: [2016-10-30 20:08:41 +0900] [3] [INFO] Shutting down: Master
164
+
165
+ 2016-10-30T11:08:41.339047+00:00 app[web.1]: [2016-10-30 20:08:41 +0900] [3] [INFO] Reason: App failed to load.
166
+
167
+ 2016-10-30T11:08:41.409806+00:00 heroku[web.1]: Process exited with status 4
168
+
169
+ 2016-10-30T11:08:41.413963+00:00 heroku[web.1]: State changed from starting to crashed
170
+
171
+ 2016-10-30T11:08:41.414734+00:00 heroku[web.1]: State changed from crashed to starting
172
+
173
+ 2016-10-30T11:08:47.814168+00:00 heroku[web.1]: Starting process with command `gunicorn filmdb.wsgi --log-file -`
174
+
175
+ 2016-10-30T11:08:50.032231+00:00 app[web.1]: [2016-10-30 20:08:50 +0900] [3] [INFO] Starting gunicorn 19.6.0
176
+
177
+ 2016-10-30T11:08:50.032792+00:00 app[web.1]: [2016-10-30 20:08:50 +0900] [3] [INFO] Listening at: http://0.0.0.0:9480 (3)
178
+
179
+ 2016-10-30T11:08:50.032910+00:00 app[web.1]: [2016-10-30 20:08:50 +0900] [3] [INFO] Using worker: sync
180
+
181
+ 2016-10-30T11:08:50.036835+00:00 app[web.1]: [2016-10-30 20:08:50 +0900] [7] [INFO] Booting worker with pid: 7
182
+
183
+ 2016-10-30T11:08:50.040479+00:00 app[web.1]: Failed to find application: 'filmdb.wsgi'
184
+
185
+ 2016-10-30T11:08:50.040650+00:00 app[web.1]: [2016-10-30 20:08:50 +0900] [7] [INFO] Worker exiting (pid: 7)
186
+
187
+ 2016-10-30T11:08:50.072522+00:00 app[web.1]: [2016-10-30 20:08:50 +0900] [3] [INFO] Shutting down: Master
188
+
189
+ 2016-10-30T11:08:50.072605+00:00 app[web.1]: [2016-10-30 20:08:50 +0900] [3] [INFO] Reason: App failed to load.
190
+
191
+ 2016-10-30T11:08:50.185799+00:00 heroku[web.1]: State changed from starting to crashed
192
+
193
+ 2016-10-30T11:08:50.164664+00:00 heroku[web.1]: Process exited with status 4
194
+
195
+ ```