mod_wsgi
mod_wsgi copied to clipboard
wsgi-error
Hi there,
I'm trying to deploy, however I keep getting this wsgi error. I have installed the mod-wsgi express succesfully but still no luck. You perhaps have any idea where I'm messing it up? I'm working on an Ubuntu 20. server.
the error is :
[Thu Sep 16 10:04:29.502691 2021] [wsgi:error] [pid 905:tid 140111809185536] [client 196.21.185.85:64555] mod_wsgi (pid=905): Exception occurred processing WSGI script '/var/www/ft.salt.saao.ac.za/dist/wsgi.py'.
[Thu Sep 16 10:04:29.578848 2021] [wsgi:error] [pid 905:tid 140111809185536] [client 196.21.185.85:64555] Traceback (most recent call last):
[Thu Sep 16 10:04:29.578890 2021] [wsgi:error] [pid 905:tid 140111809185536] [client 196.21.185.85:64555] File "/var/www/ft.salt.saao.ac.za/dist/wsgi.py", line 28, in application
[Thu Sep 16 10:04:29.578968 2021] [wsgi:error] [pid 905:tid 140111809185536] [client 196.21.185.85:64555] from app import create_app
[Thu Sep 16 10:04:29.578987 2021] [wsgi:error] [pid 905:tid 140111809185536] [client 196.21.185.85:64555] File "/var/www/ft.salt.saao.ac.za/dist/app/init.py", line 5, in
Read:
- https://modwsgi.readthedocs.io/en/master/user-guides/application-issues.html#access-rights-of-apache-user
- https://modwsgi.readthedocs.io/en/master/user-guides/application-issues.html#application-working-directory
Permissions access is usually going to be due to one of those issues.