Me too having the same issue. I tried all the above things like reloading the nginx server and restarting the gunicorn but the changes are not reflected. Using command ps -aux | grep gunicorn. I found 1 gunicorn master and 3 worker threads running. I my case few of the files are reflecting but few of them don't. Is it that there is an issue with the code files which is not allowing to get loaded in nginx?. Also if I try using shell, it do shows the changed code and all these thing works perfectly with apache and mod wsgi. Can you help me in getting this issue resolved.
On Wednesday, January 15, 2014 11:55:16 PM UTC+5:30, Manu wrote: > > Please find some of my remarks below > > On Tuesday, 14 January 2014 19:04:19 UTC+5:30, sandy wrote: >> >> >> On Sun, Jan 12, 2014 at 9:48 PM, Manu <manu...@gmail.com> wrote: >> > >> > Try to reload nginx. >> > >> >> sudo nginx -s reload >> > >> > >> > or stop it and restart >> > >> >> sudo nginx -s stop >> >> sudo nginx >> > >> These doesn't make any change. >> >> > >> > if it's still not reflecting those changes, check which settings.py is >> being used by runserver and the gunicorn. Or, the problem could be that you >> have to restart gunicorn >> > >> >> sudo supervisorctl restart [gunicorn-program-name] >> > >> >> > How are you so sure that the server is running? Can you try > >> $ ps -aux | grep gunicorn > > What is it returning to you? > > >> When I use $ps -aux command to see which gunicorn program is running. It >> shows no job running, but server is nicely configured and is running. I am >> new to nginx and gunicorn deployment. Though deployment has been done but >> am not able to understand why the changes are not visible and which program >> is running which is behind the deployment. >> Your help will be highly appreciated. >> Thank you. >> >> >> -- >> Sandeep Kaur >> E-Mail: mkaur...@gmail.com >> Blog: sandymadaan.wordpress.com >> >> >> >> -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/949ff45f-20be-47b2-8632-afa88ae3b98b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.