I haven't run that script but as far as I can get your are referring to the wrong file. The correct file should be placed in ~/webapps/${webfaction_app_name}/uwsgi/uwsgi.xml . Check there, otherwise it would be better to re-run the script to double check that everything has been installed/configured correctly.
Paolo 2015-01-12 3:09 GMT+01:00 Richard Baron Penman <richar...@gmail.com>: > When the script is run it converts this template into what I posted. > So how has web2py changed since that would break this? > > > On Sun, Jan 11, 2015 at 11:29 PM, Paolo Valleri <paolo.vall...@gmail.com> > wrote: > > According to the script you mention, the uwsgi.xml should be much > different > > because it doesn't referee to any specific app. > > it should be something like > > > > <uwsgi> > > <socket>127.0.0.1:${nginx_uwsgi_port}</socket> > > <workers>4</workers> > > <no-orphans/> > > > > > <pythonpath>/home/${USER}/webapps/${webfaction_app_name}/web2py</pythonpath> > > > > > <pidfile>/home/${USER}/webapps/${webfaction_app_name}/uwsgi/uwsgi.pid</pidfile> > > > > > <daemonize>/home/${USER}/webapps/${webfaction_app_name}/uwsgi/uwsgi.log</daemonize> > > <app mountpoint=\"/\"> > > <script>wsgihandler</script> > > </app> > > </uwsgi> > > > > > > Paolo > > > > > > On Sunday, January 11, 2015 at 11:17:36 AM UTC+1, Richard Penman wrote: > >> > >> Hello, > >> > >> I used the recipe here for installing web2py on webfaction with nginx > and > >> uwsgi: > >> > >> > https://community.webfaction.com/questions/7193/install-web2py-with-nginx-and-uwsgi > >> > >> It worked great for me before but now have some problems. > >> I copied uwsgihandler.py from handlers/ directory but get this error > when > >> try to access the app: > >> > >>> uWSGI Error > >>> > >>> Python application not found > >> > >> > >> This is the uwsgi.xml file used: > >> <uwsgi> > >> <socket>127.0.0.1:port</socket> > >> <workers>4</workers> > >> <no-orphans/> > >> <pythonpath>app/web2py</pythonpath> > >> <pidfile>/app/uwsgi/uwsgi.pid</pidfile> > >> <daemonize>/app/uwsgi/uwsgi.log</daemonize> > >> <app mountpoint="/"> > >> <script>wsgihandler</script> > >> </app> > >> </uwsgi> > >> > >> Should this be changed for current version of web2py? > >> > >> Richard > > > > -- > > 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 a topic in the > > Google Groups "web2py-users" group. > > To unsubscribe from this topic, visit > > https://groups.google.com/d/topic/web2py/pAv_2_lKqqk/unsubscribe. > > To unsubscribe from this group and all its topics, send an email to > > web2py+unsubscr...@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > -- > 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 a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/pAv_2_lKqqk/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.