Chartjs-My page is not responsive when I run the with UWSGI

0👍

The uwsgi logs probably contain some useful clues. Comparing your uwsgi.ini to one of mine, I see a few differences that might be significant. First, I always chdir to the base of the app, which in your case would look like

[uwsgi]
chdir = /home/pi/Desktop/Bingo
home = /home/pi/Desktop/Bingo/venv
module = application:application
... socket
... log

I also wonder if might also have a mismatch, depending on how you’ve named things, between

socket = /home/pi/Desktop/Bingo/%n.sock

and

uwsgi_pass unix:/home/pi/Desktop/Bingo/lab_app_uwsgi.sock;

The nginx error log is the place to look.

(See https://github.com/davewsmith/nginx-uwsgi-flask-starter/blob/master/provision/starter.ini for a working example)

Leave a comment