Replies: 2 comments 20 replies
-
This is interesting. I mean clearly I am missing something fundamental, due to the lack of understanding the basics. Because, just for the heck of it, I executed wsgi.py in the environment where I have InvenTree running just fine with gunicorn. And I got the exact same error, as in the apache2 error log.
Where is that InvenTree module? I only have an inventree (all lowercase) module in my virtual environmenmt.
Perhaps there is a parameter somewhere else, telling python to be case insensitive? Apologies if I am talking complete rubbish. |
Beta Was this translation helpful? Give feedback.
-
Have you studied this guide? https://docs.djangoproject.com/en/4.2/howto/deployment/wsgi/modwsgi/ |
Beta Was this translation helpful? Give feedback.
-
With reference to this issue, I was trying to find those links under the Bare Metal documentation, but I couldn't.
Needless to say, I am having difficulties setting it up, and I know this forum is not about wsgi and apache2, but if someone can spare some time to look at it, I would greatly appreciate it.
This is my apache2 site configuration.
And this is the error I get in apache's error log.
I thought I had the right python virtual environment configured (WSGIPythonHome), and the application is in the path (WSGIPythonPath), still, the InvenTree module is not found.
Beta Was this translation helpful? Give feedback.
All reactions