Question

Django app platform deployment error

https://docs.digitalocean.com/tutorials/app-deploy-django-app/

I completely followed this tutorial step by step and I tried a few times but I keep getting the same error. I don’t understand what is wrong. The only difference between my project and the tutorial is the name of the project (Smile_Dent_project <-> django_app) Please help. Thanks!

LOGS: 2022-07-12T09:33:05.539960369Z Traceback (most recent call last): 2022-07-12T09:33:05.539966996Z File “/workspace/.heroku/python/lib/python3.10/site-packages/gunicorn/arbiter.py”, line 589, in spawn_worker 2022-07-12T09:33:05.539971831Z worker.init_process() 2022-07-12T09:33:05.539976672Z File “/workspace/.heroku/python/lib/python3.10/site-packages/gunicorn/workers/base.py”, line 134, in init_process 2022-07-12T09:33:05.539981006Z self.load_wsgi() 2022-07-12T09:33:05.539986273Z File “/workspace/.heroku/python/lib/python3.10/site-packages/gunicorn/workers/base.py”, line 146, in load_wsgi 2022-07-12T09:33:05.539990563Z self.wsgi = self.app.wsgi() 2022-07-12T09:33:05.539994590Z File “/workspace/.heroku/python/lib/python3.10/site-packages/gunicorn/app/base.py”, line 67, in wsgi 2022-07-12T09:33:05.539999031Z self.callable = self.load() 2022-07-12T09:33:05.540002865Z File “/workspace/.heroku/python/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py”, line 58, in load 2022-07-12T09:33:05.540006932Z return self.load_wsgiapp() 2022-07-12T09:33:05.540010748Z File “/workspace/.heroku/python/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py”, line 48, in load_wsgiapp 2022-07-12T09:33:05.540015304Z return util.import_app(self.app_uri) 2022-07-12T09:33:05.540019144Z File “/workspace/.heroku/python/lib/python3.10/site-packages/gunicorn/util.py”, line 359, in import_app 2022-07-12T09:33:05.540023094Z mod = importlib.import_module(module) 2022-07-12T09:33:05.540028000Z File “/workspace/.heroku/python/lib/python3.10/importlib/init.py”, line 126, in import_module 2022-07-12T09:33:05.540031920Z return _bootstrap._gcd_import(name[level:], package, level) 2022-07-12T09:33:05.540036683Z File “<frozen importlib._bootstrap>”, line 1050, in _gcd_import 2022-07-12T09:33:05.540040875Z File “<frozen importlib._bootstrap>”, line 1027, in _find_and_load 2022-07-12T09:33:05.540044483Z File “<frozen importlib._bootstrap>”, line 1004, in _find_and_load_unlocked 2022-07-12T09:33:05.540048997Z ModuleNotFoundError: No module named ‘Smile_Dent_project.wsgi’ 2022-07-12T09:33:05.540175124Z [2022-07-12 09:33:05 +0000] [16] [INFO] Worker exiting (pid: 16) 2022-07-12T09:33:05.592369960Z [2022-07-12 09:33:05 +0000] [1] [INFO] Shutting down: Master 2022-07-12T09:33:05.592495852Z [2022-07-12 09:33:05 +0000] [1] [INFO] Reason: Worker failed to boot.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer