Re: nginx server not reflecting changes

2014-07-09 Thread Amar Kamthe
Yes tried that out but still not working. I am using python 2.7.2 and django 1.4.1. On Jul 9, 2014 5:59 PM, "Lachlan Musicman" wrote: > Have you tried pycclean? > > > http://stackoverflow.com/questions/785519/how-do-i-remove-all-pyc-files-from-a-project > > ie: find . -name "*.pyc" -exec rm -rf {

Re: nginx server not reflecting changes

2014-07-09 Thread Sandeep kaur
On Wed, Jul 9, 2014 at 5:50 PM, Amar Kamthe wrote: > > 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

Re: nginx server not reflecting changes

2014-07-09 Thread Lachlan Musicman
Have you tried pycclean? http://stackoverflow.com/questions/785519/how-do-i-remove-all-pyc-files-from-a-project ie: find . -name "*.pyc" -exec rm -rf {} \; then restart gnuicorn/nginx. cheers L. On 9 July 2014 22:20, Amar Kamthe wrote: > Me too having the same issue. > I tried all the above t

Re: nginx server not reflecting changes

2014-07-09 Thread Amar Kamthe
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 fe

Re: nginx server not reflecting changes

2014-01-15 Thread Manu
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 > > wrote: > > > > Try to reload nginx. > > > >> sudo nginx -s reload > > > > > > or stop it and restart > > > >> sudo nginx -s stop > >> sudo nginx > > >

Re: nginx server not reflecting changes

2014-01-14 Thread Sandeep kaur
On Sun, Jan 12, 2014 at 9:48 PM, Manu 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 an

Re: nginx server not reflecting changes

2014-01-12 Thread Manu
Try to reload nginx. sudo nginx -s reload or stop it and restart sudo nginx -s stop > sudo nginx 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 r

Re: nginx server not reflecting changes

2014-01-11 Thread Avraham Serour
If I understood you correctly you are saying that when you make changes on settings.py you can see them when running the project from manage.py runserver but not when on production using nginx+gunicorn When making changes you need to reload the project, runserver autoreloads this is why you can se

nginx server not reflecting changes

2014-01-11 Thread Sandeep kaur
Hello, I have deployed my Django site with nginx server, gunicorn and supervisor and it is working fine. But recently I made some changes in settings file of the project and that changes are not visible on the nginx server, however same changes reflect on runserver. What can be the possible reason