Solved - it depends on how I start/restart web2py with the nginx server (on ubuntu machine)
Wrong - Don't do this: sudo /etc/init.d/nginx start Correct - DO THIS WAY: touch /etc/uwsgi/web2py.ini I had forgotten this. I found it by looking at the last 4 lines of the "/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh" file: ## you can reload uwsgi with # restart uwsgi-emperor ## and stop it with # stop uwsgi-emperor ## to reload web2py only (without restarting uwsgi) # touch /etc/uwsgi/web2py.ini I will never forget it now !!!! I am happily running web2py with mongodb, ngninx and uwsgi (so far). It's tough to be a noob on so many things at the same time Thanks Massimo and Alan for giving enough hints to keep me going - I have learned so much -- THANK YOU! Cindy On Wednesday, May 21, 2014 5:10:02 AM UTC-6, Alan Etkin wrote: > > Does the sys.path looks right to you? >> > > It does if the pymongo driver is installed at one of the folders listed. > As you have described in late posts, you seem to have an issue with > directory permissions. I belive that running web2py with root permissions > can solve it. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

