Open HCARLS opened 5 years ago
It looks like the actual error message got lost. Passenger's wsgi loader tries to load your app, and fails but as to why? That's not included in the logs you've provided.
If i had to guess, I'd wonder if the virtualenv that you're using, does it have binaries appropriate for cloudlinux? For eg. if you setup the virtualenv on windows/macOS and installed the deps there (or compiled cython modules) and just copied the virtualenv over to the server as-is then any binaries will be incompatible with the server OS.
You can try increasing the passenger log level to 7 to get more logs and hopefully capture the actual error message.
For me fixing up the passenger_wsgi.py fixed it. I removed everything in it and put:
from appname.wsgi import application
I´m using django 2.2 and Python 3.6, i can´t understand this error log, i´m rookie, it´s my first application, I´m hopeless, on localhost work fine. Thank you.
Modules:
Error Cpanel: