Questions tagged [uwsgi]
24 questions
5
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
- 147
5
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
- 209
- 1
- 2
- 7
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,193
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
3
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
- 591
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,905
2
votes
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
- 21
- 1
- 2
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
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,905
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,784
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:…
birkett
- 111
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
- 291
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,…
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
0
votes
3 answers
Django and uWSGI in a Docker container
I'am trying to run a project that uses Django and uWSGI in a Docker container. But I'm new to Docker and uWSGI so I'm not quite sure how I'm supposed to do it.
First I built the project with this command:
docker build -t saleor .
Then I ran…
massivefermion
- 251