Skip to content

Fix Vagrant Deployment#52

Open
kwabenantim wants to merge 10 commits intomasterfrom
docker
Open

Fix Vagrant Deployment#52
kwabenantim wants to merge 10 commits intomasterfrom
docker

Conversation

@kwabenantim
Copy link
Member

Closes #51

@kwabenantim
Copy link
Member Author

kwabenantim commented Mar 5, 2026

uwsgi error

Disable syslog for uwsgi to see errors

sudo vim /etc/uwsgi/apps-enabled/weblab.ini
# Log via syslog
#plugin = syslog
#logger = syslog:weblab

Run uwsgi manually

sudo uwsgi --ini /etc/uwsgi/apps-enabled/weblab.ini

Error

...
Python version: 3.6.9 (default, Mar 10 2023, 16:46:00)  [GCC 8.4.0]
Set PythonHome to /opt/django/venv
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00007f5bdb2d75c0 (most recent call first):
Aborted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix Vagrant Deployment

1 participant