Questions tagged [uwsgi]
The uwsgi tag has no usage guidance.
23
questions
0
votes
0
answers
918
views
libapache2-mod-wsgi on Ubuntu 22.04
I would like to install the MoinMoin wiki on Ubuntu 22.04.2 (jammy) server installation. MoinMoin requires Python 2.7, and WSGI. I would like to install the libapache2-mod-wsgi, but it is ...
1
vote
1
answer
3k
views
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-...
2
votes
0
answers
1k
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 ...
0
votes
1
answer
855
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 ...
1
vote
1
answer
77
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 ...
0
votes
1
answer
6k
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 ...
0
votes
1
answer
732
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:
...
0
votes
1
answer
533
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 ...
1
vote
0
answers
181
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 \ ...
4
votes
2
answers
10k
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 --...
3
votes
1
answer
5k
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 ...
0
votes
1
answer
350
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 ...
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/...
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 ...
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 ...
0
votes
1
answer
1k
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 ...
1
vote
0
answers
1k
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.
...
0
votes
1
answer
591
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 ...
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 ...
3
votes
1
answer
15k
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, ...
2
votes
1
answer
7k
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/...
4
votes
2
answers
7k
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 ...
4
votes
4
answers
21k
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....