Open Igor-Kuz opened 4 years ago
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 "
@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 "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 "
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??
Hi Adarsh,
Kindly check your settings file. There seems to be an app or module called "healthcare"
If that module or app does not exist, kindly delete it from the settings file.
Hope this helps.
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Thu, Jan 14, 2021 at 11:21 AM Adarsh Pandey notifications@github.com wrote:
2 days , haven't got any response yet . Plz help me someone
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/realpython/flask-boilerplate/issues/43#issuecomment-760134003, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE66SZJTPYKALNFB37TH6ETSZ3HVBANCNFSM4KZSVDUQ .
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
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(file)))
DEBUG = True
ALLOWED_HOSTS = ['healtech.herokuapp.com', 'localhost', '127.0.0.1']
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')
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'
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), } }
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', }, ]
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC'
USE_I18N = True
USE_L10N = True
USE_TZ = True
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')
Your Procfile should be:
web: gunicorn HealthTechnology.wsgi
On Fri, Jan 15, 2021 at 7:33 PM Adarsh Pandey notifications@github.com wrote:
Hii @ezyhacks https://github.com/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')
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/realpython/flask-boilerplate/issues/43#issuecomment-761148535, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE66SZOBTWEVLK27W2R3WDLS2CJ6ZANCNFSM4KZSVDUQ .
@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
You are welcome. All the best Bro.
On Sat, 16 Jan 2021 at 9:26 am, Adarsh Pandey notifications@github.com wrote:
@ezyhacks https://github.com/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
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/realpython/flask-boilerplate/issues/43#issuecomment-761533470, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE66SZLFGONGS3PPSBZLK4LS2FLVHANCNFSM4KZSVDUQ .
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 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 "
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 "
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
Please Check if Whitenoise is installed or not
Best Regards , Adarsh
On 08-May-2021, at 5:43 AM, nvijhani @.***> wrote:
Could you please help me with this error
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
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 "
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
BASE_DIR = Path(file).resolve().parent.parent
SECRETKEY = 'django-insecure-nr@-#=%zm0(^+me)7+)f1%-#^16a87o0at22$^pyzkt1!*rpj'
DEBUG = False
ALLOWED_HOSTS = ['*']
import django_heroku django_heroku.settings(locals())
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'
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': BASE_DIR / 'db.sqlite3', } }
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', }, ]
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC'
USE_I18N = True
USE_L10N = True
USE_TZ = True
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/'
STATICFILES_DIRS = ( os.path.join(BASE_DIR, 'static'), )
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
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
Hi there,
Pls move these lines below to the bottom of the settings.py file:
import django_heroku django_heroku.settings(locals())
On Mon, 31 May 2021 at 8:52 pm, SanjanaPoptani @.***> wrote:
Hey @ezyhacks https://github.com/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!
SECRETKEY = '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
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/realpython/flask-boilerplate/issues/43#issuecomment-851678411, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE66SZIVZZ5RST7Z4WHQ5K3TQPZIZANCNFSM4KZSVDUQ .
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 "
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 "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 "
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 "
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 "
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 "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 "
2022-04-26T18:28:31.580801+00:00 app[web.1]: File "
2022-04-26T18:28:31.580802+00:00 app[web.1]: File "
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 "
2022-04-26T18:28:31.581962+00:00 app[web.1]: File "
2022-04-26T18:28:31.581963+00:00 app[web.1]: File "
2022-04-26T18:28:31.581966+00:00 app[web.1]: File "
2022-04-26T18:28:31.581967+00:00 app[web.1]: File "
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.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 "
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
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", 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 ", 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
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 "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 "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??