Questions tagged [uwsgi]
24 questions
4
votes
2 answers
Nginx: unknown directive "uwsgi_param" in /etc/nginx/uwsgi_params:1
Using this deployment tutorial, I'm trying to get an Ubuntu 12.04 server up and running with Flask, uWSGI and Nginx. I now have trouble getting Nginx to run. When I try to (re)start nginx it simply says ...fail!, and when I run a test (using sudo…
kramer65
- 2,123
- 7
- 30
- 50
4
votes
4 answers
uwsgi can't find python plugin
I'm trying to deploy a python app to my Ubuntu 12.04.1 VPS running Nginx / uWSGI. I've setup my server following this guide. When I restart uWSGI I get this message:
nickd@my-vps:~$ sudo /etc/init.d/uwsgi restart
[sudo] password for nickd:
*…
Nick
- 137
- 1
- 1
- 5
4
votes
2 answers
systemctl .service can't read the environment variable
I'm using django and now trying to configure server with nginx and uwsi. now i'm running nginx+socket+uwsgi_emperor well . for running uwsgi i use below command in terminal:
/usr/local/bin/uwsgi --emperor /etc/uwsgi/vassals --uid www-data --gid…
mehdi
- 199
- 1
- 7
3
votes
1 answer
nginx uwsgi internal server error 500 - http uwsgi header: "Connection: close"
I am using a small server with nginx and a python flask app on aws, and uwsgi.
It has already happened twice that the server went down with error 500, and no logs on behalf of nginx.
I am not expert, could you please help in figuring why the…
user305883
- 151
- 1
- 2
- 7
2
votes
1 answer
How to exit from uwsgi server process
I'm trying to set up uWSGI for django using http://adambard.com/blog/start-to-finish-serving-mysql-backed-django-w/ and the tutorial at http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html. Following the directions I…
user1592380
- 1,833
- 5
- 26
- 31
2
votes
0 answers
can't find libpython3.8.a while install uwsgi
when I run the command to install uwsgi,
pip install uwsgi
I got such error:
gcc: error: /home/shawn/anaconda3/envs/i2dl/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a: No such file or directory
*** error linking uWSGI ***
even though I…
Shawn Zhuang
- 21
- 2
2
votes
1 answer
Command 'uwsgi' not found
I have installed "uwsgi" using pip method. But when I run uwsgi, I'm getting "Command 'uwsgi' not found, but can be installed with" error.
If I again try to install using pip, I'm getting
Collecting uwsgi
Installing collected packages:…
learner
- 561
- 1
- 9
- 25
1
vote
1 answer
Unable to control uwsgi with systemd
I'm working through this article : How To Serve Django Applications with uWSGI and Nginx on Ubuntu 16.04 | DigitalOcean .
I have completed the tut and restarted both nginx and uwsgi. I notice that if I go to the ip of my server, I see my site as…
user1592380
- 1,833
- 5
- 26
- 31
1
vote
0 answers
ImportError: No module named os [Python+Flask+uwsgi+Ngnix+Ubuntu16.04]
I try to host my webpage in a server with OS Ubuntu 16.04 and Python2/Flask/uwsgi(emperor).
The configuration of the emperor in /etc/uwsgi/emperor.ini is as follow:
[uwsgi]
emperor = /etc/uwsgi/vassals
uid = www-data
gid = www-data
and the…
foool
- 111
- 7
1
vote
0 answers
Trying to setup Django site, but always getting the Apache default page
I am moving my Django site to a new server and I cannot get it running on the new server. I had it running previously, but I fumbled through that a year ago and don't really remember the details.
Ubuntu 16.04 Server
Python 3.5.2
Django…
Dan
- 6,715
- 5
- 26
- 43
1
vote
1 answer
Systemd crashes after starting uWSGI service
I recently updated a virtual machine from utopic to vivid 15.04. I used to have an init.d script for my uwsgi which no longer works.
I followed the official documentation to create a uwsgi service daemon with SystemD from here:…
Simone Zandara
- 111
- 1
- 4
1
vote
1 answer
How to install uwsgi-plugin-python with apt in ubuntu 20.04
I'm running a old openstack CI rlease Train on utuntu 20.04. In env setup phase, it try to install some uwsgi packages:
apt-get install uwsgi uwsgi-plugin-python uwsgi-plugin-python3 libapache2-mod-proxy-uwsgi
but it failed with uwsgi-plugin-python:…
Marco Li
- 11
- 2
1
vote
1 answer
How to config uWSGI path for Django project?
I'm working on this tutorial to setup uWSGI but I'm stuck by this command:
uwsgi --http :8080 --home /home/user/Env/firstsite --chdir /home/user/firstsite -w firstsite.wsgi
first of all, my actual directory path in /home/ubuntu/Es2al2/website,…
abdelhamed abdin
- 281
- 1
- 3
- 9
1
vote
0 answers
Wsgi write to error.log in ascii. Need utf-8
Good day!
I have an apache and wsgi application. Everything works fine, but I can’t configure Apache so that the Cyrillic alphabet is written to the journal in its normal form, and not \ xd0 \ xa1 \ xd0.
The application works with strings normally,…
Алексей Носиков
- 11
- 1
1
vote
0 answers
Permission Denied - Django Deployment on Ubuntu 16.04 with web server Nginx
I am trying to deploy a django website on a Ubuntu 16.04 system using nginx but I am having issues.
ERRORS
Error I get from my nginx error.log file:
connect() to unix:/home/teddycrepineau/contoursandcolors/contoursandcolors.sock failed (13:…
Teddy
- 119
- 1
- 4