Herokuのデプロイができず質問させていただきました。
下記にログを載せています。
ログの中で気になるのはModuleNotFoundError: No module named 'app.wsgi'
です。
そこもこちらのサイトを参考にしたのですが解決には至りませんでした。
アドバイスいただけると幸いです。
何か必要なものがあれば追記致しますので、よろしくお願いいたします。
log
12020-09-15T16:08:12.302204+00:00 heroku[web.1]: Process exited with status 3 22020-09-15T16:08:12.359757+00:00 heroku[web.1]: State changed from starting to crashed 32020-09-15T18:54:02.269447+00:00 heroku[web.1]: State changed from crashed to starting 42020-09-15T18:54:17.940943+00:00 heroku[web.1]: Starting process with command `gunicorn app.wsgi --log-file -` 52020-09-15T18:54:21.114637+00:00 app[web.1]: [2020-09-15 18:54:21 +0000] [4] [INFO] Starting gunicorn 20.0.4 62020-09-15T18:54:21.115656+00:00 app[web.1]: [2020-09-15 18:54:21 +0000] [4] [INFO] Listening at: http://0.0.0.0:55182 (4) 72020-09-15T18:54:21.116147+00:00 app[web.1]: [2020-09-15 18:54:21 +0000] [4] [INFO] Using worker: sync 82020-09-15T18:54:21.130623+00:00 app[web.1]: [2020-09-15 18:54:21 +0000] [10] [INFO] Booting worker with pid: 10 92020-09-15T18:54:21.166251+00:00 app[web.1]: [2020-09-15 18:54:21 +0000] [10] [ERROR] Exception in worker process 102020-09-15T18:54:21.166253+00:00 app[web.1]: Traceback (most recent call last): 112020-09-15T18:54:21.166270+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker 122020-09-15T18:54:21.166271+00:00 app[web.1]: worker.init_process() 132020-09-15T18:54:21.166271+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/workers/base.py", line 119, in init_process 142020-09-15T18:54:21.166271+00:00 app[web.1]: self.load_wsgi() 152020-09-15T18:54:21.166272+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi 162020-09-15T18:54:21.166272+00:00 app[web.1]: self.wsgi = self.app.wsgi() 172020-09-15T18:54:21.166281+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/app/base.py", line 67, in wsgi 182020-09-15T18:54:21.166282+00:00 app[web.1]: self.callable = self.load() 192020-09-15T18:54:21.166282+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 49, in load 202020-09-15T18:54:21.166282+00:00 app[web.1]: return self.load_wsgiapp() 212020-09-15T18:54:21.166282+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp 222020-09-15T18:54:21.166283+00:00 app[web.1]: return util.import_app(self.app_uri) 232020-09-15T18:54:21.166284+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/util.py", line 358, in import_app 242020-09-15T18:54:21.166284+00:00 app[web.1]: mod = importlib.import_module(module) 252020-09-15T18:54:21.166284+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/importlib/__init__.py", line 127, in import_module 262020-09-15T18:54:21.166285+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level) 272020-09-15T18:54:21.166285+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 1006, in _gcd_import 282020-09-15T18:54:21.166286+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 983, in _find_and_load 292020-09-15T18:54:21.166286+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked 302020-09-15T18:54:21.166286+00:00 app[web.1]: ModuleNotFoundError: No module named 'app.wsgi' 312020-09-15T18:54:21.168942+00:00 app[web.1]: [2020-09-15 18:54:21 +0000] [11] [INFO] Booting worker with pid: 11 322020-09-15T18:54:21.170954+00:00 app[web.1]: [2020-09-15 18:54:21 +0000] [10] [INFO] Worker exiting (pid: 10) 332020-09-15T18:54:21.184420+00:00 app[web.1]: [2020-09-15 18:54:21 +0000] [11] [ERROR] Exception in worker process 342020-09-15T18:54:21.184422+00:00 app[web.1]: Traceback (most recent call last): 352020-09-15T18:54:21.184423+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker 362020-09-15T18:54:21.184424+00:00 app[web.1]: worker.init_process() 372020-09-15T18:54:21.184424+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/workers/base.py", line 119, in init_process 382020-09-15T18:54:21.184424+00:00 app[web.1]: self.load_wsgi() 392020-09-15T18:54:21.184425+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi 402020-09-15T18:54:21.184425+00:00 app[web.1]: self.wsgi = self.app.wsgi() 412020-09-15T18:54:21.184426+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/app/base.py", line 67, in wsgi 422020-09-15T18:54:21.184426+00:00 app[web.1]: self.callable = self.load() 432020-09-15T18:54:21.184426+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 49, in load 442020-09-15T18:54:21.184427+00:00 app[web.1]: return self.load_wsgiapp() 452020-09-15T18:54:21.184427+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp 462020-09-15T18:54:21.184428+00:00 app[web.1]: return util.import_app(self.app_uri) 472020-09-15T18:54:21.184428+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/util.py", line 358, in import_app 482020-09-15T18:54:21.184428+00:00 app[web.1]: mod = importlib.import_module(module) 492020-09-15T18:54:21.184429+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/importlib/__init__.py", line 127, in import_module 502020-09-15T18:54:21.184429+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level) 512020-09-15T18:54:21.184430+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 1006, in _gcd_import 522020-09-15T18:54:21.184430+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 983, in _find_and_load 532020-09-15T18:54:21.184431+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked 542020-09-15T18:54:21.184431+00:00 app[web.1]: ModuleNotFoundError: No module named 'app.wsgi' 552020-09-15T18:54:21.187551+00:00 app[web.1]: [2020-09-15 18:54:21 +0000] [11] [INFO] Worker exiting (pid: 11) 562020-09-15T18:54:21.337037+00:00 app[web.1]: [2020-09-15 18:54:21 +0000] [4] [INFO] Shutting down: Master 572020-09-15T18:54:21.337165+00:00 app[web.1]: [2020-09-15 18:54:21 +0000] [4] [INFO] Reason: Worker failed to boot. 582020-09-15T18:54:21.485124+00:00 heroku[web.1]: Process exited with status 3 592020-09-15T18:54:21.538668+00:00 heroku[web.1]: State changed from starting to crashed 602020-09-15T22:30:07.822197+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=collecpon.herokuapp.com request_id=e81b9d47-389b-4eb7-9751-57e1cbd13b3a fwd="106.154.133.75" dyno= connect= service= status=503 bytes= protocol=https 612020-09-15T22:30:08.802713+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=collecpon.herokuapp.com request_id=4b3a74ba-05d5-4298-abd0-15c23f2dc1cb fwd="106.154.133.75" dyno= connect= service= status=503 bytes= protocol=https
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/09/16 03:57