Questions tagged [uwsgi]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
325 views

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 ...
user avatar
0 votes
0 answers
104 views

uwSGI as service

Version: Linux: Ubuntu 20.04.3 LTS uwsgi: 2.0.18-debian I have this config "/etc/uwsgi/lemonldap.ini": [uwsgi] plugins = psgi socket = 127.0.0.1:5000 psgi = /usr/share/lemonldap-ng/llng-...
user avatar
  • 31
0 votes
1 answer
321 views

Where are the "mod_wsgi" files on Ubuntu?

I am trying to install a system called INGInious. The installation instructions are mainly for CENTOS, and I try to see how to adapt them to Ubuntu. In particular, in the Apache configuration (at the ...
user avatar
1 vote
1 answer
46 views

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 ...
user avatar
0 votes
1 answer
5k views

"you need a C compiler to build uWSGI" - but gcc is present

I get the following error: ~$ sudo apt install build-essential python2.7-dev Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already ...
user avatar
  • 101
0 votes
1 answer
471 views

How to give permissions to uwsgi to read a folder?

I am trying to give permissions to uwsgi to read a folder where my django project lives. I have tried the following command: chown -R root:uwsgi /home/myproject/mysite But I am getting this error: ...
user avatar
0 votes
1 answer
354 views

Keyboard shortcut to kill uWSGI process in mac terminal

WSGI app 0 (mountpoint='') ready in 5 seconds on interpreter 0x56549c79e7d0 pid: 12 (default app) uWSGI running as root, you can use --uid/--gid/--chroot options *** WARNING: you are running uWSGI as ...
user avatar
  • 103
1 vote
0 answers
105 views

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 \ ...
user avatar
2 votes
2 answers
5k views

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 --...
user avatar
  • 179
2 votes
1 answer
4k views

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 ...
user avatar
  • 541
0 votes
1 answer
292 views

django app deployment without subdomain

I have deployed a django app to the server i have. Let say its ip is 192.168.1.1. So i was able to access the any site there with 192.168.1.1/my_site. I have now deployed the Django App which is a ...
user avatar
1 vote
0 answers
3k views

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/...
user avatar
  • 119
0 votes
3 answers
2k views

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 ...
user avatar
1 vote
1 answer
1k views

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 ...
user avatar
  • 1,653
1 vote
0 answers
1k views

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/...
user avatar
  • 111
0 votes
1 answer
997 views

Ubuntu 16.04 fail to launch the upstart script that works in Ubuntu 14.04

I know the new Ubuntu is more in favor of systemd than the upstart, but when I immigrate my website (python+nginx+uwsgi) from the Ubuntu 14.04, the upstart script is failed to launch during the system ...
user avatar
  • 111
1 vote
0 answers
979 views

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. ...
user avatar
  • 6,455
0 votes
1 answer
584 views

How do I run mulitple pythons with virtualenv in production?

I have installed virtualenv to run a different version of Python than the system Python for my django app. I installed Python 2.7.11 using the method described here. I've modified my uwsgi.ini file to ...
user avatar
1 vote
1 answer
3k views

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 ...
user avatar
3 votes
1 answer
14k views

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, ...
user avatar
2 votes
1 answer
6k views

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/...
user avatar
  • 1,653
4 votes
2 answers
6k views

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 ...
user avatar
  • 2,274
4 votes
4 answers
17k views

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....
user avatar
  • 137