realpython / flask-boilerplate

Boilerplate template for a Python Flask application with Flask-SQLAlchemy, Flask-WTF, Fabric, Coverage, and Bootstrap

Home Page:http://www.flaskboilerplate.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django app Deploying on Heroku (code=H10 desc="App crashed")

Igor-Kuz opened this issue · comments

Good day! I'm trying to deploy app at heroku. When I've push it to heroku I receive such heroku logs tail.
020-02-22T15:59:50.492247+00:00 heroku[web.1]: State changed from crashed to starting
2020-02-22T15:59:56.792128+00:00 heroku[web.1]: Starting process with command gunicorn website.wsgi
2020-02-22T16:00:00.152822+00:00 heroku[web.1]: State changed from starting to up
2020-02-22T15:59:59.738473+00:00 app[web.1]: [2020-02-22 15:59:59 +0000] [4] [INFO] Starting gunicorn 20.0.4
2020-02-22T15:59:59.739497+00:00 app[web.1]: [2020-02-22 15:59:59 +0000] [4] [INFO] Listening at: http://0.0.0.0:22744 (4)
2020-02-22T15:59:59.739668+00:00 app[web.1]: [2020-02-22 15:59:59 +0000] [4] [INFO] Using worker: sync
2020-02-22T15:59:59.747403+00:00 app[web.1]: [2020-02-22 15:59:59 +0000] [10] [INFO] Booting worker with pid: 10
2020-02-22T15:59:59.850927+00:00 app[web.1]: [2020-02-22 15:59:59 +0000] [11] [INFO] Booting worker with pid: 11
2020-02-22T16:00:00.131538+00:00 app[web.1]: [2020-02-22 16:00:00 +0000] [10] [ERROR] Exception in worker process
2020-02-22T16:00:00.131544+00:00 app[web.1]: Traceback (most recent call last):
2020-02-22T16:00:00.131545+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
2020-02-22T16:00:00.131589+00:00 app[web.1]: worker.init_process()
2020-02-22T16:00:00.131590+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/workers/base.py", line 119, in init_process
2020-02-22T16:00:00.131591+00:00 app[web.1]: self.load_wsgi()
2020-02-22T16:00:00.131591+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
2020-02-22T16:00:00.131592+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2020-02-22T16:00:00.131593+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/app/base.py", line 67, in wsgi
2020-02-22T16:00:00.131593+00:00 app[web.1]: self.callable = self.load()
2020-02-22T16:00:00.131594+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 49, in load
2020-02-22T16:00:00.131594+00:00 app[web.1]: return self.load_wsgiapp()
2020-02-22T16:00:00.131595+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp
2020-02-22T16:00:00.131595+00:00 app[web.1]: return util.import_app(self.app_uri)
2020-02-22T16:00:00.131596+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/util.py", line 358, in import_app
2020-02-22T16:00:00.131596+00:00 app[web.1]: mod = importlib.import_module(module)
2020-02-22T16:00:00.131597+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/importlib/init.py", line 126, in import_module
2020-02-22T16:00:00.131598+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2020-02-22T16:00:00.131599+00:00 app[web.1]: File "", line 994, in _gcd_import
2020-02-22T16:00:00.131599+00:00 app[web.1]: File "", line 971, in _find_and_load
2020-02-22T16:00:00.131600+00:00 app[web.1]: File "", line 955, in _find_and_load_unlocked
2020-02-22T16:00:00.131600+00:00 app[web.1]: File "", line 665, in _load_unlocked
2020-02-22T16:00:00.131600+00:00 app[web.1]: File "", line 678, in exec_module
2020-02-22T16:00:00.131601+00:00 app[web.1]: File "", line 219, in _call_with_frames_removed
2020-02-22T16:00:00.131602+00:00 app[web.1]: File "/app/website/wsgi.py", line 16, in
2020-02-22T16:00:00.131602+00:00 app[web.1]: application = get_wsgi_application()
2020-02-22T16:00:00.131603+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
2020-02-22T16:00:00.131603+00:00 app[web.1]: django.setup(set_prefix=False)
2020-02-22T16:00:00.131604+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/init.py", line 19, in setup
2020-02-22T16:00:00.131604+00:00 app[web.1]: configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2020-02-22T16:00:00.131605+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/init.py", line 76, in getattr
2020-02-22T16:00:00.131605+00:00 app[web.1]: self._setup(name)
2020-02-22T16:00:00.131605+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/init.py", line 63, in _setup
2020-02-22T16:00:00.131606+00:00 app[web.1]: self._wrapped = Settings(settings_module)
2020-02-22T16:00:00.131606+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/init.py", line 142, in init
2020-02-22T16:00:00.131607+00:00 app[web.1]: mod = importlib.import_module(self.SETTINGS_MODULE)
2020-02-22T16:00:00.131608+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/importlib/init.py", line 126, in import_module
2020-02-22T16:00:00.131608+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2020-02-22T16:00:00.131609+00:00 app[web.1]: File "", line 994, in _gcd_import
2020-02-22T16:00:00.131609+00:00 app[web.1]: File "", line 971, in _find_and_load
2020-02-22T16:00:00.131610+00:00 app[web.1]: File "", line 955, in _find_and_load_unlocked
2020-02-22T16:00:00.131610+00:00 app[web.1]: File "", line 665, in _load_unlocked
2020-02-22T16:00:00.131611+00:00 app[web.1]: File "", line 678, in exec_module
2020-02-22T16:00:00.131612+00:00 app[web.1]: File "", line 219, in _call_with_frames_removed
2020-02-22T16:00:00.131612+00:00 app[web.1]: File "/app/website/settings.py", line 2, in
2020-02-22T16:00:00.131613+00:00 app[web.1]: import django_heroku
2020-02-22T16:00:00.131613+00:00 app[web.1]: ModuleNotFoundError: No module named 'django_heroku'
2020-02-22T16:00:00.139976+00:00 app[web.1]: [2020-02-22 16:00:00 +0000] [10] [INFO] Worker exiting (pid: 10)
2020-02-22T16:00:00.284918+00:00 app[web.1]: [2020-02-22 16:00:00 +0000] [11] [ERROR] Exception in worker process
2020-02-22T16:00:00.284921+00:00 app[web.1]: Traceback (most recent call last):
2020-02-22T16:00:00.284922+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
2020-02-22T16:00:00.284923+00:00 app[web.1]: worker.init_process()
2020-02-22T16:00:00.284923+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/workers/base.py", line 119, in init_process
2020-02-22T16:00:00.284924+00:00 app[web.1]: self.load_wsgi()
2020-02-22T16:00:00.284924+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
2020-02-22T16:00:00.284925+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2020-02-22T16:00:00.284926+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/app/base.py", line 67, in wsgi
2020-02-22T16:00:00.284926+00:00 app[web.1]: self.callable = self.load()
2020-02-22T16:00:00.284926+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 49, in load
2020-02-22T16:00:00.284927+00:00 app[web.1]: return self.load_wsgiapp()
2020-02-22T16:00:00.284927+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp
2020-02-22T16:00:00.284928+00:00 app[web.1]: return util.import_app(self.app_uri)
2020-02-22T16:00:00.284928+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/util.py", line 358, in import_app
2020-02-22T16:00:00.284931+00:00 app[web.1]: mod = importlib.import_module(module)
2020-02-22T16:00:00.284931+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/importlib/init.py", line 126, in import_module
2020-02-22T16:00:00.284932+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2020-02-22T16:00:00.284932+00:00 app[web.1]: File "", line 994, in _gcd_import
2020-02-22T16:00:00.284933+00:00 app[web.1]: File "", line 971, in _find_and_load
2020-02-22T16:00:00.284933+00:00 app[web.1]: File "", line 955, in _find_and_load_unlocked
2020-02-22T16:00:00.284933+00:00 app[web.1]: File "", line 665, in _load_unlocked
2020-02-22T16:00:00.284934+00:00 app[web.1]: File "", line 678, in exec_module
2020-02-22T16:00:00.284934+00:00 app[web.1]: File "", line 219, in _call_with_frames_removed
2020-02-22T16:00:00.284935+00:00 app[web.1]: File "/app/website/wsgi.py", line 16, in
2020-02-22T16:00:00.284935+00:00 app[web.1]: application = get_wsgi_application()
2020-02-22T16:00:00.284935+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
2020-02-22T16:00:00.284936+00:00 app[web.1]: django.setup(set_prefix=False)
2020-02-22T16:00:00.284936+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/init.py", line 19, in setup
2020-02-22T16:00:00.284937+00:00 app[web.1]: configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2020-02-22T16:00:00.284937+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/init.py", line 76, in getattr
2020-02-22T16:00:00.284937+00:00 app[web.1]: self._setup(name)
2020-02-22T16:00:00.284938+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/init.py", line 63, in _setup
2020-02-22T16:00:00.284938+00:00 app[web.1]: self._wrapped = Settings(settings_module)
2020-02-22T16:00:00.284939+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/init.py", line 142, in init
2020-02-22T16:00:00.284939+00:00 app[web.1]: mod = importlib.import_module(self.SETTINGS_MODULE)
2020-02-22T16:00:00.284939+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/importlib/init.py", line 126, in import_module
2020-02-22T16:00:00.284940+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2020-02-22T16:00:00.284940+00:00 app[web.1]: File "", line 994, in _gcd_import
2020-02-22T16:00:00.284941+00:00 app[web.1]: File "", line 971, in _find_and_load
2020-02-22T16:00:00.284941+00:00 app[web.1]: File "", line 955, in _find_and_load_unlocked
2020-02-22T16:00:00.284941+00:00 app[web.1]: File "", line 665, in _load_unlocked
2020-02-22T16:00:00.284942+00:00 app[web.1]: File "", line 678, in exec_module
2020-02-22T16:00:00.284942+00:00 app[web.1]: File "", line 219, in _call_with_frames_removed
2020-02-22T16:00:00.284942+00:00 app[web.1]: File "/app/website/settings.py", line 2, in
2020-02-22T16:00:00.284943+00:00 app[web.1]: import django_heroku
2020-02-22T16:00:00.284950+00:00 app[web.1]: ModuleNotFoundError: No module named 'django_heroku'
2020-02-22T16:00:00.285705+00:00 app[web.1]: [2020-02-22 16:00:00 +0000] [11] [INFO] Worker exiting (pid: 11)
2020-02-22T16:00:00.446010+00:00 app[web.1]: [2020-02-22 16:00:00 +0000] [4] [INFO] Shutting down: Master
2020-02-22T16:00:00.446358+00:00 app[web.1]: [2020-02-22 16:00:00 +0000] [4] [INFO] Reason: Worker failed to boot.
2020-02-22T16:00:00.566254+00:00 heroku[web.1]: State changed from up to crashed
2020-02-22T16:00:00.569748+00:00 heroku[web.1]: State changed from crashed to starting
2020-02-22T16:00:00.543964+00:00 heroku[web.1]: Process exited with status 3
2020-02-22T16:00:05.483596+00:00 heroku[web.1]: Starting process with command gunicorn website.wsgi
2020-02-22T16:00:08.225034+00:00 app[web.1]: [2020-02-22 16:00:08 +0000] [4] [INFO] Starting gunicorn 20.0.4
2020-02-22T16:00:08.225976+00:00 app[web.1]: [2020-02-22 16:00:08 +0000] [4] [INFO] Listening at: http://0.0.0.0:58623 (4)
2020-02-22T16:00:08.226158+00:00 app[web.1]: [2020-02-22 16:00:08 +0000] [4] [INFO] Using worker: sync
2020-02-22T16:00:08.232684+00:00 app[web.1]: [2020-02-22 16:00:08 +0000] [10] [INFO] Booting worker with pid: 10
2020-02-22T16:00:08.258598+00:00 app[web.1]: [2020-02-22 16:00:08 +0000] [11] [INFO] Booting worker with pid: 11
2020-02-22T16:00:08.711773+00:00 heroku[web.1]: State changed from starting to up
2020-02-22T16:00:08.684556+00:00 app[web.1]: [2020-02-22 16:00:08 +0000] [11] [ERROR] Exception in worker process
2020-02-22T16:00:08.684584+00:00 app[web.1]: Traceback (most recent call last):
2020-02-22T16:00:08.684585+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
2020-02-22T16:00:08.684586+00:00 app[web.1]: worker.init_process()
2020-02-22T16:00:08.684587+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/workers/base.py", line 119, in init_process
2020-02-22T16:00:08.684587+00:00 app[web.1]: self.load_wsgi()
2020-02-22T16:00:08.684588+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
2020-02-22T16:00:08.684588+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2020-02-22T16:00:08.684589+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/app/base.py", line 67, in wsgi
2020-02-22T16:00:08.684589+00:00 app[web.1]: self.callable = self.load()
2020-02-22T16:00:08.684589+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 49, in load
2020-02-22T16:00:08.684590+00:00 app[web.1]: return self.load_wsgiapp()
2020-02-22T16:00:08.684590+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp
2020-02-22T16:00:08.684591+00:00 app[web.1]: return util.import_app(self.app_uri)
2020-02-22T16:00:08.684591+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/util.py", line 358, in import_app
2020-02-22T16:00:08.684591+00:00 app[web.1]: mod = importlib.import_module(module)
2020-02-22T16:00:08.684592+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/importlib/init.py", line 126, in import_module
2020-02-22T16:00:08.684592+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2020-02-22T16:00:08.684593+00:00 app[web.1]: File "", line 994, in _gcd_import
2020-02-22T16:00:08.684593+00:00 app[web.1]: File "", line 971, in _find_and_load
2020-02-22T16:00:08.684594+00:00 app[web.1]: File "", line 955, in _find_and_load_unlocked
2020-02-22T16:00:08.684594+00:00 app[web.1]: File "", line 665, in _load_unlocked
2020-02-22T16:00:08.684594+00:00 app[web.1]: File "", line 678, in exec_module
2020-02-22T16:00:08.684595+00:00 app[web.1]: File "", line 219, in _call_with_frames_removed
2020-02-22T16:00:08.684595+00:00 app[web.1]: File "/app/website/wsgi.py", line 16, in
2020-02-22T16:00:08.684595+00:00 app[web.1]: application = get_wsgi_application()
2020-02-22T16:00:08.684596+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
2020-02-22T16:00:08.684596+00:00 app[web.1]: django.setup(set_prefix=False)
2020-02-22T16:00:08.684596+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/init.py", line 19, in setup
2020-02-22T16:00:08.684597+00:00 app[web.1]: configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2020-02-22T16:00:08.684597+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/init.py", line 76, in getattr
2020-02-22T16:00:08.684597+00:00 app[web.1]: self._setup(name)
2020-02-22T16:00:08.684598+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/init.py", line 63, in _setup
2020-02-22T16:00:08.684598+00:00 app[web.1]: self._wrapped = Settings(settings_module)
2020-02-22T16:00:08.684598+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/init.py", line 142, in init
2020-02-22T16:00:08.684599+00:00 app[web.1]: mod = importlib.import_module(self.SETTINGS_MODULE)
2020-02-22T16:00:08.684599+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/importlib/init.py", line 126, in import_module
2020-02-22T16:00:08.684600+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2020-02-22T16:00:08.684600+00:00 app[web.1]: File "", line 994, in _gcd_import
2020-02-22T16:00:08.684600+00:00 app[web.1]: File "", line 971, in _find_and_load
2020-02-22T16:00:08.684600+00:00 app[web.1]: File "", line 955, in _find_and_load_unlocked
2020-02-22T16:00:08.684601+00:00 app[web.1]: File "", line 665, in _load_unlocked
2020-02-22T16:00:08.684601+00:00 app[web.1]: File "", line 678, in exec_module
2020-02-22T16:00:08.684601+00:00 app[web.1]: File "", line 219, in _call_with_frames_removed
2020-02-22T16:00:08.684601+00:00 app[web.1]: File "/app/website/settings.py", line 2, in
2020-02-22T16:00:08.684602+00:00 app[web.1]: import django_heroku
2020-02-22T16:00:08.684602+00:00 app[web.1]: ModuleNotFoundError: No module named 'django_heroku'
2020-02-22T16:00:08.691208+00:00 app[web.1]: [2020-02-22 16:00:08 +0000] [11] [INFO] Worker exiting (pid: 11)
2020-02-22T16:00:08.695854+00:00 app[web.1]: [2020-02-22 16:00:08 +0000] [10] [ERROR] Exception in worker process
2020-02-22T16:00:08.695857+00:00 app[web.1]: Traceback (most recent call last):
2020-02-22T16:00:08.695858+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
2020-02-22T16:00:08.695859+00:00 app[web.1]: worker.init_process()
2020-02-22T16:00:08.695860+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/workers/base.py", line 119, in init_process
2020-02-22T16:00:08.695860+00:00 app[web.1]: self.load_wsgi()
2020-02-22T16:00:08.695861+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
2020-02-22T16:00:08.695861+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2020-02-22T16:00:08.695862+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/app/base.py", line 67, in wsgi
2020-02-22T16:00:08.695863+00:00 app[web.1]: self.callable = self.load()
2020-02-22T16:00:08.695863+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 49, in load
2020-02-22T16:00:08.695864+00:00 app[web.1]: return self.load_wsgiapp()
2020-02-22T16:00:08.695864+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp
2020-02-22T16:00:08.695865+00:00 app[web.1]: return util.import_app(self.app_uri)
2020-02-22T16:00:08.695865+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/util.py", line 358, in import_app
2020-02-22T16:00:08.695866+00:00 app[web.1]: mod = importlib.import_module(module)
2020-02-22T16:00:08.695866+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/importlib/init.py", line 126, in import_module
2020-02-22T16:00:08.695867+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2020-02-22T16:00:08.695867+00:00 app[web.1]: File "", line 994, in _gcd_import
2020-02-22T16:00:08.695868+00:00 app[web.1]: File "", line 971, in _find_and_load
2020-02-22T16:00:08.695868+00:00 app[web.1]: File "", line 955, in _find_and_load_unlocked
2020-02-22T16:00:08.695869+00:00 app[web.1]: File "", line 665, in _load_unlocked
2020-02-22T16:00:08.695869+00:00 app[web.1]: File "", line 678, in exec_module
2020-02-22T16:00:08.695870+00:00 app[web.1]: File "", line 219, in _call_with_frames_removed
2020-02-22T16:00:08.695870+00:00 app[web.1]: File "/app/website/wsgi.py", line 16, in
2020-02-22T16:00:08.695870+00:00 app[web.1]: application = get_wsgi_application()
2020-02-22T16:00:08.695871+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
2020-02-22T16:00:08.695871+00:00 app[web.1]: django.setup(set_prefix=False)
2020-02-22T16:00:08.695872+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/init.py", line 19, in setup
2020-02-22T16:00:08.695872+00:00 app[web.1]: configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2020-02-22T16:00:08.695872+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/init.py", line 76, in getattr
2020-02-22T16:00:08.695873+00:00 app[web.1]: self._setup(name)
2020-02-22T16:00:08.695878+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/init.py", line 63, in _setup
2020-02-22T16:00:08.695879+00:00 app[web.1]: self._wrapped = Settings(settings_module)
2020-02-22T16:00:08.695879+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/init.py", line 142, in init
2020-02-22T16:00:08.695880+00:00 app[web.1]: mod = importlib.import_module(self.SETTINGS_MODULE)
2020-02-22T16:00:08.695880+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/importlib/init.py", line 126, in import_module
2020-02-22T16:00:08.695881+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2020-02-22T16:00:08.695886+00:00 app[web.1]: File "", line 994, in _gcd_import
2020-02-22T16:00:08.695886+00:00 app[web.1]: File "", line 971, in _find_and_load
2020-02-22T16:00:08.695887+00:00 app[web.1]: File "", line 955, in _find_and_load_unlocked
2020-02-22T16:00:08.695887+00:00 app[web.1]: File "", line 665, in _load_unlocked
2020-02-22T16:00:08.695888+00:00 app[web.1]: File "", line 678, in exec_module
2020-02-22T16:00:08.695888+00:00 app[web.1]: File "", line 219, in _call_with_frames_removed
2020-02-22T16:00:08.695888+00:00 app[web.1]: File "/app/website/settings.py", line 2, in
2020-02-22T16:00:08.695889+00:00 app[web.1]: import django_heroku
2020-02-22T16:00:08.695889+00:00 app[web.1]: ModuleNotFoundError: No module named 'django_heroku'
2020-02-22T16:00:08.696550+00:00 app[web.1]: [2020-02-22 16:00:08 +0000] [10] [INFO] Worker exiting (pid: 10)
2020-02-22T16:00:08.768751+00:00 app[web.1]: Traceback (most recent call last):
2020-02-22T16:00:08.768803+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/arbiter.py", line 209, in run
2020-02-22T16:00:08.769251+00:00 app[web.1]: self.sleep()
2020-02-22T16:00:08.769289+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/arbiter.py", line 357, in sleep
2020-02-22T16:00:08.769678+00:00 app[web.1]: ready = select.select([self.PIPE[0]], [], [], 1.0)
2020-02-22T16:00:08.769717+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
2020-02-22T16:00:08.770004+00:00 app[web.1]: self.reap_workers()
2020-02-22T16:00:08.770047+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
2020-02-22T16:00:08.770495+00:00 app[web.1]: raise HaltServer(reason, self.WORKER_BOOT_ERROR)
2020-02-22T16:00:08.770562+00:00 app[web.1]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
2020-02-22T16:00:08.770594+00:00 app[web.1]:
2020-02-22T16:00:08.770595+00:00 app[web.1]: During handling of the above exception, another exception occurred:
2020-02-22T16:00:08.770595+00:00 app[web.1]:
2020-02-22T16:00:08.770628+00:00 app[web.1]: Traceback (most recent call last):
2020-02-22T16:00:08.770657+00:00 app[web.1]: File "/app/.heroku/python/bin/gunicorn", line 8, in
2020-02-22T16:00:08.770835+00:00 app[web.1]: sys.exit(run())
2020-02-22T16:00:08.770873+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 58, in run
2020-02-22T16:00:08.771084+00:00 app[web.1]: WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
2020-02-22T16:00:08.771134+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/app/base.py", line 228, in run
2020-02-22T16:00:08.771329+00:00 app[web.1]: super().run()
2020-02-22T16:00:08.771333+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/app/base.py", line 72, in run
2020-02-22T16:00:08.771485+00:00 app[web.1]: Arbiter(self).run()
2020-02-22T16:00:08.771490+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/arbiter.py", line 229, in run
2020-02-22T16:00:08.771679+00:00 app[web.1]: self.halt(reason=inst.reason, exit_status=inst.exit_status)
2020-02-22T16:00:08.771683+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/arbiter.py", line 342, in halt
2020-02-22T16:00:08.771911+00:00 app[web.1]: self.stop()
2020-02-22T16:00:08.771955+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/arbiter.py", line 393, in stop
2020-02-22T16:00:08.772195+00:00 app[web.1]: time.sleep(0.1)
2020-02-22T16:00:08.772200+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
2020-02-22T16:00:08.772398+00:00 app[web.1]: self.reap_workers()
2020-02-22T16:00:08.772403+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
2020-02-22T16:00:08.772657+00:00 app[web.1]: raise HaltServer(reason, self.WORKER_BOOT_ERROR)
2020-02-22T16:00:08.772687+00:00 app[web.1]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
2020-02-22T16:00:08.893332+00:00 heroku[web.1]: State changed from up to crashed
2020-02-22T16:00:08.877687+00:00 heroku[web.1]: Process exited with status 1


at=error code=H10 desc="App crashed" method=GET path="/" host=arcane-citadel-79281.herokuapp.com request_id=ac173fdb-c496-44b3-959a-96001a054c68 fwd="217.175.129.145" dyno= connect= service= status=503 bytes= protocol=https
2020-02-22T16:08:56.016148+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=arcane-citadel-79281.herokuapp.com request_id=84ba30e5-1f3a-4dba-8266-40c0fe4340a6 fwd="217.175.129.145" dyno= connect= service= status=503 bytes= protocol=https

How can I solve this problem??

Can Anyone Please help us . I am getting the same error !!.
Please help

Can you paste the content of your "Procfile" here? On the heroku app page > Overview, what is the value for "Dyno formation"?
@AdarshPan @Igor-Kuz

@ezyhacks Using Free dynos getting the same error

Procfile Content:
gunicorn projectname.wsgi:application --log-file - --log-level debug

I have same problem. How to fix? Can anyone help us

Hi guys. Looking at the error message, it seems there are some apps defined in settings.py which are not in use or not needed or you have not installed required packages for deployment.

@vikaspal1704 In your error messages, for example, you have this error 2020-02-22T16:00:08.695889+00:00 app[web.1]: ModuleNotFoundError: No module named 'django_heroku'

Fix


"pip install django-heroku" on your local instance before you push and deploy to Heroku

@github-samir Please paste the error messages you have and also, the contents of your Procfile.

@vikaspal1704
Procfile Content:
gunicorn projectname.wsgi:application --log-file - --log-level debug

Your Procfile should look like this web: gunicorn ecommerce.wsgi --log-file -
ecommerce is my project name

@ezyhacks
Error:
2020-08-23T03:33:14.518851+00:00 app[web.1]: File "", line 665, in _load_unlocked
2020-08-23T03:33:14.518852+00:00 app[web.1]: File "", line 678, in exec_module
2020-08-23T03:33:14.518852+00:00 app[web.1]: File "", line 219, in _call_with_frames_removed
2020-08-23T03:33:14.518852+00:00 app[web.1]: File "/app/taskmaster/wsgi.py", line 16, in
2020-08-23T03:33:14.518853+00:00 app[web.1]: application = get_wsgi_application()
2020-08-23T03:33:14.518853+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
2020-08-23T03:33:14.518853+00:00 app[web.1]: django.setup(set_prefix=False)
2020-08-23T03:33:14.518854+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/init.py", line 19, in setup
2020-08-23T03:33:14.518854+00:00 app[web.1]: configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2020-08-23T03:33:14.518854+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/init.py", line 79, in getattr
2020-08-23T03:33:14.518854+00:00 app[web.1]: self._setup(name)
2020-08-23T03:33:14.518855+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/init.py", line 66, in _setup
2020-08-23T03:33:14.518855+00:00 app[web.1]: self._wrapped = Settings(settings_module)
2020-08-23T03:33:14.518855+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/init.py", line 157, in init
2020-08-23T03:33:14.518856+00:00 app[web.1]: mod = importlib.import_module(self.SETTINGS_MODULE)
2020-08-23T03:33:14.518856+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/importlib/init.py", line 126, in import_module
2020-08-23T03:33:14.518857+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2020-08-23T03:33:14.518857+00:00 app[web.1]: File "", line 994, in _gcd_import
2020-08-23T03:33:14.518857+00:00 app[web.1]: File "", line 971, in _find_and_load
2020-08-23T03:33:14.518858+00:00 app[web.1]: File "", line 955, in _find_and_load_unlocked
2020-08-23T03:33:14.518858+00:00 app[web.1]: File "", line 665, in _load_unlocked
2020-08-23T03:33:14.518859+00:00 app[web.1]: File "", line 678, in exec_module
2020-08-23T03:33:14.518859+00:00 app[web.1]: File "", line 219, in _call_with_frames_removed
2020-08-23T03:33:14.518859+00:00 app[web.1]: File "/app/taskmaster/settings.py", line 21, in
2020-08-23T03:33:14.518860+00:00 app[web.1]: ALLOWED_HOSTS=[env('DJANGO_ALLOWED_HOSTS')]
2020-08-23T03:33:14.518860+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/environ/environ.py", line 123, in call
2020-08-23T03:33:14.518860+00:00 app[web.1]: return self.get_value(var, cast=cast, default=default, parse_default=parse_default)
2020-08-23T03:33:14.518861+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/environ/environ.py", line 277, in get_value
2020-08-23T03:33:14.518861+00:00 app[web.1]: raise ImproperlyConfigured(error_msg)
2020-08-23T03:33:14.518900+00:00 app[web.1]: django.core.exceptions.ImproperlyConfigured: Set the DJANGO_ALLOWED_HOSTS environment variable
2020-08-23T03:33:14.519518+00:00 app[web.1]: [2020-08-23 03:33:14 +0000] [10] [INFO] Worker exiting (pid: 10)
2020-08-23T03:33:14.526343+00:00 app[web.1]: /app/.heroku/python/lib/python3.6/site-packages/environ/environ.py:639: UserWarning: Error reading /app/.env - if you're not configuring your environment separately, check this.
2020-08-23T03:33:14.526345+00:00 app[web.1]: "environment separately, check this." % env_file)
2020-08-23T03:33:14.531230+00:00 app[web.1]: [2020-08-23 03:33:14 +0000] [11] [ERROR] Exception in worker process
2020-08-23T03:33:14.531232+00:00 app[web.1]: Traceback (most recent call last):
2020-08-23T03:33:14.531232+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/environ/environ.py", line 273, in get_value
2020-08-23T03:33:14.531233+00:00 app[web.1]: value = self.ENVIRON[var]
2020-08-23T03:33:14.531234+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/os.py", line 669, in getitem
2020-08-23T03:33:14.531234+00:00 app[web.1]: raise KeyError(key) from None
2020-08-23T03:33:14.531235+00:00 app[web.1]: KeyError: 'DJANGO_ALLOWED_HOSTS'
2020-08-23T03:33:14.531235+00:00 app[web.1]:
2020-08-23T03:33:14.531235+00:00 app[web.1]: During handling of the above exception, another exception occurred:
2020-08-23T03:33:14.531236+00:00 app[web.1]:
2020-08-23T03:33:14.531236+00:00 app[web.1]: Traceback (most recent call last):
2020-08-23T03:33:14.531237+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
2020-08-23T03:33:14.531237+00:00 app[web.1]: worker.init_process()
2020-08-23T03:33:14.531238+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/workers/base.py", line 119, in init_process
2020-08-23T03:33:14.531238+00:00 app[web.1]: self.load_wsgi()
2020-08-23T03:33:14.531238+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
2020-08-23T03:33:14.531239+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2020-08-23T03:33:14.531239+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/app/base.py", line 67, in wsgi
2020-08-23T03:33:14.531240+00:00 app[web.1]: self.callable = self.load()
2020-08-23T03:33:14.531240+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 49, in load
2020-08-23T03:33:14.531240+00:00 app[web.1]: return self.load_wsgiapp()
2020-08-23T03:33:14.531379+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp
2020-08-23T03:33:14.531380+00:00 app[web.1]: return util.import_app(self.app_uri)
2020-08-23T03:33:14.531380+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/util.py", line 358, in import_app
2020-08-23T03:33:14.531381+00:00 app[web.1]: mod = importlib.import_module(module)
2020-08-23T03:33:14.531381+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/importlib/init.py", line 126, in import_module
2020-08-23T03:33:14.531382+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2020-08-23T03:33:14.531382+00:00 app[web.1]: File "", line 994, in _gcd_import
2020-08-23T03:33:14.531382+00:00 app[web.1]: File "", line 971, in _find_and_load
2020-08-23T03:33:14.531383+00:00 app[web.1]: File "", line 955, in _find_and_load_unlocked
2020-08-23T03:33:14.531383+00:00 app[web.1]: File "", line 665, in _load_unlocked
2020-08-23T03:33:14.531383+00:00 app[web.1]: File "", line 678, in exec_module
2020-08-23T03:33:14.531384+00:00 app[web.1]: File "", line 219, in _call_with_frames_removed
2020-08-23T03:33:14.531384+00:00 app[web.1]: File "/app/taskmaster/wsgi.py", line 16, in
2020-08-23T03:33:14.531385+00:00 app[web.1]: application = get_wsgi_application()
2020-08-23T03:33:14.531385+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
2020-08-23T03:33:14.531385+00:00 app[web.1]: django.setup(set_prefix=False)
2020-08-23T03:33:14.531386+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/init.py", line 19, in setup
2020-08-23T03:33:14.531386+00:00 app[web.1]: configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2020-08-23T03:33:14.531386+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/init.py", line 79, in getattr
2020-08-23T03:33:14.531386+00:00 app[web.1]: self._setup(name)
2020-08-23T03:33:14.531387+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/init.py", line 66, in _setup
2020-08-23T03:33:14.531387+00:00 app[web.1]: self._wrapped = Settings(settings_module)
2020-08-23T03:33:14.531388+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/init.py", line 157, in init
2020-08-23T03:33:14.531388+00:00 app[web.1]: mod = importlib.import_module(self.SETTINGS_MODULE)
2020-08-23T03:33:14.531388+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/importlib/init.py", line 126, in import_module
2020-08-23T03:33:14.531389+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2020-08-23T03:33:14.531389+00:00 app[web.1]: File "", line 994, in _gcd_import
2020-08-23T03:33:14.531389+00:00 app[web.1]: File "", line 971, in _find_and_load
2020-08-23T03:33:14.531389+00:00 app[web.1]: File "", line 955, in _find_and_load_unlocked
2020-08-23T03:33:14.531390+00:00 app[web.1]: File "", line 665, in _load_unlocked
2020-08-23T03:33:14.531390+00:00 app[web.1]: File "", line 678, in exec_module
2020-08-23T03:33:14.531390+00:00 app[web.1]: File "", line 219, in _call_with_frames_removed
2020-08-23T03:33:14.531391+00:00 app[web.1]: File "/app/taskmaster/settings.py", line 21, in
2020-08-23T03:33:14.531391+00:00 app[web.1]: ALLOWED_HOSTS=[env('DJANGO_ALLOWED_HOSTS')]
2020-08-23T03:33:14.531391+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/environ/environ.py", line 123, in call
2020-08-23T03:33:14.531392+00:00 app[web.1]: return self.get_value(var, cast=cast, default=default, parse_default=parse_default)
2020-08-23T03:33:14.531392+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/environ/environ.py", line 277, in get_value
2020-08-23T03:33:14.531392+00:00 app[web.1]: raise ImproperlyConfigured(error_msg)
2020-08-23T03:33:14.531624+00:00 app[web.1]: django.core.exceptions.ImproperlyConfigured: Set the DJANGO_ALLOWED_HOSTS environment variable
2020-08-23T03:33:14.532342+00:00 app[web.1]: [2020-08-23 03:33:14 +0000] [11] [INFO] Worker exiting (pid: 11)
2020-08-23T03:33:14.691235+00:00 app[web.1]: [2020-08-23 03:33:14 +0000] [4] [INFO] Shutting down: Master
2020-08-23T03:33:14.691331+00:00 app[web.1]: [2020-08-23 03:33:14 +0000] [4] [INFO] Reason: Worker failed to boot.
2020-08-23T03:33:14.798149+00:00 heroku[web.1]: Process exited with status 3
2020-08-23T03:33:14.847333+00:00 heroku[web.1]: State changed from starting to crashed
2020-08-23T04:09:35.215920+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=vikastodoapp.herokuapp.com request_id=09d6daf7-55fc-4bb2-b9b7-70f66764a940 fwd="103.238.104.40" dyno= connect= service= status=503 bytes= protocol=https
2020-08-23T04:09:36.990516+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=vikastodoapp.herokuapp.com request_id=c3003a02-9f05-4d59-a67c-3215692e4f79 fwd="103.238.104.40" dyno= connect= service= status=503 bytes= protocol=https

@vikaspal1704 Looks like you are making some progress. Now you need to set the allowed host in your settings.py.

This is what I have for mine so it works with any URL.
ALLOWED_HOSTS = ['*']

If you want to be specific, you can assign your heroku URL like so:
ALLOWED_HOSTS = ['your_herokuapp_name.herokuapp.com']

Remember not to include the protocol (https://)

@ezyhacks Thank you

@vikaspal1704 You are welcome and I'm glad to be of help to you. Happy coding!

Thank You So much Like I was just gonna lose hope and thought that all my work in going to vain .Thank you Once Again
@ezyhacks

@ezyhacks plz help me as well
I am getting the following error:
I need an urgent help plz,i am chasing a deadline , plz help me .

(duplicater) C:\Desktop\Tp>git add --all

(duplicater) C:\Desktop\Tp>git commit -m "Madhav"
[master 8723e70] hey Gwen
1 file changed, 1 insertion(+), 1 deletion(-)

(duplicater) C:\Desktop\Tp>git push heroku master
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 4 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 298 bytes | 49.00 KiB/s, done.
Total 3 (delta 1), reused 0 (delta 0), pack-reused 0
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Building on the Heroku-18 stack
remote: -----> Python app detected
remote: ! Python has released a security update! Please consider upgrading
to python-3.6.12
remote: Learn More: https://devcenter.heroku.com/articles/python-runtimes

remote: -----> No change in requirements detected, installing from cache
remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.34.2
remote: -----> Installing SQLite3
remote: -----> Installing requirements with pip
remote: -----> $ python HealTech/HealthTechnology/manage.py collectstatic --noin
put
remote: 2021-01-12 19:57:12.566761: W tensorflow/stream_executor/platform
/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer.so.6'; dle
rror: libnvinfer.so.6: cannot open shared object file: No such file or directory
; LD_LIBRARY_PATH: /app/.heroku/vendor/lib:/app/.heroku/python/lib:
remote: 2021-01-12 19:57:12.566957: W tensorflow/stream_executor/platform
/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer_plugin.so.
6'; dlerror: libnvinfer_plugin.so.6: cannot open shared object file: No such fil
e or directory; LD_LIBRARY_PATH: /app/.heroku/vendor/lib:/app/.heroku/python/lib
:
remote: 2021-01-12 19:57:12.566985: W tensorflow/compiler/tf2tensorrt/uti
ls/py_utils.cc:30] Cannot dlopen some TensorRT libraries. If you would like to u
se Nvidia GPU with TensorRT, please make sure the missing libraries mentioned ab
ove are installed properly.
remote: 152 static files copied to '/tmp/build_f34b2e7d/HealTech/HealthTe
chnology/staticfiles', 474 post-processed.
remote:
remote: -----> Discovering process types
remote: Procfile declares types -> web
remote:
remote: -----> Compressing...
remote: Done: 595.5M
remote: -----> Launching...
remote: ! Warning: Your slug size (595 MB) exceeds our soft limit (300 MB)
which may affect boot time.
remote: Released v26
remote: https://healtech.herokuapp.com/ deployed to Heroku
remote:
remote: Verifying deploy... done.
To https://git.heroku.com/healtech.git
fcd0d98..8723e70 master -> master

(duplicater) C:\Desktop\Tp>heroku logs --tail
2021-01-12T20:00:50.060734+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/util.py", line 358, in import_app
2021-01-12T20:00:50.060735+00:00 app[web.1]: mod = importlib.import_module(modul
e)
2021-01-12T20:00:50.060735+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/importlib/init.py", line 126, in import_module
2021-01-12T20:00:50.060736+00:00 app[web.1]: return _bootstrap._gcd_import(name[
level:], package, level)
2021-01-12T20:00:50.060737+00:00 app[web.1]: File "
", line 994, in _gcd_import
2021-01-12T20:00:50.060737+00:00 app[web.1]: File "
", line 971, in _find_and_load
2021-01-12T20:00:50.060737+00:00 app[web.1]: File "
", line 941, in _find_and_load_unlocked
2021-01-12T20:00:50.060738+00:00 app[web.1]: File "
", line 219, in _call_with_frames_removed
2021-01-12T20:00:50.060738+00:00 app[web.1]: File "
", line 994, in _gcd_import
2021-01-12T20:00:50.060739+00:00 app[web.1]: File "
", line 971, in _find_and_load
2021-01-12T20:00:50.060739+00:00 app[web.1]: File "
", line 953, in find_and_load_unlocked
2021-01-12T20:00:50.060837+00:00 app[web.1]: ModuleNotFoundError: No module name
d 'healtech'
2021-01-12T20:00:50.061340+00:00 app[web.1]: [2021-01-12 20:00:50 +0000] [11] [I
NFO] Worker exiting (pid: 11)
2021-01-12T20:00:50.160468+00:00 app[web.1]: Traceback (most recent call last):
2021-01-12T20:00:50.160563+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/arbiter.py", line 202, in run
2021-01-12T20:00:50.161141+00:00 app[web.1]: self.manage_workers()
2021-01-12T20:00:50.161203+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/arbiter.py", line 545, in manage_workers
2021-01-12T20:00:50.161832+00:00 app[web.1]: self.spawn_workers()
2021-01-12T20:00:50.161889+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/arbiter.py", line 617, in spawn_workers
2021-01-12T20:00:50.162523+00:00 app[web.1]: time.sleep(0.1 * random.random())
2021-01-12T20:00:50.162588+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
2021-01-12T20:00:50.162957+00:00 app[web.1]: self.reap_workers()
2021-01-12T20:00:50.163009+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
2021-01-12T20:00:50.163557+00:00 app[web.1]: raise HaltServer(reason, self.WORKE
R_BOOT_ERROR)
2021-01-12T20:00:50.163648+00:00 app[web.1]: gunicorn.errors.HaltServer: <HaltSe
rver 'Worker failed to boot.' 3>
2021-01-12T20:00:50.163674+00:00 app[web.1]:
2021-01-12T20:00:50.163675+00:00 app[web.1]: During handling of the above except
ion, another exception occurred:
2021-01-12T20:00:50.163676+00:00 app[web.1]:
2021-01-12T20:00:50.163701+00:00 app[web.1]: Traceback (most recent call last):
2021-01-12T20:00:50.163764+00:00 app[web.1]: File "/app/.heroku/python/bin/gunic
orn", line 8, in
2021-01-12T20:00:50.163976+00:00 app[web.1]: sys.exit(run())
2021-01-12T20:00:50.164007+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/app/wsgiapp.py", line 58, in run
2021-01-12T20:00:50.164280+00:00 app[web.1]: WSGIApplication("%(prog)s [OPTIONS]
[APP_MODULE]").run()
2021-01-12T20:00:50.164345+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/app/base.py", line 228, in run
2021-01-12T20:00:50.164745+00:00 app[web.1]: super().run()
2021-01-12T20:00:50.164796+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/app/base.py", line 72, in run
2021-01-12T20:00:50.165208+00:00 app[web.1]: Arbiter(self).run()
2021-01-12T20:00:50.165259+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/arbiter.py", line 229, in run
2021-01-12T20:00:50.165752+00:00 app[web.1]: self.halt(reason=inst.reason, exit

status=inst.exit_status)
2021-01-12T20:00:50.165803+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/arbiter.py", line 342, in halt
2021-01-12T20:00:50.166386+00:00 app[web.1]: self.stop()
2021-01-12T20:00:50.166606+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/arbiter.py", line 393, in stop
2021-01-12T20:00:50.167050+00:00 app[web.1]: time.sleep(0.1)
2021-01-12T20:00:50.167271+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
2021-01-12T20:00:50.171741+00:00 app[web.1]: self.reap_workers()
2021-01-12T20:00:50.171801+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
2021-01-12T20:00:50.172388+00:00 app[web.1]: raise HaltServer(reason, self.WORKE
R_BOOT_ERROR)
2021-01-12T20:00:50.172457+00:00 app[web.1]: gunicorn.errors.HaltServer: <HaltSe
rver 'Worker failed to boot.' 3>
2021-01-12T20:00:50.319388+00:00 heroku[web.1]: Process exited with status 1
2021-01-12T20:00:50.435616+00:00 heroku[web.1]: State changed from starting to c
rashed
2021-01-12T20:00:50.439288+00:00 heroku[web.1]: State changed from crashed to st
arting
2021-01-12T20:01:35.376057+00:00 heroku[web.1]: Starting process with command g unicorn healtech.wsgi --log-file -
2021-01-12T20:01:38.908261+00:00 app[web.1]: [2021-01-12 20:01:38 +0000] [4] [IN
FO] Starting gunicorn 20.0.4
2021-01-12T20:01:38.909239+00:00 app[web.1]: [2021-01-12 20:01:38 +0000] [4] [IN
FO] Listening at: http://0.0.0.0:15377 (4)
2021-01-12T20:01:38.909414+00:00 app[web.1]: [2021-01-12 20:01:38 +0000] [4] [IN
FO] Using worker: sync
2021-01-12T20:01:38.915235+00:00 app[web.1]: [2021-01-12 20:01:38 +0000] [10] [I
NFO] Booting worker with pid: 10
2021-01-12T20:01:38.924289+00:00 app[web.1]: [2021-01-12 20:01:38 +0000] [10] [E
RROR] Exception in worker process
2021-01-12T20:01:38.924291+00:00 app[web.1]: Traceback (most recent call last):
2021-01-12T20:01:38.924291+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
2021-01-12T20:01:38.924292+00:00 app[web.1]: worker.init_process()
2021-01-12T20:01:38.924292+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/workers/base.py", line 119, in init_process
2021-01-12T20:01:38.924293+00:00 app[web.1]: self.load_wsgi()
2021-01-12T20:01:38.924293+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
2021-01-12T20:01:38.924294+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2021-01-12T20:01:38.924294+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/app/base.py", line 67, in wsgi
2021-01-12T20:01:38.924295+00:00 app[web.1]: self.callable = self.load()
2021-01-12T20:01:38.924295+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/app/wsgiapp.py", line 49, in load
2021-01-12T20:01:38.924296+00:00 app[web.1]: return self.load_wsgiapp()
2021-01-12T20:01:38.924296+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp
2021-01-12T20:01:38.924297+00:00 app[web.1]: return util.import_app(self.app_uri
)
2021-01-12T20:01:38.924297+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/site-packages/gunicorn/util.py", line 358, in import_app
2021-01-12T20:01:38.924298+00:00 app[web.1]: mod = importlib.import_module(modul
e)
2021-01-12T20:01:38.924298+00:00 app[web.1]: File "/app/.heroku/python/lib/pytho
n3.6/importlib/init.py", line 126, in import_module
2021-01-12T20:01:38.924299+00:00 app[web.1]: return _bootstrap._gcd_import(name[
level:], package, level)
2021-01-12T20:01:38.924299+00:00 app[web.1]: File "
", line 994, in _gcd_import
2021-01-12T20:01:38.924300+00:00 app[web.1]: File "
", line 971, in _find_and_load
2021-01-12T20:01:38.924300+00:00 app[web.1]: File "
", line 941, in _find_and_load_unlocked
2021-01-12T20:01:38.924300+00:00 app[web.1]: File "
", line 219, in _call_with_frames_removed
2021-01-12T20:01:38.924301+00:00 app[web.1]: File "
", line 994, in _gcd_import
2021-01-12T20:01:38.924301+00:00 app[web.1]: File "
", line 971, in _find_and_load
2021-01-12T20:01:38.924301+00:00 app[web.1]: File "
", line 953, in _find_and_load_unlocked
2021-01-12T20:01:38.924307+00:00 app[web.1]: ModuleNotFoundError: No module name
d 'healtech'
2021-01-12T20:01:38.924528+00:00 app[web.1]: [2021-01-12 20:01:38 +0000] [10] [I
NFO] Worker exiting (pid: 10)
2021-01-12T20:01:38.967780+00:00 app[web.1]: [2021-01-12 20:01:38 +0000] [4] [IN
FO] Shutting down: Master
2021-01-12T20:01:38.968119+00:00 app[web.1]: [2021-01-12 20:01:38 +0000] [4] [IN
FO] Reason: Worker failed to boot.
2021-01-12T20:01:39.083776+00:00 heroku[web.1]: Process exited with status 3
2021-01-12T20:01:39.126961+00:00 heroku[web.1]: State changed from starting to c
rashed
2021-01-12T20:02:06.000000+00:00 app[api]: Build succeeded
2021-01-12T20:02:21.834670+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/" host=healtech.herokuapp.com request_id=fe3d4c38-c892-4
2bd-86d8-ca6cfd793c52 fwd="47.15.9.160" dyno= connect= service= status=503 bytes
= protocol=http
2021-01-12T20:02:22.095700+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/" host=healtech.herokuapp.com request_id=4055528e-c259-4
6f6-8c66-b72c120dccf8 fwd="47.15.9.160" dyno= connect= service= status=503 bytes
= protocol=http
2021-01-12T20:02:22.291965+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/" host=healtech.herokuapp.com request_id=78e91570-1ce4-4
366-9c85-221d2407d334 fwd="47.15.9.160" dyno= connect= service= status=503 bytes
= protocol=http
2021-01-12T20:02:22.575714+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/" host=healtech.herokuapp.com request_id=cace3038-ea2f-4
6cb-a69e-5777a22bffa0 fwd="47.15.9.160" dyno= connect= service= status=503 bytes
= protocol=http
2021-01-12T20:02:22.872262+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/" host=healtech.herokuapp.com request_id=2ae1345b-42db-4
bc1-b541-268c8e8c0444 fwd="47.15.9.160" dyno= connect= service= status=503 bytes
= protocol=http
2021-01-12T20:02:23.117638+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/" host=healtech.herokuapp.com request_id=3a4e56cd-c987-4
a87-bd3e-d70482148f5f fwd="47.15.9.160" dyno= connect= service= status=503 bytes
= protocol=http
2021-01-12T20:02:23.366024+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/" host=healtech.herokuapp.com request_id=0c3ba79c-0588-4
f8d-a10a-c4761814e1db fwd="47.15.9.160" dyno= connect= service= status=503 bytes
= protocol=http
2021-01-12T20:02:23.857138+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/favicon.ico" host=healtech.herokuapp.com request_id=97bc
63fa-40f7-4e97-a54e-e27d034b9cc4 fwd="47.15.9.160" dyno= connect= service= statu
s=503 bytes= protocol=http
2021-01-12T20:02:24.213205+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/" host=healtech.herokuapp.com request_id=f0c1c0b2-dee5-4
a55-b7b9-3b65f8cefb21 fwd="47.15.9.160" dyno= connect= service= status=503 bytes
= protocol=http
2021-01-12T20:02:25.248855+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/favicon.ico" host=healtech.herokuapp.com request_id=7ccf
3667-dd25-49cd-8f47-8d86b0523f28 fwd="47.15.9.160" dyno= connect= service= statu
s=503 bytes= protocol=http
2021-01-12T20:02:26.148458+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/" host=healtech.herokuapp.com request_id=69dd3236-f1a5-4
ff8-bc6a-e95bda943db2 fwd="47.15.9.160" dyno= connect= service= status=503 bytes
= protocol=http
2021-01-12T20:02:26.812871+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/favicon.ico" host=healtech.herokuapp.com request_id=e1af
b7c6-87ea-4b94-b51c-617ccbb4dd2e fwd="47.15.9.160" dyno= connect= service= statu
s=503 bytes= protocol=http
2021-01-12T20:02:28.190523+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/" host=healtech.herokuapp.com request_id=545a76ef-58aa-4
a86-a4f3-21b75d331acf fwd="47.15.9.160" dyno= connect= service= status=503 bytes
= protocol=http
2021-01-12T20:02:29.335477+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/favicon.ico" host=healtech.herokuapp.com request_id=f19b
4aea-6a2c-46bf-b7e1-b58d6a5f98ab fwd="47.15.9.160" dyno= connect= service= statu
s=503 bytes= protocol=http

dont know why its not able to detect my healtech module , which is the project directory itself .

here is my Procfile:
web: gunicorn healtech.wsgi --log-file -

2 days , haven't got any response yet . Plz help me someone

plz help me someone ... does anyone knows the solution to this problem??

Hii @ezyhacks ,
ThankYou So much for replying ,

I don't have any app called "healthcare" in my application , Plz have a look at my settings.py file:

"""
Django settings for HealthTechnology project.

Generated by 'django-admin startproject' using Django 2.1.

For more information on this file, see
https://docs.djangoproject.com/en/2.1/topics/settings/

For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.1/ref/settings/
"""

import os
import django_heroku

Build paths inside the project like this: os.path.join(BASE_DIR, ...)

BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(file)))

Quick-start development settings - unsuitable for production

See https://docs.djangoproject.com/en/2.1/howto/deployment/checklist/

SECURITY WARNING: keep the secret key used in production secret!

SECURITY WARNING: don't run with debug turned on in production!

DEBUG = True

ALLOWED_HOSTS = ['healtech.herokuapp.com',
'localhost',
'127.0.0.1']

Application definition

INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'XrayApp.apps.XrayappConfig',
'rest_framework',

'corona.apps.CoronaConfig',

]

MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]

ROOT_URLCONF = 'HealthTechnology.urls'
TEMPLATES_DIR=os.path.join(BASE_DIR,'templates')

STATIC_DIR=os.path.join(BASE_DIR,'static')

MEDIA_DIR=os.path.join(BASE_DIR,"media")

TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [TEMPLATES_DIR],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]

WSGI_APPLICATION = 'HealthTechnology.wsgi.application'

Database

https://docs.djangoproject.com/en/2.1/ref/settings/#databases

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}

Password validation

https://docs.djangoproject.com/en/2.1/ref/settings/#auth-password-validators

AUTH_PASSWORD_VALIDATORS = [
{
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
},
]

Internationalization

https://docs.djangoproject.com/en/2.1/topics/i18n/

LANGUAGE_CODE = 'en-us'

TIME_ZONE = 'UTC'

USE_I18N = True

USE_L10N = True

USE_TZ = True

Static files (CSS, JavaScript, Images)

https://docs.djangoproject.com/en/2.1/howto/static-files/

STATICFILES_STORAGE = 'whitenoise.django.GzipManifestStaticFilesStorage'

STATIC_URL = '/static/'
MEDIA_URL = '/media/'
django_heroku.settings(locals())
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
MODELS = os.path.join(BASE_DIR, 'corona/modeloo')

@ezyhacks ,
Thank You So much brother.
Thank You so much .....It worked , i finally realiesed my silliest mistake till date !!

Tons of Thank You and Well wishing for you! You are a genius

C:\Users\urvis\Desktop\rajpatel322.github.io\Practice_Project>heroku logs
2021-03-20T06:20:17.463462+00:00 app[web.1]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
2021-03-20T06:20:17.463474+00:00 app[web.1]:
2021-03-20T06:20:17.463474+00:00 app[web.1]: During handling of the above exception, another exception occurred:
2021-03-20T06:20:17.463475+00:00 app[web.1]:
2021-03-20T06:20:17.463478+00:00 app[web.1]: Traceback (most recent call last):
2021-03-20T06:20:17.463479+00:00 app[web.1]: File "/app/.heroku/python/bin/gunicorn", line 8, in
2021-03-20T06:20:17.463602+00:00 app[web.1]: sys.exit(run())
2021-03-20T06:20:17.463630+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 58, in run
2021-03-20T06:20:17.463750+00:00 app[web.1]: WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
2021-03-20T06:20:17.463785+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/base.py", line 228, in run
2021-03-20T06:20:17.463952+00:00 app[web.1]: super().run()
2021-03-20T06:20:17.463954+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/base.py", line 72, in run
2021-03-20T06:20:17.464081+00:00 app[web.1]: Arbiter(self).run()
2021-03-20T06:20:17.464105+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 229, in run
2021-03-20T06:20:17.464249+00:00 app[web.1]: self.halt(reason=inst.reason, exit_status=inst.exit_status)
2021-03-20T06:20:17.464273+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 342, in halt
2021-03-20T06:20:17.464458+00:00 app[web.1]: self.stop()
2021-03-20T06:20:17.464461+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 393, in stop
2021-03-20T06:20:17.464655+00:00 app[web.1]: time.sleep(0.1)
2021-03-20T06:20:17.464658+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
2021-03-20T06:20:17.464810+00:00 app[web.1]: self.reap_workers()
2021-03-20T06:20:17.464814+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
2021-03-20T06:20:17.465021+00:00 app[web.1]: raise HaltServer(reason, self.WORKER_BOOT_ERROR)
2021-03-20T06:20:17.465074+00:00 app[web.1]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
2021-03-20T06:20:17.536146+00:00 heroku[web.1]: Process exited with status 1
2021-03-20T06:20:17.597483+00:00 heroku[web.1]: State changed from starting to crashed
2021-03-20T06:20:18.502462+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=triksnas.herokuapp.com request_id=8cab5dfb-ac60-4ccc-bd18-bb5be54dcd71 fwd="67.173.81.219" dyno= connect= service= status=503 bytes= protocol=https
2021-03-20T06:20:18.776461+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=triksnas.herokuapp.com request_id=9e323197-2f69-457a-8769-affa013553b5 fwd="67.173.81.219" dyno= connect= service= status=503 bytes= protocol=https
2021-03-20T06:22:08.971134+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=triksnas.herokuapp.com request_id=0c9a6445-4506-4bff-8712-25358fc09f84 fwd="67.173.81.219" dyno= connect= service= status=503 bytes= protocol=https
2021-03-20T06:22:09.226777+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=triksnas.herokuapp.com request_id=7d181162-f179-485c-b6e5-e79beef76b1b fwd="67.173.81.219" dyno= connect= service= status=503 bytes= protocol=https
2021-03-20T06:22:47.477140+00:00 heroku[web.1]: State changed from crashed to starting
2021-03-20T06:22:53.797477+00:00 heroku[web.1]: Starting process with command gunicorn todo_list.wsgi --log-file -
2021-03-20T06:22:58.639482+00:00 app[web.1]: [2021-03-20 06:22:58 +0000] [4] [INFO] Starting gunicorn 20.0.4
2021-03-20T06:22:58.640400+00:00 app[web.1]: [2021-03-20 06:22:58 +0000] [4] [INFO] Listening at: http://0.0.0.0:22134 (4)
2021-03-20T06:22:58.640596+00:00 app[web.1]: [2021-03-20 06:22:58 +0000] [4] [INFO] Using worker: sync
2021-03-20T06:22:58.673965+00:00 app[web.1]: [2021-03-20 06:22:58 +0000] [7] [INFO] Booting worker with pid: 7
2021-03-20T06:22:58.687215+00:00 app[web.1]: [2021-03-20 06:22:58 +0000] [8] [INFO] Booting worker with pid: 8
2021-03-20T06:22:58.714222+00:00 app[web.1]: [2021-03-20 06:22:58 +0000] [8] [ERROR] Exception in worker process
2021-03-20T06:22:58.714235+00:00 app[web.1]: Traceback (most recent call last):
2021-03-20T06:22:58.714237+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
2021-03-20T06:22:58.714239+00:00 app[web.1]: worker.init_process()
2021-03-20T06:22:58.714240+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 119, in init_process
2021-03-20T06:22:58.714240+00:00 app[web.1]: self.load_wsgi()
2021-03-20T06:22:58.714240+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
2021-03-20T06:22:58.714241+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2021-03-20T06:22:58.714250+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/base.py", line 67, in wsgi
2021-03-20T06:22:58.714250+00:00 app[web.1]: self.callable = self.load()
2021-03-20T06:22:58.714251+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 49, in load
2021-03-20T06:22:58.714251+00:00 app[web.1]: return self.load_wsgiapp()
2021-03-20T06:22:58.714252+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp
2021-03-20T06:22:58.714252+00:00 app[web.1]: return util.import_app(self.app_uri)
2021-03-20T06:22:58.714253+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/util.py", line 358, in import_app
2021-03-20T06:22:58.714253+00:00 app[web.1]: mod = importlib.import_module(module)
2021-03-20T06:22:58.714253+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/importlib/init.py", line 127, in import_module
2021-03-20T06:22:58.714254+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2021-03-20T06:22:58.714254+00:00 app[web.1]: File "", line 1030, in _gcd_import
2021-03-20T06:22:58.714255+00:00 app[web.1]: File "", line 1007, in _find_and_load
2021-03-20T06:22:58.714255+00:00 app[web.1]: File "", line 986, in _find_and_load_unlocked
2021-03-20T06:22:58.714255+00:00 app[web.1]: File "", line 680, in _load_unlocked
2021-03-20T06:22:58.714256+00:00 app[web.1]: File "", line 790, in exec_module
2021-03-20T06:22:58.714256+00:00 app[web.1]: File "", line 228, in _call_with_frames_removed
2021-03-20T06:22:58.714256+00:00 app[web.1]: File "/app/todo_list/wsgi.py", line 12, in
2021-03-20T06:22:58.714257+00:00 app[web.1]: from django.core.wsgi import get_wsgi_application
2021-03-20T06:22:58.714257+00:00 app[web.1]: ModuleNotFoundError: No module named 'django'
2021-03-20T06:22:58.719618+00:00 app[web.1]: [2021-03-20 06:22:58 +0000] [8] [INFO] Worker exiting (pid: 8)
2021-03-20T06:22:58.728081+00:00 app[web.1]: [2021-03-20 06:22:58 +0000] [7] [ERROR] Exception in worker process
2021-03-20T06:22:58.728082+00:00 app[web.1]: Traceback (most recent call last):
2021-03-20T06:22:58.728083+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
2021-03-20T06:22:58.728083+00:00 app[web.1]: worker.init_process()
2021-03-20T06:22:58.728084+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 119, in init_process
2021-03-20T06:22:58.728084+00:00 app[web.1]: self.load_wsgi()
2021-03-20T06:22:58.728085+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
2021-03-20T06:22:58.728085+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2021-03-20T06:22:58.728085+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/base.py", line 67, in wsgi
Running printenv on ⬢ triksnas... up, run.5419 (Free)
PYTHONUNBUFFERED=true
DATABASE_URL=postgres://ftunpgeyiklrop:da92f8f4198bc5caeb2a5b17d443de9e6ba492d204b7ae36994372d320715481@ec2-54-198-252-9.compute-1.amazonaws.com:5432/dbbfi83es9eqj7:22:58.728087+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp
PYTHONHASHSEED=random28088+00:00 app[web.1]: return util.import_app(self.app_uri)
PWD=/app20T06:22:58.728088+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/util.py", line 358, in import_app
PORT=41670T06:22:58.728088+00:00 app[web.1]: mod = importlib.import_module(module)
GUNICORN_CMD_ARGS=--access-logfile -[web.1]: File "/app/.heroku/python/lib/python3.9/importlib/init.py", line 127, in import_module
LINES=3020T06:22:58.728089+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
DYNO_RAM=5126:22:58.728090+00:00 app[web.1]: File "", line 1030, in _gcd_import
HOME=/app0T06:22:58.728090+00:00 app[web.1]: File "", line 1007, in _find_and_load
LANG=en_US.UTF-8:58.728091+00:00 app[web.1]: File "", line 986, in _find_and_load_unlocked
COLUMNS=15106:22:58.728091+00:00 app[web.1]: File "", line 680, in _load_unlocked
FORWARDED_ALLOW_IPS=*28091+00:00 app[web.1]: File "", line 790, in exec_module
PYTHONPATH=/app2:58.728092+00:00 app[web.1]: File "", line 228, in _call_with_frames_removed
PYTHONHOME=/app/.heroku/python00 app[web.1]: File "/app/todo_list/wsgi.py", line 12, in
LIBRARY_PATH=/app/.heroku/vendor/lib:/app/.heroku/python/lib:.wsgi import get_wsgi_application
SHLVL=0-20T06:22:58.728093+00:00 app[web.1]: ModuleNotFoundError: No module named 'django'
WEB_CONCURRENCY=258.728338+00:00 app[web.1]: [2021-03-20 06:22:58 +0000] [7] [INFO] Worker exiting (pid: 7)
LD_LIBRARY_PATH=/app/.heroku/vendor/lib:/app/.heroku/python/lib:om starting to up
PS1=[\033[01;34m]\w[\033[00m] [\033[01;32m]$ [\033[00m]58 +0000] [4] [INFO] Shutting down: Master
PATH=/app/.heroku/python/bin:/usr/local/bin:/usr/bin:/bin06:22:58 +0000] [4] [INFO] Reason: Worker failed to boot.
DYNO=run.5419:22:59.106782+00:00 heroku[web.1]: Process exited with status 3
_=/usr/bin/printenv.265476+00:00 heroku[web.1]: State changed from up to crashed
2021-03-20T06:23:00.099499+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=triksnas.herokuapp.com request_id=6b11f4
C:\Users\urvis\Desktop\rajpatel322.github.io\Practice_Project>ct= service= status=503 bytes= protocol=https
2021-03-20T06:23:00.345051+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=triksnas.herokuapp.com request_id=a2774a29-7829-486f-9736-09ab017dcfb2 fwd="67.173.81.219" dyno= connect= service= status=503 bytes= protocol=https

I have added django in the requirements.txt

it has to do with the PYTHONPATH not installing django. everytime i try to migrate using heroku run python manage.py migrate or runserver it says import django NoModuelFound Django

2021-05-08T00:11:46.652453+00:00 app[web.1]: File "", line 984, in _find_and_load_unlocked
2021-05-08T00:11:46.652453+00:00 app[web.1]: ModuleNotFoundError: No module named 'whitenoise'
2021-05-08T00:11:46.652818+00:00 app[web.1]: [2021-05-08 00:11:46 +0000] [8] [INFO] Worker exiting (pid: 8)
2021-05-08T00:11:46.721314+00:00 app[web.1]: [2021-05-08 00:11:46 +0000] [4] [WARNING] Worker with pid 8 was terminated due to signal 15
2021-05-08T00:11:46.816663+00:00 app[web.1]: [2021-05-08 00:11:46 +0000] [4] [INFO] Shutting down: Master
2021-05-08T00:11:46.816739+00:00 app[web.1]: [2021-05-08 00:11:46 +0000] [4] [INFO] Reason: Worker failed to boot.
2021-05-08T00:11:46.890557+00:00 heroku[web.1]: Process exited with status 3
2021-05-08T00:11:47.088292+00:00 heroku[web.1]: State changed from up to crashed
2021-05-08T00:11:47.853226+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=nakulvijhani.herokuapp.com request_id=32a00c3f-9a06-4561-9d75-571d2e52db5a fwd="49.36.133.9" dyno= connect= service= status=503 bytes= protocol=https
2021-05-08T00:11:57.602825+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=nakulvijhani.herokuapp.com request_id=bf1b5a70-b8aa-44d2-9849-83de31511966 fwd="49.36.133.9" dyno= connect= service= status=503 bytes= protocol=https
2021-05-08T00:12:03.000000+00:00 app[api]: Build succeeded
2021-05-08T00:12:10.802067+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=nakulvijhani.herokuapp.com request_id=da74cde6-4330-4ef7-a628-3db8626c02d8 fwd="49.36.133.9" dyno= connect= service= status=503 bytes= protocol=https
2021-05-08T00:12:12.962881+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=nakulvijhani.herokuapp.com request_id=93c4140d-ee20-4e7b-9a1e-77feb02b814c fwd="49.36.133.9" dyno= connect= service= status=503 bytes= protocol=https

web: gunicorn django_project.wsgi:application --log-file - --log-level debug
python manage.py collectstatic --noinput
manage.py migrate

Could you please help me with this error

Hey @ezyhacks, can you help me with this error, I am trying to deploy project from last 10 to 15 days.

(myenv) C:\Users\Sanjana poptani\Desktop\todo>heroku logs --tail
» Warning: heroku update available from 7.53.0 to 7.54.0.
2021-05-31T20:47:46.659021+00:00 app[web.1]: File "", line 855, in exec_module
2021-05-31T20:47:46.659021+00:00 app[web.1]: File "", line 228, in _call_with_frames_removed
2021-05-31T20:47:46.659022+00:00 app[web.1]: File "/app/proj/wsgi.py", line 16, in
2021-05-31T20:47:46.659022+00:00 app[web.1]: application = get_wsgi_application()
2021-05-31T20:47:46.659023+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
2021-05-31T20:47:46.659023+00:00 app[web.1]: django.setup(set_prefix=False)
2021-05-31T20:47:46.659023+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/init.py", line 19, in setup
2021-05-31T20:47:46.659024+00:00 app[web.1]: configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2021-05-31T20:47:46.659024+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/conf/init.py", line 82, in getattr
2021-05-31T20:47:46.659025+00:00 app[web.1]: self._setup(name)
2021-05-31T20:47:46.659025+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/conf/init.py", line 69, in _setup
2021-05-31T20:47:46.659026+00:00 app[web.1]: self._wrapped = Settings(settings_module)
2021-05-31T20:47:46.659026+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/conf/init.py", line 170, in init
2021-05-31T20:47:46.659027+00:00 app[web.1]: mod = importlib.import_module(self.SETTINGS_MODULE)
2021-05-31T20:47:46.659027+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/importlib/init.py", line 127, in import_module
2021-05-31T20:47:46.659027+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2021-05-31T20:47:46.659028+00:00 app[web.1]: File "", line 1030, in _gcd_import
2021-05-31T20:47:46.659028+00:00 app[web.1]: File "", line 1007, in _find_and_load
2021-05-31T20:47:46.659029+00:00 app[web.1]: File "", line 972, in _find_and_load_unlocked
2021-05-31T20:47:46.659029+00:00 app[web.1]: File "", line 228, in _call_with_frames_removed
2021-05-31T20:47:46.659029+00:00 app[web.1]: File "", line 1030, in _gcd_import
2021-05-31T20:47:46.659030+00:00 app[web.1]: File "", line 1007, in _find_and_load
2021-05-31T20:47:46.659031+00:00 app[web.1]: File "", line 986, in _find_and_load_unlocked
2021-05-31T20:47:46.659031+00:00 app[web.1]: File "", line 680, in _load_unlocked
2021-05-31T20:47:46.659032+00:00 app[web.1]: File "", line 855, in exec_module
2021-05-31T20:47:46.659032+00:00 app[web.1]: File "", line 228, in _call_with_frames_removed
2021-05-31T20:47:46.659032+00:00 app[web.1]: File "/app/proj/settings.py", line 34, in
2021-05-31T20:47:46.659033+00:00 app[web.1]: django_heroku.settings(locals())
2021-05-31T20:47:46.659033+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django_heroku/core.py", line 99, in settings
2021-05-31T20:47:46.659034+00:00 app[web.1]: config['MIDDLEWARE'] = tuple(['whitenoise.middleware.WhiteNoiseMiddleware'] + list(config['MIDDLEWARE']))
2021-05-31T20:47:46.659034+00:00 app[web.1]: KeyError: 'MIDDLEWARE'
2021-05-31T20:47:46.659269+00:00 app[web.1]: [2021-05-31 20:47:46 +0000] [8] [INFO] Worker exiting (pid: 8)
2021-05-31T20:47:46.660710+00:00 app[web.1]: [2021-05-31 20:47:46 +0000] [7] [ERROR] Exception in worker process
2021-05-31T20:47:46.660710+00:00 app[web.1]: Traceback (most recent call last):
2021-05-31T20:47:46.660711+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django_heroku/core.py", line 97, in settings
2021-05-31T20:47:46.660711+00:00 app[web.1]: config['MIDDLEWARE_CLASSES'] = tuple(['whitenoise.middleware.WhiteNoiseMiddleware'] + list(config['MIDDLEWARE_CLASSES']))
2021-05-31T20:47:46.660712+00:00 app[web.1]: KeyError: 'MIDDLEWARE_CLASSES'
2021-05-31T20:47:46.660712+00:00 app[web.1]:
2021-05-31T20:47:46.660732+00:00 app[web.1]: During handling of the above exception, another exception occurred:
2021-05-31T20:47:46.660733+00:00 app[web.1]:
2021-05-31T20:47:46.660734+00:00 app[web.1]: Traceback (most recent call last):
2021-05-31T20:47:46.660734+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker
2021-05-31T20:47:46.660734+00:00 app[web.1]: worker.init_process()
2021-05-31T20:47:46.660735+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 134, in init_process
2021-05-31T20:47:46.660735+00:00 app[web.1]: self.load_wsgi()
2021-05-31T20:47:46.660735+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
2021-05-31T20:47:46.660736+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2021-05-31T20:47:46.660736+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/base.py", line 67, in wsgi
2021-05-31T20:47:46.660737+00:00 app[web.1]: self.callable = self.load()
2021-05-31T20:47:46.660737+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
2021-05-31T20:47:46.660738+00:00 app[web.1]: return self.load_wsgiapp()
2021-05-31T20:47:46.660738+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
2021-05-31T20:47:46.660739+00:00 app[web.1]: return util.import_app(self.app_uri)
2021-05-31T20:47:46.660739+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/util.py", line 359, in import_app
2021-05-31T20:47:46.660740+00:00 app[web.1]: mod = importlib.import_module(module)
2021-05-31T20:47:46.660740+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/importlib/init.py", line 127, in import_module
2021-05-31T20:47:46.660741+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2021-05-31T20:47:46.660742+00:00 app[web.1]: File "", line 1030, in _gcd_import
2021-05-31T20:47:46.660742+00:00 app[web.1]: File "", line 1007, in _find_and_load
2021-05-31T20:47:46.660742+00:00 app[web.1]: File "", line 986, in _find_and_load_unlocked
2021-05-31T20:47:46.660743+00:00 app[web.1]: File "", line 680, in _load_unlocked
2021-05-31T20:47:46.660743+00:00 app[web.1]: File "", line 855, in exec_module
2021-05-31T20:47:46.660744+00:00 app[web.1]: File "", line 228, in _call_with_frames_removed
2021-05-31T20:47:46.660744+00:00 app[web.1]: File "/app/proj/wsgi.py", line 16, in
2021-05-31T20:47:46.660744+00:00 app[web.1]: application = get_wsgi_application()
2021-05-31T20:47:46.660745+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
2021-05-31T20:47:46.660745+00:00 app[web.1]: django.setup(set_prefix=False)
2021-05-31T20:47:46.660746+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/init.py", line 19, in setup
2021-05-31T20:47:46.660746+00:00 app[web.1]: configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2021-05-31T20:47:46.660746+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/conf/init.py", line 82, in getattr
2021-05-31T20:47:46.660747+00:00 app[web.1]: self._setup(name)
2021-05-31T20:47:46.660747+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/conf/init.py", line 69, in _setup
2021-05-31T20:47:46.660748+00:00 app[web.1]: self._wrapped = Settings(settings_module)
2021-05-31T20:47:46.660748+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/conf/init.py", line 170, in init
2021-05-31T20:47:46.660749+00:00 app[web.1]: mod = importlib.import_module(self.SETTINGS_MODULE)
2021-05-31T20:47:46.660749+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/importlib/init.py", line 127, in import_module
2021-05-31T20:47:46.660750+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2021-05-31T20:47:46.660750+00:00 app[web.1]: File "", line 1030, in _gcd_import
2021-05-31T20:47:46.660751+00:00 app[web.1]: File "", line 1007, in _find_and_load
2021-05-31T20:47:46.660751+00:00 app[web.1]: File "", line 972, in _find_and_load_unlocked
2021-05-31T20:47:46.660752+00:00 app[web.1]: File "", line 228, in _call_with_frames_removed
2021-05-31T20:47:46.660752+00:00 app[web.1]: File "", line 1030, in _gcd_import
2021-05-31T20:47:46.660752+00:00 app[web.1]: File "", line 1007, in _find_and_load
2021-05-31T20:47:46.660753+00:00 app[web.1]: File "", line 986, in _find_and_load_unlocked
2021-05-31T20:47:46.660753+00:00 app[web.1]: File "", line 680, in _load_unlocked
2021-05-31T20:47:46.660753+00:00 app[web.1]: File "", line 855, in exec_module
2021-05-31T20:47:46.660754+00:00 app[web.1]: File "", line 228, in _call_with_frames_removed
2021-05-31T20:47:46.660754+00:00 app[web.1]: File "/app/proj/settings.py", line 34, in
2021-05-31T20:47:46.660754+00:00 app[web.1]: django_heroku.settings(locals())
2021-05-31T20:47:46.660755+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django_heroku/core.py", line 99, in settings
2021-05-31T20:47:46.660755+00:00 app[web.1]: config['MIDDLEWARE'] = tuple(['whitenoise.middleware.WhiteNoiseMiddleware'] + list(config['MIDDLEWARE']))
2021-05-31T20:47:46.660756+00:00 app[web.1]: KeyError: 'MIDDLEWARE'
2021-05-31T20:47:46.660998+00:00 app[web.1]: [2021-05-31 20:47:46 +0000] [7] [INFO] Worker exiting (pid: 7)
2021-05-31T20:47:46.755768+00:00 app[web.1]: [2021-05-31 20:47:46 +0000] [4] [WARNING] Worker with pid 7 was terminated due to signal 15
2021-05-31T20:47:46.853298+00:00 app[web.1]: [2021-05-31 20:47:46 +0000] [4] [INFO] Shutting down: Master
2021-05-31T20:47:46.853434+00:00 app[web.1]: [2021-05-31 20:47:46 +0000] [4] [INFO] Reason: Worker failed to boot.
2021-05-31T20:47:46.945877+00:00 heroku[web.1]: Process exited with status 3
2021-05-31T20:47:47.020072+00:00 heroku[web.1]: State changed from up to crashed
2021-05-31T20:47:52.962684+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=todolistsanju.herokuapp.com request_id=8f3c6c29-d2a9-4dee-8060-79eb43be47ed fwd="49.34.215.3" dyno=web.1 connect=5000ms service= status=503 bytes= protocol=https
2021-05-31T20:47:53.699217+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=todolistsanju.herokuapp.com request_id=7e9d64fa-13bf-4879-919e-05708ff9f6a7 fwd="49.34.215.3" dyno= connect= service= status=503 bytes= protocol=https

This is my Procfile file:
web: gunicorn proj.wsgi --log-file - --log-level debug

This is my settings.py file
"""
Django settings for proj project.

Generated by 'django-admin startproject' using Django 3.2.3.

For more information on this file, see
https://docs.djangoproject.com/en/3.2/topics/settings/

For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.2/ref/settings/
"""

from pathlib import Path
import os

Build paths inside the project like this: BASE_DIR / 'subdir'.

BASE_DIR = Path(file).resolve().parent.parent

Quick-start development settings - unsuitable for production

See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/

SECURITY WARNING: keep the secret key used in production secret!

SECRET_KEY = 'django-insecure-nr@-#=%zm0_(^+me)7+)f1%-#^16a87o0at22$^pyzkt1!*rpj'

SECRET_KEY = os.environ.get('SECRET_KEY')

SECURITY WARNING: don't run with debug turned on in production!

DEBUG = False

ALLOWED_HOSTS = ['*']

import django_heroku
django_heroku.settings(locals())

Application definition

INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'todo',
]

MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'whitenoise.middleware.WhiteNoiseMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]

ROOT_URLCONF = 'proj.urls'

TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]

WSGI_APPLICATION = 'proj.wsgi.application'

Database

https://docs.djangoproject.com/en/3.2/ref/settings/#databases

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
}
}

Password validation

https://docs.djangoproject.com/en/3.2/ref/settings/#auth-password-validators

AUTH_PASSWORD_VALIDATORS = [
{
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
},
]

Internationalization

https://docs.djangoproject.com/en/3.2/topics/i18n/

LANGUAGE_CODE = 'en-us'

TIME_ZONE = 'UTC'

USE_I18N = True

USE_L10N = True

USE_TZ = True

Static files (CSS, JavaScript, Images)

https://docs.djangoproject.com/en/3.2/howto/static-files/

PROJECT_ROOT = os.path.join(os.path.abspath(file))
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
STATIC_URL = '/static/'

MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
MEDIA_URL = '/media/'

Extra lookup directories for collectstatic to find static files

STATICFILES_DIRS = (
os.path.join(BASE_DIR, 'static'),
)

Add configuration for static files storage using whitenoise

STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'

Default primary key field type

https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field

DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'

import dj_database_url
prod_db = dj_database_url.config(conn_max_age=500)
DATABASES['default'].update(prod_db)

And this is my wsgi.py file
"""
WSGI config for proj project.

It exposes the WSGI callable as a module-level variable named application.

For more information on this file, see
https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/
"""

import os

from django.core.wsgi import get_wsgi_application

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'proj.settings.local')

application = get_wsgi_application()

I will be very thankful for anybody who is interested to help me solving this error

Ok, I done that, but now getting this error:

C:\Users\Sanjana poptani\Desktop\todo>heroku logs --tail
» Warning: heroku update available from 7.53.0 to 7.54.0.
2021-06-01T12:08:51.331118+00:00 app[web.1]: [2021-06-01 12:08:51 +0000] [4] [DEBUG] Arbiter booted
2021-06-01T12:08:51.331320+00:00 app[web.1]: [2021-06-01 12:08:51 +0000] [4] [INFO] Listening at: http://0.0.0.0:40701 (4)
2021-06-01T12:08:51.331574+00:00 app[web.1]: [2021-06-01 12:08:51 +0000] [4] [INFO] Using worker: sync
2021-06-01T12:08:51.338358+00:00 app[web.1]: [2021-06-01 12:08:51 +0000] [7] [INFO] Booting worker with pid: 7
2021-06-01T12:08:51.417804+00:00 app[web.1]: [2021-06-01 12:08:51 +0000] [8] [INFO] Booting worker with pid: 8
2021-06-01T12:08:51.491317+00:00 app[web.1]: [2021-06-01 12:08:51 +0000] [4] [DEBUG] 2 workers
2021-06-01T12:08:51.624803+00:00 heroku[web.1]: State changed from starting to up
2021-06-01T12:08:53.063730+00:00 app[web.1]: [2021-06-01 12:08:53 +0000] [7] [ERROR] Exception in worker process
2021-06-01T12:08:53.063742+00:00 app[web.1]: Traceback (most recent call last):
2021-06-01T12:08:53.063743+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker
2021-06-01T12:08:53.063744+00:00 app[web.1]: worker.init_process()
2021-06-01T12:08:53.063744+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 134, in init_process
2021-06-01T12:08:53.063745+00:00 app[web.1]: self.load_wsgi()
2021-06-01T12:08:53.063745+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
2021-06-01T12:08:53.063794+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2021-06-01T12:08:53.063795+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/base.py", line 67, in wsgi
2021-06-01T12:08:53.063796+00:00 app[web.1]: self.callable = self.load()
2021-06-01T12:08:53.063797+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
2021-06-01T12:08:53.063797+00:00 app[web.1]: return self.load_wsgiapp()
2021-06-01T12:08:53.063798+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
2021-06-01T12:08:53.063799+00:00 app[web.1]: return util.import_app(self.app_uri)
2021-06-01T12:08:53.063799+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/util.py", line 359, in import_app
2021-06-01T12:08:53.063800+00:00 app[web.1]: mod = importlib.import_module(module)
2021-06-01T12:08:53.063800+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/importlib/init.py", line 127, in import_module
2021-06-01T12:08:53.063801+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2021-06-01T12:08:53.063802+00:00 app[web.1]: File "", line 1030, in _gcd_import
2021-06-01T12:08:53.063803+00:00 app[web.1]: File "", line 1007, in _find_and_load
2021-06-01T12:08:53.063803+00:00 app[web.1]: File "", line 986, in _find_and_load_unlocked
2021-06-01T12:08:53.063803+00:00 app[web.1]: File "", line 680, in _load_unlocked
2021-06-01T12:08:53.063804+00:00 app[web.1]: File "", line 855, in exec_module
2021-06-01T12:08:53.063804+00:00 app[web.1]: File "", line 228, in _call_with_frames_removed
2021-06-01T12:08:53.063805+00:00 app[web.1]: File "/app/proj/wsgi.py", line 16, in
2021-06-01T12:08:53.063805+00:00 app[web.1]: application = get_wsgi_application()
2021-06-01T12:08:53.063805+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
2021-06-01T12:08:53.063806+00:00 app[web.1]: django.setup(set_prefix=False)
2021-06-01T12:08:53.063806+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/init.py", line 19, in setup
2021-06-01T12:08:53.063807+00:00 app[web.1]: configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2021-06-01T12:08:53.063807+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/conf/init.py", line 82, in getattr
2021-06-01T12:08:53.063808+00:00 app[web.1]: self._setup(name)
2021-06-01T12:08:53.063808+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/conf/init.py", line 69, in _setup
2021-06-01T12:08:53.063808+00:00 app[web.1]: self._wrapped = Settings(settings_module)
2021-06-01T12:08:53.063809+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/conf/init.py", line 170, in init
2021-06-01T12:08:53.063809+00:00 app[web.1]: mod = importlib.import_module(self.SETTINGS_MODULE)
2021-06-01T12:08:53.063809+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/importlib/init.py", line 127, in import_module
2021-06-01T12:08:53.063810+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2021-06-01T12:08:53.063810+00:00 app[web.1]: File "", line 1030, in _gcd_import
2021-06-01T12:08:53.063811+00:00 app[web.1]: File "", line 1007, in _find_and_load
2021-06-01T12:08:53.063811+00:00 app[web.1]: File "", line 981, in _find_and_load_unlocked
2021-06-01T12:08:53.063812+00:00 app[web.1]: ModuleNotFoundError: No module named 'proj.settings.local'; 'proj.settings' is not a package
2021-06-01T12:08:53.063926+00:00 app[web.1]: [2021-06-01 12:08:53 +0000] [7] [INFO] Worker exiting (pid: 7)
2021-06-01T12:08:53.069207+00:00 app[web.1]: [2021-06-01 12:08:53 +0000] [8] [ERROR] Exception in worker process
2021-06-01T12:08:53.069208+00:00 app[web.1]: Traceback (most recent call last):
2021-06-01T12:08:53.069209+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker
2021-06-01T12:08:53.069210+00:00 app[web.1]: worker.init_process()
2021-06-01T12:08:53.069210+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 134, in init_process
2021-06-01T12:08:53.069211+00:00 app[web.1]: self.load_wsgi()
2021-06-01T12:08:53.069211+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
2021-06-01T12:08:53.069211+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2021-06-01T12:08:53.069212+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/base.py", line 67, in wsgi
2021-06-01T12:08:53.069212+00:00 app[web.1]: self.callable = self.load()
2021-06-01T12:08:53.069213+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
2021-06-01T12:08:53.069213+00:00 app[web.1]: return self.load_wsgiapp()
2021-06-01T12:08:53.069213+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
2021-06-01T12:08:53.069214+00:00 app[web.1]: return util.import_app(self.app_uri)
2021-06-01T12:08:53.069215+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/util.py", line 359, in import_app
2021-06-01T12:08:53.069215+00:00 app[web.1]: mod = importlib.import_module(module)
2021-06-01T12:08:53.069216+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/importlib/init.py", line 127, in import_module
2021-06-01T12:08:53.069216+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2021-06-01T12:08:53.069217+00:00 app[web.1]: File "", line 1030, in _gcd_import
2021-06-01T12:08:53.069217+00:00 app[web.1]: File "", line 1007, in _find_and_load
2021-06-01T12:08:53.069218+00:00 app[web.1]: File "", line 986, in _find_and_load_unlocked
2021-06-01T12:08:53.069218+00:00 app[web.1]: File "", line 680, in _load_unlocked
2021-06-01T12:08:53.069218+00:00 app[web.1]: File "", line 855, in exec_module
2021-06-01T12:08:53.069219+00:00 app[web.1]: File "", line 228, in _call_with_frames_removed
2021-06-01T12:08:53.069219+00:00 app[web.1]: File "/app/proj/wsgi.py", line 16, in
2021-06-01T12:08:53.069219+00:00 app[web.1]: application = get_wsgi_application()
2021-06-01T12:08:53.069220+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
2021-06-01T12:08:53.069220+00:00 app[web.1]: django.setup(set_prefix=False)
2021-06-01T12:08:53.069221+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/init.py", line 19, in setup
2021-06-01T12:08:53.069221+00:00 app[web.1]: configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2021-06-01T12:08:53.069221+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/conf/init.py", line 82, in getattr
2021-06-01T12:08:53.069222+00:00 app[web.1]: self._setup(name)
2021-06-01T12:08:53.069222+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/conf/init.py", line 69, in _setup
2021-06-01T12:08:53.069222+00:00 app[web.1]: self._wrapped = Settings(settings_module)
2021-06-01T12:08:53.069223+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/conf/init.py", line 170, in init
2021-06-01T12:08:53.069223+00:00 app[web.1]: mod = importlib.import_module(self.SETTINGS_MODULE)
2021-06-01T12:08:53.069224+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/importlib/init.py", line 127, in import_module
2021-06-01T12:08:53.069224+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2021-06-01T12:08:53.069225+00:00 app[web.1]: File "", line 1030, in _gcd_import
2021-06-01T12:08:53.069225+00:00 app[web.1]: File "", line 1007, in _find_and_load
2021-06-01T12:08:53.069226+00:00 app[web.1]: File "", line 981, in _find_and_load_unlocked
2021-06-01T12:08:53.069226+00:00 app[web.1]: ModuleNotFoundError: No module named 'proj.settings.local'; 'proj.settings' is not a package
2021-06-01T12:08:53.069519+00:00 app[web.1]: [2021-06-01 12:08:53 +0000] [8] [INFO] Worker exiting (pid: 8)
2021-06-01T12:08:53.131720+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=GET path="/" host=todolistsanju.herokuapp.com request_id=7a727064-ef4f-4173-a8ce-beeb43f61b72 fwd="49.34.123.222" dyno=web.1 connect=3ms service=150ms status=503 bytes=0 protocol=https
2021-06-01T12:08:53.135219+00:00 app[web.1]: [2021-06-01 12:08:53 +0000] [4] [WARNING] Worker with pid 8 was terminated due to signal 15
2021-06-01T12:08:53.231707+00:00 app[web.1]: [2021-06-01 12:08:53 +0000] [4] [INFO] Shutting down: Master
2021-06-01T12:08:53.231751+00:00 app[web.1]: [2021-06-01 12:08:53 +0000] [4] [INFO] Reason: Worker failed to boot.
2021-06-01T12:08:53.321977+00:00 heroku[web.1]: Process exited with status 3
2021-06-01T12:08:53.398883+00:00 heroku[web.1]: State changed from up to crashed
2021-06-01T12:08:58.690574+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=todolistsanju.herokuapp.com request_id=e2ec1735-6f0e-4cb8-9b16-ab08fcc5a709 fwd="49.34.123.222" dyno=web.1 connect=5000ms service= status=503 bytes= protocol=https

Can you please suggest something else, any other error which I can improve?

@ezyhacks can you please have a look at this error?👆👆

Can someone please help me out?

2021-08-07T02:09:37.683705+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
2021-08-07T02:09:37.683705+00:00 app[web.1]: return self.load_wsgiapp()
2021-08-07T02:09:37.683705+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
2021-08-07T02:09:37.683706+00:00 app[web.1]: return util.import_app(self.app_uri)
2021-08-07T02:09:37.683706+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/util.py", line 359, in import_app
2021-08-07T02:09:37.683706+00:00 app[web.1]: mod = importlib.import_module(module)
2021-08-07T02:09:37.683707+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/importlib/init.py", line 127, in import_module
2021-08-07T02:09:37.683707+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2021-08-07T02:09:37.683707+00:00 app[web.1]: File "", line 1030, in _gcd_import
2021-08-07T02:09:37.683708+00:00 app[web.1]: File "", line 1007, in _find_and_load
2021-08-07T02:09:37.683708+00:00 app[web.1]: File "", line 972, in _find_and_load_unlocked
2021-08-07T02:09:37.683708+00:00 app[web.1]: File "", line 228, in _call_with_frames_removed
2021-08-07T02:09:37.683709+00:00 app[web.1]: File "", line 1030, in _gcd_import
2021-08-07T02:09:37.683709+00:00 app[web.1]: File "", line 1007, in _find_and_load
2021-08-07T02:09:37.683709+00:00 app[web.1]: File "", line 986, in _find_and_load_unlocked
2021-08-07T02:09:37.683709+00:00 app[web.1]: File "", line 680, in _load_unlocked
2021-08-07T02:09:37.683710+00:00 app[web.1]: File "", line 850, in exec_module
2021-08-07T02:09:37.683710+00:00 app[web.1]: File "", line 228, in _call_with_frames_removed
2021-08-07T02:09:37.683710+00:00 app[web.1]: File "/app/backend/backend/wsgi.py", line 16, in
2021-08-07T02:09:37.683711+00:00 app[web.1]: application = get_wsgi_application()
2021-08-07T02:09:37.683711+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
2021-08-07T02:09:37.683711+00:00 app[web.1]: django.setup(set_prefix=False)
2021-08-07T02:09:37.683711+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/init.py", line 19, in setup
2021-08-07T02:09:37.683712+00:00 app[web.1]: configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2021-08-07T02:09:37.683712+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/conf/init.py", line 82, in getattr
2021-08-07T02:09:37.683712+00:00 app[web.1]: self._setup(name)
2021-08-07T02:09:37.683712+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/conf/init.py", line 69, in _setup
2021-08-07T02:09:37.683713+00:00 app[web.1]: self._wrapped = Settings(settings_module)
2021-08-07T02:09:37.683713+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/conf/init.py", line 170, in init
2021-08-07T02:09:37.683713+00:00 app[web.1]: mod = importlib.import_module(self.SETTINGS_MODULE)
2021-08-07T02:09:37.683714+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/importlib/init.py", line 127, in import_module
2021-08-07T02:09:37.683714+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2021-08-07T02:09:37.683714+00:00 app[web.1]: File "", line 1030, in _gcd_import
2021-08-07T02:09:37.683715+00:00 app[web.1]: File "", line 1007, in _find_and_load
2021-08-07T02:09:37.683715+00:00 app[web.1]: File "", line 984, in _find_and_load_unlocked
2021-08-07T02:09:37.683715+00:00 app[web.1]: ModuleNotFoundError: No module named 'backend.settings'
2021-08-07T02:09:37.683716+00:00 app[web.1]: [2021-08-07 02:09:37 +0000] [8] [INFO] Worker exiting (pid: 8)
2021-08-07T02:09:37.703858+00:00 heroku[web.1]: State changed from starting to up
2021-08-07T02:09:37.711692+00:00 app[web.1]: [2021-08-07 02:09:37 +0000] [7] [ERROR] Exception in worker process
2021-08-07T02:09:37.711697+00:00 app[web.1]: Traceback (most recent call last):
2021-08-07T02:09:37.711698+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker
2021-08-07T02:09:37.711698+00:00 app[web.1]: worker.init_process()
2021-08-07T02:09:37.711699+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 134, in init_process
2021-08-07T02:09:37.711699+00:00 app[web.1]: self.load_wsgi()
2021-08-07T02:09:37.711699+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
2021-08-07T02:09:37.711700+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2021-08-07T02:09:37.711700+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/base.py", line 67, in wsgi
2021-08-07T02:09:37.711700+00:00 app[web.1]: self.callable = self.load()
2021-08-07T02:09:37.711701+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
2021-08-07T02:09:37.711701+00:00 app[web.1]: return self.load_wsgiapp()
2021-08-07T02:09:37.711702+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
2021-08-07T02:09:37.711702+00:00 app[web.1]: return util.import_app(self.app_uri)
2021-08-07T02:09:37.711703+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/util.py", line 359, in import_app
2021-08-07T02:09:37.711703+00:00 app[web.1]: mod = importlib.import_module(module)
2021-08-07T02:09:37.711703+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/importlib/init.py", line 127, in import_module
2021-08-07T02:09:37.711704+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2021-08-07T02:09:37.711704+00:00 app[web.1]: File "", line 1030, in _gcd_import
2021-08-07T02:09:37.711704+00:00 app[web.1]: File "", line 1007, in _find_and_load
2021-08-07T02:09:37.711705+00:00 app[web.1]: File "", line 972, in _find_and_load_unlocked
2021-08-07T02:09:37.711705+00:00 app[web.1]: File "", line 228, in _call_with_frames_removed
2021-08-07T02:09:37.711705+00:00 app[web.1]: File "", line 1030, in _gcd_import
2021-08-07T02:09:37.711706+00:00 app[web.1]: File "", line 1007, in _find_and_load
2021-08-07T02:09:37.711706+00:00 app[web.1]: File "", line 986, in _find_and_load_unlocked
2021-08-07T02:09:37.711707+00:00 app[web.1]: File "", line 680, in _load_unlocked
2021-08-07T02:09:37.711707+00:00 app[web.1]: File "", line 850, in exec_module
2021-08-07T02:09:37.711707+00:00 app[web.1]: File "", line 228, in _call_with_frames_removed
2021-08-07T02:09:37.711708+00:00 app[web.1]: File "/app/backend/backend/wsgi.py", line 16, in
2021-08-07T02:09:37.711708+00:00 app[web.1]: application = get_wsgi_application()
2021-08-07T02:09:37.711708+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
2021-08-07T02:09:37.711709+00:00 app[web.1]: django.setup(set_prefix=False)
2021-08-07T02:09:37.711709+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/init.py", line 19, in setup
2021-08-07T02:09:37.711709+00:00 app[web.1]: configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2021-08-07T02:09:37.711710+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/conf/init.py", line 82, in getattr
2021-08-07T02:09:37.711710+00:00 app[web.1]: self._setup(name)
2021-08-07T02:09:37.711711+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/conf/init.py", line 69, in _setup
2021-08-07T02:09:37.711711+00:00 app[web.1]: self._wrapped = Settings(settings_module)
2021-08-07T02:09:37.711711+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/conf/init.py", line 170, in init
2021-08-07T02:09:37.711712+00:00 app[web.1]: mod = importlib.import_module(self.SETTINGS_MODULE)
2021-08-07T02:09:37.711713+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/importlib/init.py", line 127, in import_module
2021-08-07T02:09:37.711713+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2021-08-07T02:09:37.711713+00:00 app[web.1]: File "", line 1030, in _gcd_import
2021-08-07T02:09:37.711714+00:00 app[web.1]: File "", line 1007, in _find_and_load
2021-08-07T02:09:37.711714+00:00 app[web.1]: File "", line 984, in _find_and_load_unlocked
2021-08-07T02:09:37.711714+00:00 app[web.1]: ModuleNotFoundError: No module named 'backend.settings'
2021-08-07T02:09:37.711715+00:00 app[web.1]: [2021-08-07 02:09:37 +0000] [7] [INFO] Worker exiting (pid: 7)
2021-08-07T02:09:37.900448+00:00 app[web.1]: [2021-08-07 02:09:37 +0000] [4] [INFO] Reason: Worker failed to boot.
2021-08-07T02:09:38.006511+00:00 heroku[web.1]: Process exited with status 3
2021-08-07T02:09:38.344197+00:00 heroku[web.1]: State changed from up to crashed
2021-08-07T02:10:08.668392+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=mydogbreed.herokuapp.com request_id=651ae950-3ba2-43df-8866-b747a98155e8 fwd="197.210.54.169" dyno= connect= service= status=503 bytes= protocol=https
2021-08-07T02:10:09.756866+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=mydogbreed.herokuapp.com request_id=cf7df637-1b3a-489a-b9e0-7c3785c6de0c fwd="197.210.227.84" dyno= connect= service= status=503 bytes= protocol=https
2021-08-07T02:10:49.765307+00:00 app[api]: Starting process with command bash by user kennyudekwu@gmail.com
2021-08-07T02:11:28.007006+00:00 heroku[run.2825]: State changed from starting to up
2021-08-07T02:11:28.237024+00:00 heroku[run.2825]: Awaiting client
2021-08-07T02:11:28.281782+00:00 heroku[run.2825]: Starting process with command bash
2021-08-07T02:11:58.657868+00:00 heroku[run.2825]: Process exited with status 127
2021-08-07T02:11:58.800823+00:00 heroku[run.2825]: State changed from up to complete
2021-08-07T02:12:57.637430+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=mydogbreed.herokuapp.com request_id=1aa412fd-65f1-481d-ab49-81f28c551e29 fwd="197.210.227.84" dyno= connect= service= status=503 bytes= protocol=https
2021-08-07T02:12:58.749966+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=mydogbreed.herokuapp.com request_id=6ebaf950-9b9a-4327-b13d-0ae93ec63e2b fwd="197.210.227.84" dyno= connect= service= status=503 bytes= protocol=https

2021-08-12T11:35:14.507303+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 49, in load
2021-08-12T11:35:14.507303+00:00 app[web.1]: return self.load_wsgiapp()
2021-08-12T11:35:14.507304+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp
2021-08-12T11:35:14.507304+00:00 app[web.1]: return util.import_app(self.app_uri)
2021-08-12T11:35:14.507304+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/util.py", line 358, in import_app
2021-08-12T11:35:14.507304+00:00 app[web.1]: mod = importlib.import_module(module)
2021-08-12T11:35:14.507304+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/importlib/init.py", line 127, in import_module
2021-08-12T11:35:14.507305+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2021-08-12T11:35:14.507305+00:00 app[web.1]: File "", line 1030, in _gcd_import
2021-08-12T11:35:14.507305+00:00 app[web.1]: File "", line 1007, in _find_and_load
2021-08-12T11:35:14.507305+00:00 app[web.1]: File "", line 986, in _find_and_load_unlocked
2021-08-12T11:35:14.507306+00:00 app[web.1]: File "", line 680, in _load_unlocked
2021-08-12T11:35:14.507307+00:00 app[web.1]: File "", line 850, in exec_module
2021-08-12T11:35:14.507307+00:00 app[web.1]: File "", line 228, in _call_with_frames_removed
2021-08-12T11:35:14.507307+00:00 app[web.1]: File "/app/skatebraz/wsgi.py", line 16, in
2021-08-12T11:35:14.507307+00:00 app[web.1]: application = get_wsgi_application()
2021-08-12T11:35:14.507308+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
2021-08-12T11:35:14.507308+00:00 app[web.1]: django.setup(set_prefix=False)
2021-08-12T11:35:14.507308+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/init.py", line 24, in setup
2021-08-12T11:35:14.507308+00:00 app[web.1]: apps.populate(settings.INSTALLED_APPS)
2021-08-12T11:35:14.507308+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/apps/registry.py", line 91, in populate
2021-08-12T11:35:14.507309+00:00 app[web.1]: app_config = AppConfig.create(entry)
2021-08-12T11:35:14.507309+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/apps/config.py", line 224, in create
2021-08-12T11:35:14.507309+00:00 app[web.1]: import_module(entry)
2021-08-12T11:35:14.507309+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/importlib/init.py", line 127, in import_module
2021-08-12T11:35:14.507309+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2021-08-12T11:35:14.507309+00:00 app[web.1]: File "", line 1030, in _gcd_import
2021-08-12T11:35:14.507310+00:00 app[web.1]: File "", line 1007, in _find_and_load
2021-08-12T11:35:14.507310+00:00 app[web.1]: File "", line 984, in _find_and_load_unlocked
2021-08-12T11:35:14.507310+00:00 app[web.1]: ModuleNotFoundError: No module named 'input_mask'
2021-08-12T11:35:14.507422+00:00 app[web.1]: [2021-08-12 08:35:14 -0300] [7] [INFO] Worker exiting (pid: 7)
2021-08-12T11:35:14.561377+00:00 app[web.1]: [2021-08-12 08:35:14 -0300] [8] [ERROR] Exception in worker process
2021-08-12T11:35:14.561378+00:00 app[web.1]: Traceback (most recent call last):
2021-08-12T11:35:14.561379+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker2021-08-12T11:35:14.561379+00:00 app[web.1]: worker.init_process()
2021-08-12T11:35:14.561380+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 119, in init_process
2021-08-12T11:35:14.561380+00:00 app[web.1]: self.load_wsgi()
2021-08-12T11:35:14.561380+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
2021-08-12T11:35:14.561380+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2021-08-12T11:35:14.561381+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/base.py", line 67, in wsgi
2021-08-12T11:35:14.561381+00:00 app[web.1]: self.callable = self.load()
2021-08-12T11:35:14.561381+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 49, in load
2021-08-12T11:35:14.561381+00:00 app[web.1]: return self.load_wsgiapp()
2021-08-12T11:35:14.561382+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp
2021-08-12T11:35:14.561382+00:00 app[web.1]: return util.import_app(self.app_uri)
2021-08-12T11:35:14.561382+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/util.py", line 358, in import_app
2021-08-12T11:35:14.561383+00:00 app[web.1]: mod = importlib.import_module(module)
2021-08-12T11:35:14.561383+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/importlib/init.py", line 127, in import_module
2021-08-12T11:35:14.561383+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2021-08-12T11:35:14.561383+00:00 app[web.1]: File "", line 1030, in _gcd_import
2021-08-12T11:35:14.561384+00:00 app[web.1]: File "", line 1007, in _find_and_load
2021-08-12T11:35:14.561384+00:00 app[web.1]: File "", line 986, in _find_and_load_unlocked
2021-08-12T11:35:14.561384+00:00 app[web.1]: File "", line 680, in _load_unlocked
2021-08-12T11:35:14.561384+00:00 app[web.1]: File "", line 850, in exec_module
2021-08-12T11:35:14.561384+00:00 app[web.1]: File "", line 228, in _call_with_frames_removed
2021-08-12T11:35:14.561386+00:00 app[web.1]: File "/app/skatebraz/wsgi.py", line 16, in
2021-08-12T11:35:14.561386+00:00 app[web.1]: application = get_wsgi_application()
2021-08-12T11:35:14.561386+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
2021-08-12T11:35:14.561386+00:00 app[web.1]: django.setup(set_prefix=False)
2021-08-12T11:35:14.561387+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/init.py", line 24, in setup
2021-08-12T11:35:14.561387+00:00 app[web.1]: apps.populate(settings.INSTALLED_APPS)
2021-08-12T11:35:14.561387+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/apps/registry.py", line 91, in populate
2021-08-12T11:35:14.561387+00:00 app[web.1]: app_config = AppConfig.create(entry)
2021-08-12T11:35:14.561388+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/apps/config.py", line 224, in create
2021-08-12T11:35:14.561388+00:00 app[web.1]: import_module(entry)
2021-08-12T11:35:14.561388+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/importlib/init.py", line 127, in import_module
2021-08-12T11:35:14.561388+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2021-08-12T11:35:14.561388+00:00 app[web.1]: File "", line 1030, in _gcd_import
2021-08-12T11:35:14.561389+00:00 app[web.1]: File "", line 1007, in _find_and_load
2021-08-12T11:35:14.561389+00:00 app[web.1]: File "", line 984, in _find_and_load_unlocked
2021-08-12T11:35:14.561389+00:00 app[web.1]: ModuleNotFoundError: No module named 'input_mask'
2021-08-12T11:35:14.561520+00:00 app[web.1]: [2021-08-12 08:35:14 -0300] [8] [INFO] Worker exiting (pid: 8)
2021-08-12T11:35:14.670085+00:00 app[web.1]: [2021-08-12 11:35:14 +0000] [4] [INFO] Shutting down: Master
2021-08-12T11:35:14.670132+00:00 app[web.1]: [2021-08-12 11:35:14 +0000] [4] [INFO] Reason: Worker failed to boot.
2021-08-12T11:35:14.738324+00:00 heroku[web.1]: Process exited with status 3
2021-08-12T11:35:15.022562+00:00 heroku[web.1]: State changed from starting to crashed
2021-08-12T11:35:16.866716+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=skatebraz.herokuapp.com request_id=f4665f13-d26d-48b3-903f-8715828c0764 fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:35:17.444482+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=skatebraz.herokuapp.com
request_id=54d87c68-d4ea-42c2-99f8-93c13e961725 fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:35:26.326328+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=skatebraz.herokuapp.com request_id=6941850f-63bf-409f-acd2-fc1106eb58d2 fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:36:22.097510+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=skatebraz.herokuapp.com request_id=be6f1eca-9f14-41bc-8ec3-08d6e0c6e391 fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:36:22.596923+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=skatebraz.herokuapp.com
request_id=cffe38df-31e1-4b15-b1f6-ecf7e2a94b70 fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:37:50.908825+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=skatebraz.herokuapp.com request_id=18399c88-6800-4c21-a11b-965055a121d7 fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:37:51.223114+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=skatebraz.herokuapp.com
request_id=870bad75-de68-42a9-bdb7-5039ef054bd4 fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:39:39.923100+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=skatebraz.herokuapp.com request_id=08da0a17-ae49-42c0-863a-60caffa938a7 fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:41:05.837137+00:00 app[api]: Starting process with command rails console by user rhuanborges.n@gmail.com
2021-08-12T11:41:10.784542+00:00 heroku[run.4491]: Awaiting client
2021-08-12T11:41:10.799937+00:00 heroku[run.4491]: Starting process with command rails console
2021-08-12T11:41:10.959360+00:00 heroku[run.4491]: State changed from starting to up
2021-08-12T11:41:14.834853+00:00 heroku[run.4491]: Process exited with status 127
2021-08-12T11:41:14.873606+00:00 heroku[run.4491]: State changed from up to complete
2021-08-12T11:42:56.247426+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=skatebraz.herokuapp.com request_id=d3a304aa-4fb9-407e-b9c2-f8c2a7a370d1 fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:42:56.577172+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=skatebraz.herokuapp.com
request_id=3c9b436d-9e92-442a-8f9b-47e4d8be293a fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:43:09.918602+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=skatebraz.herokuapp.com request_id=86039427-efbe-47dd-bfec-4a03cefc642b fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:43:10.210434+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=skatebraz.herokuapp.com
request_id=e1117707-f154-4f86-a185-c38700647cf0 fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:43:20.798134+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=skatebraz.herokuapp.com request_id=97768362-3c49-49ae-a127-5ab91bbcf78d fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:43:21.085582+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=skatebraz.herokuapp.com
request_id=56ec5b83-b226-4b16-94e7-bca2663d919c fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:43:43.548191+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/admin" host=skatebraz.herokuapp.com request_id=c8185c6f-2201-490b-8913-f346b6a816d7 fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:43:43.854924+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=skatebraz.herokuapp.com
request_id=f06e1920-52c1-416c-aca1-015123a69b47 fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
_id=aaf98557-8a36-4e10-a913-4c62562abc06 fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:43:54.510547+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=skatebraz.herokuapp.com
request_id=162cd369-c8a2-480b-92df-9791a38c5a64 fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:54:25.250518+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=skatebraz.herokuapp.com request_id=39188a66-0f7e-454a-8879-4b77a44a1242 fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:54:25.543196+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=skatebraz.herokuapp.com
request_id=a2c0d754-e12c-43c8-8424-1b8f1e6b1b30 fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:54:35.921923+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/paginicial" host=skatebraz.herokuapp.com request_id=9fb07560-995f-4bd3-af1e-23d557cc0756 fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:54:36.245504+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=skatebraz.herokuapp.com
request_id=86c0f2d7-2273-40f3-b056-3088f3480e75 fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:54:43.529647+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/paginicial" host=skatebraz.herokuapp.com request_id=e27c62e9-076a-4dd2-9032-9d0adef305ef fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:54:43.820628+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=skatebraz.herokuapp.com
request_id=4fc17113-0688-441e-90af-b2ae3d674236 fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:54:47.277607+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=skatebraz.herokuapp.com request_id=6eaeec2c-5263-4de4-b156-450f6a00d271 fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https
2021-08-12T11:54:47.591722+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=skatebraz.herokuapp.com
request_id=cb02c4a7-da98-41b9-911f-8b7418bfae6b fwd="177.99.207.100" dyno= connect= service= status=503 bytes= protocol=https

(env) PS C:\Users\sandro\Desktop\portfolio> heroku logs --tail
2022-04-26T18:28:31.580800+00:00 app[web.1]: self.models_module = import_module(models_module_name)
2022-04-26T18:28:31.580801+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/importlib/init.py", line 126, in import_module
2022-04-26T18:28:31.580801+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2022-04-26T18:28:31.580801+00:00 app[web.1]: File "", line 1050, in _gcd_import
2022-04-26T18:28:31.580801+00:00 app[web.1]: File "", line 1027, in _find_and_load
2022-04-26T18:28:31.580801+00:00 app[web.1]: File "", line 1006, in _find_and_load_unlocked
2022-04-26T18:28:31.580802+00:00 app[web.1]: File "", line 688, in _load_unlocked
2022-04-26T18:28:31.580802+00:00 app[web.1]: File "", line 883, in exec_module
2022-04-26T18:28:31.580802+00:00 app[web.1]: File "", line 241, in _call_with_frames_removed
2022-04-26T18:28:31.580802+00:00 app[web.1]: File "/app/blog/models.py", line 1, in
2022-04-26T18:28:31.580802+00:00 app[web.1]: from tkinter import CASCADE
2022-04-26T18:28:31.580802+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/tkinter/init.py", line 37,
in
2022-04-26T18:28:31.580803+00:00 app[web.1]: import _tkinter # If this fails your Python may not be configured for Tk2022-04-26T18:28:31.580803+00:00 app[web.1]: ModuleNotFoundError: No module named '_tkinter'
2022-04-26T18:28:31.580900+00:00 app[web.1]: [2022-04-26 18:28:31 +0000] [10] [INFO] Worker exiting (pid: 10)
2022-04-26T18:28:31.581959+00:00 app[web.1]: [2022-04-26 18:28:31 +0000] [9] [ERROR] Exception in worker process
2022-04-26T18:28:31.581959+00:00 app[web.1]: Traceback (most recent call last):
2022-04-26T18:28:31.581959+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker
2022-04-26T18:28:31.581959+00:00 app[web.1]: worker.init_process()
2022-04-26T18:28:31.581960+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/workers/base.py", line 134, in init_process
2022-04-26T18:28:31.581960+00:00 app[web.1]: self.load_wsgi()
2022-04-26T18:28:31.581960+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
2022-04-26T18:28:31.581960+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2022-04-26T18:28:31.581960+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/app/base.py", line 67, in wsgi
2022-04-26T18:28:31.581960+00:00 app[web.1]: self.callable = self.load()
2022-04-26T18:28:31.581961+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
2022-04-26T18:28:31.581961+00:00 app[web.1]: return self.load_wsgiapp()
2022-04-26T18:28:31.581961+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
2022-04-26T18:28:31.581961+00:00 app[web.1]: return util.import_app(self.app_uri)
2022-04-26T18:28:31.581961+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/util.py", line 359, in import_app
2022-04-26T18:28:31.581961+00:00 app[web.1]: mod = importlib.import_module(module)
2022-04-26T18:28:31.581961+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/importlib/init.py", line 126, in import_module
2022-04-26T18:28:31.581962+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2022-04-26T18:28:31.581962+00:00 app[web.1]: File "", line 1050, in _gcd_import
2022-04-26T18:28:31.581962+00:00 app[web.1]: File "", line 1027, in _find_and_load
2022-04-26T18:28:31.581962+00:00 app[web.1]: File "", line 1006, in _find_and_load_unlocked
2022-04-26T18:28:31.581962+00:00 app[web.1]: File "", line 688, in _load_unlocked
2022-04-26T18:28:31.581963+00:00 app[web.1]: File "", line 883, in exec_module
2022-04-26T18:28:31.581963+00:00 app[web.1]: File "", line 241, in _call_with_frames_removed
2022-04-26T18:28:31.581963+00:00 app[web.1]: File "/app/portfolio/wsgi.py", line 16, in
2022-04-26T18:28:31.581963+00:00 app[web.1]: application = get_wsgi_application()
2022-04-26T18:28:31.581964+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
2022-04-26T18:28:31.581964+00:00 app[web.1]: django.setup(set_prefix=False)
2022-04-26T18:28:31.581964+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/django/init.py", line 24, in setup
2022-04-26T18:28:31.581964+00:00 app[web.1]: apps.populate(settings.INSTALLED_APPS)
2022-04-26T18:28:31.581965+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/django/apps/registry.py", line 116, in populate
2022-04-26T18:28:31.581965+00:00 app[web.1]: app_config.import_models()
2022-04-26T18:28:31.581965+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/django/apps/config.py", line 304, in import_models
2022-04-26T18:28:31.581965+00:00 app[web.1]: self.models_module = import_module(models_module_name)
2022-04-26T18:28:31.581965+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/importlib/init.py", line 126, in import_module
2022-04-26T18:28:31.581966+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2022-04-26T18:28:31.581966+00:00 app[web.1]: File "", line 1050, in _gcd_import
2022-04-26T18:28:31.581966+00:00 app[web.1]: File "", line 1027, in _find_and_load
2022-04-26T18:28:31.581966+00:00 app[web.1]: File "", line 1006, in _find_and_load_unlocked
2022-04-26T18:28:31.581967+00:00 app[web.1]: File "", line 688, in _load_unlocked
2022-04-26T18:28:31.581967+00:00 app[web.1]: File "", line 883, in exec_module
2022-04-26T18:28:31.581967+00:00 app[web.1]: File "", line 241, in _call_with_frames_removed
2022-04-26T18:28:31.581967+00:00 app[web.1]: File "/app/blog/models.py", line 1, in
2022-04-26T18:28:31.581968+00:00 app[web.1]: from tkinter import CASCADE
2022-04-26T18:28:31.581968+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/tkinter/init.py", line 37,
in
2022-04-26T18:28:31.581968+00:00 app[web.1]: import _tkinter # If this fails your Python may not be configured for Tk2022-04-26T18:28:31.581968+00:00 app[web.1]: ModuleNotFoundError: No module named '_tkinter'
2022-04-26T18:28:31.582107+00:00 app[web.1]: [2022-04-26 18:28:31 +0000] [9] [INFO] Worker exiting (pid: 9)
2022-04-26T18:28:31.674678+00:00 app[web.1]: Traceback (most recent call last):
2022-04-26T18:28:31.674685+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/arbiter.py", line 209, in run
2022-04-26T18:28:31.674890+00:00 app[web.1]: self.sleep()
2022-04-26T18:28:31.674892+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/arbiter.py", line 357, in sleep
2022-04-26T18:28:31.675011+00:00 app[web.1]: ready = select.select([self.PIPE[0]], [], [], 1.0)
2022-04-26T18:28:31.675020+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
2022-04-26T18:28:31.675111+00:00 app[web.1]: self.reap_workers()
2022-04-26T18:28:31.675111+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
2022-04-26T18:28:31.675236+00:00 app[web.1]: raise HaltServer(reason, self.WORKER_BOOT_ERROR)
2022-04-26T18:28:31.675282+00:00 app[web.1]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
2022-04-26T18:28:31.675283+00:00 app[web.1]:
2022-04-26T18:28:31.675283+00:00 app[web.1]: During handling of the above exception, another exception occurred:
2022-04-26T18:28:31.675283+00:00 app[web.1]:
2022-04-26T18:28:31.675291+00:00 app[web.1]: Traceback (most recent call last):
2022-04-26T18:28:31.675293+00:00 app[web.1]: File "/app/.heroku/python/bin/gunicorn", line 8, in
2022-04-26T18:28:31.675358+00:00 app[web.1]: sys.exit(run())
2022-04-26T18:28:31.675366+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 67, in run
2022-04-26T18:28:31.675431+00:00 app[web.1]: WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
2022-04-26T18:28:31.675444+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/app/base.py", line 231, in run
2022-04-26T18:28:31.675527+00:00 app[web.1]: super().run()
2022-04-26T18:28:31.675535+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/app/base.py", line 72, in run
2022-04-26T18:28:31.675596+00:00 app[web.1]: Arbiter(self).run()
2022-04-26T18:28:31.675604+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/arbiter.py", line 229, in run
2022-04-26T18:28:31.675681+00:00 app[web.1]: self.halt(reason=inst.reason, exit_status=inst.exit_status)
2022-04-26T18:28:31.675689+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/arbiter.py", line 342, in halt
2022-04-26T18:28:31.675786+00:00 app[web.1]: self.stop()
2022-04-26T18:28:31.675794+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/arbiter.py", line 393, in stop
2022-04-26T18:28:31.675902+00:00 app[web.1]: time.sleep(0.1)
2022-04-26T18:28:31.675911+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
2022-04-26T18:28:31.675989+00:00 app[web.1]: self.reap_workers()
2022-04-26T18:28:31.675998+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
2022-04-26T18:28:31.676111+00:00 app[web.1]: raise HaltServer(reason, self.WORKER_BOOT_ERROR)
2022-04-26T18:28:31.676137+00:00 app[web.1]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
2022-04-26T18:28:31.840550+00:00 heroku[web.1]: Process exited with status 1
2022-04-26T18:29:32.352834+00:00 heroku[web.1]: State changed from up to crashed
2022-04-26T18:30:22.216707+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=sandrosportfolio.herokuapp.com request_id=c788fa87-f98e-4681-84f5-f856a2e8f7b6 fwd="188.169.45.156" dyno= connect= service= status=503 bytes= protocol=https
2022-04-26T18:30:23.981579+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico"
host=sandrosportfolio.herokuapp.com request_id=53cee3d2-7c24-453e-8fa6-ea106858c7e0 fwd="188.169.45.156" dyno= connect= service= status=503 bytes= protocol=https

Someone help me please

Hi can someone help me with my error? I am using flask application with postgresql database. I'm trying to deploy my application to heroku but there are some errors :(

2022-07-06T04:24:53.525311+00:00 heroku[web.1]: State changed from up to crashed
2022-07-06T04:24:53.529253+00:00 heroku[web.1]: State changed from crashed to starting
2022-07-06T04:25:06.342158+00:00 heroku[web.1]: Starting process with command gunicorn app:app
2022-07-06T04:25:07.619142+00:00 app[web.1]: [2022-07-06 04:25:07 +0000] [4] [INFO] Starting gunicorn 20.1.0
2022-07-06T04:25:07.619475+00:00 app[web.1]: [2022-07-06 04:25:07 +0000] [4] [INFO] Listening at: http://0.0.0.0:46736 (4)
2022-07-06T04:25:07.619517+00:00 app[web.1]: [2022-07-06 04:25:07 +0000] [4] [INFO] Using worker: sync
2022-07-06T04:25:07.623050+00:00 app[web.1]: [2022-07-06 04:25:07 +0000] [9] [INFO] Booting worker with pid: 9
2022-07-06T04:25:07.677978+00:00 app[web.1]: [2022-07-06 04:25:07 +0000] [10] [INFO] Booting worker with pid: 10
2022-07-06T04:25:08.061537+00:00 heroku[web.1]: State changed from starting to up
2022-07-06T04:25:10.665076+00:00 app[web.1]: [2022-07-06 04:25:10 +0000] [9] [ERROR] Exception in worker process
2022-07-06T04:25:10.665098+00:00 app[web.1]: Traceback (most recent call last):
2022-07-06T04:25:10.665099+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker
2022-07-06T04:25:10.665100+00:00 app[web.1]: worker.init_process()
2022-07-06T04:25:10.665100+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/workers/base.py", line 134, in init_process
2022-07-06T04:25:10.665100+00:00 app[web.1]: self.load_wsgi()
2022-07-06T04:25:10.665101+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
2022-07-06T04:25:10.665101+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2022-07-06T04:25:10.665101+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/app/base.py", line 67, in wsgi
2022-07-06T04:25:10.665101+00:00 app[web.1]: self.callable = self.load()
2022-07-06T04:25:10.665102+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
2022-07-06T04:25:10.665102+00:00 app[web.1]: return self.load_wsgiapp()
2022-07-06T04:25:10.665102+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
2022-07-06T04:25:10.665103+00:00 app[web.1]: return util.import_app(self.app_uri)
2022-07-06T04:25:10.665103+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/util.py", line 359, in import_app
2022-07-06T04:25:10.665103+00:00 app[web.1]: mod = importlib.import_module(module)
2022-07-06T04:25:10.665110+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/importlib/init.py", line 126, in import_module
2022-07-06T04:25:10.665111+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2022-07-06T04:25:10.665111+00:00 app[web.1]: File "", line 1050, in _gcd_import
2022-07-06T04:25:10.665111+00:00 app[web.1]: File "", line 1027, in _find_and_load
2022-07-06T04:25:10.665112+00:00 app[web.1]: File "", line 1006, in _find_and_load_unlocked
2022-07-06T04:25:10.665112+00:00 app[web.1]: File "", line 688, in _load_unlocked
2022-07-06T04:25:10.665112+00:00 app[web.1]: File "", line 883, in exec_module
2022-07-06T04:25:10.665112+00:00 app[web.1]: File "", line 241, in _call_with_frames_removed
2022-07-06T04:25:10.665113+00:00 app[web.1]: File "/app/app.py", line 20, in
2022-07-06T04:25:10.665113+00:00 app[web.1]: conn = psycopg2.connect(dbname=DB_NAME, user=DB_USER, password=DB_PASS, host=DB_HOST)
2022-07-06T04:25:10.665113+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/psycopg2/init.py", line 122, in connect
2022-07-06T04:25:10.665113+00:00 app[web.1]: conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
2022-07-06T04:25:10.665114+00:00 app[web.1]: psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused
2022-07-06T04:25:10.665114+00:00 app[web.1]: Is the server running on that host and accepting TCP/IP connections?
2022-07-06T04:25:10.665115+00:00 app[web.1]:
2022-07-06T04:25:10.665273+00:00 app[web.1]: [2022-07-06 04:25:10 +0000] [9] [INFO] Worker exiting (pid: 9)
2022-07-06T04:25:10.665445+00:00 app[web.1]: [2022-07-06 04:25:10 +0000] [10] [ERROR] Exception in worker process
2022-07-06T04:25:10.665446+00:00 app[web.1]: Traceback (most recent call last):
2022-07-06T04:25:10.665446+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker
2022-07-06T04:25:10.665446+00:00 app[web.1]: worker.init_process()
2022-07-06T04:25:10.665447+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/workers/base.py", line 134, in init_process
2022-07-06T04:25:10.665447+00:00 app[web.1]: self.load_wsgi()
2022-07-06T04:25:10.665447+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
2022-07-06T04:25:10.665447+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2022-07-06T04:25:10.665448+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/app/base.py", line 67, in wsgi
2022-07-06T04:25:10.665448+00:00 app[web.1]: self.callable = self.load()
2022-07-06T04:25:10.665448+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
2022-07-06T04:25:10.665448+00:00 app[web.1]: return self.load_wsgiapp()
2022-07-06T04:25:10.665448+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
2022-07-06T04:25:10.665449+00:00 app[web.1]: return util.import_app(self.app_uri)
2022-07-06T04:25:10.665449+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/util.py", line 359, in import_app
2022-07-06T04:25:10.665449+00:00 app[web.1]: mod = importlib.import_module(module)
2022-07-06T04:25:10.665449+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/importlib/init.py", line 126, in import_module
2022-07-06T04:25:10.665450+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2022-07-06T04:25:10.665450+00:00 app[web.1]: File "", line 1050, in _gcd_import
2022-07-06T04:25:10.665450+00:00 app[web.1]: File "", line 1027, in _find_and_load
2022-07-06T04:25:10.665451+00:00 app[web.1]: File "", line 1006, in _find_and_load_unlocked
2022-07-06T04:25:10.665451+00:00 app[web.1]: File "", line 688, in _load_unlocked
2022-07-06T04:25:10.665451+00:00 app[web.1]: File "", line 883, in exec_module
2022-07-06T04:25:10.665451+00:00 app[web.1]: File "", line 241, in _call_with_frames_removed
2022-07-06T04:25:10.665452+00:00 app[web.1]: File "/app/app.py", line 20, in
2022-07-06T04:25:10.665452+00:00 app[web.1]: conn = psycopg2.connect(dbname=DB_NAME, user=DB_USER, password=DB_PASS, host=DB_HOST)
2022-07-06T04:25:10.665455+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/psycopg2/init.py", line 122, in connect
2022-07-06T04:25:10.665456+00:00 app[web.1]: conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
2022-07-06T04:25:10.665456+00:00 app[web.1]: psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused
2022-07-06T04:25:10.665457+00:00 app[web.1]: Is the server running on that host and accepting TCP/IP connections?
2022-07-06T04:25:10.665457+00:00 app[web.1]:
2022-07-06T04:25:10.665615+00:00 app[web.1]: [2022-07-06 04:25:10 +0000] [10] [INFO] Worker exiting (pid: 10)
2022-07-06T04:25:10.887659+00:00 app[web.1]: Traceback (most recent call last):
2022-07-06T04:25:10.887665+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/arbiter.py", line 209, in run
2022-07-06T04:25:10.887951+00:00 app[web.1]: self.sleep()
2022-07-06T04:25:10.887960+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/arbiter.py", line 357, in sleep
2022-07-06T04:25:10.888134+00:00 app[web.1]: ready = select.select([self.PIPE[0]], [], [], 1.0)
2022-07-06T04:25:10.888142+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
2022-07-06T04:25:10.888267+00:00 app[web.1]: self.reap_workers()
2022-07-06T04:25:10.888276+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
2022-07-06T04:25:10.888470+00:00 app[web.1]: raise HaltServer(reason, self.WORKER_BOOT_ERROR)
2022-07-06T04:25:10.888535+00:00 app[web.1]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
2022-07-06T04:25:10.888537+00:00 app[web.1]:
2022-07-06T04:25:10.888537+00:00 app[web.1]: During handling of the above exception, another exception occurred:
2022-07-06T04:25:10.888538+00:00 app[web.1]:
2022-07-06T04:25:10.888548+00:00 app[web.1]: Traceback (most recent call last):
2022-07-06T04:25:10.888558+00:00 app[web.1]: File "/app/.heroku/python/bin/gunicorn", line 8, in
2022-07-06T04:25:10.888670+00:00 app[web.1]: sys.exit(run())
2022-07-06T04:25:10.888681+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 67, in run
2022-07-06T04:25:10.888786+00:00 app[web.1]: WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
2022-07-06T04:25:10.888798+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/app/base.py", line 231, in run
2022-07-06T04:25:10.888945+00:00 app[web.1]: super().run()
2022-07-06T04:25:10.888955+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/app/base.py", line 72, in run
2022-07-06T04:25:10.889056+00:00 app[web.1]: Arbiter(self).run()
2022-07-06T04:25:10.889069+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/arbiter.py", line 229, in run
2022-07-06T04:25:10.889186+00:00 app[web.1]: self.halt(reason=inst.reason, exit_status=inst.exit_status)
2022-07-06T04:25:10.889195+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/arbiter.py", line 342, in halt
2022-07-06T04:25:10.889351+00:00 app[web.1]: self.stop()
2022-07-06T04:25:10.889360+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/arbiter.py", line 393, in stop
2022-07-06T04:25:10.889516+00:00 app[web.1]: time.sleep(0.1)
2022-07-06T04:25:10.889527+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
2022-07-06T04:25:10.889652+00:00 app[web.1]: self.reap_workers()
2022-07-06T04:25:10.889660+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
2022-07-06T04:25:10.889849+00:00 app[web.1]: raise HaltServer(reason, self.WORKER_BOOT_ERROR)
2022-07-06T04:25:10.889902+00:00 app[web.1]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
2022-07-06T04:25:11.052535+00:00 heroku[web.1]: Process exited with status 1
2022-07-06T04:25:11.105383+00:00 heroku[web.1]: State changed from up to crashed

commented

2022-09-05T09:14:39.802861+00:00 heroku[web.1]: State changed from crashed to starting
2022-09-05T09:14:42.971783+00:00 heroku[web.1]: Starting process with command waitress-serve --listen=localhost:7559 e_shopper.wsgi:application
2022-09-05T09:14:44.000000+00:00 app[api]: Build succeeded
2022-09-05T09:14:44.620228+00:00 app[web.1]: INFO:waitress:Serving on http://127.0.0.1:7559
2022-09-05T09:15:43.525343+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2022-09-05T09:15:43.564035+00:00 heroku[web.1]: Stopping process with SIGKILL
2022-09-05T09:15:43.712357+00:00 heroku[web.1]: Process exited with status 137
2022-09-05T09:15:43.772542+00:00 heroku[web.1]: State changed from starting to crashed
2022-09-05T09:15:43.776261+00:00 heroku[web.1]: State changed from crashed to starting
2022-09-05T09:15:48.209861+00:00 heroku[web.1]: Starting process with command waitress-serve --listen=localhost:50380 e_shopper.wsgi:application
2022-09-05T09:15:49.730884+00:00 app[web.1]: INFO:waitress:Serving on http://127.0.0.1:50380
2022-09-05T09:16:05.307373+00:00 heroku[router]: at=error code=H20 desc="App boot timeout" method=GET path="/" host=j-k-textiles.herokuapp.com request_id=adf72a64-f8c6-488b-9189-4ab367131f3f fwd="49.34.157.223" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T09:16:48.494362+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2022-09-05T09:16:48.529481+00:00 heroku[web.1]: Stopping process with SIGKILL
2022-09-05T09:16:48.724756+00:00 heroku[web.1]: Process exited with status 137
2022-09-05T09:16:48.776665+00:00 heroku[web.1]: State changed from starting to crashed
2022-09-05T09:16:49.736054+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=j-k-textiles.herokuapp.com request_id=0ff10e16-a8a9-4ba6-8893-eac3cc474913 fwd="49.34.157.223" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T09:16:51.163460+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=j-k-textiles.herokuapp.com request_id=3e8594d4-90ad-462c-9794-9a4c680b6d5f fwd="49.34.157.223" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T09:16:53.030602+00:00 heroku[router]: a
requirements.txt
t=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=j-k-textiles.herokuapp.com request_id=743277b4-963f-4e58-929a-259afc5551f1 fwd="49.34.157.223" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T09:17:33.389246+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=j-k-textiles.herokuapp.com request_id=74861233-06d0-4a02-8034-4cdcea5673cc fwd="49.34.157.223" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T09:17:33.833072+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=j-k-textiles.herokuapp.com request_id=8ef632ce-7447-48ea-a9b9-8ff4f4834378 fwd="49.34.157.223" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T09:18:04.094805+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=j-k-textiles.herokuapp.com request_id=c4fbf0a1-564a-428d-9331-44ac72d8faf8 fwd="49.34.157.223" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T09:18:04.524957+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=j-k-textiles.herokuapp.com request_id=e6e1fcdb-6251-46fe-9ad6-08cc12cfd6fc fwd="49.34.157.223" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T09:46:08.000000+00:00 app[api]: Build started by user abhayyy1912@gmail.com
2022-09-05T09:46:15.624426+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=j-k-textiles.herokuapp.com request_id=94aeae57-278f-45a4-a19e-8ff254d5331b fwd="49.34.157.223" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T09:46:16.158450+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=j-k-textiles.herokuapp.com request_id=0be321ee-e673-41ee-a3ab-84b0086a4e27 fwd="49.34.157.223" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T09:46:16.414709+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=j-k-textiles.herokuapp.com request_id=569c3ead-706a-427b-a36c-30ce8d949037 fwd="49.34.157.223" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T09:46:29.068001+00:00 app[api]: Deploy ec81342b by user abhayyy1912@gmail.com
2022-09-05T09:46:29.068001+00:00 app[api]: Release v13 created by user abhayyy1912@gmail.com
2022-09-05T09:46:29.340161+00:00 heroku[web.1]: State changed from crashed to starting
2022-09-05T09:46:32.975712+00:00 heroku[web.1]: Starting process with command waitress-serve --listen=localhost:34746 e_shopper.wsgi:application
2022-09-05T09:46:34.000000+00:00 app[api]: Build succeeded
2022-09-05T09:46:35.048981+00:00 app[web.1]: INFO:waitress:Serving on http://127.0.0.1:34746
2022-09-05T09:47:33.755022+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2022-09-05T09:47:33.788271+00:00 heroku[web.1]: Stopping process with SIGKILL
2022-09-05T09:47:33.943335+00:00 heroku[web.1]: Process exited with status 137
2022-09-05T09:47:33.994231+00:00 heroku[web.1]: State changed from starting to crashed
2022-09-05T09:47:33.997095+00:00 heroku[web.1]: State changed from crashed to starting
2022-09-05T09:47:37.534259+00:00 heroku[web.1]: Starting process with command waitress-serve --listen=localhost:51902 e_shopper.wsgi:application
2022-09-05T09:47:38.909746+00:00 app[web.1]: INFO:waitress:Serving on http://127.0.0.1:51902
2022-09-05T09:47:55.600947+00:00 heroku[router]: at=error code=H20 desc="App boot timeout" method=GET path="/" host=j-k-textiles.herokuapp.com request_id=f277645e-387f-4233-af42-55a603d01b22 fwd="49.34.157.223" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T09:48:38.028836+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2022-09-05T09:48:38.069446+00:00 heroku[web.1]: Stopping process with SIGKILL
2022-09-05T09:48:38.237210+00:00 heroku[web.1]: Process exited with status 137
2022-09-05T09:48:38.299768+00:00 heroku[web.1]: State changed from starting to crashed
2022-09-05T09:48:39.291660+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=j-k-textiles.herokuapp.com request_id=76359613-f8d9-47b2-b557-e4983b79bcaa fwd="49.34.157.223" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T09:48:40.957720+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=j-k-textiles.herokuapp.com request_id=caf767dd-2299-48a7-93ed-e20c91db48a2 fwd="49.34.157.223" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T09:48:42.592207+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=j-k-textiles.herokuapp.com request_id=2d9f09b7-86f3-46ea-a590-52ffc75e8042 fwd="49.34.157.223" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T09:49:43.067281+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=j-k-textiles.herokuapp.com request_id=47e6b8f4-a020-4618-b22b-7efffefeb2c7 fwd="49.34.157.223" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T09:49:43.460518+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=j-k-textiles.herokuapp.com request_id=c20c2d11-5bb2-402e-9192-0fab1970146e fwd="49.34.157.223" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T09:52:50.000000+00:00 app[api]: Build started by user abhayyy1912@gmail.com
2022-09-05T09:53:10.370604+00:00 app[api]: Deploy c276cb77 by user abhayyy1912@gmail.com
2022-09-05T09:53:10.370604+00:00 app[api]: Release v14 created by user abhayyy1912@gmail.com
2022-09-05T09:53:10.856908+00:00 heroku[web.1]: State changed from crashed to starting
2022-09-05T09:53:14.040135+00:00 heroku[web.1]: Starting process with command waitress-serve --listen=localhost:52584 e_shopper.wsgi:application
2022-09-05T09:53:15.000000+00:00 app[api]: Build succeeded
2022-09-05T09:53:15.530973+00:00 app[web.1]: INFO:waitress:Serving on http://127.0.0.1:52584
2022-09-05T09:54:14.308138+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2022-09-05T09:54:14.597173+00:00 heroku[web.1]: Stopping process with SIGKILL
2022-09-05T09:54:14.749082+00:00 heroku[web.1]: Process exited with status 137
2022-09-05T09:54:14.832675+00:00 heroku[web.1]: State changed from starting to crashed
2022-09-05T09:54:15.940424+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=j-k-textiles.herokuapp.com request_id=58e4d390-b3fb-4fea-96cd-ff3e3691629c fwd="49.34.157.223" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T09:54:17.312438+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=j-k-textiles.herokuapp.com request_id=4d3669e2-59bb-46fe-8b3c-53f5fb46f95d fwd="49.34.157.223" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T10:04:39.000000+00:00 app[api]: Build started by user abhayyy1912@gmail.com
2022-09-05T10:05:00.111581+00:00 app[api]: Deploy 3bb062d5 by user abhayyy1912@gmail.com
2022-09-05T10:05:00.111581+00:00 app[api]: Release v15 created by user abhayyy1912@gmail.com
2022-09-05T10:05:00.868049+00:00 heroku[web.1]: State changed from crashed to starting
2022-09-05T10:05:05.000000+00:00 app[api]: Build succeeded
2022-09-05T10:05:05.206981+00:00 heroku[web.1]: Starting process with command waitress-serve --listen=localhost:47900 e_shopper.wsgi:application
2022-09-05T10:05:07.780414+00:00 app[web.1]: INFO:waitress:Serving on http://127.0.0.1:47900
2022-09-05T10:06:05.742616+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2022-09-05T10:06:05.789291+00:00 heroku[web.1]: Stopping process with SIGKILL
2022-09-05T10:06:05.992214+00:00 heroku[web.1]: Process exited with status 137
2022-09-05T10:06:06.087484+00:00 heroku[web.1]: State changed from starting to crashed
2022-09-05T10:06:06.090910+00:00 heroku[web.1]: State changed from crashed to starting
2022-09-05T10:06:10.961444+00:00 heroku[web.1]: Starting process with command waitress-serve --listen=localhost:18082 e_shopper.wsgi:application
2022-09-05T10:06:12.984229+00:00 app[web.1]: INFO:waitress:Serving on http://127.0.0.1:18082
2022-09-05T10:06:27.109821+00:00 heroku[router]: at=error code=H20 desc="App boot timeout" method=GET path="/" host=j-k-textiles.herokuapp.com request_id=4b4f7f00-2792-4aeb-ba40-555a21f19322 fwd="49.34.157.223" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T10:07:11.367542+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2022-09-05T10:07:11.467758+00:00 heroku[web.1]: Stopping process with SIGKILL
2022-09-05T10:07:11.683797+00:00 heroku[web.1]: Process exited with status 137
2022-09-05T10:07:11.838645+00:00 heroku[web.1]: State changed from starting to crashed
2022-09-05T10:07:13.473689+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=j-k-textiles.herokuapp.com request_id=89521f37-ac3f-422f-9449-100a4face6a7 fwd="49.34.157.223" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T10:07:13.642849+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=j-k-textiles.herokuapp.com request_id=7c21c358-d4c9-4a78-a34d-95fcf6ffee96 fwd="49.34.157.223" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T10:07:15.295233+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=j-k-textiles.herokuapp.com request_id=2c6b4b6e-65d9-4a14-9597-7400325fd0b8 fwd="49.34.157.223" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T10:15:56.000000+00:00 app[api]: Build started by user abhayyy1912@gmail.com
2022-09-05T10:16:17.169747+00:00 app[api]: Release v16 created by user abhayyy1912@gmail.com
2022-09-05T10:16:17.169747+00:00 app[api]: Deploy 84de73df by user abhayyy1912@gmail.com
2022-09-05T10:16:17.485178+00:00 heroku[web.1]: State changed from crashed to starting
2022-09-05T10:16:20.861303+00:00 heroku[web.1]: Starting process with command waitress-serve --listen=localhost:4527 e_shopper.wsgi:application
2022-09-05T10:16:22.000000+00:00 app[api]: Build succeeded
2022-09-05T10:16:22.349177+00:00 app[web.1]: INFO:waitress:Serving on http://127.0.0.1:4527
2022-09-05T10:17:21.289534+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2022-09-05T10:17:21.347173+00:00 heroku[web.1]: Stopping process with SIGKILL
2022-09-05T10:17:21.506783+00:00 heroku[web.1]: Process exited with status 137
2022-09-05T10:17:21.584657+00:00 heroku[web.1]: State changed from starting to crashed
2022-09-05T10:17:21.589247+00:00 heroku[web.1]: State changed from crashed to starting
2022-09-05T10:17:25.910612+00:00 heroku[web.1]: Starting process with command waitress-serve --listen=localhost:17221 e_shopper.wsgi:application
2022-09-05T10:17:27.969637+00:00 app[web.1]: INFO:waitress:Serving on http://127.0.0.1:17221
2022-09-05T10:17:54.617271+00:00 heroku[router]: at=error code=H20 desc="App boot timeout" method=GET path="/" host=j-k-textiles.herokuapp.com request_id=41c5e929-aa29-4217-b58b-63271cad989c fwd="49.34.133.238" dyno= connect= service= status=503 bytes= protocol=https
2022-09-05T10:18:26.389727+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2022-09-05T10:18:26.468531+00:00 heroku[web.1]: Stopping process with SIGKILL
2022-09-05T10:18:27.135575+00:00 heroku[web.1]: State changed from starting to crashed
2022-09-05T10:18:26.686761+00:00 heroku[web.1]: Process exited with status 137
2022-09-05T10:18:29.490275+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=j-k-textiles.herokuapp.com request_id=35e81d9a-439e-46fc-9f72-c3c977629f10 fwd="49.34.133.238" dyno= connect= service= status=503 bytes= protocol=https

GETTING ERROR IN favicon.ico PLEASE HELP ME TO SOLVE THIS PROBLEM
i've been try to solve this for last two weeks

@vikaspal1704 Procfile Content: gunicorn projectname.wsgi:application --log-file - --log-level debug

Your Procfile should look like this web: gunicorn ecommerce.wsgi --log-file - ecommerce is my project name

Thank You so Much @ezyhacks , Welll appriciated